This repository was archived by the owner on Nov 17, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 28 files changed +378
-12
lines changed Expand file tree Collapse file tree 28 files changed +378
-12
lines changed Original file line number Diff line number Diff line change 3636 path : configuration.json
3737 containers :
3838 - name : {{ .Chart.Name }}
39+ {{ if .Values.probes -}}
40+ {{- if .Values.probes.liveness -}}
41+ livenessProbe :
42+ httpGet :
43+ path : {{ .Values.probes.liveness.path }}
44+ initialDelaySeconds : {{ .Values.probes.liveness.initialDelaySeconds }}
45+ periodSeconds : {{ .Values.probes.liveness.periodSeconds }}
46+ {{- end -}}
47+ {{- end -}}
48+ {{- if .Values.probes -}}
49+ {{- if .Values.probes.readiness }}
50+ readinessProbe :
51+ httpGet :
52+ path : {{ .Values.probes.readiness.path }}
53+ initialDelaySeconds : {{ .Values.probes.readiness.initialDelaySeconds }}
54+ periodSeconds : {{ .Values.probes.readiness.periodSeconds }}
55+ {{- end -}}
56+ {{- end }}
3957 image : " {{ template " fqdn-image" . }}:{{ .Values.image.tag }}"
4058 imagePullPolicy : {{ .Values.image.pullPolicy }}
4159 volumeMounts :
Original file line number Diff line number Diff line change 5050 values :
5151 - name : ASPNETCORE_ENVIRONMENT
5252 value : Development
53-
53+ probes :
54+ liveness :
55+ path : /liveness
56+ initialDelaySeconds : 10
57+ periodSeconds : 15
58+ readiness :
59+ path : /hc
60+ initialDelaySeconds : 90
61+ periodSeconds : 15
Original file line number Diff line number Diff line change 3636 path : configuration.json
3737 containers :
3838 - name : {{ .Chart.Name }}
39+ {{ if .Values.probes -}}
40+ {{- if .Values.probes.liveness -}}
41+ livenessProbe :
42+ httpGet :
43+ path : {{ .Values.probes.liveness.path }}
44+ initialDelaySeconds : {{ .Values.probes.liveness.initialDelaySeconds }}
45+ periodSeconds : {{ .Values.probes.liveness.periodSeconds }}
46+ {{- end -}}
47+ {{- end -}}
48+ {{- if .Values.probes -}}
49+ {{- if .Values.probes.readiness }}
50+ readinessProbe :
51+ httpGet :
52+ path : {{ .Values.probes.readiness.path }}
53+ initialDelaySeconds : {{ .Values.probes.readiness.initialDelaySeconds }}
54+ periodSeconds : {{ .Values.probes.readiness.periodSeconds }}
55+ {{- end -}}
56+ {{- end }}
3957 image : " {{ template " fqdn-image" . }}:{{ .Values.image.tag }}"
4058 imagePullPolicy : {{ .Values.image.pullPolicy }}
4159 volumeMounts :
Original file line number Diff line number Diff line change 5050 values :
5151 - name : ASPNETCORE_ENVIRONMENT
5252 value : Development
53-
53+ probes :
54+ liveness :
55+ path : /liveness
56+ initialDelaySeconds : 10
57+ periodSeconds : 15
58+ readiness :
59+ path : /hc
60+ initialDelaySeconds : 90
61+ periodSeconds : 15
Original file line number Diff line number Diff line change 3636 path : configuration.json
3737 containers :
3838 - name : {{ .Chart.Name }}
39+ {{ if .Values.probes -}}
40+ {{- if .Values.probes.liveness -}}
41+ livenessProbe :
42+ httpGet :
43+ path : {{ .Values.probes.liveness.path }}
44+ initialDelaySeconds : {{ .Values.probes.liveness.initialDelaySeconds }}
45+ periodSeconds : {{ .Values.probes.liveness.periodSeconds }}
46+ {{- end -}}
47+ {{- end -}}
48+ {{- if .Values.probes -}}
49+ {{- if .Values.probes.readiness }}
50+ readinessProbe :
51+ httpGet :
52+ path : {{ .Values.probes.readiness.path }}
53+ initialDelaySeconds : {{ .Values.probes.readiness.initialDelaySeconds }}
54+ periodSeconds : {{ .Values.probes.readiness.periodSeconds }}
55+ {{- end -}}
56+ {{- end }}
3957 image : " {{ template " fqdn-image" . }}:{{ .Values.image.tag }}"
4058 imagePullPolicy : {{ .Values.image.pullPolicy }}
4159 volumeMounts :
Original file line number Diff line number Diff line change 5050 values :
5151 - name : ASPNETCORE_ENVIRONMENT
5252 value : Development
53-
53+ probes :
54+ liveness :
55+ path : /liveness
56+ initialDelaySeconds : 10
57+ periodSeconds : 15
58+ readiness :
59+ path : /hc
60+ initialDelaySeconds : 90
61+ periodSeconds : 15
Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ kind: Deployment
66metadata :
77 name : {{ template "apigwws.fullname" . }}
88 labels :
9- ufo : {{ $cfgname}}
109 app : {{ template "apigwws.name" . }}
1110 chart : {{ template "apigwws.chart" . }}
1211 release : {{ .Release.Name }}
3635 path : configuration.json
3736 containers :
3837 - name : {{ .Chart.Name }}
38+ {{ if .Values.probes -}}
39+ {{- if .Values.probes.liveness -}}
40+ livenessProbe :
41+ httpGet :
42+ path : {{ .Values.probes.liveness.path }}
43+ initialDelaySeconds : {{ .Values.probes.liveness.initialDelaySeconds }}
44+ periodSeconds : {{ .Values.probes.liveness.periodSeconds }}
45+ {{- end -}}
46+ {{- end -}}
47+ {{- if .Values.probes -}}
48+ {{- if .Values.probes.readiness }}
49+ readinessProbe :
50+ httpGet :
51+ path : {{ .Values.probes.readiness.path }}
52+ initialDelaySeconds : {{ .Values.probes.readiness.initialDelaySeconds }}
53+ periodSeconds : {{ .Values.probes.readiness.periodSeconds }}
54+ {{- end -}}
55+ {{- end }}
3956 image : " {{ template " fqdn-image" . }}:{{ .Values.image.tag }}"
4057 imagePullPolicy : {{ .Values.image.pullPolicy }}
4158 volumeMounts :
Original file line number Diff line number Diff line change 5050 values :
5151 - name : ASPNETCORE_ENVIRONMENT
5252 value : Development
53-
53+ probes :
54+ liveness :
55+ path : /liveness
56+ initialDelaySeconds : 10
57+ periodSeconds : 15
58+ readiness :
59+ path : /hc
60+ initialDelaySeconds : 90
61+ periodSeconds : 15
Original file line number Diff line number Diff line change 2828 {{- end }}
2929 containers :
3030 - name : {{ .Chart.Name }}
31+ {{ if .Values.probes -}}
32+ {{- if .Values.probes.liveness -}}
33+ livenessProbe :
34+ httpGet :
35+ path : {{ .Values.probes.liveness.path }}
36+ initialDelaySeconds : {{ .Values.probes.liveness.initialDelaySeconds }}
37+ periodSeconds : {{ .Values.probes.liveness.periodSeconds }}
38+ {{- end -}}
39+ {{- end -}}
40+ {{- if .Values.probes -}}
41+ {{- if .Values.probes.readiness }}
42+ readinessProbe :
43+ httpGet :
44+ path : {{ .Values.probes.readiness.path }}
45+ initialDelaySeconds : {{ .Values.probes.readiness.initialDelaySeconds }}
46+ periodSeconds : {{ .Values.probes.readiness.periodSeconds }}
47+ {{- end -}}
48+ {{- end }}
3149 image : " {{ template " fqdn-image" . }}:{{ .Values.image.tag }}"
3250 imagePullPolicy : {{ .Values.image.pullPolicy }}
3351 env :
Original file line number Diff line number Diff line change 4141 values :
4242 - name : OrchestratorType
4343 value : ' K8S'
44+ probes :
45+ liveness :
46+ path : /liveness
47+ initialDelaySeconds : 10
48+ periodSeconds : 15
49+ readiness :
50+ path : /hc
51+ initialDelaySeconds : 90
52+ periodSeconds : 15
You can’t perform that action at this time.
0 commit comments