apiVersion: batch/v1
kind: Job
metadata:
  annotations:
    hash: n5b5h55bh549h556h5cbh684h96h64hb4h9hb8h5dfh8bh6fhdbh4h668h95h68hb8h576h579h9h66dh546h56fh54ch667h55h57ch57bh8cq
    k8s.v1.cni.cncf.io/networks: '[{"name":"ctlplane","namespace":"openstack","interface":"ctlplane"}]'
  creationTimestamp: "2026-04-06T12:29:55Z"
  generation: 1
  labels:
    app: openstackansibleee
    openstackdataplanedeployment: edpm-deployment
    openstackdataplanenodeset: openstack-edpm-ipam
    openstackdataplaneservice: install-os
  name: install-os-edpm-deployment-openstack-edpm-ipam
  namespace: openstack
  ownerReferences:
  - apiVersion: dataplane.openstack.org/v1beta1
    blockOwnerDeletion: true
    controller: true
    kind: OpenStackDataPlaneDeployment
    name: edpm-deployment
    uid: c01218b2-da66-42f9-b5cd-9841b8b97503
  resourceVersion: "57740"
  uid: 4191debf-4ca8-4f98-b7c6-89869dc43f45
spec:
  backoffLimit: 6
  completionMode: NonIndexed
  completions: 1
  manualSelector: false
  parallelism: 1
  podReplacementPolicy: TerminatingOrFailed
  selector:
    matchLabels:
      batch.kubernetes.io/controller-uid: 4191debf-4ca8-4f98-b7c6-89869dc43f45
  suspend: false
  template:
    metadata:
      annotations:
        k8s.v1.cni.cncf.io/networks: '[{"name":"ctlplane","namespace":"openstack","interface":"ctlplane"}]'
      creationTimestamp: null
      labels:
        app: openstackansibleee
        batch.kubernetes.io/controller-uid: 4191debf-4ca8-4f98-b7c6-89869dc43f45
        batch.kubernetes.io/job-name: install-os-edpm-deployment-openstack-edpm-ipam
        controller-uid: 4191debf-4ca8-4f98-b7c6-89869dc43f45
        job-name: install-os-edpm-deployment-openstack-edpm-ipam
        openstackdataplanedeployment: edpm-deployment
        openstackdataplanenodeset: openstack-edpm-ipam
        openstackdataplaneservice: install-os
    spec:
      containers:
      - args:
        - ansible-runner
        - run
        - /runner
        - -p
        - osp.edpm.install_os
        - -i
        - install-os-edpm-deployment-openstack-edpm-ipam
        env:
        - name: ANSIBLE_VERBOSITY
          value: "2"
        - name: RUNNER_PLAYBOOK
          value: |2+

            osp.edpm.install_os

        - name: RUNNER_EXTRA_VARS
          value: |2+

            edpm_override_hosts: openstack-edpm-ipam
            edpm_service_type: install-os


        envFrom:
        - configMapRef:
            name: openstack-aee-default-env
            optional: true
        image: quay.io/openstack-k8s-operators/openstack-ansibleee-runner:latest
        imagePullPolicy: Always
        name: install-os-edpm-deployment-openstack-edpm-ipam
        resources: {}
        terminationMessagePath: /dev/termination-log
        terminationMessagePolicy: File
        volumeMounts:
        - mountPath: /runner/env/ssh_key/ssh_key_openstack-edpm-ipam
          name: ssh-key-openstack-edpm-ipam
          subPath: ssh_key_openstack-edpm-ipam
        - mountPath: /runner/inventory/hosts
          name: inventory
          subPath: inventory
      dnsConfig:
        nameservers:
        - 10.217.5.99
        searches:
        - ctlplane.example.com
      dnsPolicy: None
      restartPolicy: Never
      schedulerName: default-scheduler
      securityContext: {}
      serviceAccount: openstack-edpm-ipam
      serviceAccountName: openstack-edpm-ipam
      terminationGracePeriodSeconds: 30
      volumes:
      - name: ssh-key-openstack-edpm-ipam
        secret:
          defaultMode: 384
          items:
          - key: ssh-privatekey
            path: ssh_key_openstack-edpm-ipam
          secretName: dataplane-ansible-ssh-private-key-secret
      - name: inventory
        secret:
          defaultMode: 420
          items:
          - key: inventory
            path: inventory
          secretName: dataplanenodeset-openstack-edpm-ipam
status:
  completionTime: "2026-04-06T12:30:35Z"
  conditions:
  - lastProbeTime: "2026-04-06T12:30:35Z"
    lastTransitionTime: "2026-04-06T12:30:35Z"
    message: Reached expected number of succeeded pods
    reason: CompletionsReached
    status: "True"
    type: SuccessCriteriaMet
  - lastProbeTime: "2026-04-06T12:30:35Z"
    lastTransitionTime: "2026-04-06T12:30:35Z"
    message: Reached expected number of succeeded pods
    reason: CompletionsReached
    status: "True"
    type: Complete
  ready: 0
  startTime: "2026-04-06T12:29:55Z"
  succeeded: 1
  terminating: 0
  uncountedTerminatedPods: {}
