summaryrefslogtreecommitdiffstats
path: root/kubernetes/mock/templates/sniroemulator-deployment.yaml
blob: 5a1d483ae1b40ef963a014fcf1b709bd674698f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#{{ if not .Values.disableMockSniroEmulator }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
  name: sniro-emulator
  namespace: "{{ .Values.nsPrefix }}-mock"
spec:
  selector:
    matchLabels:
      app: sniro-emulator
  replicas: 1
  template:
    metadata:
      labels:
        app: sniro-emulator
        name: sniro-emulator
    spec:
      containers:
      - image: "{{ .Values.image.onapmock }}:{{ .Values.image.tag }}"
        imagePullPolicy: {{ .Values.pullPolicy }}
        name: sniro-emulator
        ports:
        - containerPort: 9999
        args: ["--verbose"]
      imagePullSecrets:
      - name: "{{ .Values.nsPrefix }}-docker-registry-key"
#{{ end }}