Forum Discussion

craig_gill's avatar
craig_gill
Novice I
4 years ago
Solved

Does snapshotting with the CSI Driver require security to be enabled and a user-token to be configured?

 Does snapshotting with the CSI Driver require security to be enabled and a user-token to be configured?

  • so you could just use something like: ``` apiVersion: http://snapshot.storage.k8s.io/v1beta1|snapshot.storage.k8s.io/v1beta1 kind: VolumeSnapshotClass metadata: name: px-csi-snapclass annotations: http://snapshot.storage.kubernetes.io/is-default-class|snapshot.storage.kubernetes.io/is-default-class: "true" driver: http://pxd.portworx.com|pxd.portworx.com deletionPolicy: Delete``` and be fine?

8 Replies

  • Hi craig.gill, PX Security does not be setup/configured in order to utilize CSI Snapshots.
  • I see how the `VolumeSnapshotClass` docs example could be misleading. I will get that updated.
  • so you could just use something like: ``` apiVersion: http://snapshot.storage.k8s.io/v1beta1|snapshot.storage.k8s.io/v1beta1 kind: VolumeSnapshotClass metadata: name: px-csi-snapclass annotations: http://snapshot.storage.kubernetes.io/is-default-class|snapshot.storage.kubernetes.io/is-default-class: "true" driver: http://pxd.portworx.com|pxd.portworx.com deletionPolicy: Delete``` and be fine?
  • Yes, as long as you don't have PX Security enabled in your storagecluster or px daemonset.