diff --git a/charts/common/Chart.yaml b/charts/common/Chart.yaml index 8c1b69b..4e47a3f 100644 --- a/charts/common/Chart.yaml +++ b/charts/common/Chart.yaml @@ -15,4 +15,4 @@ type: library # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.3.0 +version: 0.3.2 diff --git a/charts/common/templates/_volumeMountsRef.yaml b/charts/common/templates/_volumeMountsRef.yaml index 6fc2dcb..b13f81d 100644 --- a/charts/common/templates/_volumeMountsRef.yaml +++ b/charts/common/templates/_volumeMountsRef.yaml @@ -36,4 +36,3 @@ volumeMounts: &volumeMounts {{- end }} {{- end }} {{- end }} - diff --git a/charts/onechart/Chart.lock b/charts/onechart/Chart.lock index ed87a66..bf8d657 100644 --- a/charts/onechart/Chart.lock +++ b/charts/onechart/Chart.lock @@ -1,6 +1,6 @@ dependencies: - name: common repository: file://../common - version: 0.3.0 -digest: sha256:4f1fb49a840753587de0b15ccd8ae83f655fc8043d0a71a4cbec228365713b0d -generated: "2023-06-08T16:30:30.052037+02:00" + version: 0.3.2 +digest: sha256:f3a04bcb7f40f2233cb01897d75d20a67407273848dcacaaaccb98e4ccd34509 +generated: "2023-08-17T19:19:57.935808174+02:00" diff --git a/charts/onechart/Chart.yaml b/charts/onechart/Chart.yaml index b080404..4549001 100644 --- a/charts/onechart/Chart.yaml +++ b/charts/onechart/Chart.yaml @@ -19,5 +19,5 @@ version: 0.53.0 dependencies: - name: common - version: 0.3.0 + version: 0.3.2 repository: file://../common diff --git a/charts/onechart/charts/common-0.3.0.tgz b/charts/onechart/charts/common-0.3.0.tgz deleted file mode 100644 index 3bf3323..0000000 Binary files a/charts/onechart/charts/common-0.3.0.tgz and /dev/null differ diff --git a/charts/onechart/charts/common-0.3.2.tgz b/charts/onechart/charts/common-0.3.2.tgz new file mode 100644 index 0000000..0526244 Binary files /dev/null and b/charts/onechart/charts/common-0.3.2.tgz differ diff --git a/charts/onechart/templates/deployment.yaml b/charts/onechart/templates/deployment.yaml index fec893e..e3a3747 100644 --- a/charts/onechart/templates/deployment.yaml +++ b/charts/onechart/templates/deployment.yaml @@ -63,12 +63,12 @@ spec: {{- end }} volumeMounts: {{- range $.Values.volumes }} - {{if (or (hasPrefix "shared-" .name) (hasPrefix "init-" .name))}} + {{- if (or (hasPrefix "shared-" .name) (hasPrefix "init-" .name))}} - mountPath: {{ .path }} name: {{ .name }} {{- end }} {{- end }} - {{if .securityContext }} + {{- if .securityContext }} securityContext: {{- toYaml .securityContext | nindent 12 }} {{- end}} @@ -85,13 +85,13 @@ spec: - -c - {{ .Values.command | quote }} {{- end }} - {{- include "common.envFromRef.tpl" . | nindent 10 }} + {{- include "common.envFromRef.tpl" . | nindent 10 -}} ports: {{- if not .Values.ports }} - name: http containerPort: {{ .Values.containerPort }} protocol: TCP - {{ else }} + {{- else }} {{- range .Values.ports }} - name: {{ .name }} containerPort: {{ .containerPort }} @@ -119,7 +119,7 @@ spec: {{- end }} {{- end }} {{- include "common.volumeMountsRef.tpl" . | nindent 10 }} - {{- if not .Values.resources.ignore }} + {{- if not .Values.resources.ignore -}} resources: {{- if .Values.resources.ignoreLimits }} requests: diff --git a/charts/onechart/templates/service.yaml b/charts/onechart/templates/service.yaml index 8396561..223f368 100644 --- a/charts/onechart/templates/service.yaml +++ b/charts/onechart/templates/service.yaml @@ -31,7 +31,7 @@ spec: {{- if .Values.nodePort }} nodePort: {{ .Values.nodePort }} {{- end }} - {{ else }} + {{- else }} {{- range .Values.ports }} - name: {{ .name }} port: {{ if .svcPort }}{{ .svcPort }}{{ else }}{{ .containerPort }}{{ end }}