apiVersion: v1
kind: Pod
metadata:
  annotations:
    kubectl.kubernetes.io/default-container: manager
  creationTimestamp: "2026-05-26T06:39:42Z"
  generateName: orc-controller-manager-6cb597b5d4-
  labels:
    control-plane: controller-manager
    pod-template-hash: 6cb597b5d4
  name: orc-controller-manager-6cb597b5d4-s2mtn
  namespace: orc-system
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: ReplicaSet
    name: orc-controller-manager-6cb597b5d4
    uid: 47304272-b726-4ad7-953f-ad5cde150c19
  resourceVersion: "26037"
  uid: cb9a8f0a-cbe3-4bdc-8b91-c427db9d23af
spec:
  containers:
  - args:
    - --metrics-bind-address=:8443
    - --leader-elect
    - --health-probe-bind-address=:8081
    command:
    - /manager
    image: harbor.atmosphere.dev/quay.io/orc/openstack-resource-controller:v2.2.0
    imagePullPolicy: IfNotPresent
    livenessProbe:
      failureThreshold: 3
      httpGet:
        path: /healthz
        port: 8081
        scheme: HTTP
      initialDelaySeconds: 15
      periodSeconds: 20
      successThreshold: 1
      timeoutSeconds: 1
    name: manager
    readinessProbe:
      failureThreshold: 3
      httpGet:
        path: /readyz
        port: 8081
        scheme: HTTP
      initialDelaySeconds: 5
      periodSeconds: 10
      successThreshold: 1
      timeoutSeconds: 1
    resources:
      limits:
        cpu: 500m
        memory: 256Mi
      requests:
        cpu: 10m
        memory: 64Mi
    securityContext:
      allowPrivilegeEscalation: false
      capabilities:
        drop:
        - ALL
      privileged: false
      runAsGroup: 65532
      runAsUser: 65532
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: FallbackToLogsOnError
    volumeMounts:
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-bzdgl
      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: orc-controller-manager
  serviceAccountName: orc-controller-manager
  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:
  - name: kube-api-access-bzdgl
    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-05-26T06:39:42Z"
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-05-26T06:46:52Z"
    status: "True"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-05-26T06:46:52Z"
    status: "True"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-05-26T06:39:42Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://a206736448c8edac8c3bb0b98564946e4f835d54a2cf7c9e6fe2de69a3b56cd7
    image: harbor.atmosphere.dev/quay.io/orc/openstack-resource-controller:v2.2.0
    imageID: harbor.atmosphere.dev/quay.io/orc/openstack-resource-controller@sha256:e3c51b1c3048c3f8c2856a6327810981fd4624602091021c4d310092c85e247c
    lastState:
      terminated:
        containerID: containerd://2d2fbf10e93b52fc4e87b4adc6808feb2abd7a84402805be31331d9ff08fdc67
        exitCode: 1
        finishedAt: "2026-05-26T06:44:37Z"
        message: "rkers finished\t{\"controller\": \"credentials_deletion_guard_for_router\",
          \"controllerGroup\": \"\", \"controllerKind\": \"Secret\"}\nW0526 06:44:37.144682
          \      1 reflector.go:492] pkg/mod/k8s.io/client-go@v0.32.5/tools/cache/reflector.go:251:
          watch of *v1alpha1.Subnet ended with: an error on the server (\"unable to
          decode an event from the watch stream: context canceled\") has prevented
          the request from succeeding\nW0526 06:44:37.144736       1 reflector.go:492]
          pkg/mod/k8s.io/client-go@v0.32.5/tools/cache/reflector.go:251: watch of
          *v1alpha1.Project ended with: an error on the server (\"unable to decode
          an event from the watch stream: context canceled\") has prevented the request
          from succeeding\nW0526 06:44:37.144798       1 reflector.go:492] pkg/mod/k8s.io/client-go@v0.32.5/tools/cache/reflector.go:251:
          watch of *v1alpha1.Image ended with: an error on the server (\"unable to
          decode an event from the watch stream: context canceled\") has prevented
          the request from succeeding\nW0526 06:44:37.144850       1 reflector.go:492]
          pkg/mod/k8s.io/client-go@v0.32.5/tools/cache/reflector.go:251: watch of
          *v1alpha1.FloatingIP ended with: an error on the server (\"unable to decode
          an event from the watch stream: context canceled\") has prevented the request
          from succeeding\nW0526 06:44:37.144894       1 reflector.go:492] pkg/mod/k8s.io/client-go@v0.32.5/tools/cache/reflector.go:251:
          watch of *v1alpha1.SecurityGroup ended with: an error on the server (\"unable
          to decode an event from the watch stream: context canceled\") has prevented
          the request from succeeding\nW0526 06:44:37.144940       1 reflector.go:492]
          pkg/mod/k8s.io/client-go@v0.32.5/tools/cache/reflector.go:251: watch of
          *v1alpha1.Port ended with: an error on the server (\"unable to decode an
          event from the watch stream: context canceled\") has prevented the request
          from succeeding\n2026-05-26T06:44:37Z\tERROR\tsetup\tError starting manager\t{\"error\":
          \"problem running manager: leader election lost\"}\nmain.main\n\t/workspace/cmd/manager/main.go:121\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:272\n"
        reason: Error
        startedAt: "2026-05-26T06:44:08Z"
    name: manager
    ready: true
    restartCount: 2
    started: true
    state:
      running:
        startedAt: "2026-05-26T06:46:39Z"
  hostIP: 199.204.45.109
  phase: Running
  podIP: 10.0.0.14
  podIPs:
  - ip: 10.0.0.14
  qosClass: Burstable
  startTime: "2026-05-26T06:39:42Z"
