common

package
v0.30.0 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// default AWS region
	DefaultRegion = "us-east-1"

	// default aws-account-operator namespace
	AWSAccountNamespace = "aws-account-operator"
	DefaultConfigMap    = "aws-account-operator-configmap"
	OSDManagedAdminIAM  = "osdManagedAdmin"
	OSDCcsAdminIAM      = "osdCcsAdmin"
)

Variables

This section is empty.

Functions

func GetKubeConfigAndClient added in v0.25.0

func GetKubeConfigAndClient(clusterID string, elevationReasons ...string) (client.Client, *rest.Config, *kubernetes.Clientset, error)

If some elevationReasons are provided, then the config will be elevated with user backplane-cluster-admin

func UpdateSecret

func UpdateSecret(kubeClient client.Client, secretName string, secretNamespace string, secretBody map[string][]byte) error

UpdateSecret updates a specified k8s secret with the provided data

Types

This section is empty.

Jump to

Keyboard shortcuts

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