jenkins: add optional LoadBalancerIP option. (#1568)

* jenkins: add optional LoadBalancerIP option.

To support running the master on a pre-allocated external IP we need to expose
the `loadBalancerIP` part of the service template.

* Update Chart.yaml
This commit is contained in:
sundbp
2017-08-14 16:49:15 -07:00
committed by Vic Iglesias
parent e1dea71e72
commit d39f114084
4 changed files with 11 additions and 5 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
name: jenkins
home: https://jenkins.io/
version: 0.8.6
version: 0.8.7
appVersion: 2.67
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 projects as well as arbitrary scripts.
sources:
+1
View File
@@ -41,6 +41,7 @@ The following tables lists the configurable parameters of the Jenkins chart and
| `Master.ContainerPort` | Master listening port | `8080` |
| `Master.SlaveListenerPort` | Listening port for agents | `50000` |
| `Master.LoadBalancerSourceRanges` | Allowed inbound IP addresses | `0.0.0.0/0` |
| `Master.LoadBalancerIP` | Optional fixed external IP | Not set |
| `Master.JMXPort` | Open a port, for JMX stats | Not set |
| `Master.CustomConfigMap` | Use a custom ConfigMap | `false` |
| `Master.Ingress.Annotations` | Ingress annotations | `{}` |
@@ -25,4 +25,7 @@ spec:
type: {{.Values.Master.ServiceType}}
{{if eq .Values.Master.ServiceType "LoadBalancer"}}
loadBalancerSourceRanges: {{.Values.Master.LoadBalancerSourceRanges}}
{{if .Values.Master.LoadBalancerIP}}
loadBalancerIP: {{.Values.Master.LoadBalancerIP}}
{{end}}
{{end}}
+6 -4
View File
@@ -32,16 +32,18 @@ Master:
SlaveListenerPort: 50000
LoadBalancerSourceRanges:
- 0.0.0.0/0
# Optionally assign a known public LB IP
# LoadBalancerIP: 1.2.3.4
# Optionally configure a JMX port
# requires additional JavaOpts, ie
# JavaOpts: >
# -Dcom.sun.management.jmxremote.port=4000
# -Dcom.sun.management.jmxremote.authenticate=false
# -Dcom.sun.management.jmxremote.ssl=false
# -Dcom.sun.management.jmxremote.port=4000
# -Dcom.sun.management.jmxremote.authenticate=false
# -Dcom.sun.management.jmxremote.ssl=false
# JMXPort: 4000
# List of plugins to be install during Jenkins master start
InstallPlugins:
- kubernetes:0.11
- kubernetes:0.11
- workflow-aggregator:2.5
- workflow-job:2.13
- credentials-binding:1.12