Documentation ¶
Index ¶
- Constants
- func CheckAllServiceAccounts(cmd *cobra.Command)
- func CheckPodsMigrationStatus(cmd *cobra.Command)
- func GetAllNamespaces(clientset *kubernetes.Clientset) ([]string, error)
- func GetAllServiceAccounts(clientset *kubernetes.Clientset) (*v1.ServiceAccountList, error)
- func GetNamespacesWithPermittedAnnotation(clientset *kubernetes.Clientset) ([]string, error)
- func HasServiceAccountAnnotationForIRSA(name string, namespace string, saList *v1.ServiceAccountList) (bool, error)
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 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)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.