Skip to content

Commit 75f9c01

Browse files
committed
Add support for initContainers
Signed-off-by: fr6nco <tomas.boros92@gmail.com>
1 parent 79483ad commit 75f9c01

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

charts/coredns/Chart.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v2
22
name: coredns
3-
version: 1.42.4
3+
version: 1.43.0
44
appVersion: 1.12.2
55
home: https://coredns.io
66
icon: https://coredns.io/images/CoreDNS_Colour_Horizontal.png
@@ -19,5 +19,5 @@ maintainers:
1919
type: application
2020
annotations:
2121
artifacthub.io/changes: |
22-
- kind: fixed
23-
description: Fix service port removal if `scheme` is not defined, and enable use_tcp for default configuration.
22+
- kind: added
23+
description: Added support for initContainers in the deployment.

charts/coredns/templates/deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,10 @@ spec:
9191
{{- if .Values.image.pullSecrets }}
9292
imagePullSecrets:
9393
{{ toYaml .Values.image.pullSecrets | indent 8 }}
94+
{{- end }}
95+
{{- if .Values.initContainers }}
96+
initContainers:
97+
{{ toYaml .Values.initContainers | indent 8 }}
9498
{{- end }}
9599
containers:
96100
- name: "coredns"

charts/coredns/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -403,3 +403,6 @@ deployment:
403403
annotations: {}
404404
## Pod selector
405405
selector: {}
406+
407+
# Configures initcontainers for the coredns deployment.
408+
initContainers: []

0 commit comments

Comments
 (0)