blob: 9a648ca2032b118fdf4e0e48b2b44b54be4a6903 [file] [log] [blame]
Alexis de Talhouƫted6bd732017-11-28 14:59:30 -05001#{{ if not .Values.disableVfcNokiaVnfmDriver }}
2apiVersion: extensions/v1beta1
3kind: Deployment
4metadata:
5 name: vfc-nokiavnfmdriver
6 namespace: "{{ .Values.nsPrefix }}-{{ .Chart.Name }}"
7spec:
8 replicas: {{ .Values.nokiavnfmdriver.replicas }}
9 selector:
10 matchLabels:
11 app: vfc-nokiavnfmdriver
12 template:
13 metadata:
14 labels:
15 app: vfc-nokiavnfmdriver
16 name: vfc-nokiavnfmdriver
17 spec:
18 hostname: vfc-nokiavnfmdriver
19 containers:
20 - args:
21 image: {{.Values.nokiavnfmdriver.image}}
22 name: "vfc-nokiavnfmdriver"
23 env:
24 - name: MSB_ADDR
25 value: {{ .Values.msbaddr }}
26 ports:
27 - containerPort: {{ .Values.nokiavnfmdriver.port }}
28 readinessProbe:
29 tcpSocket:
30 port: {{ .Values.nokiavnfmdriver.port }}
31 initialDelaySeconds: 5
32 periodSeconds: 10
33 imagePullPolicy: "{{ .Values.pullPolicy }}"
34 imagePullSecrets:
35 - name: "{{ .Values.nsPrefix }}-docker-registry-key"
36#{{ end }}