[stable/jenkins] Support custom labels in deployment (#9714) (#10533)

* [stable/jenkins] Support custom labels in deployment (#9714)

Signed-off-by: Erik Aaron Hansen <erihanse@outlook.com>

* [stable/jenkins] Support custom labels in deployment (#9714)

Signed-off-by: Erik Aaron Hansen <erihanse@outlook.com>

* [stable/jenkins] Support custom labels in deployment (#9714)

Signed-off-by: Erik Aaron Hansen <erihanse@outlook.com>
This commit is contained in:
Erik Aaron Hansen
2019-01-14 01:25:46 -08:00
committed by Kubernetes Prow Robot
parent 2f685601c9
commit 3e00b47fa4
4 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
name: jenkins
home: https://jenkins.io/
version: 0.28.7
version: 0.28.8
appVersion: lts
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
+1
View File
@@ -40,6 +40,7 @@ The following tables list the configurable parameters of the Jenkins chart and t
| `Master.UseSecurity` | Use basic security | `true` |
| `Master.SecurityRealm` | Custom Security Realm | Not set |
| `Master.AuthorizationStrategy` | Jenkins XML job config for AuthorizationStrategy | Not set |
| `Master.DeploymentLabels` | Custom Deployment labels | Not set |
| `Master.ServiceLabels` | Custom Service labels | Not set |
| `Master.AdminUser` | Admin username (and password) created as a secret if useSecurity is true | `admin` |
| `Master.AdminPassword` | Admin password (and user) created as a secret if useSecurity is true | Random value |
@@ -11,6 +11,9 @@ metadata:
release: {{ .Release.Name | quote }}
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
component: "{{ .Release.Name }}-{{ .Values.Master.Name }}"
{{- range $key, $val := .Values.Master.DeploymentLabels }}
{{ $key }}: {{ $val | quote }}
{{- end}}
spec:
replicas: 1
strategy:
+4
View File
@@ -58,6 +58,10 @@ Master:
ServiceType: LoadBalancer
# Master Service annotations
ServiceAnnotations: {}
# Master Custom Labels
DeploymentLabels:
# foo: bar
# bar: foo
# Master Service Labels
ServiceLabels: {}
# service.beta.kubernetes.io/aws-load-balancer-backend-protocol: https