apiVersion: batch/v1
kind: CronJob
metadata:
  creationTimestamp: "2026-04-02T14:01:57Z"
  generation: 1
  labels:
    service: nova-conductor
  name: nova-cell0-db-purge
  namespace: openstack
  ownerReferences:
  - apiVersion: nova.openstack.org/v1beta1
    blockOwnerDeletion: true
    controller: true
    kind: NovaConductor
    name: nova-cell0-conductor
    uid: 06a3c92f-4184-4751-8328-c9c5f2be6f04
  resourceVersion: "46966"
  uid: 390ad921-9291-416e-bf4e-924b65bd2397
spec:
  concurrencyPolicy: Forbid
  failedJobsHistoryLimit: 1
  jobTemplate:
    metadata:
      annotations:
        k8s.v1.cni.cncf.io/networks: '[]'
      creationTimestamp: null
      labels:
        service: nova-conductor
    spec:
      completions: 1
      parallelism: 1
      template:
        metadata:
          creationTimestamp: null
        spec:
          containers:
          - args:
            - -c
            - /usr/local/bin/kolla_start
            command:
            - /bin/bash
            env:
            - name: ARCHIVE_AGE
              value: "30"
            - name: KOLLA_BOOTSTRAP
              value: "true"
            - name: KOLLA_CONFIG_STRATEGY
              value: COPY_ALWAYS
            - name: PURGE_AGE
              value: "90"
            image: quay.io/podified-antelope-centos9/openstack-nova-conductor:current-podified
            imagePullPolicy: IfNotPresent
            name: nova-manage
            resources: {}
            securityContext:
              runAsUser: 42436
            terminationMessagePath: /dev/termination-log
            terminationMessagePolicy: File
            volumeMounts:
            - mountPath: /var/lib/openstack/config
              name: config-data
            - mountPath: /var/lib/openstack/bin
              name: scripts
            - mountPath: /var/lib/kolla/config_files/config.json
              name: config-data
              subPath: nova-conductor-dbpurge-config.json
            - mountPath: /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem
              name: combined-ca-bundle
              readOnly: true
              subPath: tls-ca-bundle.pem
          dnsPolicy: ClusterFirst
          restartPolicy: OnFailure
          schedulerName: default-scheduler
          securityContext: {}
          serviceAccount: nova-nova
          serviceAccountName: nova-nova
          terminationGracePeriodSeconds: 30
          volumes:
          - name: config-data
            secret:
              defaultMode: 416
              secretName: nova-cell0-conductor-config-data
          - name: scripts
            secret:
              defaultMode: 480
              secretName: nova-cell0-conductor-scripts
          - name: combined-ca-bundle
            secret:
              defaultMode: 292
              secretName: combined-ca-bundle
  schedule: 0 0 * * *
  successfulJobsHistoryLimit: 3
  suspend: false
status: {}
