From 081c860e042b6773bddd3f9d8c8d669c2299726b Mon Sep 17 00:00:00 2001 From: lebaudantoine Date: Sat, 23 Aug 2025 02:24:04 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A8(helm)=20fix=20whitespace=20in=20Ku?= =?UTF-8?q?bernetes=20template=20directive=20braces?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add required whitespace between braces in template directives to comply with Kubernetes rule S6893. Improves template readability and follows Kubernetes best practices for template formatting and maintainability. --- src/helm/meet/templates/agents_deployment.yaml | 4 ++-- src/helm/meet/templates/backend_deployment.yaml | 4 ++-- src/helm/meet/templates/backend_job_createsuperuser.yaml | 4 ++-- src/helm/meet/templates/backend_job_migrate.yaml | 4 ++-- src/helm/meet/templates/celery_deployment.yaml | 4 ++-- src/helm/meet/templates/frontend_deployment.yaml | 4 ++-- src/helm/meet/templates/summary_deployment.yaml | 4 ++-- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/helm/meet/templates/agents_deployment.yaml b/src/helm/meet/templates/agents_deployment.yaml index ec83109a..56d8055c 100644 --- a/src/helm/meet/templates/agents_deployment.yaml +++ b/src/helm/meet/templates/agents_deployment.yaml @@ -29,7 +29,7 @@ spec: {{- if $.Values.image.credentials }} imagePullSecrets: - name: {{ include "meet.secret.dockerconfigjson.name" (dict "fullname" (include "meet.fullname" .) "imageCredentials" $.Values.image.credentials) }} - {{- end}} + {{- end }} shareProcessNamespace: {{ .Values.agents.shareProcessNamespace }} containers: {{- with .Values.agents.sidecars }} @@ -47,7 +47,7 @@ spec: {{- toYaml . | nindent 12 }} {{- end }} env: - {{- if $envVars}} + {{- if $envVars }} {{- $envVars | indent 12 }} {{- end }} {{- with .Values.agents.securityContext }} diff --git a/src/helm/meet/templates/backend_deployment.yaml b/src/helm/meet/templates/backend_deployment.yaml index b4c69adb..14468763 100644 --- a/src/helm/meet/templates/backend_deployment.yaml +++ b/src/helm/meet/templates/backend_deployment.yaml @@ -29,7 +29,7 @@ spec: {{- if $.Values.image.credentials }} imagePullSecrets: - name: {{ include "meet.secret.dockerconfigjson.name" (dict "fullname" (include "meet.fullname" .) "imageCredentials" $.Values.image.credentials) }} - {{- end}} + {{- end }} shareProcessNamespace: {{ .Values.backend.shareProcessNamespace }} containers: {{- with .Values.backend.sidecars }} @@ -47,7 +47,7 @@ spec: {{- toYaml . | nindent 12 }} {{- end }} env: - {{- if $envVars}} + {{- if $envVars }} {{- $envVars | indent 12 }} {{- end }} {{- with .Values.backend.securityContext }} diff --git a/src/helm/meet/templates/backend_job_createsuperuser.yaml b/src/helm/meet/templates/backend_job_createsuperuser.yaml index 31c44e93..0203ce36 100644 --- a/src/helm/meet/templates/backend_job_createsuperuser.yaml +++ b/src/helm/meet/templates/backend_job_createsuperuser.yaml @@ -28,7 +28,7 @@ spec: {{- if $.Values.image.credentials }} imagePullSecrets: - name: {{ include "meet.secret.dockerconfigjson.name" (dict "fullname" (include "meet.fullname" .) "imageCredentials" $.Values.image.credentials) }} - {{- end}} + {{- end }} shareProcessNamespace: {{ .Values.backend.shareProcessNamespace }} containers: {{- with .Values.backend.sidecars }} @@ -46,7 +46,7 @@ spec: {{- toYaml . | nindent 12 }} {{- end }} env: - {{- if $envVars}} + {{- if $envVars }} {{- $envVars | indent 12 }} {{- end }} {{- with .Values.backend.securityContext }} diff --git a/src/helm/meet/templates/backend_job_migrate.yaml b/src/helm/meet/templates/backend_job_migrate.yaml index c3f01587..8f05ec84 100644 --- a/src/helm/meet/templates/backend_job_migrate.yaml +++ b/src/helm/meet/templates/backend_job_migrate.yaml @@ -28,7 +28,7 @@ spec: {{- if $.Values.image.credentials }} imagePullSecrets: - name: {{ include "meet.secret.dockerconfigjson.name" (dict "fullname" (include "meet.fullname" .) "imageCredentials" $.Values.image.credentials) }} - {{- end}} + {{- end }} shareProcessNamespace: {{ .Values.backend.shareProcessNamespace }} containers: {{- with .Values.backend.sidecars }} @@ -46,7 +46,7 @@ spec: {{- toYaml . | nindent 12 }} {{- end }} env: - {{- if $envVars}} + {{- if $envVars }} {{- $envVars | indent 12 }} {{- end }} {{- with .Values.backend.securityContext }} diff --git a/src/helm/meet/templates/celery_deployment.yaml b/src/helm/meet/templates/celery_deployment.yaml index 4f94ce7f..10f19a33 100644 --- a/src/helm/meet/templates/celery_deployment.yaml +++ b/src/helm/meet/templates/celery_deployment.yaml @@ -29,7 +29,7 @@ spec: {{- if $.Values.image.credentials }} imagePullSecrets: - name: {{ include "meet.secret.dockerconfigjson.name" (dict "fullname" (include "meet.fullname" .) "imageCredentials" $.Values.image.credentials) }} - {{- end}} + {{- end }} shareProcessNamespace: {{ .Values.celery.shareProcessNamespace }} containers: {{- with .Values.celery.sidecars }} @@ -47,7 +47,7 @@ spec: {{- toYaml . | nindent 12 }} {{- end }} env: - {{- if $envVars}} + {{- if $envVars }} {{- $envVars | indent 12 }} {{- end }} {{- with .Values.celery.securityContext }} diff --git a/src/helm/meet/templates/frontend_deployment.yaml b/src/helm/meet/templates/frontend_deployment.yaml index f7d88b82..ba508ca2 100644 --- a/src/helm/meet/templates/frontend_deployment.yaml +++ b/src/helm/meet/templates/frontend_deployment.yaml @@ -29,7 +29,7 @@ spec: {{- if $.Values.image.credentials }} imagePullSecrets: - name: {{ include "meet.secret.dockerconfigjson.name" (dict "fullname" (include "meet.fullname" .) "imageCredentials" $.Values.image.credentials) }} - {{- end}} + {{- end }} shareProcessNamespace: {{ .Values.frontend.shareProcessNamespace }} containers: {{- with .Values.frontend.sidecars }} @@ -47,7 +47,7 @@ spec: {{- toYaml . | nindent 12 }} {{- end }} env: - {{- if $envVars}} + {{- if $envVars }} {{- $envVars | indent 12 }} {{- end }} {{- with .Values.frontend.securityContext }} diff --git a/src/helm/meet/templates/summary_deployment.yaml b/src/helm/meet/templates/summary_deployment.yaml index a957ee65..b39497cf 100644 --- a/src/helm/meet/templates/summary_deployment.yaml +++ b/src/helm/meet/templates/summary_deployment.yaml @@ -29,7 +29,7 @@ spec: {{- if $.Values.image.credentials }} imagePullSecrets: - name: {{ include "meet.secret.dockerconfigjson.name" (dict "fullname" (include "meet.fullname" .) "imageCredentials" $.Values.image.credentials) }} - {{- end}} + {{- end }} shareProcessNamespace: {{ .Values.summary.shareProcessNamespace }} containers: {{- with .Values.summary.sidecars }} @@ -47,7 +47,7 @@ spec: {{- toYaml . | nindent 12 }} {{- end }} env: - {{- if $envVars}} + {{- if $envVars }} {{- $envVars | indent 12 }} {{- end }} {{- with .Values.summary.securityContext }}