Skip to content

Commit

Permalink
Change the default StorageClass name from default to default-class
Browse files Browse the repository at this point in the history
  • Loading branch information
ialidzhikov committed Nov 2, 2023
1 parent 077ce1e commit 076a442
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: {{ include "storageclassversion" . }}
kind: StorageClass
metadata:
name: default-class
name: default
annotations:
storageclass.kubernetes.io/is-default-class: "true"
resources.gardener.cloud/delete-on-invalid-update: "true"
Expand Down
2 changes: 1 addition & 1 deletion hack/api-reference/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ string
</em>
</td>
<td>
<p>DefaultClassStoragePolicyName is the name of the vSphere storage policy to use for the &lsquo;default-class&rsquo; storage class</p>
<p>DefaultClassStoragePolicyName is the name of the vSphere storage policy to use for the &lsquo;default&rsquo; StorageClass.</p>
</td>
</tr>
<tr>
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/vsphere/types_cloudprofile.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ type CloudProfileConfig struct {
Folder string
// Regions is the specification of regions and zones topology
Regions []RegionSpec
// DefaultClassStoragePolicyName is the name of the vSphere storage policy to use for the 'default-class' storage class
// DefaultClassStoragePolicyName is the name of the vSphere storage policy to use for the 'default' StorageClass.
DefaultClassStoragePolicyName string
// FailureDomainLabels are the tag categories used for regions and zones.
FailureDomainLabels *FailureDomainLabels
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/vsphere/v1alpha1/types_cloudprofile.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ type CloudProfileConfig struct {
Folder string `json:"folder"`
// Regions is the specification of regions and zones topology
Regions []RegionSpec `json:"regions"`
// DefaultClassStoragePolicyName is the name of the vSphere storage policy to use for the 'default-class' storage class
// DefaultClassStoragePolicyName is the name of the vSphere storage policy to use for the 'default' StorageClass.
DefaultClassStoragePolicyName string `json:"defaultClassStoragePolicyName"`
// FailureDomainLabels are the tag categories used for regions and zones.
// +optional
Expand Down

0 comments on commit 076a442

Please sign in to comment.