-
Notifications
You must be signed in to change notification settings - Fork 499
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support to change default storage class for Portworx
- Loading branch information
Wolfgang Kulhanek
authored and
Wolfgang Kulhanek
committed
Nov 20, 2024
1 parent
ce6655c
commit e920b98
Showing
3 changed files
with
51 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
ansible/roles_ocp_workloads/ocp4_workload_portworx/files/portworx_storageclass.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
apiVersion: storage.k8s.io/v1 | ||
kind: StorageClass | ||
metadata: | ||
name: px-csi-vm | ||
annotations: | ||
storageclass.kubernetes.io/is-default-class: "true" | ||
parameters: | ||
repl: "3" | ||
sharedv4: "true" | ||
sharedv4_svc_type: "ClusterIP" | ||
sharedv4_mount_options: vers=3.0,nolock | ||
provisioner: pxd.portworx.com | ||
reclaimPolicy: Delete | ||
volumeBindingMode: WaitForFirstConsumer | ||
allowVolumeExpansion: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters