You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: support per-PVC adoption annotation at volume creation time
Add support for the `nasty-csi.io/adoptable: "true"` PVC annotation
to mark individual volumes for adoption at creation time, without
requiring the StorageClass-wide `markAdoptable` parameter.
The controller now initializes a k8s client and looks up the PVC
during CreateVolume to check for the annotation. This gives users
selective adoption — mark only important stateful volumes (databases,
etc.) without bulk-marking everything via the StorageClass.
Usage:
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: my-database
annotations:
nasty-csi.io/adoptable: "true"
spec:
storageClassName: nasty-nfs
...
RBAC: no changes needed — the Helm chart already grants PVC get/list.
0 commit comments