apiVersion: v1
items:
- apiVersion: apps/v1
  kind: Deployment
  metadata:
    annotations:
      deployment.kubernetes.io/revision: "1"
    generation: 1
    labels:
      app: $DEPLOYMENT
    name: $DEPLOYMENT
    namespace: default
  spec:
    progressDeadlineSeconds: 600
    replicas: 1
    revisionHistoryLimit: 10
    selector:
      matchLabels:
        app: $DEPLOYMENT
    strategy:
      rollingUpdate:
        maxSurge: 25%
        maxUnavailable: 25%
      type: RollingUpdate
    template:
      metadata:
        creationTimestamp: null
        labels:
          app: $DEPLOYMENT
      spec:
        containers:
        - image: $LOGINSERVER/postgres-pro/$IMAGE:$TAG
          imagePullPolicy: IfNotPresent
          name: $IMAGE
          resources: {}
          ports:
          - containerPort: 5433
          env:
          - name: PGPRO_SUPERUSER_PASSWORD
            value: '$PASS' 
          - name: PGPRO_PORT
            value: '5433'
          terminationMessagePath: /dev/termination-log
          terminationMessagePolicy: File
        dnsPolicy: ClusterFirst
        restartPolicy: Always
        schedulerName: default-scheduler
        securityContext: {}
        terminationGracePeriodSeconds: 30
kind: List
metadata:
  resourceVersion: ""
  selfLink: ""