v1beta1

package
v1.6.4-dev-20241117 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CanUpgrade

func CanUpgrade(config *restclient.Config, namespace string) (bool, error)

func FixupCRs

func FixupCRs(config *restclient.Config, namespace string, lhClient *lhclientset.Clientset) (err error)

FixupCRs initialize the old CR spec which is with the `null` field. Since start from longhorn.io/v1beta2, we introduce the CRD structural schema. However, for the Kubernetes < 1.20, there is an issue that it does not allow the `null` field because of the CRD validation failure. Reference issue: https://github.com/kubernetes/kubernetes/issues/86811`

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL