1 # Copyright © 2017 Amdocs, 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 #{{ if not .Values.disableVidVidMariadb }}
16 apiVersion: extensions/v1beta1
22 namespace: "{{ .Values.nsPrefix }}"
24 replicas: {{ .Values.vidMariaDbReplicas }}
35 - image: {{ .Values.image.mariadb }}
36 imagePullPolicy: {{ .Values.pullPolicy }}
39 - name: MYSQL_DATABASE
40 value: vid_openecomp_epsdk
43 - name: MYSQL_PASSWORD
44 value: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
45 - name: MYSQL_ROOT_PASSWORD
48 - mountPath: /etc/localtime
51 - mountPath: /var/lib/mysql
52 name: vid-mariadb-data
53 - mountPath: /docker-entrypoint-initdb.d/vid-pre-init.sql
55 subPath: vid-pre-init.sql
56 - mountPath: /etc/mysql/my.cnf
64 initialDelaySeconds: 5
70 - name: vid-mariadb-data
71 persistentVolumeClaim:
75 name: vid-lfconfig-configmap
80 - key: vid-pre-init.sql
81 path: vid-pre-init.sql
83 - name: "{{ .Values.nsPrefix }}-docker-registry-key"