Skip to content

Commit

Permalink
add dnsmasq
Browse files Browse the repository at this point in the history
  • Loading branch information
slamdev committed Jul 9, 2020
1 parent c589abc commit 667e2dc
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion charts/nginx/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: |-
Chart supports environment variables inside of the nginx.conf file.
type: application
version: 0.0.7
version: 0.0.8
appVersion: 1.17.9
home: https://github.com/slamdev/helm-charts/tree/master/charts/nginx
icon: https://www.nginx.com/wp-content/uploads/2019/10/favicon-48x48.ico
Expand Down
2 changes: 1 addition & 1 deletion charts/nginx/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Helm chart to deploy [nginx](https://www.nginx.com).

Chart supports environment variables inside of the nginx.conf file.

Current chart version is `0.0.7`
Current chart version is `0.0.8`

Source code can be found [here](https://github.com/slamdev/helm-charts/tree/master/charts/nginx)

Expand Down
22 changes: 11 additions & 11 deletions charts/nginx/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,17 +49,6 @@ spec:
{{- with .Values.env }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- if .Values.dnsmasq.enabled -}}
- name: dnsmasq
image: "janeczku/go-dnsmasq:release-1.0.5"
args:
- --listen
- "127.0.0.1:53"
- --default-resolver
- --append-search-domains
- --hostsfile=/etc/hosts
- --verbose
{{- end }}
volumeMounts:
- name: {{ include "nginx.fullname" . }}
mountPath: /etc/nginx/nginx.conf.tpl
Expand All @@ -70,6 +59,17 @@ spec:
{{- with .Values.volumeMounts }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- if .Values.dnsmasq.enabled }}
- name: dnsmasq
image: "janeczku/go-dnsmasq:release-1.0.5"
args:
- --listen
- "127.0.0.1:53"
- --default-resolver
- --append-search-domains
- --hostsfile=/etc/hosts
- --verbose
{{- end }}
volumes:
- name: {{ include "nginx.fullname" . }}
configMap:
Expand Down

0 comments on commit 667e2dc

Please sign in to comment.