apiVersion: v1
kind: Pod
metadata:
  annotations:
    configmap-bin-hash: 23d794b59bd8376c7916308c451019defcd089385b3075016e1a6d38af1a1bae
    configmap-etc-hash: 4ee84c162879e75d67560bde85dea9d9f5a0f5f4f22c2720287cbba14e485011
    openstackhelm.openstack.org/release_uuid: ""
  creationTimestamp: "2026-05-26T21:30:31Z"
  generateName: cinder-volume-6c6b57fbdc-
  labels:
    application: cinder
    component: volume
    pod-template-hash: 6c6b57fbdc
    release_group: cinder
  name: cinder-volume-6c6b57fbdc-5xx5z
  namespace: openstack
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: ReplicaSet
    name: cinder-volume-6c6b57fbdc
    uid: dc0b08a7-2823-4785-b60f-df200103d039
  resourceVersion: "12959"
  uid: f083915b-59ed-4dc1-bc48-4d9c2c7a3073
spec:
  affinity:
    podAntiAffinity:
      preferredDuringSchedulingIgnoredDuringExecution:
      - podAffinityTerm:
          labelSelector:
            matchExpressions:
            - key: release_group
              operator: In
              values:
              - cinder
            - key: application
              operator: In
              values:
              - cinder
            - key: component
              operator: In
              values:
              - volume
          topologyKey: kubernetes.io/hostname
        weight: 10
  containers:
  - command:
    - /tmp/cinder-volume.sh
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/cinder:main@sha256:c3e6adc5f65712adb09c3f9318a552e549ed7d27f5dbbede19e0de0c05d26d43
    imagePullPolicy: IfNotPresent
    name: cinder-volume
    resources: {}
    securityContext:
      capabilities:
        add:
        - SYS_ADMIN
      privileged: true
      readOnlyRootFilesystem: true
    terminationMessagePath: /var/log/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /tmp
      name: pod-tmp
    - mountPath: /tmp/cinder-volume.sh
      name: cinder-bin
      readOnly: true
      subPath: cinder-volume.sh
    - mountPath: /tmp/pod-shared
      name: pod-shared
    - mountPath: /var/lib/cinder/conversion
      name: cinder-conversion
    - mountPath: /etc/cinder/cinder.conf
      name: cinder-etc
      readOnly: true
      subPath: cinder.conf
    - mountPath: /etc/cinder/conf/backends.conf
      name: cinder-etc
      readOnly: true
      subPath: backends.conf
    - mountPath: /etc/ceph
      name: etcceph
    - mountPath: /etc/ceph/ceph.conf
      name: ceph-etc
      readOnly: true
      subPath: ceph.conf
    - mountPath: /tmp/client-keyring
      name: ceph-keyring
      readOnly: true
      subPath: key
    - mountPath: /var/lib/cinder/coordination
      name: cinder-coordination
    - mountPath: /etc/sudoers.d/kolla_cinder_sudoers
      name: cinder-etc
      readOnly: true
      subPath: cinder_sudoers
    - mountPath: /etc/sudoers.d/kolla_cinder_volume_sudoers
      name: cinder-etc
      readOnly: true
      subPath: cinder_sudoers
    - mountPath: /etc/cinder/rootwrap.conf
      name: cinder-etc
      readOnly: true
      subPath: rootwrap.conf
    - mountPath: /etc/cinder/rootwrap.d/volume.filters
      name: cinder-etc
      readOnly: true
      subPath: volume.filters
    - mountPath: /var/lib/cinder/tmp
      name: cinder-tmp
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-sljtr
      readOnly: true
  dnsPolicy: ClusterFirst
  enableServiceLinks: true
  initContainers:
  - command:
    - kubernetes-entrypoint
    env:
    - name: POD_NAME
      valueFrom:
        fieldRef:
          apiVersion: v1
          fieldPath: metadata.name
    - name: NAMESPACE
      valueFrom:
        fieldRef:
          apiVersion: v1
          fieldPath: metadata.namespace
    - name: INTERFACE_NAME
      value: eth0
    - name: PATH
      value: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/
    - name: DEPENDENCY_SERVICE
      value: openstack:keystone-api,openstack:cinder-api
    - name: DEPENDENCY_JOBS
      value: cinder-db-sync,cinder-ks-user,cinder-ks-endpoints,cinder-rabbit-init,cinder-storage-init
    - name: DEPENDENCY_DAEMONSET
    - name: DEPENDENCY_CONTAINER
    - name: DEPENDENCY_POD_JSON
    - name: DEPENDENCY_CUSTOM_RESOURCE
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/kubernetes-entrypoint:edge@sha256:8921b64b87af184a1421dd856b2703bcf3cff9f50863cd0d18371cf964a87bd3
    imagePullPolicy: IfNotPresent
    name: init
    resources: {}
    securityContext:
      allowPrivilegeEscalation: false
      readOnlyRootFilesystem: true
      runAsUser: 65534
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-sljtr
      readOnly: true
  - command:
    - /tmp/ceph-keyring.sh
    env:
    - name: RBD_USER
      value: cinder
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/cinder:main@sha256:c3e6adc5f65712adb09c3f9318a552e549ed7d27f5dbbede19e0de0c05d26d43
    imagePullPolicy: IfNotPresent
    name: ceph-keyring-placement-rbd1
    resources: {}
    securityContext:
      readOnlyRootFilesystem: true
      runAsUser: 0
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /tmp
      name: pod-tmp
    - mountPath: /etc/ceph
      name: etcceph
    - mountPath: /tmp/ceph-keyring.sh
      name: cinder-bin
      readOnly: true
      subPath: ceph-keyring.sh
    - mountPath: /tmp/client-keyring
      name: ceph-keyring
      readOnly: true
      subPath: key
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-sljtr
      readOnly: true
  - command:
    - chown
    - -R
    - 'cinder:'
    - /var/lib/cinder/coordination
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/cinder:main@sha256:c3e6adc5f65712adb09c3f9318a552e549ed7d27f5dbbede19e0de0c05d26d43
    imagePullPolicy: IfNotPresent
    name: ceph-coordination-volume-perms
    resources: {}
    securityContext:
      readOnlyRootFilesystem: true
      runAsUser: 0
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /tmp
      name: pod-tmp
    - mountPath: /var/lib/cinder/coordination
      name: cinder-coordination
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-sljtr
      readOnly: true
  - command:
    - /tmp/retrieve-internal-tenant.sh
    env:
    - name: OS_IDENTITY_API_VERSION
      value: "3"
    - name: OS_AUTH_URL
      valueFrom:
        secretKeyRef:
          key: OS_AUTH_URL
          name: cinder-keystone-admin
    - name: OS_REGION_NAME
      valueFrom:
        secretKeyRef:
          key: OS_REGION_NAME
          name: cinder-keystone-admin
    - name: OS_INTERFACE
      valueFrom:
        secretKeyRef:
          key: OS_INTERFACE
          name: cinder-keystone-admin
    - name: OS_ENDPOINT_TYPE
      valueFrom:
        secretKeyRef:
          key: OS_INTERFACE
          name: cinder-keystone-admin
    - name: OS_PROJECT_DOMAIN_NAME
      valueFrom:
        secretKeyRef:
          key: OS_PROJECT_DOMAIN_NAME
          name: cinder-keystone-admin
    - name: OS_PROJECT_NAME
      valueFrom:
        secretKeyRef:
          key: OS_PROJECT_NAME
          name: cinder-keystone-admin
    - name: OS_USER_DOMAIN_NAME
      valueFrom:
        secretKeyRef:
          key: OS_USER_DOMAIN_NAME
          name: cinder-keystone-admin
    - name: OS_USERNAME
      valueFrom:
        secretKeyRef:
          key: OS_USERNAME
          name: cinder-keystone-admin
    - name: OS_PASSWORD
      valueFrom:
        secretKeyRef:
          key: OS_PASSWORD
          name: cinder-keystone-admin
    - name: OS_DEFAULT_DOMAIN
      valueFrom:
        secretKeyRef:
          key: OS_DEFAULT_DOMAIN
          name: cinder-keystone-admin
    - name: INTERNAL_PROJECT_NAME
      value: internal_cinder
    - name: INTERNAL_USER_NAME
      value: internal_cinder
    - name: SERVICE_OS_REGION_NAME
      valueFrom:
        secretKeyRef:
          key: OS_REGION_NAME
          name: cinder-keystone-user
    - name: SERVICE_OS_PROJECT_DOMAIN_NAME
      valueFrom:
        secretKeyRef:
          key: OS_PROJECT_DOMAIN_NAME
          name: cinder-keystone-user
    - name: SERVICE_OS_PROJECT_NAME
      valueFrom:
        secretKeyRef:
          key: OS_PROJECT_NAME
          name: cinder-keystone-user
    - name: SERVICE_OS_USER_DOMAIN_NAME
      valueFrom:
        secretKeyRef:
          key: OS_USER_DOMAIN_NAME
          name: cinder-keystone-user
    - name: SERVICE_OS_USERNAME
      valueFrom:
        secretKeyRef:
          key: OS_USERNAME
          name: cinder-keystone-user
    - name: SERVICE_OS_PASSWORD
      valueFrom:
        secretKeyRef:
          key: OS_PASSWORD
          name: cinder-keystone-user
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/heat:main@sha256:27a2d373cdb969647dc82683b6fea450a4da4676addec5ea60a5d49e4c5c2289
    imagePullPolicy: IfNotPresent
    name: init-cinder-conf
    resources: {}
    securityContext:
      readOnlyRootFilesystem: true
      runAsUser: 0
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /tmp
      name: pod-tmp
    - mountPath: /tmp/retrieve-internal-tenant.sh
      name: cinder-bin
      readOnly: true
      subPath: retrieve-internal-tenant.sh
    - mountPath: /tmp/pod-shared
      name: pod-shared
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-sljtr
      readOnly: true
  nodeName: instance
  nodeSelector:
    openstack-control-plane: enabled
  preemptionPolicy: PreemptLowerPriority
  priority: 0
  restartPolicy: Always
  schedulerName: default-scheduler
  securityContext:
    runAsUser: 42424
  serviceAccount: cinder-volume
  serviceAccountName: cinder-volume
  terminationGracePeriodSeconds: 30
  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: pod-tmp
  - configMap:
      defaultMode: 365
      name: cinder-bin
    name: cinder-bin
  - name: cinder-etc
    secret:
      defaultMode: 292
      secretName: cinder-etc
  - emptyDir: {}
    name: pod-shared
  - emptyDir: {}
    name: cinder-conversion
  - emptyDir: {}
    name: etcceph
  - configMap:
      defaultMode: 292
      name: ceph-etc
    name: ceph-etc
  - name: ceph-keyring
    secret:
      defaultMode: 420
      secretName: cinder-volume-rbd-keyring
  - emptyDir: {}
    name: cinder-coordination
  - emptyDir: {}
    name: cinder-tmp
  - name: kube-api-access-sljtr
    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-26T21:34:56Z"
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-05-26T21:34:57Z"
    status: "True"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-05-26T21:34:57Z"
    status: "True"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-05-26T21:30:31Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://f76f7fd5577529e1d8329603d09cb4740e360aec519632257e0f048315995cd8
    image: sha256:3bc08c37f083d85dc0a5eaee510d38fbb5a049e9f5ce5005e4048923d15232bc
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/cinder@sha256:c3e6adc5f65712adb09c3f9318a552e549ed7d27f5dbbede19e0de0c05d26d43
    lastState: {}
    name: cinder-volume
    ready: true
    restartCount: 0
    started: true
    state:
      running:
        startedAt: "2026-05-26T21:34:56Z"
  hostIP: 199.204.45.140
  initContainerStatuses:
  - containerID: containerd://668587c9e8dd452ee4c1aef0840f98db34c45b1dd8bd1280ad9dd7be0aec27f8
    image: sha256:d656bd5737950b86b0ecff4b0206024769c78ea55e2f9f4c840c3cc2a10caaf8
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/kubernetes-entrypoint@sha256:8921b64b87af184a1421dd856b2703bcf3cff9f50863cd0d18371cf964a87bd3
    lastState: {}
    name: init
    ready: true
    restartCount: 0
    started: false
    state:
      terminated:
        containerID: containerd://668587c9e8dd452ee4c1aef0840f98db34c45b1dd8bd1280ad9dd7be0aec27f8
        exitCode: 0
        finishedAt: "2026-05-26T21:34:44Z"
        reason: Completed
        startedAt: "2026-05-26T21:34:42Z"
  - containerID: containerd://e3e55cde2accb16505ef1a7946bce42b9ba86ee74025242ad1878374a770e9db
    image: sha256:3bc08c37f083d85dc0a5eaee510d38fbb5a049e9f5ce5005e4048923d15232bc
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/cinder@sha256:c3e6adc5f65712adb09c3f9318a552e549ed7d27f5dbbede19e0de0c05d26d43
    lastState: {}
    name: ceph-keyring-placement-rbd1
    ready: true
    restartCount: 0
    started: false
    state:
      terminated:
        containerID: containerd://e3e55cde2accb16505ef1a7946bce42b9ba86ee74025242ad1878374a770e9db
        exitCode: 0
        finishedAt: "2026-05-26T21:34:45Z"
        reason: Completed
        startedAt: "2026-05-26T21:34:45Z"
  - containerID: containerd://5bea1fbd32da9c121eab9ef6d4123cfab71c4cc6be54e8a113306f8ea0455333
    image: sha256:3bc08c37f083d85dc0a5eaee510d38fbb5a049e9f5ce5005e4048923d15232bc
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/cinder@sha256:c3e6adc5f65712adb09c3f9318a552e549ed7d27f5dbbede19e0de0c05d26d43
    lastState: {}
    name: ceph-coordination-volume-perms
    ready: true
    restartCount: 0
    started: false
    state:
      terminated:
        containerID: containerd://5bea1fbd32da9c121eab9ef6d4123cfab71c4cc6be54e8a113306f8ea0455333
        exitCode: 0
        finishedAt: "2026-05-26T21:34:46Z"
        reason: Completed
        startedAt: "2026-05-26T21:34:46Z"
  - containerID: containerd://d11e0320d6d55cc9e978c341150bbcdbdc75871e3f15bd570b0562ff58d94735
    image: sha256:cdd7dbf964d10858bd852509923a5b40181f340281760f788666986194aebf30
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/heat@sha256:27a2d373cdb969647dc82683b6fea450a4da4676addec5ea60a5d49e4c5c2289
    lastState: {}
    name: init-cinder-conf
    ready: true
    restartCount: 0
    started: false
    state:
      terminated:
        containerID: containerd://d11e0320d6d55cc9e978c341150bbcdbdc75871e3f15bd570b0562ff58d94735
        exitCode: 0
        finishedAt: "2026-05-26T21:34:56Z"
        reason: Completed
        startedAt: "2026-05-26T21:34:47Z"
  phase: Running
  podIP: 10.0.0.75
  podIPs:
  - ip: 10.0.0.75
  qosClass: BestEffort
  startTime: "2026-05-26T21:30:31Z"
