Fix k8sApp default value

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
pull/349/head
Brad Davidson 2023-06-12 19:48:05 +00:00 committed by Brad Davidson
parent dea096852e
commit 4811c82e4b
3 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@
*/}}
{{- define "coredns.k8sapplabel" -}}
-{{- default .Chart.Name .Values.k8sAppLabelOverride | trunc 63 | trimSuffix "-" -}}
+{{- .Values.k8sApp | default .Chart.Name .Values.k8sAppLabelOverride | trunc 63 | trimSuffix "-" -}}
+{{- coalesce .Values.k8sApp .Values.k8sAppLabelOverride .Chart.Name | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{/*

View File

@ -165,7 +165,7 @@
## Annotations for the coredns deployment
annotations: {}
+
+k8sApp : "kube-dns"
+k8sApp: "kube-dns"
+
+nodelocal:
+ enabled: false

View File

@ -1,4 +1,4 @@
url: https://github.com/coredns/helm/releases/download/coredns-1.24.0/coredns-1.24.0.tgz
packageVersion: 01
packageVersion: 02
# This repository does not use releaseCandidateVersions, so you can leave this as 00.
releaseCandidateVersion: 00