apiVersion: apps/v1
kind: DaemonSet
metadata:
  annotations:
    deprecated.daemonset.template.generation: "1"
  creationTimestamp: "2026-04-26T06:06:10Z"
  generation: 1
  labels:
    application: magnum
    component: cluster-api-proxy
  name: magnum-cluster-api-proxy
  namespace: openstack
  resourceVersion: "14993"
  uid: e3914af1-a23e-4d8e-ad74-b2a5ff2a1a0f
spec:
  revisionHistoryLimit: 10
  selector:
    matchLabels:
      application: magnum
      component: cluster-api-proxy
  template:
    metadata:
      creationTimestamp: null
      labels:
        application: magnum
        component: cluster-api-proxy
    spec:
      containers:
      - command:
        - magnum-cluster-api-proxy
        image: harbor.atmosphere.dev/ghcr.io/vexxhost/magnum:main@sha256:be30fc62b97ee15502c211cc1c73ae698a47d9ea7d5982a396db1d677f2088aa
        imagePullPolicy: IfNotPresent
        name: magnum-cluster-api-proxy
        resources: {}
        securityContext:
          privileged: true
          readOnlyRootFilesystem: true
        terminationMessagePath: /dev/termination-log
        terminationMessagePolicy: File
        volumeMounts:
        - mountPath: /tmp
          name: pod-tmp
        - mountPath: /run
          name: pod-run
        - mountPath: /etc/sudoers.d/magnum_capi_sudoers
          name: config
          readOnly: true
          subPath: magnum_capi_sudoers
        - mountPath: /var/lib/magnum/.magnum-cluster-api-proxy
          name: haproxy-state
        - mountPath: /run/netns
          mountPropagation: Bidirectional
          name: host-run-netns
      dnsPolicy: ClusterFirst
      nodeSelector:
        openstack-control-plane: enabled
      restartPolicy: Always
      schedulerName: default-scheduler
      securityContext:
        runAsUser: 42424
      serviceAccount: magnum-conductor
      serviceAccountName: magnum-conductor
      terminationGracePeriodSeconds: 30
      volumes:
      - emptyDir: {}
        name: pod-tmp
      - emptyDir: {}
        name: pod-run
      - configMap:
          defaultMode: 420
          name: magnum-cluster-api-proxy-config
        name: config
      - emptyDir: {}
        name: haproxy-state
      - hostPath:
          path: /run/netns
          type: ""
        name: host-run-netns
  updateStrategy:
    rollingUpdate:
      maxSurge: 0
      maxUnavailable: 1
    type: RollingUpdate
status:
  currentNumberScheduled: 1
  desiredNumberScheduled: 1
  numberAvailable: 1
  numberMisscheduled: 0
  numberReady: 1
  observedGeneration: 1
  updatedNumberScheduled: 1
