diff --git a/charts/buildkit-service/templates/buildkitd.configmap.yaml b/charts/buildkit-service/templates/buildkitd.configmap.yaml index 2ba1852..c26dcdd 100644 --- a/charts/buildkit-service/templates/buildkitd.configmap.yaml +++ b/charts/buildkit-service/templates/buildkitd.configmap.yaml @@ -52,3 +52,16 @@ data: all = true keepBytes = {{ .Values.gc.defaultPolicy.keepBytes | toYaml }} keepDuration = {{ .Values.gc.defaultPolicy.keepDuration | toYaml }} + + {{ if .Values.dns.enabled }} + [dns] + {{ if .Values.dns.nameservers }} + nameservers={{ .Values.dns.nameservers | toJson }} + {{ end }} + {{ if .Values.dns.options }} + options={{ .Values.dns.options | toJson }} + {{ end }} + {{ if .Values.dns.searchDomains }} + searchDomains={{ .Values.dns.searchDomains | toJson }} + {{ end }} + {{ end }} diff --git a/charts/buildkit-service/values.yaml b/charts/buildkit-service/values.yaml index 1c1806f..b595802 100644 --- a/charts/buildkit-service/values.yaml +++ b/charts/buildkit-service/values.yaml @@ -106,3 +106,9 @@ init: mode: initContainer # securityContext | initContainer maxbytes: "25000000" maxkeys: "1000000" + +dns: + enabled: false + nameservers: ["1.1.1.1","8.8.8.8"] + options: null # [] + searchDomains: null # [] \ No newline at end of file