apiVersion: v1
kind: Pod
metadata:
  annotations:
    configmap-bin-hash: 628162dda4db1a76da1eabedff6e45eb79db18f62852963456b9b0967f146607
    configmap-etc-hash: 4066a7843a2674e9e0b90e21cd3fccd1c4b8810abe18c164edbee8e819a7a850
    openstackhelm.openstack.org/release_uuid: ""
  creationTimestamp: "2026-02-27T19:07:18Z"
  generateName: heat-trusts-
  labels:
    application: heat
    batch.kubernetes.io/controller-uid: adc864e1-7404-4b0c-a062-2ecbcc0050ab
    batch.kubernetes.io/job-name: heat-trusts
    component: trusts
    controller-uid: adc864e1-7404-4b0c-a062-2ecbcc0050ab
    job-name: heat-trusts
    release_group: heat
  name: heat-trusts-89hh8
  namespace: openstack
  ownerReferences:
  - apiVersion: batch/v1
    blockOwnerDeletion: true
    controller: true
    kind: Job
    name: heat-trusts
    uid: adc864e1-7404-4b0c-a062-2ecbcc0050ab
  resourceVersion: "18222"
  uid: f2b2b28a-d217-411a-9df5-06ea791c1f54
spec:
  containers:
  - command:
    - bash
    - /tmp/trusts.sh
    env:
    - name: OS_IDENTITY_API_VERSION
      value: "3"
    - name: OS_AUTH_URL
      valueFrom:
        secretKeyRef:
          key: OS_AUTH_URL
          name: heat-keystone-admin
    - name: OS_REGION_NAME
      valueFrom:
        secretKeyRef:
          key: OS_REGION_NAME
          name: heat-keystone-admin
    - name: OS_INTERFACE
      valueFrom:
        secretKeyRef:
          key: OS_INTERFACE
          name: heat-keystone-admin
    - name: OS_ENDPOINT_TYPE
      valueFrom:
        secretKeyRef:
          key: OS_INTERFACE
          name: heat-keystone-admin
    - name: OS_PROJECT_DOMAIN_NAME
      valueFrom:
        secretKeyRef:
          key: OS_PROJECT_DOMAIN_NAME
          name: heat-keystone-admin
    - name: OS_PROJECT_NAME
      valueFrom:
        secretKeyRef:
          key: OS_PROJECT_NAME
          name: heat-keystone-admin
    - name: OS_USER_DOMAIN_NAME
      valueFrom:
        secretKeyRef:
          key: OS_USER_DOMAIN_NAME
          name: heat-keystone-admin
    - name: OS_USERNAME
      valueFrom:
        secretKeyRef:
          key: OS_USERNAME
          name: heat-keystone-admin
    - name: OS_PASSWORD
      valueFrom:
        secretKeyRef:
          key: OS_PASSWORD
          name: heat-keystone-admin
    - name: OS_DEFAULT_DOMAIN
      valueFrom:
        secretKeyRef:
          key: OS_DEFAULT_DOMAIN
          name: heat-keystone-admin
    - name: SERVICE_OS_ROLES
    - name: SERVICE_OS_TRUSTEE
      value: heat-trustee-RegionOne
    - name: SERVICE_OS_TRUSTEE_DOMAIN
      value: service
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/heat:main@sha256:3be2b3d1ab07714491f915307416d288783e484669a4b58a8fe3b7412b97044c
    imagePullPolicy: IfNotPresent
    name: heat-trusts
    resources: {}
    securityContext:
      allowPrivilegeEscalation: false
      readOnlyRootFilesystem: true
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /tmp
      name: pod-tmp
    - mountPath: /tmp/trusts.sh
      name: heat-bin
      readOnly: true
      subPath: trusts.sh
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-s5krp
      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
    - name: DEPENDENCY_JOBS
      value: heat-ks-user,heat-domain-ks-user
    - name: DEPENDENCY_DAEMONSET
    - name: DEPENDENCY_CONTAINER
    - name: DEPENDENCY_POD_JSON
    - name: DEPENDENCY_CUSTOM_RESOURCE
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/kubernetes-entrypoint:edge
    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-s5krp
      readOnly: true
  nodeName: instance
  nodeSelector:
    openstack-control-plane: enabled
  preemptionPolicy: PreemptLowerPriority
  priority: 0
  restartPolicy: OnFailure
  schedulerName: default-scheduler
  securityContext:
    runAsUser: 42424
  serviceAccount: heat-trusts
  serviceAccountName: heat-trusts
  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: heat-bin
    name: heat-bin
  - name: kube-api-access-s5krp
    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-02-27T19:07:21Z"
    reason: PodCompleted
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-02-27T19:07:51Z"
    reason: PodCompleted
    status: "False"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-02-27T19:07:51Z"
    reason: PodCompleted
    status: "False"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-02-27T19:07:18Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://bf3bd1090311ab06a78e61f5d591e5f7c1fedd7d57ed088ad76921f07ec3ba39
    image: sha256:b51fa7a9b55648ab40630410d6d0ccaea128c4b43a4cc2ed800ab84ad65873aa
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/heat@sha256:3be2b3d1ab07714491f915307416d288783e484669a4b58a8fe3b7412b97044c
    lastState: {}
    name: heat-trusts
    ready: false
    restartCount: 0
    started: false
    state:
      terminated:
        containerID: containerd://bf3bd1090311ab06a78e61f5d591e5f7c1fedd7d57ed088ad76921f07ec3ba39
        exitCode: 0
        finishedAt: "2026-02-27T19:07:50Z"
        reason: Completed
        startedAt: "2026-02-27T19:07:21Z"
  hostIP: 162.253.55.43
  initContainerStatuses:
  - containerID: containerd://732760da6b645f693a8e0a79888711d797345c962683ca698b9629b3d2238209
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/kubernetes-entrypoint:edge
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/kubernetes-entrypoint@sha256:8921b64b87af184a1421dd856b2703bcf3cff9f50863cd0d18371cf964a87bd3
    lastState: {}
    name: init
    ready: true
    restartCount: 0
    started: false
    state:
      terminated:
        containerID: containerd://732760da6b645f693a8e0a79888711d797345c962683ca698b9629b3d2238209
        exitCode: 0
        finishedAt: "2026-02-27T19:07:21Z"
        reason: Completed
        startedAt: "2026-02-27T19:07:19Z"
  phase: Succeeded
  podIP: 10.0.0.72
  podIPs:
  - ip: 10.0.0.72
  qosClass: BestEffort
  startTime: "2026-02-27T19:07:18Z"
