Skip to content

Commit

Permalink
Revert changes to coredns resource naming
Browse files Browse the repository at this point in the history
Ref: coredns/helm#156
Signed-off-by: Brad Davidson <[email protected]>
  • Loading branch information
brandond committed Feb 21, 2024
1 parent c719ab4 commit 972107d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
--- charts-original/templates/_helpers.tpl
+++ charts/templates/_helpers.tpl
@@ -57,7 +57,7 @@
@@ -15,13 +15,9 @@
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}}
{{- else -}}
{{- $name := default .Chart.Name .Values.nameOverride -}}
-{{- if contains $name .Release.Name }}
-{{- .Release.Name | trunc 63 | trimSuffix "-" }}
-{{- else }}
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{- end -}}
-{{- end -}}

{{/*
Common labels
@@ -57,7 +53,7 @@
Allow k8s-app label to be overridden
*/}}
{{- define "coredns.k8sapplabel" -}}
Expand All @@ -9,7 +23,7 @@
{{- end -}}

{{/*
@@ -224,3 +224,72 @@
@@ -224,3 +220,72 @@
{{ default "default" .Values.serviceAccount.name }}
{{- end -}}
{{- end -}}
Expand Down
2 changes: 1 addition & 1 deletion packages/rke2-coredns/package.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
url: https:/coredns/helm/releases/download/coredns-1.29.0/coredns-1.29.0.tgz
packageVersion: 00
packageVersion: 01

0 comments on commit 972107d

Please sign in to comment.