ory / k8s

Kubernetes Helm Charts for the ORY ecosystem.
https://k8s.ory.sh/helm
Apache License 2.0
336 stars 259 forks source link

fix: indent in kratos migration job template #473

Closed piotrmsc closed 2 years ago

piotrmsc commented 2 years ago

Before changes templating was failing if extra volumemounts are used with following error :

Error: YAML parse error on kratos/templates/job-migration.yaml: error converting YAML to JSON: yaml: line 69: did not find expected key Use --debug flag to render out invalid YAML

and rendered output was :

        volumeMounts:
          - name: kratos-config-volume
            mountPath: /etc/config
            readOnly: true
            - mountPath: /etc/xyz
              name: cert-volume
              readOnly: true

Related Issue or Design Document

Checklist

Further comments