diff --git a/stable/fluent-bit/Chart.yaml b/stable/fluent-bit/Chart.yaml index 7ba7db1ebf..0a3e526e6c 100755 --- a/stable/fluent-bit/Chart.yaml +++ b/stable/fluent-bit/Chart.yaml @@ -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: diff --git a/stable/fluent-bit/README.md b/stable/fluent-bit/README.md index a1f2bbe764..ffeb70e4c8 100644 --- a/stable/fluent-bit/README.md +++ b/stable/fluent-bit/README.md @@ -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` | diff --git a/stable/fluent-bit/templates/daemonset.yaml b/stable/fluent-bit/templates/daemonset.yaml index 2eddf468c0..c58b02ca9e 100644 --- a/stable/fluent-bit/templates/daemonset.yaml +++ b/stable/fluent-bit/templates/daemonset.yaml @@ -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 diff --git a/stable/fluent-bit/values.yaml b/stable/fluent-bit/values.yaml index 0f3f4e226b..aad3bc3405 100644 --- a/stable/fluent-bit/values.yaml +++ b/stable/fluent-bit/values.yaml @@ -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/ ##