helmchart: hostAliases support (#720)
Signed-off-by: tombokombo <tombo@sysart.tech>
This commit is contained in:
parent
a97f283fb9
commit
3362aae2a3
|
|
@ -105,6 +105,9 @@ spec:
|
||||||
priorityClassName: {{ .Values.jenkins.priorityClassName }}
|
priorityClassName: {{ .Values.jenkins.priorityClassName }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
disableCSRFProtection: {{ .Values.jenkins.disableCSRFProtection }}
|
disableCSRFProtection: {{ .Values.jenkins.disableCSRFProtection }}
|
||||||
|
{{- with .Values.jenkins.hostAliases }}
|
||||||
|
hostAliases: {{ toYaml . | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
containers:
|
containers:
|
||||||
- name: jenkins-master
|
- name: jenkins-master
|
||||||
image: {{ .Values.jenkins.image }}
|
image: {{ .Values.jenkins.image }}
|
||||||
|
|
|
||||||
|
|
@ -47,6 +47,17 @@ jenkins:
|
||||||
# See https://github.com/jenkinsci/kubernetes-operator/pull/193 for more info
|
# See https://github.com/jenkinsci/kubernetes-operator/pull/193 for more info
|
||||||
disableCSRFProtection: false
|
disableCSRFProtection: false
|
||||||
|
|
||||||
|
# adding entries to a pod's /etc/hosts file provides pod-level override of hostname
|
||||||
|
# resolution when DNS and other options are not applicable.
|
||||||
|
hostAliases: {}
|
||||||
|
# - ip: "127.0.0.1"
|
||||||
|
# hostnames:
|
||||||
|
# - "foo.local"
|
||||||
|
# - "bar.local"
|
||||||
|
# - ip: "10.1.2.3"
|
||||||
|
# hostnames:
|
||||||
|
# - "foo.remote"
|
||||||
|
# - "bar.remote"
|
||||||
|
|
||||||
# validateSecurityWarnings enables or disables validating potential security warnings in Jenkins plugins via admission webhooks.
|
# validateSecurityWarnings enables or disables validating potential security warnings in Jenkins plugins via admission webhooks.
|
||||||
validateSecurityWarnings: false
|
validateSecurityWarnings: false
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue