Skip to content

Commit

Permalink
Merge pull request #167 from cep21/skipConfig
Browse files Browse the repository at this point in the history
Allow to skip ConfigMap creation
  • Loading branch information
hagaibarel committed May 30, 2024
2 parents 3d3dc53 + 992e3a1 commit 6c10624
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
8 changes: 3 additions & 5 deletions charts/coredns/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
2 changes: 2 additions & 0 deletions charts/coredns/templates/configmap.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{{- if .Values.deployment.enabled }}
{{- if not .Values.deployment.skipConfig }}
---
apiVersion: v1
kind: ConfigMap
Expand Down Expand Up @@ -33,3 +34,4 @@ data:
{{ .filename }}: {{ toYaml .contents | indent 4 }}
{{- end }}
{{- end }}
{{- end }}
1 change: 1 addition & 0 deletions charts/coredns/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,7 @@ autoscaler:
# imagePullPolicy: Always

deployment:
skipConfig: false
enabled: true
name: ""
## Annotations for the coredns deployment
Expand Down

0 comments on commit 6c10624

Please sign in to comment.