apiVersion: apps/v1
kind: DaemonSet
metadata:
  annotations:
    deprecated.daemonset.template.generation: "1"
  creationTimestamp: "2026-04-27T16:52:18Z"
  generation: 1
  labels:
    application: magnum
    component: cluster-api-proxy
  name: magnum-cluster-api-proxy
  namespace: openstack
  resourceVersion: "24044"
  uid: ae4eb06b-70ac-4cd1-9204-7dc64b642eda
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:2023.2@sha256:7063898a53b9cf302439692517cd34fcb632abb9278675c2fc030350ead8f494
        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
