This commit is contained in:
2026-06-25 10:02:16 -05:00
parent 0bc9b2e788
commit 1da9bfd43c
5 changed files with 258 additions and 52 deletions

View File

@@ -0,0 +1,44 @@
---
# Patch for px-pure-csi-node DaemonSet to work on Talos Linux
# Apply with: kubectl patch daemonset px-pure-csi-node -n portworx --patch-file px-csi-talos-patch.yaml
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: px-pure-csi-node
namespace: portworx
spec:
template:
spec:
containers:
- name: node-plugin
volumeMounts:
# Add Talos-specific mounts
- name: usr-local-sbin
mountPath: /usr/local/sbin
mountPropagation: Bidirectional
- name: var-lib-iscsi
mountPath: /var/lib/iscsi
mountPropagation: Bidirectional
# Fix existing kubelet-dir mount propagation
- name: kubelet-dir
mountPath: /var/lib/kubelet
mountPropagation: Bidirectional
# Mount host root for nsenter access
- name: host-root
mountPath: /host
mountPropagation: Bidirectional
volumes:
# Add Talos-specific volumes
- name: usr-local-sbin
hostPath:
path: /usr/local/sbin
type: Directory
- name: var-lib-iscsi
hostPath:
path: /var/lib/iscsi
type: DirectoryOrCreate
- name: host-root
hostPath:
path: /
type: Directory