🚨(helm) fix whitespace in Kubernetes template directive braces
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.
This commit is contained in:
committed by
aleb_the_flash
parent
83192f69e3
commit
081c860e04
@@ -29,7 +29,7 @@ spec:
|
|||||||
{{- if $.Values.image.credentials }}
|
{{- if $.Values.image.credentials }}
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
- name: {{ include "meet.secret.dockerconfigjson.name" (dict "fullname" (include "meet.fullname" .) "imageCredentials" $.Values.image.credentials) }}
|
- name: {{ include "meet.secret.dockerconfigjson.name" (dict "fullname" (include "meet.fullname" .) "imageCredentials" $.Values.image.credentials) }}
|
||||||
{{- end}}
|
{{- end }}
|
||||||
shareProcessNamespace: {{ .Values.agents.shareProcessNamespace }}
|
shareProcessNamespace: {{ .Values.agents.shareProcessNamespace }}
|
||||||
containers:
|
containers:
|
||||||
{{- with .Values.agents.sidecars }}
|
{{- with .Values.agents.sidecars }}
|
||||||
@@ -47,7 +47,7 @@ spec:
|
|||||||
{{- toYaml . | nindent 12 }}
|
{{- toYaml . | nindent 12 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
env:
|
env:
|
||||||
{{- if $envVars}}
|
{{- if $envVars }}
|
||||||
{{- $envVars | indent 12 }}
|
{{- $envVars | indent 12 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.agents.securityContext }}
|
{{- with .Values.agents.securityContext }}
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ spec:
|
|||||||
{{- if $.Values.image.credentials }}
|
{{- if $.Values.image.credentials }}
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
- name: {{ include "meet.secret.dockerconfigjson.name" (dict "fullname" (include "meet.fullname" .) "imageCredentials" $.Values.image.credentials) }}
|
- name: {{ include "meet.secret.dockerconfigjson.name" (dict "fullname" (include "meet.fullname" .) "imageCredentials" $.Values.image.credentials) }}
|
||||||
{{- end}}
|
{{- end }}
|
||||||
shareProcessNamespace: {{ .Values.backend.shareProcessNamespace }}
|
shareProcessNamespace: {{ .Values.backend.shareProcessNamespace }}
|
||||||
containers:
|
containers:
|
||||||
{{- with .Values.backend.sidecars }}
|
{{- with .Values.backend.sidecars }}
|
||||||
@@ -47,7 +47,7 @@ spec:
|
|||||||
{{- toYaml . | nindent 12 }}
|
{{- toYaml . | nindent 12 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
env:
|
env:
|
||||||
{{- if $envVars}}
|
{{- if $envVars }}
|
||||||
{{- $envVars | indent 12 }}
|
{{- $envVars | indent 12 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.backend.securityContext }}
|
{{- with .Values.backend.securityContext }}
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ spec:
|
|||||||
{{- if $.Values.image.credentials }}
|
{{- if $.Values.image.credentials }}
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
- name: {{ include "meet.secret.dockerconfigjson.name" (dict "fullname" (include "meet.fullname" .) "imageCredentials" $.Values.image.credentials) }}
|
- name: {{ include "meet.secret.dockerconfigjson.name" (dict "fullname" (include "meet.fullname" .) "imageCredentials" $.Values.image.credentials) }}
|
||||||
{{- end}}
|
{{- end }}
|
||||||
shareProcessNamespace: {{ .Values.backend.shareProcessNamespace }}
|
shareProcessNamespace: {{ .Values.backend.shareProcessNamespace }}
|
||||||
containers:
|
containers:
|
||||||
{{- with .Values.backend.sidecars }}
|
{{- with .Values.backend.sidecars }}
|
||||||
@@ -46,7 +46,7 @@ spec:
|
|||||||
{{- toYaml . | nindent 12 }}
|
{{- toYaml . | nindent 12 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
env:
|
env:
|
||||||
{{- if $envVars}}
|
{{- if $envVars }}
|
||||||
{{- $envVars | indent 12 }}
|
{{- $envVars | indent 12 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.backend.securityContext }}
|
{{- with .Values.backend.securityContext }}
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ spec:
|
|||||||
{{- if $.Values.image.credentials }}
|
{{- if $.Values.image.credentials }}
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
- name: {{ include "meet.secret.dockerconfigjson.name" (dict "fullname" (include "meet.fullname" .) "imageCredentials" $.Values.image.credentials) }}
|
- name: {{ include "meet.secret.dockerconfigjson.name" (dict "fullname" (include "meet.fullname" .) "imageCredentials" $.Values.image.credentials) }}
|
||||||
{{- end}}
|
{{- end }}
|
||||||
shareProcessNamespace: {{ .Values.backend.shareProcessNamespace }}
|
shareProcessNamespace: {{ .Values.backend.shareProcessNamespace }}
|
||||||
containers:
|
containers:
|
||||||
{{- with .Values.backend.sidecars }}
|
{{- with .Values.backend.sidecars }}
|
||||||
@@ -46,7 +46,7 @@ spec:
|
|||||||
{{- toYaml . | nindent 12 }}
|
{{- toYaml . | nindent 12 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
env:
|
env:
|
||||||
{{- if $envVars}}
|
{{- if $envVars }}
|
||||||
{{- $envVars | indent 12 }}
|
{{- $envVars | indent 12 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.backend.securityContext }}
|
{{- with .Values.backend.securityContext }}
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ spec:
|
|||||||
{{- if $.Values.image.credentials }}
|
{{- if $.Values.image.credentials }}
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
- name: {{ include "meet.secret.dockerconfigjson.name" (dict "fullname" (include "meet.fullname" .) "imageCredentials" $.Values.image.credentials) }}
|
- name: {{ include "meet.secret.dockerconfigjson.name" (dict "fullname" (include "meet.fullname" .) "imageCredentials" $.Values.image.credentials) }}
|
||||||
{{- end}}
|
{{- end }}
|
||||||
shareProcessNamespace: {{ .Values.celery.shareProcessNamespace }}
|
shareProcessNamespace: {{ .Values.celery.shareProcessNamespace }}
|
||||||
containers:
|
containers:
|
||||||
{{- with .Values.celery.sidecars }}
|
{{- with .Values.celery.sidecars }}
|
||||||
@@ -47,7 +47,7 @@ spec:
|
|||||||
{{- toYaml . | nindent 12 }}
|
{{- toYaml . | nindent 12 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
env:
|
env:
|
||||||
{{- if $envVars}}
|
{{- if $envVars }}
|
||||||
{{- $envVars | indent 12 }}
|
{{- $envVars | indent 12 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.celery.securityContext }}
|
{{- with .Values.celery.securityContext }}
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ spec:
|
|||||||
{{- if $.Values.image.credentials }}
|
{{- if $.Values.image.credentials }}
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
- name: {{ include "meet.secret.dockerconfigjson.name" (dict "fullname" (include "meet.fullname" .) "imageCredentials" $.Values.image.credentials) }}
|
- name: {{ include "meet.secret.dockerconfigjson.name" (dict "fullname" (include "meet.fullname" .) "imageCredentials" $.Values.image.credentials) }}
|
||||||
{{- end}}
|
{{- end }}
|
||||||
shareProcessNamespace: {{ .Values.frontend.shareProcessNamespace }}
|
shareProcessNamespace: {{ .Values.frontend.shareProcessNamespace }}
|
||||||
containers:
|
containers:
|
||||||
{{- with .Values.frontend.sidecars }}
|
{{- with .Values.frontend.sidecars }}
|
||||||
@@ -47,7 +47,7 @@ spec:
|
|||||||
{{- toYaml . | nindent 12 }}
|
{{- toYaml . | nindent 12 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
env:
|
env:
|
||||||
{{- if $envVars}}
|
{{- if $envVars }}
|
||||||
{{- $envVars | indent 12 }}
|
{{- $envVars | indent 12 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.frontend.securityContext }}
|
{{- with .Values.frontend.securityContext }}
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ spec:
|
|||||||
{{- if $.Values.image.credentials }}
|
{{- if $.Values.image.credentials }}
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
- name: {{ include "meet.secret.dockerconfigjson.name" (dict "fullname" (include "meet.fullname" .) "imageCredentials" $.Values.image.credentials) }}
|
- name: {{ include "meet.secret.dockerconfigjson.name" (dict "fullname" (include "meet.fullname" .) "imageCredentials" $.Values.image.credentials) }}
|
||||||
{{- end}}
|
{{- end }}
|
||||||
shareProcessNamespace: {{ .Values.summary.shareProcessNamespace }}
|
shareProcessNamespace: {{ .Values.summary.shareProcessNamespace }}
|
||||||
containers:
|
containers:
|
||||||
{{- with .Values.summary.sidecars }}
|
{{- with .Values.summary.sidecars }}
|
||||||
@@ -47,7 +47,7 @@ spec:
|
|||||||
{{- toYaml . | nindent 12 }}
|
{{- toYaml . | nindent 12 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
env:
|
env:
|
||||||
{{- if $envVars}}
|
{{- if $envVars }}
|
||||||
{{- $envVars | indent 12 }}
|
{{- $envVars | indent 12 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.summary.securityContext }}
|
{{- with .Values.summary.securityContext }}
|
||||||
|
|||||||
Reference in New Issue
Block a user