mirror of
https://github.com/rancher/types.git
synced 2025-09-01 13:18:20 +00:00
convert default storageCLassName to empty
This commit is contained in:
committed by
Darren Shepherd
parent
bb03350a4e
commit
7d8da4b6ef
@@ -669,6 +669,9 @@ func volumeTypes(schemas *types.Schemas) *types.Schemas {
|
||||
"name",
|
||||
}},
|
||||
).
|
||||
AddMapperForType(&Version, v1.PersistentVolumeClaim{},
|
||||
mapper.PersistVolumeClaim{},
|
||||
).
|
||||
MustImport(&Version, v1.PersistentVolumeClaimVolumeSource{}, struct {
|
||||
ClaimName string `norman:"type=reference[persistentVolumeClaim]"`
|
||||
}{}).
|
||||
|
Reference in New Issue
Block a user