Skip to content

Commit

Permalink
Fix helm-chart securityContext identation if openshift enabled
Browse files Browse the repository at this point in the history
Signed-off-by: Dominik Mlasko <dominik.mlasko@blum.com>
  • Loading branch information
mladBlum committed Jan 25, 2024
1 parent ffe8a82 commit a164417
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ spec:
{{- if .Values.openshift.enabled }}
{{- with .Values.openshift.securityContext }}
securityContext:
{{- toYaml . | nindent 8 }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- else }}
securityContext:
Expand Down
2 changes: 1 addition & 1 deletion deployment/helm/ditto/templates/gateway-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ spec:
{{- if .Values.openshift.enabled }}
{{- with .Values.openshift.securityContext }}
securityContext:
{{- toYaml . | nindent 8 }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- else }}
securityContext:
Expand Down
2 changes: 1 addition & 1 deletion deployment/helm/ditto/templates/policies-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ spec:
{{- if .Values.openshift.enabled }}
{{- with .Values.openshift.securityContext }}
securityContext:
{{- toYaml . | nindent 8 }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- else }}
securityContext:
Expand Down
2 changes: 1 addition & 1 deletion deployment/helm/ditto/templates/things-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ spec:
{{- if .Values.openshift.enabled }}
{{- with .Values.openshift.securityContext }}
securityContext:
{{- toYaml . | nindent 8 }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- else }}
securityContext:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ spec:
{{- if .Values.openshift.enabled }}
{{- with .Values.openshift.securityContext }}
securityContext:
{{- toYaml . | nindent 8 }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- else }}
securityContext:
Expand Down

0 comments on commit a164417

Please sign in to comment.