2 # Copyright © 2018 AT&T, Amdocs, Bell Canada Intellectual Property. All rights reserved.
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" . }}-config
21 namespace: {{ include "common.namespace" . }}
23 app: {{ include "common.name" . }}-job
24 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
25 release: {{ include "common.release" . }}
26 heritage: {{ .Release.Service }}
31 app: {{ include "common.name" . }}-job
32 release: {{ include "common.release" . }}
36 - name: {{ include "common.name" . }}-readiness
37 image: "{{ include "common.repository" . }}/{{ .Values.global.readinessImage }}"
38 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
43 - "{{ .Values.global.readinessTimeout }}"
51 fieldPath: metadata.namespace
53 - name: {{ include "common.name" . }}-update-job
54 image: "{{ .Values.global.repository }}/{{ .Values.job.cassandra.image }}"
55 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
58 value: "{{ .Values.job.host }}"
60 value: "{{ .Values.cql.adminUser.username }}"
62 value: "{{ .Values.job.port }}"
64 value: "{{ .Values.cql.adminUser.password }}"
66 value: "{{ .Values.job.timeout }}"
68 value: "{{ .Values.job.delay }}"
70 # Admin cql Files that setup Admin Keyspace and Change Admin user.
71 - name: {{ include "common.name" . }}-cql
72 mountPath: /cql/admin.cql
74 - name: {{ include "common.name" . }}-cql
75 mountPath: /cql/admin_pw.cql
77 # This is where Apps or MISC will put any of their own startup cql scripts.
78 - name: {{ include "common.name" . }}-extra-cql
81 - name: {{ include "common.name" . }}-cql
83 name: {{ include "common.fullname" . }}-cql
84 - name: {{ include "common.name" . }}-extra-cql
86 name: {{ include "common.fullname" . }}-extra-cql
89 - name: "{{ include "common.namespace" . }}-docker-registry-key"