apiVersion: v1
kind: Pod
metadata:
  annotations:
    checksum/config: 41a3bad5593fe49346da18c09ee5c8b91cfa7ffa36eff2e7eec4be4ac9df433d
    checksum/monitoring-config: 9d6c19452de04094e4742a1a33f31e02ec1f1f9b13c11c03566081a1accccaa5
    checksum/rbac: ca9e7bb2212674b1b9cf4e634187b34a5ca7d015f030c62729ca6496c8208253
  creationTimestamp: "2026-07-17T05:34:01Z"
  generateName: cloudnative-pg-6747b4cb98-
  labels:
    app.kubernetes.io/instance: cloudnative-pg
    app.kubernetes.io/name: cloudnative-pg
    pod-template-hash: 6747b4cb98
  name: cloudnative-pg-6747b4cb98-cwfc7
  namespace: cnpg-system
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: ReplicaSet
    name: cloudnative-pg-6747b4cb98
    uid: fcd6605d-1e94-4827-8275-6e318e22501b
  resourceVersion: "2653"
  uid: 75eb9ba3-2bd5-44d5-8f8e-3a93a8a35610
spec:
  containers:
  - args:
    - controller
    - --leader-elect
    - --max-concurrent-reconciles=10
    - --config-map-name=cnpg-controller-manager-config
    - --webhook-port=9443
    command:
    - /manager
    env:
    - name: OPERATOR_IMAGE_NAME
      value: harbor.atmosphere.dev/ghcr.io/cloudnative-pg/cloudnative-pg:1.28.4
    - name: OPERATOR_NAMESPACE
      valueFrom:
        fieldRef:
          apiVersion: v1
          fieldPath: metadata.namespace
    - name: MONITORING_QUERIES_CONFIGMAP
      value: cnpg-default-monitoring
    image: harbor.atmosphere.dev/ghcr.io/cloudnative-pg/cloudnative-pg:1.28.4
    imagePullPolicy: IfNotPresent
    livenessProbe:
      failureThreshold: 3
      httpGet:
        path: /readyz
        port: webhook-server
        scheme: HTTPS
      initialDelaySeconds: 3
      periodSeconds: 10
      successThreshold: 1
      timeoutSeconds: 1
    name: manager
    ports:
    - containerPort: 8080
      name: metrics
      protocol: TCP
    - containerPort: 9443
      name: webhook-server
      protocol: TCP
    readinessProbe:
      failureThreshold: 3
      httpGet:
        path: /readyz
        port: webhook-server
        scheme: HTTPS
      initialDelaySeconds: 3
      periodSeconds: 10
      successThreshold: 1
      timeoutSeconds: 1
    resources:
      limits:
        cpu: 500m
      requests:
        cpu: 500m
    securityContext:
      allowPrivilegeEscalation: false
      capabilities:
        drop:
        - ALL
      readOnlyRootFilesystem: true
      runAsGroup: 10001
      runAsUser: 10001
      seccompProfile:
        type: RuntimeDefault
    startupProbe:
      failureThreshold: 6
      httpGet:
        path: /readyz
        port: webhook-server
        scheme: HTTPS
      periodSeconds: 5
      successThreshold: 1
      timeoutSeconds: 1
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /controller
      name: scratch-data
    - mountPath: /run/secrets/cnpg.io/webhook
      name: webhook-certificates
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-mqqkj
      readOnly: true
  dnsPolicy: ClusterFirst
  enableServiceLinks: true
  nodeName: instance
  nodeSelector:
    openstack-control-plane: enabled
  preemptionPolicy: PreemptLowerPriority
  priority: 0
  restartPolicy: Always
  schedulerName: default-scheduler
  securityContext:
    runAsNonRoot: true
    seccompProfile:
      type: RuntimeDefault
  serviceAccount: cloudnative-pg
  serviceAccountName: cloudnative-pg
  terminationGracePeriodSeconds: 10
  tolerations:
  - effect: NoExecute
    key: node.kubernetes.io/not-ready
    operator: Exists
    tolerationSeconds: 300
  - effect: NoExecute
    key: node.kubernetes.io/unreachable
    operator: Exists
    tolerationSeconds: 300
  volumes:
  - emptyDir: {}
    name: scratch-data
  - name: webhook-certificates
    secret:
      defaultMode: 420
      optional: true
      secretName: cnpg-webhook-cert
  - name: kube-api-access-mqqkj
    projected:
      defaultMode: 420
      sources:
      - serviceAccountToken:
          expirationSeconds: 3607
          path: token
      - configMap:
          items:
          - key: ca.crt
            path: ca.crt
          name: kube-root-ca.crt
      - downwardAPI:
          items:
          - fieldRef:
              apiVersion: v1
              fieldPath: metadata.namespace
            path: namespace
status:
  conditions:
  - lastProbeTime: null
    lastTransitionTime: "2026-07-17T05:34:01Z"
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-07-17T05:34:07Z"
    status: "True"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-07-17T05:34:07Z"
    status: "True"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-07-17T05:34:01Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://0aa07c48ec782a7e67f8a645b16178fd00bfdddc43410410d5e16c874665bc6d
    image: harbor.atmosphere.dev/ghcr.io/cloudnative-pg/cloudnative-pg:1.28.4
    imageID: harbor.atmosphere.dev/ghcr.io/cloudnative-pg/cloudnative-pg@sha256:c83a866a7f2c8b2def04bf7a8e6a7f0e9a5c2736a1c710e24e29edf12e03fcd9
    lastState: {}
    name: manager
    ready: true
    restartCount: 0
    started: true
    state:
      running:
        startedAt: "2026-07-17T05:34:04Z"
  hostIP: 199.204.45.4
  phase: Running
  podIP: 10.0.0.105
  podIPs:
  - ip: 10.0.0.105
  qosClass: Burstable
  startTime: "2026-07-17T05:34:01Z"
