blob: 7f8cdb6f268e9b39dd6e9ed081186922a22580b4 [file] [log] [blame]
vaibhav_16dec34582cd2018-03-22 09:07:12 +00001# Copyright © 2017 Amdocs, Bell Canada
2#
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
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
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.
14
yuryn9f27c6a2017-10-26 17:10:50 +030015#{{ if not .Values.disableAafAafCs }}
Dusan Rozman906b6702017-09-26 16:04:12 -040016apiVersion: extensions/v1beta1
17kind: Deployment
18metadata:
19 name: aaf-cs
BorislavGdf274d22018-02-27 15:04:26 +000020 namespace: "{{ .Values.nsPrefix }}"
Dusan Rozman906b6702017-09-26 16:04:12 -040021spec:
vaibhav_16dec2f195482018-02-16 06:58:06 +000022 replicas: {{ .Values.aafcsReplicas }}
Dusan Rozman906b6702017-09-26 16:04:12 -040023 selector:
24 matchLabels:
25 app: aaf-cs
26 template:
27 metadata:
28 labels:
29 app: aaf-cs
30 name: aaf-cs
31 spec:
32 hostname: aaf-cs
33 containers:
34 - args:
35 image: {{ .Values.image.csImage }}:{{ .Values.image.csVersion }}
36 imagePullPolicy: {{ .Values.pullPolicy }}
37 name: "aaf-cs"
38 volumeMounts:
39 - mountPath: /data
Dusan Rozmand2915612017-10-02 09:55:04 -040040 name: aaf-cs-data
Dusan Rozman906b6702017-09-26 16:04:12 -040041 readinessProbe:
42 tcpSocket:
43 port: 7000
44 initialDelaySeconds: 5
45 periodSeconds: 10
46 volumes:
Dusan Rozmand2915612017-10-02 09:55:04 -040047 - name: aaf-cs-data
vaibhav_16dec59a7e3c2018-01-17 12:42:39 +000048 secret:
49 secretName: aaf-cs-data-secret
Dusan Rozman906b6702017-09-26 16:04:12 -040050 imagePullSecrets:
51 - name: {{ .Values.nsPrefix }}-docker-registry-key
vaibhav_16dec59a7e3c2018-01-17 12:42:39 +000052#{{ end }}