-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Labels
bugSomething isn't workingSomething isn't working
Description
What happened?
In Openshift, the standard SCC restricted-v2
forces you to run containers with a high UID (e.g. 1000930000). This causes a failure in the package-runtime container, because it has a /tofu
directory hardcoded to UID 2000 with no permissions for other:
&& chown -R 2000 /tofu |
As a result, the provider cannot create workspaces and fails with:
"error": "cannot make tofu configuration directory: mkdir /tofu/... permission denied",
"errorVerbose": "mkdir /tofu/... permission denied cannot make tofu configuration directory"
In my organization we cannot use a different SCC.
How can we reproduce it?
Create a workspace on any modern Openshift or OKD cluster with restricted-v2
SCC and enable debugging in the package-runtime container.
What environment did it happen in?
Crossplane v1.20.0
Provider Opentofu v0.2.6
Openshift v4.16.42
kevinetore, basb2801 and cwagter
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working