2 # Copyright © 2018 Orange
3 # Modifications Copyright © 2018 Amdocs, Bell Canada
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
9 # http://www.apache.org/licenses/LICENSE-2.0
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
21 name: {{ include "common.fullname" . }}
22 namespace: {{ include "common.namespace" . }}
24 app: {{ include "common.name" . }}
25 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
26 release: {{ include "common.release" . }}
27 heritage: {{ .Release.Service }}
31 app: {{ include "common.name" . }}
32 replicas: {{ .Values.replicaCount }}
36 app: {{ include "common.name" . }}
37 release: {{ include "common.release" . }}
38 name: {{ include "common.fullname" . }}
41 - name: {{ include "common.name" . }}
42 image: "{{ include "common.repository" . }}/{{ .Values.image }}"
43 imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
45 - containerPort: {{ .Values.service.internalPort }}
46 # disable liveness probe when breakpoints set in debugger
47 # so K8s doesn't restart unresponsive container
48 {{ if .Values.liveness.enabled }}
51 port: {{ .Values.service.internalPort }}
52 initialDelaySeconds: {{ .Values.liveness.initialDelaySeconds }}
53 periodSeconds: {{ .Values.liveness.periodSeconds }}
58 - name: APP_ACTION_DEPLOY_BLUEPRINT_GRPC_ENABLED
59 value: "{{ .Values.config.app.action.deployBlueprint.grpcEnabled }}"
60 - name: API_BLUEPRINT_CONTROLLER_HTTP_BASE_URL
61 value: {{ .Values.config.api.controller.http.baseUrl }}
62 - name: API_BLUEPRINT_CONTROLLER_HTTP_AUTH_TOKEN
63 value: {{ .Values.config.api.controller.http.authToken }}
64 - name: API_BLUEPRINT_PROCESSOR_HTTP_BASE_URL
65 value: {{ .Values.config.api.processor.http.baseUrl }}
66 - name: API_BLUEPRINT_PROCESSOR_HTTP_AUTH_TOKEN
67 value: {{ .Values.config.api.processor.http.authToken }}
68 - name: API_BLUEPRINT_PROCESSOR_GRPC_HOST
69 value: {{ .Values.config.api.processor.grpc.host }}
70 - name: API_BLUEPRINT_PROCESSOR_GRPC_PORT
71 value: "{{ .Values.config.api.processor.grpc.port }}"
72 - name: API_BLUEPRINT_PROCESSOR_GRPC_AUTH_TOKEN
73 value: {{ .Values.config.api.processor.grpc.authToken }}
76 port: {{ .Values.service.internalPort }}
77 initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
78 periodSeconds: {{ .Values.readiness.periodSeconds }}
80 - mountPath: /etc/localtime
84 {{ include "common.resources" . | indent 12 }}
85 {{- if .Values.nodeSelector }}
87 {{ toYaml .Values.nodeSelector | indent 10 }}
89 {{- if .Values.affinity }}
91 {{ toYaml .Values.affinity | indent 10 }}
98 - name: "{{ include "common.namespace" . }}-docker-registry-key"