apiVersion: v1
kind: Pod
metadata:
  annotations:
    openstackhelm.openstack.org/release_uuid: ""
  creationTimestamp: "2026-03-02T21:51:32Z"
  generateName: nova-bootstrap-
  labels:
    application: nova
    batch.kubernetes.io/controller-uid: 4979644c-29f6-44af-87da-960fff1fae1f
    batch.kubernetes.io/job-name: nova-bootstrap
    component: bootstrap
    controller-uid: 4979644c-29f6-44af-87da-960fff1fae1f
    job-name: nova-bootstrap
    release_group: nova
  name: nova-bootstrap-hdnql
  namespace: openstack
  resourceVersion: "30115"
  uid: fc1e9c02-39ec-419f-852d-8245865f11f9
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:2024.2@sha256:ef012d1df4d8ef7fbec685d63188a153e8b49063ceef28e3d4da800c0dfb24a7
    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-8fs45
      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-8fs45
      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-8fs45
    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-02T21:54:26Z"
    reason: PodCompleted
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-03-02T21:51:32Z"
    reason: PodCompleted
    status: "False"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-03-02T21:51:32Z"
    reason: PodCompleted
    status: "False"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-03-02T21:51:32Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://4c3d0d0d24d176cfa93791b78c1f72a2b006b55f1ff31bce2f7cd5a2ed43c279
    image: sha256:d0755f605e978a524d5d875ba7bf75a3e6c7e19004b5e9987084f5b6f25e5ad7
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/heat@sha256:ef012d1df4d8ef7fbec685d63188a153e8b49063ceef28e3d4da800c0dfb24a7
    lastState: {}
    name: bootstrap
    ready: false
    restartCount: 0
    started: false
    state:
      terminated:
        containerID: containerd://4c3d0d0d24d176cfa93791b78c1f72a2b006b55f1ff31bce2f7cd5a2ed43c279
        exitCode: 0
        finishedAt: "2026-03-02T21:54:26Z"
        reason: Completed
        startedAt: "2026-03-02T21:54:26Z"
  hostIP: 199.19.213.3
  initContainerStatuses:
  - containerID: containerd://72206891927b9f55fc0de590d7d6f0dc7bfc1edb2b19f7c86a6678dd172335f1
    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://72206891927b9f55fc0de590d7d6f0dc7bfc1edb2b19f7c86a6678dd172335f1
        exitCode: 0
        finishedAt: "2026-03-02T21:54:25Z"
        reason: Completed
        startedAt: "2026-03-02T21:51:34Z"
  phase: Succeeded
  podIP: 10.0.0.164
  podIPs:
  - ip: 10.0.0.164
  qosClass: BestEffort
  startTime: "2026-03-02T21:51:32Z"
