Skip to content

error while getting serviceaccount for crossplane #49

@roynilanjan

Description

@roynilanjan

Hi,
I am following this tutorial - https://github.com/salaboy/from-monolith-to-k8s/blob/main/platform/crossplane-dapr/pre-requisites.md
In the step - Getting providers credentials:

SA=$(kubectl -n crossplane-system get sa -o name | grep provider-kubernetes | sed -e 's|serviceaccount/|crossplane-system:|g')
kubectl create clusterrolebinding provider-kubernetes-admin-binding --clusterrole cluster-admin --serviceaccount="${SA}"
I am getting the following error :
error: serviceaccount must be :

However when I run this :
kubectl -n crossplane-system get sa -o name :
I get the following output :
serviceaccount/default
serviceaccount/crossplane
serviceaccount/rbac-manager
I am running it on k3s and all the pods in crossplane-system are running.
Can you share some help ?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions