We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Without oc adm policy add-scc-to-user anyuid -z kubeflex-controller-manager -n kubeflex-system the creation of vcluster fails:
oc adm policy add-scc-to-user anyuid -z kubeflex-controller-manager -n kubeflex-system
(⎈|cp1:default)$ kflex create cp2 --type vcluster ✔ Checking for saved initial context... ✔ Switching to initial context... ✔ Creating new control plane cp2 of type vcluster ... ◐ Waiting for API server to become ready...^C (⎈|admin:N/A)$ k get cps NAME SYNCED READY TYPE AGE cp1 True True k8s 10m cp2 False False vcluster 9m22s (⎈|admin:N/A)$ k get cps cp2 -o yaml apiVersion: tenancy.kflex.kubestellar.org/v1alpha1 kind: ControlPlane metadata: creationTimestamp: "2024-02-15T02:59:48Z" finalizers: - kflex.kubestellar.org/finalizer generation: 1 name: cp2 resourceVersion: "157045" uid: 96ed42db-29a1-44eb-ac3f-9f8fa149fe8b spec: backend: shared type: vcluster status: conditions: - lastTransitionTime: "2024-02-15T02:59:48Z" lastUpdateTime: "2024-02-15T02:59:48Z" message: "" reason: Unavailable status: "False" type: Ready - lastTransitionTime: "2024-02-15T02:59:48Z" lastUpdateTime: "2024-02-15T02:59:48Z" message: 'error initializing dir for helm setup mkdir /.config: permission denied' reason: ReconcileError status: "False" type: Synced observedGeneration: 0
Set helm library to use a temp directory to avoid the permissions issue in OCP.
No response
The text was updated successfully, but these errors were encountered:
pdettori
Successfully merging a pull request may close this issue.
Feature Description
Without
oc adm policy add-scc-to-user anyuid -z kubeflex-controller-manager -n kubeflex-system
the creation of vcluster fails:Proposed Solution
Set helm library to use a temp directory to avoid the permissions issue in OCP.
Want to contribute?
Additional Context
No response
The text was updated successfully, but these errors were encountered: