4 name: {{ .Values.appName}}
\r
5 namespace: {{.Values.namespace}}
\r
7 app: {{ .Values.appName}}
\r
8 version: {{.Values.version}}
\r
10 revisionHistoryLimit: 1
\r
13 # indicate which strategy we want for rolling update
\r
18 replicas: {{ .Values.replicas}}
\r
21 app: {{ .Values.appName}}
\r
22 version: {{.Values.version}}
\r
26 app: {{ .Values.appName}}
\r
27 version: {{.Values.version}}
\r
29 {{ if .Values.pullSecret }}
\r
31 - name: {{ .Values.pullSecret }}
\r
33 serviceAccount: default
\r
35 - name: {{ .Values.appName}}-cert-volume
\r
37 secretName: {{.Values.sharedCert}}
\r
43 path: privateKey.pem
\r
44 {{ if or (eq .Values.env "st") (eq .Values.env "prod-dr")}}
\r
47 # persistentVolumeClaim:
\r
48 # {{if eq .Values.env "prod"}}
\r
49 # claimName: {{ .Values.pvc.prod | quote }}
\r
51 # claimName: {{ .Values.pvc.dev | quote }}
\r
55 - name: {{ .Values.appName}}
\r
56 image: {{ .Values.image}}
\r
57 imagePullPolicy: Always
\r
61 # nodePort: {{.Values.nodePort}}
\r
63 {{ if eq .Values.env "st"}}
\r
82 value: {{.Values.namespace}}
\r
84 value: {{ .Values.appName}}
\r
86 value: {{.Values.version}}
\r
88 - name: {{.Values.appName}}-cert-volume
\r
89 mountPath: /opt/cert
\r
90 {{ if or (eq .Values.env "st") (eq .Values.env "prod-dr")}}
\r
93 mountPath: "/otf/logs"
\r
97 path: {{.Values.health}}
\r
101 - name: X-Custom-Header
\r
103 initialDelaySeconds: 30
\r
108 path: {{.Values.health}}
\r
112 - name: X-Custom-Header
\r
114 initialDelaySeconds: 30
\r
117 restartPolicy: Always
\r