talos
This commit is contained in:
44
talos/talhelper/px-csi-talos-patch.yaml
Normal file
44
talos/talhelper/px-csi-talos-patch.yaml
Normal 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
|
||||
Reference in New Issue
Block a user