1 apiVersion: extensions/v1beta1
4 name: {{ include "common.fullname" . }}
5 namespace: {{ include "common.namespace" . }}
7 app: {{ include "common.name" . }}
8 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
9 release: {{ .Release.Name }}
10 heritage: {{ .Release.Service }}
12 replicas: {{ .Values.replicaCount }}
16 app: {{ include "common.name" . }}
17 release: {{ .Release.Name }}
24 - {{ .Values.config.dbPodName }}
30 fieldPath: metadata.namespace
31 image: "{{ .Values.global.readinessRepository }}/{{ .Values.global.readinessImage }}"
32 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
33 name: {{ include "common.name" . }}-readiness
35 - name: {{ include "common.name" . }}
36 image: "{{ .Values.global.repository | default .Values.repository }}/{{ .Values.image }}"
37 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
38 command: ["/bin/bash"]
39 args: ["-c", "cd /opt/onap/ccsdk/dgbuilder/ && ./start.sh sdnc1.0 && wait"]
41 - containerPort: {{ .Values.service.internalPort }}
44 port: {{ .Values.service.internalPort }}
45 initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
46 periodSeconds: {{ .Values.readiness.periodSeconds }}
48 - name: MYSQL_ROOT_PASSWORD
51 name: {{ template "common.fullname" . }}
53 - name: SDNC_CONFIG_DIR
54 value: /opt/onap/sdnc/data/properties
56 - mountPath: /etc/localtime
60 mountPath: /opt/app/application.properties
61 subPath: application.properties
63 mountPath: /opt/onap/sdnc/dgbuilder/releases/sdnc1.0/conf/svclogic.properties
64 subPath: svclogic.properties
66 mountPath: /opt/onap/sdnc/dgbuilder/svclogic/svclogic.properties
67 subPath: svclogic.properties
69 mountPath: /opt/onap/sdnc/dgbuilder/createReleaseDir.sh
70 subPath: createReleaseDir.sh
72 mountPath: /opt/onap/sdnc/dgbuilder/releases/sdnc1.0/customSettings.js
73 subPath: customSettings.js
75 {{ toYaml .Values.resources | indent 12 }}
76 {{- if .Values.nodeSelector }}
78 {{ toYaml .Values.nodeSelector | indent 10 }}
80 {{- if .Values.affinity }}
82 {{ toYaml .Values.affinity | indent 10 }}
90 name: {{ include "common.fullname" . }}-config
93 name: {{ include "common.fullname" . }}-scripts
96 - name: "{{ include "common.namespace" . }}-docker-registry-key"