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 {{ 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")}} TODO UNCOMMENT WHEN PUSHING TO ORAN
\r
46 # - name: logging-pvc
\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"}} TODO UNCOMMENT FOR ORAN?
\r
82 value: {{.Values.namespace}}
\r
84 value: {{ .Values.appName}}
\r
86 value: {{.Values.version}}
\r
88 value: {{.Values.auth.enabled | quote }}
\r
92 name: {{ .Values.appName}}
\r
98 name: {{ .Values.appName}}
\r
102 value: {{.Values.proxy.enabled | quote }}
\r
104 value: {{.Values.proxy.https | quote }}
\r
106 value: {{.Values.proxy.http | quote }}
\r
108 value: {{.Values.api.base_url}}
\r
110 value: {{.Values.api.port | quote }}
\r
112 - name: {{.Values.appName}}-cert-volume
\r
113 mountPath: /opt/cert
\r
114 # {{ if or (eq .Values.env "st") (eq .Values.env "prod-dr")}}
\r
116 # - name: logging-pvc
\r
117 # mountPath: "/otf/logs"
\r
121 path: {{.Values.health}}
\r
125 - name: X-Custom-Header
\r
127 initialDelaySeconds: 30
\r
132 path: {{.Values.health}}
\r
136 - name: X-Custom-Header
\r
138 initialDelaySeconds: 30
\r
141 restartPolicy: Always
\r