apiVersion: v1
kind: Pod
metadata:
  annotations:
    openstackhelm.openstack.org/release_uuid: ""
  creationTimestamp: "2026-03-03T21:40:20Z"
  generateName: nova-bootstrap-
  labels:
    application: nova
    batch.kubernetes.io/controller-uid: 30884cef-f9fe-4d7e-b88b-f5077240a156
    batch.kubernetes.io/job-name: nova-bootstrap
    component: bootstrap
    controller-uid: 30884cef-f9fe-4d7e-b88b-f5077240a156
    job-name: nova-bootstrap
    release_group: nova
  name: nova-bootstrap-ffjnw
  namespace: openstack
  ownerReferences:
  - apiVersion: batch/v1
    blockOwnerDeletion: true
    controller: true
    kind: Job
    name: nova-bootstrap
    uid: 30884cef-f9fe-4d7e-b88b-f5077240a156
  resourceVersion: "14800"
  uid: f0242449-6f59-4ea1-a977-faf49bf322af
spec:
  containers:
  - command:
    - /bin/bash
    - -c
    - /tmp/bootstrap.sh
    env:
    - name: OS_IDENTITY_API_VERSION
      value: "3"
    - name: OS_AUTH_URL
      valueFrom:
        secretKeyRef:
          key: OS_AUTH_URL
          name: nova-keystone-admin
    - name: OS_REGION_NAME
      valueFrom:
        secretKeyRef:
          key: OS_REGION_NAME
          name: nova-keystone-admin
    - name: OS_INTERFACE
      valueFrom:
        secretKeyRef:
          key: OS_INTERFACE
          name: nova-keystone-admin
    - name: OS_ENDPOINT_TYPE
      valueFrom:
        secretKeyRef:
          key: OS_INTERFACE
          name: nova-keystone-admin
    - name: OS_PROJECT_DOMAIN_NAME
      valueFrom:
        secretKeyRef:
          key: OS_PROJECT_DOMAIN_NAME
          name: nova-keystone-admin
    - name: OS_PROJECT_NAME
      valueFrom:
        secretKeyRef:
          key: OS_PROJECT_NAME
          name: nova-keystone-admin
    - name: OS_USER_DOMAIN_NAME
      valueFrom:
        secretKeyRef:
          key: OS_USER_DOMAIN_NAME
          name: nova-keystone-admin
    - name: OS_USERNAME
      valueFrom:
        secretKeyRef:
          key: OS_USERNAME
          name: nova-keystone-admin
    - name: OS_PASSWORD
      valueFrom:
        secretKeyRef:
          key: OS_PASSWORD
          name: nova-keystone-admin
    - name: OS_DEFAULT_DOMAIN
      valueFrom:
        secretKeyRef:
          key: OS_DEFAULT_DOMAIN
          name: nova-keystone-admin
    - name: WAIT_PERCENTAGE
      value: "70"
    - name: REMAINING_WAIT
      value: "300"
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/heat:main@sha256:dbd277153b3a173a5d708a02c27c71fc6f27e7222349ba8f2ddede4f85ccc188
    imagePullPolicy: IfNotPresent
    name: bootstrap
    resources: {}
    securityContext:
      allowPrivilegeEscalation: false
      readOnlyRootFilesystem: true
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /tmp
      name: pod-tmp
    - mountPath: /tmp/bootstrap.sh
      name: bootstrap-sh
      readOnly: true
      subPath: bootstrap.sh
    - mountPath: /etc/nova
      name: etc-service
    - mountPath: /etc/nova/nova.conf
      name: bootstrap-conf
      readOnly: true
      subPath: nova.conf
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-5hl4p
      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:nova-api
    - 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-5hl4p
      readOnly: true
  nodeName: instance
  nodeSelector:
    openstack-control-plane: enabled
  preemptionPolicy: PreemptLowerPriority
  priority: 0
  restartPolicy: OnFailure
  schedulerName: default-scheduler
  securityContext:
    runAsUser: 42424
  serviceAccount: nova-bootstrap
  serviceAccountName: nova-bootstrap
  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: nova-bin
    name: bootstrap-sh
  - emptyDir: {}
    name: etc-service
  - name: bootstrap-conf
    secret:
      defaultMode: 292
      secretName: nova-etc
  - name: kube-api-access-5hl4p
    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-03-03T21:43:15Z"
    reason: PodCompleted
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-03-03T21:40:21Z"
    reason: PodCompleted
    status: "False"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-03-03T21:40:21Z"
    reason: PodCompleted
    status: "False"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-03-03T21:40:21Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://d77be220f41783d68a2ae8be6af0ce4b13623d1e745cf95ddfdfb5b2831afee1
    image: sha256:25bea5e633f2ef7de3f44434f5a2023a5020082c822205fe44bf04b2a513cffb
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/heat@sha256:dbd277153b3a173a5d708a02c27c71fc6f27e7222349ba8f2ddede4f85ccc188
    lastState: {}
    name: bootstrap
    ready: false
    restartCount: 0
    started: false
    state:
      terminated:
        containerID: containerd://d77be220f41783d68a2ae8be6af0ce4b13623d1e745cf95ddfdfb5b2831afee1
        exitCode: 0
        finishedAt: "2026-03-03T21:43:15Z"
        reason: Completed
        startedAt: "2026-03-03T21:43:15Z"
  hostIP: 199.204.45.162
  initContainerStatuses:
  - containerID: containerd://3466da8259501aeceaf471b61270c442f72ac34e72d6ed29639b4340d72295ee
    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://3466da8259501aeceaf471b61270c442f72ac34e72d6ed29639b4340d72295ee
        exitCode: 0
        finishedAt: "2026-03-03T21:43:14Z"
        reason: Completed
        startedAt: "2026-03-03T21:40:21Z"
  phase: Succeeded
  podIP: 10.0.0.200
  podIPs:
  - ip: 10.0.0.200
  qosClass: BestEffort
  startTime: "2026-03-03T21:40:21Z"
