Getting error while installing the crossplane ProviderConfig in kubernetes cluster
root@kube-master:~/crossplane# kubectl apply -f ProviderConfig.yaml
error: resource mapping not found for name: "default" namespace: "" from "ProviderConfig.yaml": no matches for kind "ProviderConfig" in version "aws.upbound.io/v1beta1"
ensure CRDs are installed first
ProviderConfig.yaml:
apiVersion: aws.upbound.io/v1beta1
kind: ProviderConfig
metadata:
name: default
spec:
credentials:
source: Secret
secretRef:
namespace: crossplane-system
name: aws-secret
key: creds
Did anyone face the same issue and got resolved?, please help me to fix this issue.