Skip to content

Commit

Permalink
doc: adding empty storageClassName in static pvc
Browse files Browse the repository at this point in the history
we need to add `storageClassName: ""` in static pvc
yaml other we'll get error
```
Cannot bind to requested volume "fs-static-pv": storageClassName does not match
```

Signed-off-by: subhamkrai <srai@redhat.com>
  • Loading branch information
subhamkrai authored and nixpanic committed Jul 24, 2023
1 parent 35eb347 commit c9ce8ef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/static-pvc.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ metadata:
name: fs-static-pvc
namespace: default
spec:
storageClassName: ""
accessModes:
# ReadWriteMany is only supported for Block PVC
- ReadWriteOnce
Expand Down

0 comments on commit c9ce8ef

Please sign in to comment.