nextcloud-cluster-7864fb4b4f created 2021-09-28 14:56:24, version 68791013

apiVersion: apps/v1
data:
  spec:
    template:
      $patch: replace
      metadata:
        creationTimestamp: null
        labels:
          application: spilo
          cluster-name: nextcloud-cluster
          team: nextcloud
        namespace: nextcloud-psql
      spec:
        containers:
        - env:
          - name: SCOPE
            value: nextcloud-cluster
          - name: PGROOT
            value: /home/postgres/pgdata/pgroot
          - name: POD_IP
            valueFrom:
              fieldRef:
                apiVersion: v1
                fieldPath: status.podIP
          - name: POD_NAMESPACE
            valueFrom:
              fieldRef:
                apiVersion: v1
                fieldPath: metadata.namespace
          - name: PGUSER_SUPERUSER
            value: postgres
          - name: KUBERNETES_SCOPE_LABEL
            value: cluster-name
          - name: KUBERNETES_ROLE_LABEL
            value: spilo-role
          - name: PGPASSWORD_SUPERUSER
            valueFrom:
              secretKeyRef:
                key: password
                name: postgres.nextcloud-cluster.credentials
          - name: PGUSER_STANDBY
            value: standby
          - name: PGPASSWORD_STANDBY
            valueFrom:
              secretKeyRef:
                key: password
                name: standby.nextcloud-cluster.credentials
          - name: PAM_OAUTH2
            value: https://info.example.com/oauth2/tokeninfo?access_token= uid realm=/employees
          - name: HUMAN_ROLE
            value: zalandos
          - name: PGVERSION
            value: '13'
          - name: KUBERNETES_LABELS
            value: '{"application":"spilo"}'
          - name: SPILO_CONFIGURATION
            value: '{"postgresql":{},"bootstrap":{"initdb":[{"auth-host":"md5"},{"auth-local":"trust"}],"users":{"zalandos":{"password":"","options":["CREATEDB","NOLOGIN"]}},"dcs":{}}}'
          - name: DCS_ENABLE_KUBERNETES_API
            value: 'true'
          - name: ENABLE_WAL_PATH_COMPAT
            value: 'true'
          image: registry.opensource.zalan.do/acid/spilo-13:2.0-p7
          imagePullPolicy: IfNotPresent
          name: postgres
          ports:
          - containerPort: 8008
            protocol: TCP
          - containerPort: 5432
            protocol: TCP
          - containerPort: 8080
            protocol: TCP
          resources:
            limits:
              cpu: '1'
              memory: 500Mi
            requests:
              cpu: 100m
              memory: 100Mi
          securityContext:
            allowPrivilegeEscalation: true
            privileged: false
            readOnlyRootFilesystem: false
          terminationMessagePath: /dev/termination-log
          terminationMessagePolicy: File
          volumeMounts:
          - mountPath: /home/postgres/pgdata
            name: pgdata
          - mountPath: /dev/shm
            name: dshm
        dnsPolicy: ClusterFirst
        restartPolicy: Always
        schedulerName: default-scheduler
        securityContext: {}
        serviceAccount: postgres-pod
        serviceAccountName: postgres-pod
        terminationGracePeriodSeconds: 300
        volumes:
        - emptyDir:
            medium: Memory
          name: dshm
kind: ControllerRevision
metadata:
  creationTimestamp: '2021-09-28T14:56:24Z'
  labels:
    application: spilo
    cluster-name: nextcloud-cluster
    controller.kubernetes.io/hash: 7864fb4b4f
    team: nextcloud
  managedFields:
  - apiVersion: apps/v1
    fieldsType: FieldsV1
    fieldsV1:
      f:data: {}
      f:metadata:
        f:labels:
          .: {}
          f:application: {}
          f:cluster-name: {}
          f:controller.kubernetes.io/hash: {}
          f:team: {}
        f:ownerReferences:
          .: {}
          k:{"uid":"f61a786e-b859-4e7b-acfb-aa33b7329be8"}:
            .: {}
            f:apiVersion: {}
            f:blockOwnerDeletion: {}
            f:controller: {}
            f:kind: {}
            f:name: {}
            f:uid: {}
      f:revision: {}
    manager: k3s
    operation: Update
    time: '2021-09-28T22:02:57Z'
  name: nextcloud-cluster-7864fb4b4f
  namespace: nextcloud-psql
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: StatefulSet
    name: nextcloud-cluster
    uid: f61a786e-b859-4e7b-acfb-aa33b7329be8
  resourceVersion: '68791013'
  uid: 625a9906-bece-4c91-bac4-c9a37205b4ff
revision: 1