From 2ae1784058b6d7cd1d607bb3a3cee26912a5d6cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20M=C5=9Bcichowski?= Date: Mon, 25 Jul 2022 09:56:12 +0200 Subject: [PATCH] fix: indent in kratos migration job template (#473) --- .circleci/values/hydra.yaml | 6 ++++++ .circleci/values/keto.yaml | 6 ++++++ .circleci/values/kratos.yaml | 6 ++++++ helm/charts/kratos/templates/job-migration.yaml | 4 ++-- 4 files changed, 20 insertions(+), 2 deletions(-) diff --git a/.circleci/values/hydra.yaml b/.circleci/values/hydra.yaml index 318958b50..0f181d70e 100644 --- a/.circleci/values/hydra.yaml +++ b/.circleci/values/hydra.yaml @@ -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" diff --git a/.circleci/values/keto.yaml b/.circleci/values/keto.yaml index 64f3d3f6b..ca2ac703c 100644 --- a/.circleci/values/keto.yaml +++ b/.circleci/values/keto.yaml @@ -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" diff --git a/.circleci/values/kratos.yaml b/.circleci/values/kratos.yaml index 1b7cd71e6..004719925 100644 --- a/.circleci/values/kratos.yaml +++ b/.circleci/values/kratos.yaml @@ -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: diff --git a/helm/charts/kratos/templates/job-migration.yaml b/helm/charts/kratos/templates/job-migration.yaml index 1e697850f..23623faec 100644 --- a/helm/charts/kratos/templates/job-migration.yaml +++ b/helm/charts/kratos/templates/job-migration.yaml @@ -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 }}