File tree Expand file tree Collapse file tree 1 file changed +18
-9
lines changed
starship/charts/devnet/templates Expand file tree Collapse file tree 1 file changed +18
-9
lines changed Original file line number Diff line number Diff line change 5050 - name : {{ $frontend.name }}
5151 image : {{ $frontend.image }}
5252 imagePullPolicy : {{ $.Values.images.imagePullPolicy }}
53+ env :
54+ - name : NAMESPACE
55+ valueFrom :
56+ fieldRef :
57+ fieldPath : metadata.namespace
58+ {{- if $frontend.env }}
59+ {{- range $key, $value := $frontend.env }}
60+ - name : {{ $key }}
61+ value : {{ $value | quote }}
62+ {{- end }}
63+ {{- end }}
5364 {{- if $frontend.ports }}
5465 ports :
5566 {{- if $frontend.ports.rest }}
@@ -58,22 +69,20 @@ spec:
5869 protocol : TCP
5970 {{- end }}
6071 {{- end }}
61- {{- if $frontend.env }}
62- env :
63- {{- range $key, $value := $frontend.env }}
64- - name : {{ $key }}
65- value : {{ $value | quote }}
66- {{- end }}
67- {{- end }}
68- resources : {{- include "getResourceObject" $frontend.resources | trim | nindent 12 }}
72+ resources :
73+ {{- include "getResourceObject" $frontend.resources | indent 12 }}
6974 readinessProbe :
7075 tcpSocket :
7176 port : http
7277 initialDelaySeconds : 20
7378 periodSeconds : 10
79+ timeoutSeconds : 5
80+ failureThreshold : 3
7481 livenessProbe :
7582 tcpSocket :
7683 port : http
7784 initialDelaySeconds : 20
7885 periodSeconds : 10
79- {{- end }}
86+ timeoutSeconds : 5
87+ failureThreshold : 3
88+ {{- end }}
You can’t perform that action at this time.
0 commit comments