Skip to content

Commit

Permalink
fix: indent in kratos migration job template (#473)
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrmsc authored Jul 25, 2022
1 parent 81da302 commit 2ae1784
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .circleci/values/hydra.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ deployment:
extraEnv:
- name: FOO
value: BAR
extraVolumeMounts:
- mountPath: /testdir
name: test-volume
extraVolumes:
- name: test-volume
emptyDir: {}
job:
extraInitContainers: |
- name: "hello-world"
Expand Down
6 changes: 6 additions & 0 deletions .circleci/values/keto.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ deployment:
extraEnv:
- name: FOO
value: BAR
extraVolumeMounts:
- mountPath: /testdir
name: test-volume
extraVolumes:
- name: test-volume
emptyDir: {}
job:
extraContainers: |
- name: "sidecar"
Expand Down
6 changes: 6 additions & 0 deletions .circleci/values/kratos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,12 @@ deployment:
image: "alpine:latest"
command: ["/bin/sh"]
args: ["-c", "sleep infinity"]
extraVolumeMounts:
- mountPath: /testdir
name: test-volume
extraVolumes:
- name: test-volume
emptyDir: {}
extraArgs:
- --sqa-opt-out
labels:
Expand Down
4 changes: 2 additions & 2 deletions helm/charts/kratos/templates/job-migration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ spec:
mountPath: /etc/config
readOnly: true
{{- if .Values.deployment.extraVolumeMounts }}
{{- toYaml .Values.deployment.extraVolumeMounts | nindent 12 }}
{{- end }}
{{- toYaml .Values.deployment.extraVolumeMounts | nindent 10 }}
{{- end }}
{{- if .Values.job.extraContainers }}
{{- tpl .Values.job.extraContainers . | nindent 6 }}
{{- end }}
Expand Down

0 comments on commit 2ae1784

Please sign in to comment.