apiVersion: apps/v1
kind: StatefulSet
metadata:
  annotations:
    meta.helm.sh/release-name: magnum
    meta.helm.sh/release-namespace: openstack
    openstackhelm.openstack.org/release_uuid: ""
  creationTimestamp: "2026-04-28T03:48:21Z"
  generation: 1
  labels:
    app.kubernetes.io/managed-by: Helm
    application: magnum
    component: conductor
    release_group: magnum
  name: magnum-conductor
  namespace: openstack
  resourceVersion: "17397"
  uid: 058550c3-3018-46c0-b214-e71527f806c8
spec:
  persistentVolumeClaimRetentionPolicy:
    whenDeleted: Retain
    whenScaled: Retain
  podManagementPolicy: Parallel
  replicas: 1
  revisionHistoryLimit: 10
  selector:
    matchLabels:
      application: magnum
      component: conductor
      release_group: magnum
  serviceName: magnum-conductor
  template:
    metadata:
      annotations:
        configmap-bin-hash: f92208e88a791caba6d7d280c8abf3458eee0b251b24c8de414018ec68b7473b
        configmap-etc-hash: 6d646a391d7cd9b8be75fe6859a5aac1862160d25f5d50c5420ceabb959b94c0
        openstackhelm.openstack.org/release_uuid: ""
      creationTimestamp: null
      labels:
        application: magnum
        component: conductor
        release_group: magnum
    spec:
      affinity:
        podAntiAffinity:
          preferredDuringSchedulingIgnoredDuringExecution:
          - podAffinityTerm:
              labelSelector:
                matchExpressions:
                - key: release_group
                  operator: In
                  values:
                  - magnum
                - key: application
                  operator: In
                  values:
                  - magnum
                - key: component
                  operator: In
                  values:
                  - conductor
              topologyKey: kubernetes.io/hostname
            weight: 10
      containers:
      - command:
        - /tmp/magnum-conductor.sh
        image: harbor.atmosphere.dev/ghcr.io/vexxhost/magnum:main@sha256:be30fc62b97ee15502c211cc1c73ae698a47d9ea7d5982a396db1d677f2088aa
        imagePullPolicy: IfNotPresent
        name: magnum-conductor
        resources: {}
        securityContext:
          runAsUser: 42424
        terminationMessagePath: /dev/termination-log
        terminationMessagePolicy: File
        volumeMounts:
        - mountPath: /tmp
          name: pod-tmp
        - mountPath: /tmp/magnum-conductor.sh
          name: magnum-bin
          readOnly: true
          subPath: magnum-conductor.sh
        - mountPath: /etc/magnum
          name: pod-etc-magnum
        - mountPath: /etc/magnum/magnum.conf
          name: magnum-etc
          readOnly: true
          subPath: magnum.conf
        - mountPath: /etc/magnum/policy.yaml
          name: magnum-etc
          readOnly: true
          subPath: policy.yaml
        - mountPath: /tmp/pod-shared
          name: pod-shared
        - mountPath: /var/lib/magnum/tmp
          name: magnum-lock-path
        - mountPath: /var/lib/magnum/certificate-cache
          name: magnum-certificate-cache
        - mountPath: /etc/ssl/certs/ca-certificates.crt
          name: ca-certificates
          readOnly: true
      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:keystone-api,openstack:rabbitmq-magnum,openstack:barbican-api,openstack:heat-api
        - name: DEPENDENCY_JOBS
          value: magnum-db-sync,magnum-ks-user,magnum-domain-ks-user,magnum-ks-endpoints,magnum-rabbit-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
        imagePullPolicy: IfNotPresent
        name: init
        resources: {}
        securityContext:
          allowPrivilegeEscalation: false
          readOnlyRootFilesystem: true
          runAsUser: 65534
        terminationMessagePath: /dev/termination-log
        terminationMessagePolicy: File
      - command:
        - /tmp/magnum-conductor-init.sh
        env:
        - name: POD_NAME
          valueFrom:
            fieldRef:
              apiVersion: v1
              fieldPath: metadata.name
        image: harbor.atmosphere.dev/ghcr.io/vexxhost/magnum:main@sha256:be30fc62b97ee15502c211cc1c73ae698a47d9ea7d5982a396db1d677f2088aa
        imagePullPolicy: IfNotPresent
        name: magnum-conductor-init
        resources: {}
        securityContext:
          runAsUser: 42424
        terminationMessagePath: /dev/termination-log
        terminationMessagePolicy: File
        volumeMounts:
        - mountPath: /tmp
          name: pod-tmp
        - mountPath: /tmp/magnum-conductor-init.sh
          name: magnum-bin
          readOnly: true
          subPath: magnum-conductor-init.sh
        - mountPath: /tmp/pod-shared
          name: pod-shared
      nodeSelector:
        openstack-control-plane: enabled
      restartPolicy: Always
      schedulerName: default-scheduler
      securityContext: {}
      serviceAccount: magnum-conductor
      serviceAccountName: magnum-conductor
      terminationGracePeriodSeconds: 30
      volumes:
      - emptyDir: {}
        name: pod-tmp
      - emptyDir: {}
        name: pod-etc-magnum
      - emptyDir: {}
        name: pod-shared
      - configMap:
          defaultMode: 365
          name: magnum-bin
        name: magnum-bin
      - name: magnum-etc
        secret:
          defaultMode: 292
          secretName: magnum-etc
      - emptyDir: {}
        name: magnum-lock-path
      - emptyDir: {}
        name: magnum-certificate-cache
      - hostPath:
          path: /etc/ssl/certs/ca-certificates.crt
          type: ""
        name: ca-certificates
  updateStrategy:
    rollingUpdate:
      partition: 0
    type: RollingUpdate
status:
  availableReplicas: 1
  collisionCount: 0
  currentReplicas: 1
  currentRevision: magnum-conductor-748995558
  observedGeneration: 1
  readyReplicas: 1
  replicas: 1
  updateRevision: magnum-conductor-748995558
  updatedReplicas: 1
