Skip to content

Commit 4d33bb1

Browse files
authored
chore(chart): Adding extra containers (#4432)
* Added extra containers to deployment * Added option to disable/enable service * Add comment * Update helm docs * Added space at the end * Return service monitor to false * Set service default to true * Add support for extraContainers and remove service.create * Fix container name in values.yaml * Ran helm-docs
1 parent 25f71f0 commit 4d33bb1

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

charts/external-dns/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2020

2121
## Added
2222

23+
- Added support for `extraContainers` argument. ([#4432](https://github.com/kubernetes-sigs/external-dns/pull/4432))[@omerap12](https://github.com/omerap12)
2324
- Added support for setting `excludeDomains` argument. ([#4380](https://github.com/kubernetes-sigs/external-dns/pull/4380))[@bford-evs](https://github.com/bford-evs)
2425

2526
## [v1.14.4] - 2023-04-03

charts/external-dns/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ If `namespaced` is set to `true`, please ensure that `sources` my only contains
101101
| env | list | `[]` | [Environment variables](https://kubernetes.io/docs/tasks/inject-data-application/define-environment-variable-container/) for the `external-dns` container. |
102102
| excludeDomains | list | `[]` | |
103103
| extraArgs | list | `[]` | Extra arguments to provide to _ExternalDNS_. |
104+
| extraContainers | object | `{}` | Extra containers to add to the `Deployment`. |
104105
| extraVolumeMounts | list | `[]` | Extra [volume mounts](https://kubernetes.io/docs/concepts/storage/volumes/) for the `external-dns` container. |
105106
| extraVolumes | list | `[]` | Extra [volumes](https://kubernetes.io/docs/concepts/storage/volumes/) for the `Pod`. |
106107
| fullnameOverride | string | `nil` | Override the full name of the chart. |

charts/external-dns/templates/deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@ spec:
7070
{{- toYaml . | nindent 8 }}
7171
{{- end }}
7272
containers:
73+
{{- with .Values.extraContainers }}
74+
{{- toYaml . | nindent 8 }}
75+
{{- end }}
7376
- name: external-dns
7477
{{- with .Values.securityContext }}
7578
securityContext:

charts/external-dns/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ rbac:
5353
# -- Annotations to add to the `Deployment`.
5454
deploymentAnnotations: {}
5555

56+
# -- Extra containers to add to the `Deployment`.
57+
extraContainers: {}
58+
5659
# -- [Deployment Strategy](https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy).
5760
deploymentStrategy:
5861
type: Recreate

0 commit comments

Comments
 (0)