Address review comments

- Rename extraLabels to customLabels
- remove enabled field
- repackage helm chart
This commit is contained in:
javier 2022-02-14 16:34:15 +01:00
parent 8904cf0858
commit 73851d1b38
3 changed files with 4 additions and 7 deletions

View File

@ -13,7 +13,7 @@ labels:
app.kubernetes.io/name: "{{ template "nfs.name" . }}"
app.kubernetes.io/version: "{{ .Chart.AppVersion }}"
helm.sh/chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}"
{{- if .Values.extraLabels.enabled }}
{{ toYaml .Values.extraLabels.labels | indent 2 -}}
{{- if .Values.customLabels }}
{{ toYaml .Values.customLabels | indent 2 -}}
{{- end }}
{{- end -}}
{{- end -}}

View File

@ -1,7 +1,4 @@
extraLabels:
enabled: false
labels: {}
customLabels: {}
image:
nfs:
repository: mcr.microsoft.com/k8s/csi/nfs-csi