apiVersion: v1
kind: Pod
metadata:
  annotations:
    openstackhelm.openstack.org/release_uuid: ""
  creationTimestamp: "2026-06-02T18:00:05Z"
  generateName: nova-bootstrap-
  labels:
    application: nova
    batch.kubernetes.io/controller-uid: 66b1fd1d-55a7-4d79-a85b-f920ea7ac36e
    batch.kubernetes.io/job-name: nova-bootstrap
    component: bootstrap
    controller-uid: 66b1fd1d-55a7-4d79-a85b-f920ea7ac36e
    job-name: nova-bootstrap
    release_group: nova
  name: nova-bootstrap-z8dsp
  namespace: openstack
  resourceVersion: "33017"
  uid: bc60cc21-cafb-4857-82bd-f5871a4a88f8
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:2025.2@sha256:3271614866d3a1e71fbffe5cea9d278592abfc4be476a67e494ad7d8fb998408
    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-js72r
      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-js72r
      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-js72r
    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-06-02T18:03:20Z"
    reason: PodCompleted
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-06-02T18:00:05Z"
    reason: PodCompleted
    status: "False"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-06-02T18:00:05Z"
    reason: PodCompleted
    status: "False"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-06-02T18:00:05Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://e6f162ad860f4927c5008a96d0caf8390e944ca38df24493c56a57a9c81ce02c
    image: sha256:9ee0437647a5b4286524c6c7a1a12de6927b1847c0e8c66d42222c6aa4f61300
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/heat@sha256:3271614866d3a1e71fbffe5cea9d278592abfc4be476a67e494ad7d8fb998408
    lastState: {}
    name: bootstrap
    ready: false
    restartCount: 0
    started: false
    state:
      terminated:
        containerID: containerd://e6f162ad860f4927c5008a96d0caf8390e944ca38df24493c56a57a9c81ce02c
        exitCode: 0
        finishedAt: "2026-06-02T18:03:20Z"
        reason: Completed
        startedAt: "2026-06-02T18:03:20Z"
  hostIP: 199.204.45.89
  initContainerStatuses:
  - containerID: containerd://3ea7b91f7a3c641999273018bb6e4df73b07dc51fd7d38130d9a152dec5832bd
    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://3ea7b91f7a3c641999273018bb6e4df73b07dc51fd7d38130d9a152dec5832bd
        exitCode: 0
        finishedAt: "2026-06-02T18:03:19Z"
        reason: Completed
        startedAt: "2026-06-02T18:00:07Z"
  phase: Succeeded
  podIP: 10.0.0.196
  podIPs:
  - ip: 10.0.0.196
  qosClass: BestEffort
  startTime: "2026-06-02T18:00:05Z"
