Skip to content

Commit

Permalink
fix: nindent in securityContext:
Browse files Browse the repository at this point in the history
  • Loading branch information
evgkrsk committed Apr 14, 2022
1 parent b3ffe17 commit a01710a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
3 changes: 3 additions & 0 deletions charts/universal-chart/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Changelog
## 3.0.3 - April 14, 2022

* fix: nindent in securityContext:

## 3.0.2 - April 14, 2022

Expand Down
2 changes: 1 addition & 1 deletion charts/universal-chart/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
description: Nixys universal Helm chart for deploy your apps to Kubernetes
name: universal-chart
version: 3.0.2
version: 3.0.3
maintainers:
- name: Roman Andreev
email: [email protected]
Expand Down
6 changes: 3 additions & 3 deletions charts/universal-chart/templates/helm-hooks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ spec:
podAntiAffinity: {{- include "helpers.affinities.pods" (dict "type" $.Values.podAntiAffinityPreset "context" $) | nindent 10 }}
{{- end }}
{{- with .podSecurityContext }}
securityContext: {{- include "helpers.tplvalues.render" (dict "value" . "context" $) | nindent 6 }}
securityContext: {{- include "helpers.tplvalues.render" (dict "value" . "context" $) | nindent 8 }}
{{- end }}
{{- if .dnsPolicy }}
dnsPolicy: {{ .dnsPolicy }}
Expand All @@ -101,7 +101,7 @@ spec:
image: {{ .image | default $.Values.defaultImage }}:{{ .imageTag | default $.Values.defaultImageTag }}
imagePullPolicy: {{ .imagePullPolicy | default $.Values.defaultImagePullPolicy }}
{{- with .containerSecurityContext }}
securityContext: {{- include "helpers.tplvalues.render" ( dict "value" . "context" $) | nindent 8 }}
securityContext: {{- include "helpers.tplvalues.render" ( dict "value" . "context" $) | nindent 10 }}
{{- end }}
{{- if $.Values.diagnosticMode.enabled }}
args: {{- include "helpers.tplvalues.render" ( dict "value" $.Values.diagnosticMode.args "context" $) | nindent 8 }}
Expand Down Expand Up @@ -144,7 +144,7 @@ spec:
image: {{ .image | default $.Values.defaultImage }}:{{ .imageTag | default $.Values.defaultImageTag }}
imagePullPolicy: {{ .imagePullPolicy | default $.Values.defaultImagePullPolicy }}
{{- with .containerSecurityContext }}
securityContext: {{- include "helpers.tplvalues.render" ( dict "value" . "context" $) | nindent 8 }}
securityContext: {{- include "helpers.tplvalues.render" ( dict "value" . "context" $) | nindent 10 }}
{{- end }}
{{- if $.Values.diagnosticMode.enabled }}
args: {{- include "helpers.tplvalues.render" ( dict "value" $.Values.diagnosticMode.args "context" $) | nindent 8 }}
Expand Down
6 changes: 3 additions & 3 deletions charts/universal-chart/templates/job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ spec:
podAntiAffinity: {{- include "helpers.affinities.pods" (dict "type" $.Values.podAntiAffinityPreset "context" $) | nindent 10 }}
{{- end }}
{{- with .podSecurityContext }}
securityContext: {{- include "helpers.tplvalues.render" (dict "value" . "context" $) | nindent 6 }}
securityContext: {{- include "helpers.tplvalues.render" (dict "value" . "context" $) | nindent 8 }}
{{- end }}
{{- if .dnsPolicy }}
dnsPolicy: {{ .dnsPolicy }}
Expand All @@ -119,7 +119,7 @@ spec:
image: {{ .image | default $.Values.defaultImage }}:{{ .imageTag | default $.Values.defaultImageTag }}
imagePullPolicy: {{ .imagePullPolicy | default $.Values.defaultImagePullPolicy }}
{{- with .containerSecurityContext }}
securityContext: {{- include "helpers.tplvalues.render" ( dict "value" . "context" $) | nindent 8 }}
securityContext: {{- include "helpers.tplvalues.render" ( dict "value" . "context" $) | nindent 10 }}
{{- end }}
{{- if $.Values.diagnosticMode.enabled }}
args: {{- include "helpers.tplvalues.render" ( dict "value" $.Values.diagnosticMode.args "context" $) | nindent 8 }}
Expand Down Expand Up @@ -165,7 +165,7 @@ spec:
image: {{ .image | default $.Values.defaultImage }}:{{ .imageTag | default $.Values.defaultImageTag }}
imagePullPolicy: {{ .imagePullPolicy | default $.Values.defaultImagePullPolicy }}
{{- with .containerSecurityContext }}
securityContext: {{- include "helpers.tplvalues.render" ( dict "value" . "context" $) | nindent 8 }}
securityContext: {{- include "helpers.tplvalues.render" ( dict "value" . "context" $) | nindent 10 }}
{{- end }}
{{- if $.Values.diagnosticMode.enabled }}
args: {{- include "helpers.tplvalues.render" ( dict "value" $.Values.diagnosticMode.args "context" $) | nindent 8 }}
Expand Down

0 comments on commit a01710a

Please sign in to comment.