Skip to content

Commit

Permalink
feat: dns custom
Browse files Browse the repository at this point in the history
  • Loading branch information
devthejo committed Sep 17, 2024
1 parent d70da02 commit dfb36f7
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
13 changes: 13 additions & 0 deletions charts/buildkit-service/templates/buildkitd.configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
6 changes: 6 additions & 0 deletions charts/buildkit-service/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,3 +106,9 @@ init:
mode: initContainer # securityContext | initContainer

Check failure on line 106 in charts/buildkit-service/values.yaml

View workflow job for this annotation

GitHub Actions / lint-test

[comments] too few spaces before comment
maxbytes: "25000000"
maxkeys: "1000000"

dns:
enabled: false
nameservers: ["1.1.1.1","8.8.8.8"]

Check failure on line 112 in charts/buildkit-service/values.yaml

View workflow job for this annotation

GitHub Actions / lint-test

[commas] too few spaces after comma
options: null # []

Check failure on line 113 in charts/buildkit-service/values.yaml

View workflow job for this annotation

GitHub Actions / lint-test

[comments] too few spaces before comment
searchDomains: null # []

Check failure on line 114 in charts/buildkit-service/values.yaml

View workflow job for this annotation

GitHub Actions / lint-test

[new-line-at-end-of-file] no new line character at the end of file

0 comments on commit dfb36f7

Please sign in to comment.