diff --git a/charts/coredns/Chart.yaml b/charts/coredns/Chart.yaml index df76cba..be84a05 100644 --- a/charts/coredns/Chart.yaml +++ b/charts/coredns/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: coredns -version: 1.29.0 +version: 1.30.0 appVersion: 1.11.1 home: https://coredns.io icon: https://coredns.io/images/CoreDNS_Colour_Horizontal.png @@ -19,7 +19,5 @@ maintainers: type: application annotations: artifacthub.io/changes: | - - kind: changed - description: Ignore duplicate strings in the fullname helper template - - kind: removed - description: Removed deprecated "engine: gotpl" from the Chart.yaml + - kind: added + description: Ability to skip configmap management diff --git a/charts/coredns/templates/configmap.yaml b/charts/coredns/templates/configmap.yaml index 67654c6..e37858c 100644 --- a/charts/coredns/templates/configmap.yaml +++ b/charts/coredns/templates/configmap.yaml @@ -1,4 +1,5 @@ {{- if .Values.deployment.enabled }} +{{- if not .Values.deployment.skipConfig }} --- apiVersion: v1 kind: ConfigMap @@ -33,3 +34,4 @@ data: {{ .filename }}: {{ toYaml .contents | indent 4 }} {{- end }} {{- end }} +{{- end }} diff --git a/charts/coredns/values.yaml b/charts/coredns/values.yaml index 5dc978a..aa9ec71 100644 --- a/charts/coredns/values.yaml +++ b/charts/coredns/values.yaml @@ -372,6 +372,7 @@ autoscaler: # imagePullPolicy: Always deployment: + skipConfig: false enabled: true name: "" ## Annotations for the coredns deployment