|
|
@ -6,7 +6,6 @@ kind: Deployment |
|
|
|
metadata: |
|
|
|
name: {{ template "apigwws.fullname" . }} |
|
|
|
labels: |
|
|
|
ufo: {{ $cfgname}} |
|
|
|
app: {{ template "apigwws.name" . }} |
|
|
|
chart: {{ template "apigwws.chart" . }} |
|
|
|
release: {{ .Release.Name }} |
|
|
@ -36,6 +35,24 @@ spec: |
|
|
|
path: configuration.json |
|
|
|
containers: |
|
|
|
- name: {{ .Chart.Name }} |
|
|
|
{{ if .Values.probes -}} |
|
|
|
{{- if .Values.probes.liveness -}} |
|
|
|
livenessProbe: |
|
|
|
httpGet: |
|
|
|
path: {{ .Values.probes.liveness.path }} |
|
|
|
initialDelaySeconds: {{ .Values.probes.liveness.initialDelaySeconds }} |
|
|
|
periodSeconds: {{ .Values.probes.liveness.periodSeconds }} |
|
|
|
{{- end -}} |
|
|
|
{{- end -}} |
|
|
|
{{- if .Values.probes -}} |
|
|
|
{{- if .Values.probes.readiness }} |
|
|
|
readinessProbe: |
|
|
|
httpGet: |
|
|
|
path: {{ .Values.probes.readiness.path }} |
|
|
|
initialDelaySeconds: {{ .Values.probes.readiness.initialDelaySeconds }} |
|
|
|
periodSeconds: {{ .Values.probes.readiness.periodSeconds }} |
|
|
|
{{- end -}} |
|
|
|
{{- end }} |
|
|
|
image: "{{ template "fqdn-image" . }}:{{ .Values.image.tag }}" |
|
|
|
imagePullPolicy: {{ .Values.image.pullPolicy }} |
|
|
|
volumeMounts: |
|
|
|