apiVersion: apps/v1 kind: Deployment metadata: name: todo-app-deployment labels: app: todo-app spec: replicas: 3 strategy: type: 'RollingUpdate' selector: matchLabels: app: todo-app template: metadata: labels: app: todo-app spec: imagePullSecrets: - name: 'gitlab-registry-credentials' containers: - image: {{image}} name: todo-app-container ports: - containerPort: 3000 name: todo-app-container-port envFrom: - configMapRef: name: todo-app-config - secretRef: name: todo-app-secrets