2 # Copyright © 2019 Bell Canada
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
20 name: {{ include "common.fullname" . }}
21 namespace: {{ include "common.namespace" . }}
23 app: {{ include "common.name" . }}
24 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
25 release: {{ include "common.release" . }}
26 heritage: {{ .Release.Service }}
32 app: {{ include "common.name" . }}-mgnt
33 release: {{ include "common.release" . }}
35 serviceAccount: {{ include "common.fullname" . }}
36 serviceAccountName: {{ include "common.fullname" . }}
39 - name: {{ include "common.name" . }}-init-readiness
40 image: "{{ .Values.global.readinessRepository }}/{{ .Values.global.readinessImage }}"
41 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
52 fieldPath: metadata.namespace
54 - command: ["/bin/sh","-c"]
55 args: ["/etc/tower/job-entrypoint.sh"]
56 image: "{{ .Values.repository }}/{{ .Values.image.task }}"
57 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
58 name: {{ include "common.name" . }}-mgnt
66 - mountPath: /etc/tower/job-entrypoint.sh
69 subPath: job-entrypoint.py
70 - mountPath: /etc/tower/settings.py
71 name: awx-application-config
74 - mountPath: /etc/tower/conf.d/
75 name: awx-application-credentials
77 - mountPath: /etc/tower/SECRET_KEY
87 path: job-entrypoint.py
88 name: {{ include "common.fullname" . }}-init-mgnt
95 name: {{ include "common.fullname" . }}-settings
96 name: awx-application-config
97 - name: awx-application-credentials
101 - key: credentials_py
103 - key: environment_sh
105 secretName: {{ include "common.fullname" . }}-secrets
106 - name: awx-secret-key
112 secretName: {{ include "common.fullname" . }}-secrets
118 - key: enabled_plugins
119 path: enabled_plugins
120 - key: rabbitmq_definitions.json
121 path: rabbitmq_definitions.json
122 name: {{ include "common.fullname" . }}-rabbitmq
123 name: rabbitmq-config
125 - name: "{{ include "common.namespace" . }}-docker-registry-key"