Skip to content

Commit 9bfd248

Browse files
feat(argo-rollouts): support dnsConfig parameter (#3405)
Signed-off-by: Nitin Verma <[email protected]> Co-authored-by: Aikawa <[email protected]>
1 parent f68d732 commit 9bfd248

File tree

5 files changed

+24
-3
lines changed

5 files changed

+24
-3
lines changed

charts/argo-rollouts/Chart.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
appVersion: v1.8.3
33
description: A Helm chart for Argo Rollouts
44
name: argo-rollouts
5-
version: 2.40.2
5+
version: 2.40.3
66
home: https://github.com/argoproj/argo-helm
77
icon: https://argoproj.github.io/argo-rollouts/assets/logo.png
88
keywords:
@@ -18,5 +18,5 @@ annotations:
1818
fingerprint: 2B8F22F57260EFA67BE1C5824B11F800CD9D2252
1919
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
2020
artifacthub.io/changes: |
21-
- kind: fixed
22-
description: Fix to render ingress's port properly
21+
- kind: added
22+
description: support dnsConfig for controller and dashboard pods

charts/argo-rollouts/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ For full list of changes please check ArtifactHub [changelog].
5151
| fullnameOverride | string | `nil` | String to fully override "argo-rollouts.fullname" template |
5252
| global.deploymentAnnotations | object | `{}` | Annotations for all deployed Deployments |
5353
| global.deploymentLabels | object | `{}` | Labels for all deployed Deployments |
54+
| global.dnsConfig | object | `{}` | Specifies the deployment DNS configuration for controller and dashboard. |
5455
| global.revisionHistoryLimit | int | `10` | Number of old deployment ReplicaSets to retain. The rest will be garbage collected. |
5556
| imagePullSecrets | list | `[]` | Secrets with credentials to pull images from a private registry. Registry secret names as an array. |
5657
| installCRDs | bool | `true` | Install and upgrade CRDs |

charts/argo-rollouts/templates/controller/deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,10 @@ spec:
112112
tolerations:
113113
{{- toYaml .Values.controller.tolerations | nindent 8 }}
114114
{{- end }}
115+
{{- with .Values.global.dnsConfig }}
116+
dnsConfig:
117+
{{- toYaml . | nindent 8 }}
118+
{{- end }}
115119
{{- if .Values.controller.affinity }}
116120
affinity:
117121
{{- toYaml .Values.controller.affinity | nindent 8 }}

charts/argo-rollouts/templates/dashboard/deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@ spec:
8181
tolerations:
8282
{{- toYaml .Values.dashboard.tolerations | nindent 8 }}
8383
{{- end }}
84+
{{- with .Values.global.dnsConfig }}
85+
dnsConfig:
86+
{{- toYaml . | nindent 8 }}
87+
{{- end }}
8488
{{- if .Values.dashboard.affinity }}
8589
affinity:
8690
{{- toYaml .Values.dashboard.affinity | nindent 8 }}

charts/argo-rollouts/values.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,18 @@ global:
4949
deploymentLabels: {}
5050
# -- Number of old deployment ReplicaSets to retain. The rest will be garbage collected.
5151
revisionHistoryLimit: 10
52+
# -- Specifies the deployment DNS configuration for controller and dashboard.
53+
dnsConfig: {}
54+
# nameservers:
55+
# - 1.2.3.4
56+
# searches:
57+
# - ns1.svc.cluster-domain.example
58+
# - my.dns.search.suffix
59+
# options:
60+
# - name: ndots
61+
# value: "1"
62+
# - name: attempts
63+
# value: "3"
5264

5365
controller:
5466
# -- Value of label `app.kubernetes.io/component`

0 commit comments

Comments
 (0)