Documentation
¶
Index ¶
- Constants
- func CreateDefaultDSC(cli client.Client, platform deploy.Platform) error
- func GetOperatorNamespace() (string, error)
- func HasDeleteConfigMap(c client.Client) bool
- func OperatorUninstall(cli client.Client, cfg *rest.Config) error
- func RemoveKfDefInstances(cli client.Client, platform deploy.Platform) error
- func UpdateFromLegacyVersion(cli client.Client, platform deploy.Platform) error
Constants ¶
View Source
const ( // DeleteConfigMapLabel is the label for configMap used to trigger operator uninstall // TODO: Label should be updated if addon name changes DeleteConfigMapLabel = "api.openshift.com/addon-managed-odh-delete" )
Variables ¶
This section is empty.
Functions ¶
func CreateDefaultDSC ¶
createDefaultDSC creates a default instance of DSC. Note: When the platform is not Managed, and a DSC instance already exists, the function doesn't re-create/update the resource.
func GetOperatorNamespace ¶
func HasDeleteConfigMap ¶
HasDeleteConfigMap returns true if delete configMap is added to the operator namespace by managed-tenants repo. It returns false in all other cases.
func OperatorUninstall ¶
OperatorUninstall deletes all the externally generated resources. This includes monitoring resources and applications installed by KfDef.
func RemoveKfDefInstances ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.