pubsub-producer-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-producer
spec:
  replica: 1
  selector:
    matchLabels:
      app: pubsub-producer
  template:
    metadata:
      labels:
        app: pubsub-producer
    spec:
      imagePullSecrets:
      - name: gitlab-registry-credentials
      containers:
      - name: pubsub-producer
        image: {{ CI_REGISTRY_IMAGE }}/producer:latest