Default value for optional; bumping common chart version

This commit is contained in:
Laszlo Fogas
2023-10-20 10:54:33 +02:00
parent aafc0bbfab
commit 8032acb1b9
10 changed files with 11 additions and 17 deletions
+1 -1
View File
@@ -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.1
version: 0.4.0
+2 -8
View File
@@ -8,30 +8,24 @@ envFrom: &envFrom
{{- range .Values.existingSecrets }}
- secretRef:
name: {{ .name }}
optional: {{ .optional }}
optional: {{ .optional | default false }}
{{- end }}
{{- range .Values.existingConfigMaps }}
- configMapRef:
name: {{ .name }}
optional: {{ .optional }}
optional: {{ .optional | default false }}
{{- end }}
{{- if .Values.secretEnabled }}
- secretRef:
name: {{ include "common.robustName" $.Release.Name }}
{{- end }}
{{- if .Values.secretName }}
- secretRef:
name: {{ .Values.secretName }}
{{- end }}
{{- if .Values.sealedSecrets }}
- secretRef:
name: {{ template "common.robustName" .Release.Name }}
{{- end }}
{{- end }}
{{- end }}