apiVersion: v1
kind: Pod
metadata:
  annotations:
    configmap-bin-hash: 628162dda4db1a76da1eabedff6e45eb79db18f62852963456b9b0967f146607
    configmap-etc-hash: 1dcfe23dd82291b562f33de66f78ff4936ea423c3857805d3c3da362fcb75fe6
    openstackhelm.openstack.org/release_uuid: ""
  creationTimestamp: "2026-05-05T13:30:14Z"
  generateName: heat-trusts-
  labels:
    application: heat
    batch.kubernetes.io/controller-uid: e46e5576-4c86-4dcb-98f3-bbf1a01850de
    batch.kubernetes.io/job-name: heat-trusts
    component: trusts
    controller-uid: e46e5576-4c86-4dcb-98f3-bbf1a01850de
    job-name: heat-trusts
    release_group: heat
  name: heat-trusts-gv4wc
  namespace: openstack
  ownerReferences:
  - apiVersion: batch/v1
    blockOwnerDeletion: true
    controller: true
    kind: Job
    name: heat-trusts
    uid: e46e5576-4c86-4dcb-98f3-bbf1a01850de
  resourceVersion: "20301"
  uid: 01095106-6591-4915-8485-82a54cad5f61
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-8zzn2
      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-8zzn2
      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-8zzn2
    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-05T13:30:18Z"
    reason: PodCompleted
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-05-05T13:30:49Z"
    reason: PodCompleted
    status: "False"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-05-05T13:30:49Z"
    reason: PodCompleted
    status: "False"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-05-05T13:30:14Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://01bf181e6a514a6fafcfa195629a0aaea94fe8b1e859a8a4f20dd01b2e500ff7
    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://01bf181e6a514a6fafcfa195629a0aaea94fe8b1e859a8a4f20dd01b2e500ff7
        exitCode: 0
        finishedAt: "2026-05-05T13:30:48Z"
        reason: Completed
        startedAt: "2026-05-05T13:30:18Z"
  hostIP: 199.204.45.44
  initContainerStatuses:
  - containerID: containerd://17f5a2028297181fac70cb079435d51596342c89c53b19decc1508d43b691b70
    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://17f5a2028297181fac70cb079435d51596342c89c53b19decc1508d43b691b70
        exitCode: 0
        finishedAt: "2026-05-05T13:30:18Z"
        reason: Completed
        startedAt: "2026-05-05T13:30:16Z"
  phase: Succeeded
  podIP: 10.0.0.135
  podIPs:
  - ip: 10.0.0.135
  qosClass: BestEffort
  startTime: "2026-05-05T13:30:14Z"
