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

View File

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