1 # Copyright © 2018 Amdocs
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" . }}
22 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
23 release: {{ .Release.Name }}
24 heritage: {{ .Release.Service }}
30 app: {{ include "common.name" . }}
31 release: {{ .Release.Name }}
46 fieldPath: metadata.namespace
47 image: "{{ .Values.global.readinessRepository }}/{{ .Values.global.readinessImage }}"
48 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
49 name: {{ include "common.name" . }}-readiness
51 - name: {{ include "common.name" . }}
52 image: "{{ include "common.repository" . }}/{{ .Values.image }}"
53 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
56 name: {{ .Release.Name }}-sdnc-env
58 command: [ "bin/prom.sh" ]
61 mountPath: /etc/localtime
64 mountPath: /app/config
67 - name: core-dns-keyfile
68 mountPath: /app/config/coredns
71 {{ toYaml .Values.resources | indent 12 }}
72 {{- if .Values.nodeSelector }}
74 {{ toYaml .Values.nodeSelector | indent 10 }}
76 {{- if .Values.affinity }}
78 {{ toYaml .Values.affinity | indent 10 }}
86 name: {{ include "common.fullname" . }}-configmap
89 name: {{ include "common.fullname" . }}-scripts
91 - name: core-dns-keyfile
93 path: {{ .Values.global.persistence.mountPath | default .Values.persistence.mountPath }}/{{ .Release.Name }}/{{ .Values.persistence.mountSubPath }}
95 - name: {{ include "common.namespace" . }}-docker-registry-key"