diff options
author | 2018-09-11 16:07:02 -0400 | |
---|---|---|
committer | 2018-09-11 16:07:02 -0400 | |
commit | a7a1cfcb91f35df6c835aab8bfbfb766c41d1ee2 (patch) | |
tree | 7c46316970d0d029cfddbda1451ca42b3cd99c04 /kubernetes/contrib/charts/netbox/charts/netbox-app/templates/pvc.yaml | |
parent | ae397d001bf2b649397b6ca69aff881ffc6653fd (diff) |
Fix not using storageClass issue
the PVC yaml definition was corrupted and mountPath were missing
when not using storageClass.
Fixed PVC template of Postgress and Netbox-app charts.
Change-Id: Id018a5f5bf1e4a928cbcbdb6eefc43a1a0f08244
Issue-ID: CCSDK-533
Signed-off-by: Martin Ouimet <martin.ouimet@bell.ca>
Diffstat (limited to 'kubernetes/contrib/charts/netbox/charts/netbox-app/templates/pvc.yaml')
-rwxr-xr-x | kubernetes/contrib/charts/netbox/charts/netbox-app/templates/pvc.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/contrib/charts/netbox/charts/netbox-app/templates/pvc.yaml b/kubernetes/contrib/charts/netbox/charts/netbox-app/templates/pvc.yaml index 8fbd4544dc..3489049602 100755 --- a/kubernetes/contrib/charts/netbox/charts/netbox-app/templates/pvc.yaml +++ b/kubernetes/contrib/charts/netbox/charts/netbox-app/templates/pvc.yaml @@ -30,7 +30,7 @@ metadata: {{ .Values.persistence.annotations | indent 4 }} {{- end }} spec: -{{- if not .Values.persistence.storageClass -}} +{{- if not .Values.persistence.storageClass }} selector: matchLabels: name: {{ .Release.Name }}-{{ .Values.persistence.staticPvName }} |