1 # Copyright © 2018 Amdocs, AT&T, Bell Canada
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
15 apiVersion: extensions/v1beta1
18 name: {{ include "common.fullname" . }}
19 namespace: {{ include "common.namespace" . }}
21 app: {{ include "common.name" . }}
23 replicas: {{ .Values.replicaCount }}
27 app: {{ include "common.name" . }}
28 name: {{ .Release.Name }}
33 - name: {{ include "common.name" . }}
34 image: "{{ include "common.repository" . }}/{{ .Values.image }}"
35 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
42 mountPath: /opt/configmaps/settings/
44 mountPath: /opt/secrets/site-crt/
46 - name: ICE_ENVIRONMENT
48 - name: PROGRAM_NAME_URL_PREFIX
50 - name: SERVICE_PROVIDER
54 - name: SERVICE_PROVIDER_DOMAIN
58 secretKeyRef: {name: em-secret, key: key}
66 value: "em_postgresuser"
67 - name: EM_DB_PASSWORD
69 secretKeyRef: {name: postgresql-passwords, key: emPassword}
77 value: "cms_postgresuser"
78 - name: CMS_DB_PASSWORD
80 secretKeyRef: {name: postgresql-passwords, key: cmsPassword}
88 value: "em_postgresuser"
89 - name: CI_DB_PASSWORD
91 secretKeyRef: {name: postgresql-passwords, key: ciPassword}
94 - name: ICE_CONTACT_FROM_ADDRESS
96 - name: SECRET_WEBHOOK_TOKEN
98 secretKeyRef: {name: em-secret, key: em_webhook_token}
99 - name: SECRET_GITLAB_AUTH_TOKEN
101 secretKeyRef: {name: gitlab-password, key: auth-token}
102 - name: SECRET_JENKINS_PASSWORD
104 secretKeyRef: {name: em-secret, key: jenkins_admin_password}
106 value: https://development.vvp.example.com
107 - name: ICE_EM_DOMAIN_NAME
108 value: https://development.vvp.example.com
109 - name: OAUTHLIB_INSECURE_TRANSPORT
111 - name: CI_ADMIN_USER
113 - name: CI_ADMIN_MAIL
114 value: "ciadminmail@example.com"
115 - name: CI_ADMIN_PASSWORD
117 secretKeyRef: {name: {{ include "common.fullname" . }}-secret, key: admin_password}
119 value: "dev-s3.vvp.example.com"
122 - name: AWS_ACCESS_KEY_ID
124 secretKeyRef: {name: em-secret, key: aws_access_key_id}
125 - name: AWS_SECRET_ACCESS_KEY
127 secretKeyRef: {name: em-secret, key: aws_secret_access_key}
128 command: ["/app/docker-entrypoint.sh", "/usr/local/bin/gunicorn", "-c", "/opt/configmaps/settings/gunicorn.ini", "web.wsgi:application", ]
132 name: {{ include "common.fullname" . }}-settings