aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/mock/templates/sniroemulator-deployment.yaml
blob: a0473c95f4d9f5ea02147b4cffed103aa9bea56f (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
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"