apiVersion: v1
kind: Pod
metadata:
  annotations:
    openstackhelm.openstack.org/release_uuid: ""
  creationTimestamp: "2026-05-08T10:51:28Z"
  generateName: placement-db-sync-
  labels:
    application: placement
    batch.kubernetes.io/controller-uid: db64c3ce-d44c-4a0a-96ae-72619a6e42d6
    batch.kubernetes.io/job-name: placement-db-sync
    component: db-sync
    controller-uid: db64c3ce-d44c-4a0a-96ae-72619a6e42d6
    job-name: placement-db-sync
    release_group: placement
  name: placement-db-sync-wv9qx
  namespace: openstack
  ownerReferences:
  - apiVersion: batch/v1
    blockOwnerDeletion: true
    controller: true
    kind: Job
    name: placement-db-sync
    uid: db64c3ce-d44c-4a0a-96ae-72619a6e42d6
  resourceVersion: "14058"
  uid: 52623770-561a-436b-923c-7788ea0dec64
spec:
  containers:
  - command:
    - /bin/bash
    - -c
    - /tmp/db-sync.sh
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/placement:main@sha256:179c861fe2e8de455c45726d0945a37f362a08a07be9dd8caaa17fd47ae21590
    imagePullPolicy: IfNotPresent
    name: placement-db-sync
    resources: {}
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /tmp
      name: pod-tmp
    - mountPath: /tmp/db-sync.sh
      name: db-sync-sh
      readOnly: true
      subPath: db-sync.sh
    - mountPath: /etc/placement
      name: etc-service
    - mountPath: /etc/placement/placement.conf
      name: db-sync-conf
      readOnly: true
      subPath: placement.conf
    - mountPath: /etc/placement/logging.conf
      name: db-sync-conf
      readOnly: true
      subPath: logging.conf
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-8cwbm
      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:percona-xtradb-haproxy
    - name: DEPENDENCY_JOBS
      value: placement-db-init
    - 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
    volumeMounts:
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-8cwbm
      readOnly: true
  nodeName: instance
  nodeSelector:
    openstack-control-plane: enabled
  preemptionPolicy: PreemptLowerPriority
  priority: 0
  restartPolicy: OnFailure
  schedulerName: default-scheduler
  securityContext: {}
  serviceAccount: placement-db-sync
  serviceAccountName: placement-db-sync
  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: placement-bin
    name: db-sync-sh
  - emptyDir: {}
    name: etc-service
  - name: db-sync-conf
    secret:
      defaultMode: 292
      secretName: placement-etc
  - name: kube-api-access-8cwbm
    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-08T10:51:32Z"
    reason: PodCompleted
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-05-08T10:51:38Z"
    reason: PodCompleted
    status: "False"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-05-08T10:51:38Z"
    reason: PodCompleted
    status: "False"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-05-08T10:51:28Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://f88c43ca163bab79a35c808be4905138b85b9836a33c0537f5ab287d751a9c2c
    image: sha256:db9017af7254cde57e548f4a7ccef967943159e41805e69bc4339b363a7c0283
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/placement@sha256:179c861fe2e8de455c45726d0945a37f362a08a07be9dd8caaa17fd47ae21590
    lastState: {}
    name: placement-db-sync
    ready: false
    restartCount: 0
    started: false
    state:
      terminated:
        containerID: containerd://f88c43ca163bab79a35c808be4905138b85b9836a33c0537f5ab287d751a9c2c
        exitCode: 0
        finishedAt: "2026-05-08T10:51:38Z"
        reason: Completed
        startedAt: "2026-05-08T10:51:34Z"
  hostIP: 199.204.45.70
  initContainerStatuses:
  - containerID: containerd://cee871c3d08108804c9f29f2303f90c6c338fd0e5e7fd0c22f72c12b8551d454
    image: sha256:d656bd5737950b86b0ecff4b0206024769c78ea55e2f9f4c840c3cc2a10caaf8
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/kubernetes-entrypoint@sha256:8921b64b87af184a1421dd856b2703bcf3cff9f50863cd0d18371cf964a87bd3
    lastState: {}
    name: init
    ready: true
    restartCount: 0
    started: false
    state:
      terminated:
        containerID: containerd://cee871c3d08108804c9f29f2303f90c6c338fd0e5e7fd0c22f72c12b8551d454
        exitCode: 0
        finishedAt: "2026-05-08T10:51:31Z"
        reason: Completed
        startedAt: "2026-05-08T10:51:29Z"
  phase: Succeeded
  podIP: 10.0.0.38
  podIPs:
  - ip: 10.0.0.38
  qosClass: BestEffort
  startTime: "2026-05-08T10:51:28Z"
