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