apiVersion: apps/v1
kind: Deployment
metadata:
  name: hello-world-app
  labels:
    app: node
spec:
  replicas: 3
  selector:
    matchLabels:
      app: node
  strategy:
    type: RollingUpdate
    rollingUpdate:
      maxSurge: 1
      maxUnavailable: 33%
  template:
    metadata:
      labels:
        app: node
    spec:
      containers:
        - name: node
          image: registry.gitlab.com/omnia-platform/hello-world-app:<VERSION>
          ports:
            - containerPort: 8081
      imagePullSecrets:
        - name: regcred