Skip to content

Commit

Permalink
Fix sharedFilesystemPath not being available in helm deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
meln5674 authored and derekbit committed Dec 16, 2022
1 parent b72fefb commit fd52dbe
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions deploy/chart/local-path-provisioner/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,14 @@ metadata:
{{ include "local-path-provisioner.labels" . | indent 4 }}
data:
config.json: |-
{
"nodePathMap": {{ .Values.nodePathMap | toPrettyJson | nindent 8 }}
}
{{- $config := dict }}
{{- with .Values.nodePathMap }}
{{- $config = set $config "nodePathMap" . }}
{{- end }}
{{- with .Values.sharedFileSystemPath }}
{{- $config = set $config "sharedFileSystemPath" . }}
{{- end }}
{{- $config | toPrettyJson | nindent 4 }}
setup: |-
{{ .Values.configmap.setup | nindent 4 }}
teardown: |-
Expand Down

0 comments on commit fd52dbe

Please sign in to comment.