fix(common): correct some mistakes in configMap handling in common (#1369)

* add test for configmap

* fix runtests and mistakes in configmap handling

* bump

* hmmm

* small fix
This commit is contained in:
Kjeld Schouten-Lebbing
2021-11-21 20:20:24 +01:00
committed by GitHub
parent 800b75c3c1
commit f718d002da
5 changed files with 101 additions and 3 deletions
+1 -1
View File
@@ -15,4 +15,4 @@ maintainers:
name: common
sources: null
type: library
version: 8.7.0
version: 8.7.1
@@ -22,6 +22,9 @@ Secondary entrypoint and primary loader for the common chart
{{- include "common.addon.netshoot" . }}
{{- end -}}
{{- /* Build the confimap */ -}}
{{ include "common.configmap" . | nindent 0 }}
{{- /* Build the templates */ -}}
{{- include "common.pvc" . }}
@@ -60,7 +60,7 @@ Volumes included by the controller.
{{- else if eq $persistence.type "custom" }}
{{- toYaml $persistence.volumeSpec | nindent 2 }}
{{- else }}
{{- fail (printf "Not a valid persistence.type (%s)" .Values.persistence.type) }}
{{- fail (printf "Not a valid persistence.type (%s)" $persistence.type) }}
{{- end }}
{{- end }}
{{- end }}
+1 -1
View File
@@ -742,7 +742,7 @@ persistence:
# @default -- See below
configmap-example:
enabled: false
type: configmap
type: configMap
# -- Specify the name of the configmap object to be mounted
objectName: myconfig-map
# -- Where to mount the volume in the main container.