Skip to content

Commit

Permalink
Merge pull request #54 from stafot/add_dnsConfig_ability
Browse files Browse the repository at this point in the history
Add ability for custom dnsConfig
  • Loading branch information
Naseem authored Dec 10, 2020
2 parents a6d36fe + 05be6d2 commit e6805d4
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/fluent-bit/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ keywords:
- logging
- fluent-bit
- fluentd
version: 0.7.12
version: 0.7.13
appVersion: 1.6.8
icon: https://fluentbit.io/assets/img/logo1-default.png
home: https://fluentbit.io/
Expand Down
4 changes: 4 additions & 0 deletions charts/fluent-bit/templates/_pod.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ priorityClassName: {{ .Values.priorityClassName }}
serviceAccountName: {{ include "fluent-bit.serviceAccountName" . }}
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 2 }}
{{- with .Values.dnsConfig }}
dnsConfig:
{{- toYaml . | nindent 2 }}
{{- end }}
containers:
- name: {{ .Chart.Name }}
securityContext:
Expand Down
11 changes: 10 additions & 1 deletion charts/fluent-bit/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,16 @@ podSecurityPolicy:
podSecurityContext:
{}
# fsGroup: 2000

dnsConfig: {}
# nameservers:
# - 1.2.3.4
# searches:
# - ns1.svc.cluster-domain.example
# - my.dns.search.suffix
# options:
# - name: ndots
# value: "2"
# - name: edns0
securityContext:
{}
# capabilities:
Expand Down

0 comments on commit e6805d4

Please sign in to comment.