apiVersion: apps/v1
kind: Deployment
metadata:
  annotations:
    kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
    kompose.version: 1.34.0 (cbf2835db)
  labels:
    io.kompose.service: pv-db-utils
  name: pv-db-utils
spec:
  replicas: 1
  selector:
    matchLabels:
      io.kompose.service: pv-db-utils
  strategy:
    type: Recreate
  template:
    metadata:
      annotations:
        kompose.cmd: C:\Program Files (x86)\kompose\kompose.exe convert -f docker-compose.yaml
        kompose.version: 1.34.0 (cbf2835db)
      labels:
        io.kompose.service: pv-db-utils
    spec:
      containers:
        - env:
            - name: POSTGRES_DB
              value: pv-db-utils
            - name: POSTGRES_PASSWORD
              value: Welcome@1
            - name: POSTGRES_USER
              value: humbingo
          image: postgres:16
          name: pv-db-utils
          ports:
            - containerPort: 5432
              protocol: TCP
          volumeMounts:
            - mountPath: /var/lib/postgresql/data
              name: pv-db-utils-claim0
      restartPolicy: Always
      volumes:
        - name: pv-db-utils-claim0
          persistentVolumeClaim:
            claimName: pv-db-utils-claim0