summaryrefslogtreecommitdiffstats
path: root/kubernetes/mock/templates/sniroemulator-deployment.yaml
blob: 9397bfd80748db6d056b2a957375d6b98bb22e51 (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 }}"
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 }}