mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-27 04:11:03 +00:00
Allow custom dnsConfig in helm charts (#1569)
Co-authored-by: Anbraten <anton@ju60.de>
This commit is contained in:
parent
7835a632e4
commit
c73b1ecf2a
4 changed files with 15 additions and 0 deletions
|
@ -91,3 +91,8 @@ spec:
|
|||
- name: sock-dir
|
||||
emptyDir: {}
|
||||
{{- end }}
|
||||
{{- with .Values.dnsConfig }}
|
||||
dnsConfig:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
|
||||
|
|
|
@ -86,6 +86,8 @@ tolerations: []
|
|||
|
||||
affinity: {}
|
||||
|
||||
dnsConfig: {}
|
||||
|
||||
## Using topology spread constraints, you can ensure that there is at least one agent
|
||||
## pod for each topology zone, e.g. one per arch for multi-architecture clusters
|
||||
## or one for each region for geographically distributed cloud-hosted clusters.
|
||||
|
|
|
@ -79,3 +79,8 @@ spec:
|
|||
persistentVolumeClaim:
|
||||
claimName: {{ if .Values.persistentVolume.existingClaim }}{{ .Values.persistentVolume.existingClaim }}{{- else }}{{ template "woodpecker-server.fullname" . }}{{- end }}
|
||||
{{- end -}}
|
||||
{{- with .Values.dnsConfig }}
|
||||
dnsConfig:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
|
||||
|
|
|
@ -97,3 +97,6 @@ nodeSelector: {}
|
|||
tolerations: []
|
||||
|
||||
affinity: {}
|
||||
|
||||
dnsConfig: {}
|
||||
|
||||
|
|
Loading…
Reference in a new issue