mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/jenkins] Allow more configuration of Jenkins agent service (#4028)
* Allow configuring Jenkins slave service type * Allow configuring Jenkins slave service annotations * Update Chart.yaml
This commit is contained in:
committed by
k8s-ci-robot
parent
3ac741bdfd
commit
fc82f39b29
@@ -1,6 +1,6 @@
|
||||
name: jenkins
|
||||
home: https://jenkins.io/
|
||||
version: 0.14.0
|
||||
version: 0.14.1
|
||||
appVersion: 2.73
|
||||
description: Open source continuous integration server. It supports multiple SCM tools
|
||||
including CVS, Subversion and Git. It can execute Apache Ant and Apache Maven-based
|
||||
|
||||
@@ -6,6 +6,10 @@ metadata:
|
||||
app: {{ template "jenkins.fullname" . }}
|
||||
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
|
||||
component: "{{ .Release.Name }}-{{ .Values.Master.Component }}"
|
||||
{{- if .Values.Master.SlaveListenerServiceAnnotations }}
|
||||
annotations:
|
||||
{{ toYaml .Values.Master.SlaveListenerServiceAnnotations | indent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
ports:
|
||||
- port: {{ .Values.Master.SlaveListenerPort }}
|
||||
@@ -13,4 +17,4 @@ spec:
|
||||
name: slavelistener
|
||||
selector:
|
||||
component: "{{ .Release.Name }}-{{ .Values.Master.Component }}"
|
||||
type: ClusterIP
|
||||
type: {{ .Values.Master.SlaveListenerServiceType }}
|
||||
|
||||
@@ -43,6 +43,10 @@ Master:
|
||||
HealthProbes: true
|
||||
HealthProbesTimeout: 60
|
||||
SlaveListenerPort: 50000
|
||||
# Kubernetes service type for the JNLP slave service
|
||||
# SETTING THIS TO "LoadBalancer" IS A HUGE SECURITY RISK: https://github.com/kubernetes/charts/issues/1341
|
||||
SlaveListenerServiceType: ClusterIP
|
||||
SlaveListenerServiceAnnotations: {}
|
||||
LoadBalancerSourceRanges:
|
||||
- 0.0.0.0/0
|
||||
# Optionally assign a known public LB IP
|
||||
|
||||
Reference in New Issue
Block a user