k8s

package
v0.0.0-...-5906fab Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RoleAnnotation             string = "iam.amazonaws.com/role"
	RoleArnAnnotationName      string = "eks.amazonaws.com/role-arn"
	RegionalStsAnnotationName  string = "eks.amazonaws.com/sts-regional-endpoints"
	RegionalStsAnnotationValue string = "true"
)

Variables

This section is empty.

Functions

func CheckAllServiceAccounts

func CheckAllServiceAccounts(cmd *cobra.Command)

func CheckPodsMigrationStatus

func CheckPodsMigrationStatus(cmd *cobra.Command)

func GetAllNamespaces

func GetAllNamespaces(clientset *kubernetes.Clientset) ([]string, error)

func GetAllServiceAccounts

func GetAllServiceAccounts(clientset *kubernetes.Clientset) (*v1.ServiceAccountList, error)

func GetNamespacesWithPermittedAnnotation

func GetNamespacesWithPermittedAnnotation(clientset *kubernetes.Clientset) ([]string, error)

func HasServiceAccountAnnotationForIRSA

func HasServiceAccountAnnotationForIRSA(name string, namespace string, saList *v1.ServiceAccountList) (bool, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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