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