Skip to content

Commit 6c10624

Browse files
authored
Merge pull request #167 from cep21/skipConfig
Allow to skip ConfigMap creation
2 parents 3d3dc53 + 992e3a1 commit 6c10624

3 files changed

Lines changed: 6 additions & 5 deletions

File tree

charts/coredns/Chart.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v2
22
name: coredns
3-
version: 1.29.0
3+
version: 1.30.0
44
appVersion: 1.11.1
55
home: https://coredns.io
66
icon: https://coredns.io/images/CoreDNS_Colour_Horizontal.png
@@ -19,7 +19,5 @@ maintainers:
1919
type: application
2020
annotations:
2121
artifacthub.io/changes: |
22-
- kind: changed
23-
description: Ignore duplicate strings in the fullname helper template
24-
- kind: removed
25-
description: Removed deprecated "engine: gotpl" from the Chart.yaml
22+
- kind: added
23+
description: Ability to skip configmap management

charts/coredns/templates/configmap.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{{- if .Values.deployment.enabled }}
2+
{{- if not .Values.deployment.skipConfig }}
23
---
34
apiVersion: v1
45
kind: ConfigMap
@@ -33,3 +34,4 @@ data:
3334
{{ .filename }}: {{ toYaml .contents | indent 4 }}
3435
{{- end }}
3536
{{- end }}
37+
{{- end }}

charts/coredns/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -372,6 +372,7 @@ autoscaler:
372372
# imagePullPolicy: Always
373373

374374
deployment:
375+
skipConfig: false
375376
enabled: true
376377
name: ""
377378
## Annotations for the coredns deployment

0 commit comments

Comments
 (0)