apiVersion: batch/v1
kind: Job
metadata:
  annotations:
    batch.kubernetes.io/cronjob-scheduled-timestamp: "2026-04-12T21:55:00Z"
  creationTimestamp: "2026-04-12T21:55:00Z"
  generation: 1
  labels:
    application: heat
    component: engine-cleaner
    release_group: heat
  name: heat-engine-cleaner-29600515
  namespace: openstack
  ownerReferences:
  - apiVersion: batch/v1
    blockOwnerDeletion: true
    controller: true
    kind: CronJob
    name: heat-engine-cleaner
    uid: 020e20e3-7138-4047-8183-f2bd4c594641
  resourceVersion: "33949"
  uid: cd57f55f-fdad-424b-9278-a186cb8c0e6a
spec:
  backoffLimit: 6
  completionMode: NonIndexed
  completions: 1
  parallelism: 1
  selector:
    matchLabels:
      batch.kubernetes.io/controller-uid: cd57f55f-fdad-424b-9278-a186cb8c0e6a
  suspend: false
  template:
    metadata:
      annotations:
        configmap-bin-hash: 628162dda4db1a76da1eabedff6e45eb79db18f62852963456b9b0967f146607
        configmap-etc-hash: d40e0c85e88783cab6f3d962a8a6a8ee7a16f08a3d9a7912fa0db5dc890df8f5
        openstackhelm.openstack.org/release_uuid: ""
      creationTimestamp: null
      labels:
        application: heat
        batch.kubernetes.io/controller-uid: cd57f55f-fdad-424b-9278-a186cb8c0e6a
        batch.kubernetes.io/job-name: heat-engine-cleaner-29600515
        component: engine-cleaner
        controller-uid: cd57f55f-fdad-424b-9278-a186cb8c0e6a
        job-name: heat-engine-cleaner-29600515
        release_group: heat
    spec:
      containers:
      - command:
        - /tmp/heat-engine-cleaner.sh
        image: harbor.atmosphere.dev/ghcr.io/vexxhost/heat:2025.1@sha256:4b178989a658c4cfb9cccd730fdf4d70481adaa573d2cb8bca3c21d0a91abeba
        imagePullPolicy: IfNotPresent
        name: heat-engine-cleaner
        resources: {}
        securityContext:
          allowPrivilegeEscalation: false
          readOnlyRootFilesystem: true
        terminationMessagePath: /dev/termination-log
        terminationMessagePolicy: File
        volumeMounts:
        - mountPath: /tmp
          name: pod-tmp
        - mountPath: /tmp/heat-engine-cleaner.sh
          name: heat-bin
          readOnly: true
          subPath: heat-engine-cleaner.sh
        - mountPath: /etc/heat
          name: etcheat
        - mountPath: /etc/heat/heat.conf
          name: heat-etc
          readOnly: true
          subPath: heat.conf
      dnsPolicy: ClusterFirst
      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:percona-xtradb-haproxy,openstack:rabbitmq-heat,openstack:keystone-api
        - name: DEPENDENCY_JOBS
          value: heat-db-sync,heat-ks-user,heat-domain-ks-user,heat-ks-endpoints
        - 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
      nodeSelector:
        openstack-control-plane: enabled
      restartPolicy: OnFailure
      schedulerName: default-scheduler
      securityContext:
        runAsUser: 42424
      serviceAccount: heat-engine-cleaner
      serviceAccountName: heat-engine-cleaner
      terminationGracePeriodSeconds: 30
      volumes:
      - emptyDir: {}
        name: pod-tmp
      - emptyDir: {}
        name: etcheat
      - name: heat-etc
        secret:
          defaultMode: 292
          secretName: heat-etc
      - configMap:
          defaultMode: 365
          name: heat-bin
        name: heat-bin
status:
  completionTime: "2026-04-12T21:55:11Z"
  conditions:
  - lastProbeTime: "2026-04-12T21:55:11Z"
    lastTransitionTime: "2026-04-12T21:55:11Z"
    status: "True"
    type: Complete
  ready: 0
  startTime: "2026-04-12T21:55:00Z"
  succeeded: 1
  uncountedTerminatedPods: {}
