...

Package iamutils

import "edge-infra.dev/pkg/edge/controllers/clusterctl/pkg/iamutils"
Overview
Index

Overview ▾

Variables

var (
    ErrNotYetUpdated = errors.New("service account key not yet found")
)

func CreateIAMResources

func CreateIAMResources(projectID, clusterName, clusterComponent, displayName, description string, foremanProjectID *string, roles []string, foremanRoles *[]string, ownerRefs []metav1.OwnerReference) (*iamcomponent.Component, error)

func CreateSA

func CreateSA(ctx context.Context, mgr *ssa.ResourceManager, iamResources *iamcomponent.Component, clusterName string) (string, *ssa.ChangeSet, error)