[stable/fluent-bit] Enabling dnsConfig option in the Chart (#22419)

Signed-off-by: Nick Vladiceanu <vladiceanu.n@gmail.com>
This commit is contained in:
Nick Vladiceanu
2020-05-16 02:15:36 -07:00
committed by GitHub
parent 8f49bedf92
commit 25ab41b429
4 changed files with 19 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: fluent-bit
version: 2.8.13
version: 2.8.14
appVersion: 1.3.7
description: Fast and Lightweight Log/Data Forwarder for Linux, BSD and OSX
keywords:
+1
View File
@@ -150,6 +150,7 @@ The following table lists the configurable parameters of the Fluent-Bit chart an
| `podSecurityContext` | [Security settings for a pod](https://kubernetes.io/docs/concepts/policy/security-context) | `{}` |
| `hostNetwork` | Use host's network | `false` |
| `dnsPolicy` | Specifies the dnsPolicy to use | `ClusterFirst` |
| `dnsConfig` | Specifies the custom dnsConfig to use | `NULL` |
| `priorityClassName` | Specifies the priorityClassName to use | `NULL` |
| `tolerations` | Optional daemonset tolerations | `NULL` |
| `nodeSelector` | Node labels for fluent-bit pod assignment | `NULL` |
@@ -44,6 +44,10 @@ spec:
{{- end }}
hostNetwork: {{ .Values.hostNetwork }}
dnsPolicy: {{ .Values.dnsPolicy }}
{{- if .Values.dnsConfig }}
dnsConfig:
{{ toYaml .Values.dnsConfig | indent 8 }}
{{- end }}
serviceAccountName: {{ template "fluent-bit.serviceAccountName" . }}
containers:
- name: fluent-bit
+13
View File
@@ -208,6 +208,19 @@ hostNetwork: false
# Consider switching to 'ClusterFirstWithHostNet' when 'hostNetwork' is enabled.
dnsPolicy: ClusterFirst
# Optional field that allows more control on the DNS settings for the pod.
# Ref: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-dns-config
dnsConfig: {}
# nameservers:
# - 1.2.3.4
# searches:
# - ns1.svc.cluster-domain.example
# - my.dns.search.suffix
# options:
# - name: ndots
# value: "2"
# - name: edns0
## Node tolerations for fluent-bit scheduling to nodes with taints
## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
##