File tree Expand file tree Collapse file tree
charts/rm-workspace-api/templates Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,25 +36,27 @@ spec:
3636 imagePullPolicy : {{ .Values.image.pullPolicy }}
3737 ports :
3838 - name : http
39- containerPort : 8080
39+ containerPort : {{ .Values.service.port }}
4040 protocol : TCP
4141 readinessProbe :
4242 httpGet :
4343 path : /probe
44- port : 8080
44+ port : {{ .Values.service.port }}
4545 initialDelaySeconds : 10
4646 timeoutSeconds : 2
4747 periodSeconds : 3
4848 failureThreshold : 1
4949 livenessProbe :
5050 httpGet :
5151 path : /probe
52- port : 8080
52+ port : {{ .Values.service.port }}
5353 initialDelaySeconds : 20
5454 timeoutSeconds : 2
5555 periodSeconds : 8
5656 failureThreshold : 1
5757 env :
58+ - name : GUNICORN_BIND
59+ value : " 0.0.0.0:{{ .Values.service.port }}"
5860 {{- if hasKey .Values "gunicornWorkers" }}
5961 - name : GUNICORN_WORKERS
6062 value : " {{ .Values.gunicornWorkers }}"
You can’t perform that action at this time.
0 commit comments