1 # Copyright (c) 2019 AT&T Intellectual Property.
2 # Copyright (c) 2019 Nokia.
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.
19 name: {{ include "appmgr.fullname" . }}
21 app.kubernetes.io/name: {{ include "appmgr.name" . }}
22 helm.sh/chart: {{ include "appmgr.chart" . }}
23 app.kubernetes.io/instance: {{ .Release.Name }}
24 app.kubernetes.io/managed-by: {{ .Release.Service }}
26 replicas: {{ .Values.replicaCount }}
29 app.kubernetes.io/name: {{ include "appmgr.name" . }}
30 app.kubernetes.io/instance: {{ .Release.Name }}
34 app.kubernetes.io/name: {{ include "appmgr.name" . }}
35 app.kubernetes.io/instance: {{ .Release.Name }}
38 - name: {{ .Chart.Name }}
39 image: "{{ .Values.image.repository }}/{{ .Values.image.name }}:{{ .Values.image.tag }}"
40 imagePullPolicy: {{ .Values.image.pullPolicy }}
43 containerPort: {{ .Values.image.containerPort }}
47 mountPath: {{ .Values.appconfigpath }}
49 mountPath: {{ .Values.appsecretpath }}
51 mountPath: {{ .Values.appcertpath }}
54 name: {{ .Release.Name }}-appenv
57 path: {{ .Values.service.health_alive_check_endpoint }}
59 initialDelaySeconds: 5
64 path: {{ .Values.service.health_ready_check_endpoint }}
66 initialDelaySeconds: 5
71 {{- toYaml .Values.resources | nindent 12 }}
75 #allowPrivilegeEscalation: false
76 {{- with .Values.nodeSelector }}
78 {{- toYaml . | nindent 8 }}
80 {{- with .Values.affinity }}
82 {{- toYaml . | nindent 8 }}
84 {{- with .Values.tolerations }}
86 {{- toYaml . | nindent 8 }}
92 name: {{ .Release.Name }}-appconfig
95 secretName: {{ .Values.appsecretobject }}
98 name: {{ .Values.appcertobject }}