Skip to content

Commit

Permalink
Add DNS configuration options to Helm chart
Browse files Browse the repository at this point in the history
  • Loading branch information
YoonHyunWoo committed Apr 27, 2024
1 parent f929e1f commit 91d2a72
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
8 changes: 8 additions & 0 deletions charts/aws-ebs-csi-driver/templates/controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,14 @@ spec:
initContainers:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- if .Values.controller.dnsConfig }}
dnsConfig:
options:
{{- range .Values.controller.dnsConfig.options }}
- name: {{ .name }}
value: "{{ .value }}"
{{- end }}
{{- end }}
containers:
- name: ebs-plugin
image: {{ printf "%s%s:%s" (default "" .Values.image.containerRegistry) .Values.image.repository (default (printf "v%s" .Chart.AppVersion) (.Values.image.tag | toString)) }}
Expand Down
4 changes: 4 additions & 0 deletions charts/aws-ebs-csi-driver/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,10 @@ controller:
otelTracing: {}
# otelServiceName: ebs-csi-controller
# otelExporterEndpoint: "http://localhost:4317"
dnsConfig:
options:
- name : ndots
value : "5"

node:
env: []
Expand Down

0 comments on commit 91d2a72

Please sign in to comment.