We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b72fefb commit fd52dbeCopy full SHA for fd52dbe
deploy/chart/local-path-provisioner/templates/configmap.yaml
@@ -6,9 +6,14 @@ metadata:
6
{{ include "local-path-provisioner.labels" . | indent 4 }}
7
data:
8
config.json: |-
9
- {
10
- "nodePathMap": {{ .Values.nodePathMap | toPrettyJson | nindent 8 }}
11
- }
+ {{- $config := dict }}
+ {{- with .Values.nodePathMap }}
+ {{- $config = set $config "nodePathMap" . }}
12
+ {{- end }}
13
+ {{- with .Values.sharedFileSystemPath }}
14
+ {{- $config = set $config "sharedFileSystemPath" . }}
15
16
+ {{- $config | toPrettyJson | nindent 4 }}
17
setup: |-
18
{{ .Values.configmap.setup | nindent 4 }}
19
teardown: |-
0 commit comments