Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change the default StorageClass name from default-class to default #480

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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