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-14T12:50:30Z"
  generation: 1
  labels:
    app.kubernetes.io/managed-by: Helm
    application: magnum
    component: conductor
    release_group: magnum
  name: magnum-conductor
  namespace: openstack
  resourceVersion: "24599"
  uid: 0d7b7799-6533-48c6-9f49-3ca36da4ee7f
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: 3cdc988895700291cfb90ade6d29b83cb2d9eacb5d368655b17a40fedaa237ae
        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:2025.2@sha256:62359aebc321b0e8b56ddcdc0bd43cd2d7962cb5059e1357ec8cc7759fcbca12
        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@sha256:8921b64b87af184a1421dd856b2703bcf3cff9f50863cd0d18371cf964a87bd3
        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:2025.2@sha256:62359aebc321b0e8b56ddcdc0bd43cd2d7962cb5059e1357ec8cc7759fcbca12
        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-86f4bdcff5
  observedGeneration: 1
  readyReplicas: 1
  replicas: 1
  updateRevision: magnum-conductor-86f4bdcff5
  updatedReplicas: 1
