Skip to content

Commit

Permalink
change structure
Browse files Browse the repository at this point in the history
  • Loading branch information
kkonnov committed Aug 11, 2023
1 parent e5b8afa commit 55d438b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 14 deletions.
17 changes: 9 additions & 8 deletions stable/node-local-dns/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,15 @@ spec:
resources: {{- toYaml . | nindent 10 }}
{{- end }}
args:
{{- range .Values.configArgs }}
- {{ . }}
{{- end }}
- "{{ .Values.config.localDns }},{{ .Values.config.dnsServer }}"
- "{{ include "node-local-dns.fullname" . }}-upstream"
- -skipteardown={{ .Values.config.skipTeardown }}
- -setupinterface={{ .Values.config.setupInterface }}
- -setupiptables={{ .Values.config.setupIptables }}
- "-localip"
- "{{ .Values.config.localDns }},{{ .Values.config.dnsServer }}"
- "-conf"
- "/etc/Corefile"
- "-upstreamsvc"
- "{{ include "node-local-dns.fullname" . }}-upstream"
- "-skipteardown={{ .Values.config.skipTeardown }}"
- "-setupinterface={{ .Values.config.setupInterface }}"
- "-setupiptables={{ .Values.config.setupIptables }}"
securityContext:
{{- toYaml .Values.securityContext | nindent 10 }}
ports:
Expand Down
6 changes: 0 additions & 6 deletions stable/node-local-dns/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,6 @@ config:

skipTeardown: true

configArgs:
- "-localip"
- "-conf"
- "/etc/Corefile"
- "-upstreamsvc"

nameOverride: ""
fullnameOverride: ""

Expand Down

0 comments on commit 55d438b

Please sign in to comment.