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.pullPolicy | default .Values.global.pullPolicy }}
41 mountPath: /opt/configmaps/settings/
43 mountPath: /opt/secrets/site-crt/
47 - name: PROGRAM_NAME_URL_PREFIX
49 - name: SERVICE_PROVIDER
53 - name: SERVICE_PROVIDER_DOMAIN
57 secretKeyRef: {name: em-secret, key: key}
60 - name: EMAIL_HOST_USER
64 - name: EMAIL_HOST_PASSWORD
66 secretKeyRef: {name: email-secret, key: password}
74 value: "em_postgresuser"
77 secretKeyRef: {name: postgresql-passwords, key: emPassword}
79 value: https://development.vvp.example.com
80 - name: ICE_EM_DOMAIN_NAME
81 value: https://development.vvp.example.com
82 - name: CONTACT_FROM_ADDRESS
84 - name: OAUTHLIB_INSECURE_TRANSPORT
86 - name: SECRET_WEBHOOK_TOKEN
88 secretKeyRef: {name: em-secret, key: em_webhook_token}
89 - name: SECRET_GITLAB_AUTH_TOKEN
91 secretKeyRef: {name: gitlab-password, key: auth-token}
92 - name: SECRET_JENKINS_PASSWORD
94 secretKeyRef: {name: em-secret, key: jenkins_admin_password}
95 - name: SECRET_CMS_APP_CLIENT_ID
97 secretKeyRef: {name: em-secret, key: cms_app_client_id}
98 - name: SECRET_CMS_APP_CLIENT_SECRET
100 secretKeyRef: {name: em-secret, key: cms_app_client_secret}
103 - name: DJANGO_DEBUG_MODE
105 - name: SLACK_API_TOKEN
107 secretKeyRef: {name: em-secret, key: slack_api_token}
108 - name: ENGAGEMENTS_CHANNEL
110 - name: ENGAGEMENTS_NOTIFICATIONS_CHANNEL
112 - name: DEVOPS_CHANNEL
114 - name: DEVOPS_NOTIFICATIONS_CHANNEL
117 value: "dev-s3.vvp.example.com"
120 - name: AWS_ACCESS_KEY_ID
122 secretKeyRef: {name: em-secret, key: aws_access_key_id}
123 - name: AWS_SECRET_ACCESS_KEY
125 secretKeyRef: {name: em-secret, key: aws_secret_access_key}
126 command: ["/docker-entrypoint.sh", "/usr/local/bin/gunicorn", "-c", "/opt/configmaps/settings/gunicorn.ini", "vvp.wsgi:application", ]
133 name: {{ include "common.fullname" . }}-settings