Warning CannotCreateExternalResource 3s (x6 over 8s) managed/release.helm.crossplane.io failed to install release: failed to get user name and password from secret reference: failed to get repo pull secret: failed to get secret from namespace "external-secrets": Secret "oci-creds" not found
What happened?
I'm trying to install a helm oci package using the crossplane helm provider xpkg.upbound.io/crossplane-contrib/provider-helm:v0.14.0 in eks with the following configuration
before these, secret with name oci-creds had been created with data - user and password, in the external-secrets namespace
but got error
Warning CannotCreateExternalResource 3s (x6 over 8s) managed/release.helm.crossplane.io failed to install release: failed to get user name and password from secret reference: failed to get repo pull secret: failed to get secret from namespace "external-secrets": Secret "oci-creds" not found
According to this code chart.go#L43-L68 and chart.go#L31-L34
I created the secret and cross-plane resource for the helm correctly, but for some reason it cannot find the secret in the namespace !!!
How can we reproduce it?
You can create a secret like this
and than a helm release resource
What environment did it happen in?
Crossplane version: helm.sh/chart=crossplane-1.11.0 Image: crossplane/crossplane:v1.11.0 helm provider [xpkg.upbound.io/crossplane-contrib/provider-helm:v0.14.0](http://xpkg.upbound.io/crossplane- contrib/provider-helm:v0.14.0)
Hw: EKS Kubernetes Worker AMI with AmazonLinux2 image, (k8s: 1.25.6, containerd: 1.6.6-1.amzn2.0.2)