Allow override of service type for zuul-web
To attach a service to a GCE loadbalancer, the service must be a NodePort not a ClusterIP. Allow users to specify that as an option. ClusterIP is the default. Change-Id: I98a31f14c110293ac66d3a356accdf1e925663e5
This commit is contained in:
parent
903a179745
commit
92886e64ca
@ -8,7 +8,7 @@ metadata:
|
|||||||
labels:
|
labels:
|
||||||
{{- include "zuul.web.labels" . | indent 4 }}
|
{{- include "zuul.web.labels" . | indent 4 }}
|
||||||
spec:
|
spec:
|
||||||
type: ClusterIP
|
type: {{ .Values.web.serviceType }}
|
||||||
ports:
|
ports:
|
||||||
- name: zuul-web
|
- name: zuul-web
|
||||||
port: {{ .Values.web.port }}
|
port: {{ .Values.web.port }}
|
||||||
|
@ -20,6 +20,7 @@ web:
|
|||||||
enabled: true
|
enabled: true
|
||||||
replicas: 3
|
replicas: 3
|
||||||
port: 9000
|
port: 9000
|
||||||
|
serviceType: ClusterIP
|
||||||
|
|
||||||
ingress:
|
ingress:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user