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 - name: {{ .Values.appName}}-ssh-volume
\r
46 secretName: {{.Values.appName}}
\r
49 - key: id_private_key
\r
51 {{ if or (eq .Values.env "st") (eq .Values.env "prod-dr")}}
\r
54 # persistentVolumeClaim:
\r
55 # {{if eq .Values.env "prod"}}
\r
56 # claimName: {{ .Values.pvc.prod | quote }}
\r
58 # claimName: {{ .Values.pvc.dev | quote }}
\r
62 - name: {{ .Values.appName}}
\r
63 image: {{ .Values.image}}
\r
64 imagePullPolicy: Always
\r
68 # nodePort: {{.Values.nodePort}}
\r
70 {{ if eq .Values.env "st"}}
\r
89 value: {{.Values.namespace}}
\r
91 value: {{ .Values.appName}}
\r
93 value: {{.Values.version}}
\r
94 - name: id_private_key_passphrase
\r
97 name: {{ .Values.appName}}
\r
98 key: id_private_key_passphrase
\r
101 - name: {{.Values.appName}}-cert-volume
\r
102 mountPath: /opt/cert
\r
103 - name: {{.Values.appName}}-ssh-volume
\r
105 {{ if or (eq .Values.env "st") (eq .Values.env "prod-dr")}}
\r
107 - name: logging-pvc
\r
108 mountPath: "/otf/logs"
\r
112 path: {{.Values.health}}
\r
116 - name: X-Custom-Header
\r
118 initialDelaySeconds: 30
\r
123 path: {{.Values.health}}
\r
127 - name: X-Custom-Header
\r
129 initialDelaySeconds: 30
\r
132 restartPolicy: Always
\r