blob: aed359ecebc1f6980051f78e81ee2ff0e93153f8 [file] [log] [blame]
#{{ if not .Values.disableVfcVfcztevnfmdriver }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: vfc-ztevnfmdriver
namespace: "{{ .Values.nsPrefix }}-{{ .Chart.Name }}"
spec:
replicas: {{ .Values.ztevnfmdriver.replicas }}
selector:
matchLabels:
app: vfc-ztevnfmdriver
template:
metadata:
labels:
app: vfc-ztevnfmdriver
name: vfc-ztevnfmdriver
spec:
hostname: vfc-ztevnfmdriver
containers:
- args:
image: {{.Values.ztevnfmdriver.image}}
name: "vfc-ztevnfmdriver"
env:
- name: MSB_ADDR
value: {{ .Values.msbaddr }}
ports:
- containerPort: {{ .Values.ztevnfmdriver.port }}
readinessProbe:
tcpSocket:
port: {{ .Values.ztevnfmdriver.port }}
initialDelaySeconds: 5
periodSeconds: 10
imagePullPolicy: "{{ .Values.pullPolicy }}"
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
#{{ end }}