mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-02 14:26:23 -04:00
cli: remove old migrations (#2079)
The migrations are not required for upgrading from 2.8.
This commit is contained in:
parent
5f5a752b54
commit
ef526562df
5 changed files with 15 additions and 114 deletions
|
@ -241,12 +241,6 @@ func (k *Kubectl) AddNodeSelectorsToDeployment(ctx context.Context, selectors ma
|
|||
return nil
|
||||
}
|
||||
|
||||
// DeleteStorageClass deletes the storage class with the given name.
|
||||
// TODO(daniel-weisse): Remove with v2.9.
|
||||
func (k *Kubectl) DeleteStorageClass(ctx context.Context, name string) error {
|
||||
return k.StorageV1().StorageClasses().Delete(ctx, name, metav1.DeleteOptions{})
|
||||
}
|
||||
|
||||
// parseCRD takes a byte slice of data and tries to create a CustomResourceDefinition object from it.
|
||||
func parseCRD(crdString []byte) (*v1.CustomResourceDefinition, error) {
|
||||
sch := runtime.NewScheme()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue