pubsub-consumer-dep.yaml 394 Bytes
Newer Older
Nane Kratzke's avatar
pubsub  
Nane Kratzke committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
apiVersion: apps/v1
kind: Deployment
metadata:
  name: pubsub-consumer
spec:
  replica: 1
  selector:
    matchLabels:
      app: pubsub-consumer
  template:
    metadata:
      labels:
        app: pubsub-consumer
    spec:
      imagePullSecrets:
      - name: gitlab-registry-credentials
      containers:
      - name: pubsub-consumer
        image: {{ CI_REGISTRY_IMAGE }}/consumer:latest