mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-02-17 03:45:13 +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
|
- name: sock-dir
|
||||||
emptyDir: {}
|
emptyDir: {}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with .Values.dnsConfig }}
|
||||||
|
dnsConfig:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
|
|
|
@ -86,6 +86,8 @@ tolerations: []
|
||||||
|
|
||||||
affinity: {}
|
affinity: {}
|
||||||
|
|
||||||
|
dnsConfig: {}
|
||||||
|
|
||||||
## Using topology spread constraints, you can ensure that there is at least one agent
|
## 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
|
## 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.
|
## or one for each region for geographically distributed cloud-hosted clusters.
|
||||||
|
|
|
@ -79,3 +79,8 @@ spec:
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: {{ if .Values.persistentVolume.existingClaim }}{{ .Values.persistentVolume.existingClaim }}{{- else }}{{ template "woodpecker-server.fullname" . }}{{- end }}
|
claimName: {{ if .Values.persistentVolume.existingClaim }}{{ .Values.persistentVolume.existingClaim }}{{- else }}{{ template "woodpecker-server.fullname" . }}{{- end }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
{{- with .Values.dnsConfig }}
|
||||||
|
dnsConfig:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
|
|
|
@ -97,3 +97,6 @@ nodeSelector: {}
|
||||||
tolerations: []
|
tolerations: []
|
||||||
|
|
||||||
affinity: {}
|
affinity: {}
|
||||||
|
|
||||||
|
dnsConfig: {}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue