Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Denied permission when mounting dynamic volume to the cache on GKE #2694

Closed
mcbenjemaa opened this issue Nov 5, 2021 · 0 comments · Fixed by #2692
Closed

Denied permission when mounting dynamic volume to the cache on GKE #2694

mcbenjemaa opened this issue Nov 5, 2021 · 0 comments · Fixed by #2692
Labels
bug Something isn't working
Projects

Comments

@mcbenjemaa
Copy link
Member

mcbenjemaa commented Nov 5, 2021

What happened?

I would like to use crossplane with multiple providers, which means that cache size will be increased.
I used a PVC on GKE to make crossplane save caches in a volume instead of in memory.

Using crossplane values to create a pvc

packageCache:
  medium: "crossplane"
  sizeLimit: 1Gi
  pvc: "crossplane"

this will cause an issue, if you check the error in the pkgrev

cannot initialize parser backend: failed to store package in cache: open /cache/crossplane-provider-helm-d29c7a1e7fbb.xpkg: permission denied

How can we reproduce it?

Deploy crossplane on GKE and use pvc that provision dynamic pv, then deploy any provider.

What environment did it happen in?

Crossplane version:

  • Cloud provider or hardware configuration: GCP
  • Kubernetes version (use kubectl version): "v1.21.2"
  • Kubernetes distribution (e.g. Tectonic, GKE, OpenShift): GKE
@mcbenjemaa mcbenjemaa added the bug Something isn't working label Nov 5, 2021
@jbw976 jbw976 added this to To do in v1.6 via automation Dec 16, 2021
@jbw976 jbw976 moved this from To do to Done in v1.6 Dec 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
No open projects
v1.6
Done
1 participant