1 apiVersion: extensions/v1beta1
\r
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 serviceAccount: default
\r
31 - name: {{ .Values.appName}}-cert-volume
\r
33 secretName: {{.Values.sharedCert}}
\r
39 path: privateKey.pem
\r
40 # {{ if or (eq .Values.env "st") (eq .Values.env "prod-dr")}} TODO UNCOMMENT WHEN PUSHING TO ORAN
\r
42 # - name: logging-pvc
\r
43 # persistentVolumeClaim:
\r
44 # {{if eq .Values.env "prod"}}
\r
45 # claimName: {{ .Values.pvc.prod | quote }}
\r
47 # claimName: {{ .Values.pvc.dev | quote }}
\r
51 - name: {{ .Values.appName}}
\r
52 image: {{ .Values.image}}
\r
53 imagePullPolicy: Always
\r
57 nodePort: {{.Values.nodePort}}
\r
59 # {{ if eq .Values.env "st"}} TODO UNCOMMENT FOR ORAN?
\r
78 value: {{.Values.namespace}}
\r
80 value: {{ .Values.appName}}
\r
82 value: {{.Values.version}}
\r
84 value: {{.Values.auth.enabled | quote }}
\r
88 name: {{ .Values.appName}}
\r
94 name: {{ .Values.appName}}
\r
98 value: {{.Values.proxy.enabled | quote }}
\r
100 value: {{.Values.proxy.https | quote }}
\r
102 value: {{.Values.proxy.http | quote }}
\r
104 value: {{.Values.api.base_url}}
\r
106 value: {{.Values.api.port | quote }}
\r
108 - name: {{.Values.appName}}-cert-volume
\r
109 mountPath: /opt/cert
\r
110 # {{ if or (eq .Values.env "st") (eq .Values.env "prod-dr")}}
\r
112 # - name: logging-pvc
\r
113 # mountPath: "/otf/logs"
\r
117 path: {{.Values.health}}
\r
121 - name: X-Custom-Header
\r
123 initialDelaySeconds: 30
\r
128 path: {{.Values.health}}
\r
132 - name: X-Custom-Header
\r
134 initialDelaySeconds: 30
\r
137 restartPolicy: Always
\r