Commit 919d078 Matthew Fisher
authored
File tree 3 files changed +16
-1
lines changed
3 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -49,13 +49,21 @@ spec:
49
49
fieldPath : metadata.namespace
50
50
ports :
51
51
- containerPort : 8080
52
+ {{- if .Values.host_port.enabled }}
52
53
hostPort : 80
54
+ {{- end }}
53
55
- containerPort : 6443
56
+ {{- if .Values.host_port.enabled }}
54
57
hostPort : 443
58
+ {{- end }}
55
59
- containerPort : 2222
60
+ {{- if .Values.host_port.enabled }}
56
61
hostPort : 2222
62
+ {{- end }}
57
63
- containerPort : 9090
64
+ {{- if .Values.host_port.enabled }}
58
65
hostPort : 9090
66
+ {{- end }}
59
67
livenessProbe :
60
68
httpGet :
61
69
path : /healthz
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ metadata:
11
11
labels :
12
12
heritage : deis
13
13
spec :
14
- type : LoadBalancer
14
+ type : {{ default " LoadBalancer" .Values.service_type}}
15
15
selector :
16
16
app : deis-router
17
17
ports :
Original file line number Diff line number Diff line change @@ -15,3 +15,10 @@ deployment_annotations:
15
15
# which need to be applied can be specified as key-value pairs under "service_annotations"
16
16
service_annotations :
17
17
# <example-key>: <example-value>
18
+
19
+ # Enable to pin router pod hostPort when using minikube or vagrant
20
+ host_port :
21
+ enabled : false
22
+
23
+ # Service type default to LoadBalancer
24
+ # service_type: LoadBalancer
You can’t perform that action at this time.
0 commit comments