apiVersion: batch/v1
kind: Job
metadata:
  annotations:
    batch.kubernetes.io/cronjob-scheduled-timestamp: "2026-04-04T03:01:00Z"
    k8s.v1.cni.cncf.io/networks: '[]'
  creationTimestamp: "2026-04-04T03:01:00Z"
  generation: 1
  labels:
    owner: keystone
    service: keystone
  name: keystone-cron-29587861
  namespace: openstack
  ownerReferences:
  - apiVersion: batch/v1
    blockOwnerDeletion: true
    controller: true
    kind: CronJob
    name: keystone-cron
    uid: 0c66c29d-29f6-4552-b041-5e207b4d3002
  resourceVersion: "73519"
  uid: e9ae38a3-839a-42f4-9171-1d47f093b2a7
spec:
  backoffLimit: 6
  completionMode: NonIndexed
  completions: 1
  manualSelector: false
  parallelism: 1
  podReplacementPolicy: TerminatingOrFailed
  selector:
    matchLabels:
      batch.kubernetes.io/controller-uid: e9ae38a3-839a-42f4-9171-1d47f093b2a7
  suspend: false
  template:
    metadata:
      creationTimestamp: null
      labels:
        batch.kubernetes.io/controller-uid: e9ae38a3-839a-42f4-9171-1d47f093b2a7
        batch.kubernetes.io/job-name: keystone-cron-29587861
        controller-uid: e9ae38a3-839a-42f4-9171-1d47f093b2a7
        job-name: keystone-cron-29587861
    spec:
      containers:
      - args:
        - -c
        - keystone-manage trust_flush
        command:
        - /bin/bash
        env:
        - name: KOLLA_CONFIG_STRATEGY
          value: COPY_ALWAYS
        image: 38.102.83.110:5001/podified-master-centos10/openstack-keystone:watcher_latest
        imagePullPolicy: IfNotPresent
        name: keystone-cron
        resources: {}
        securityContext:
          allowPrivilegeEscalation: false
          capabilities:
            drop:
            - ALL
          runAsGroup: 42425
          runAsNonRoot: true
          runAsUser: 42425
        terminationMessagePath: /dev/termination-log
        terminationMessagePolicy: File
        volumeMounts:
        - mountPath: /etc/keystone/keystone.conf
          name: config-data
          readOnly: true
          subPath: keystone.conf
        - mountPath: /etc/my.cnf
          name: config-data
          readOnly: true
          subPath: my.cnf
        - mountPath: /etc/keystone/fernet-keys
          name: fernet-keys
          readOnly: true
        - 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: Never
      schedulerName: default-scheduler
      securityContext:
        fsGroup: 42425
      serviceAccount: keystone-keystone
      serviceAccountName: keystone-keystone
      terminationGracePeriodSeconds: 30
      volumes:
      - name: scripts
        secret:
          defaultMode: 493
          secretName: keystone-scripts
      - name: config-data
        secret:
          defaultMode: 420
          secretName: keystone-config-data
      - name: fernet-keys
        secret:
          defaultMode: 420
          items:
          - key: FernetKeys0
            path: "0"
          - key: FernetKeys1
            path: "1"
          - key: FernetKeys2
            path: "2"
          - key: FernetKeys3
            path: "3"
          - key: FernetKeys4
            path: "4"
          secretName: keystone
      - name: credential-keys
        secret:
          defaultMode: 420
          items:
          - key: CredentialKeys0
            path: "0"
          - key: CredentialKeys1
            path: "1"
          secretName: keystone
      - name: combined-ca-bundle
        secret:
          defaultMode: 292
          secretName: combined-ca-bundle
status:
  completionTime: "2026-04-04T03:01:07Z"
  conditions:
  - lastProbeTime: "2026-04-04T03:01:07Z"
    lastTransitionTime: "2026-04-04T03:01:07Z"
    message: Reached expected number of succeeded pods
    reason: CompletionsReached
    status: "True"
    type: SuccessCriteriaMet
  - lastProbeTime: "2026-04-04T03:01:07Z"
    lastTransitionTime: "2026-04-04T03:01:07Z"
    message: Reached expected number of succeeded pods
    reason: CompletionsReached
    status: "True"
    type: Complete
  ready: 0
  startTime: "2026-04-04T03:01:00Z"
  succeeded: 1
  terminating: 0
  uncountedTerminatedPods: {}
