Skip to content
This repository was archived by the owner on Jul 26, 2022. It is now read-only.

Commit 285841e

Browse files
authored
Dns config options (#446)
* Update values.yaml Add dnsConfig option. * Update deployment.yaml DnsConfig option. * Update deployment.yaml * Update README.md
1 parent d582991 commit 285841e

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

charts/kubernetes-external-secrets/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ The following table lists the configurable parameters of the `kubernetes-externa
105105
| `tolerations` | List of node taints to tolerate (requires Kubernetes >= 1.6) | `[]` |
106106
| `affinity` | Affinity for pod assignment | `{}` |
107107
| `resources` | Pod resource requests & limits | `{}` |
108+
| `dnsConfig` | Dns Config for pod. | `{}` |
108109
| `imagePullSecrets` | Reference to one or more secrets to be used when pulling images | `[]` |
109110
| `serviceMonitor.enabled` | Enable the creation of a serviceMonitor object for the Prometheus operator | `false` |
110111
| `serviceMonitor.interval` | The interval the Prometheus endpoint is scraped | `30s` |

charts/kubernetes-external-secrets/templates/deployment.yaml

+5-1
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,10 @@ spec:
6767
readOnly: true
6868
{{- end }}
6969
{{- end }}
70+
{{- with .Values.dnsConfig }}
71+
dnsConfig:
72+
{{- toYaml . | nindent 8 }}
73+
{{- end }}
7074
{{- with .Values.securityContext }}
7175
securityContext:
7276
{{- toYaml . | nindent 8 }}
@@ -90,4 +94,4 @@ spec:
9094
secret:
9195
secretName: {{ $value.secret }}
9296
{{- end }}
93-
{{- end }}
97+
{{- end }}

charts/kubernetes-external-secrets/values.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ fullnameOverride: ""
8383
podAnnotations: {}
8484
podLabels: {}
8585

86+
dnsConfig: {}
87+
8688
securityContext:
8789
runAsNonRoot: true
8890
# Required for use of IRSA, see https://docs.aws.amazon.com/eks/latest/userguide/iam-roles-for-service-accounts-technical-overview.html

0 commit comments

Comments
 (0)