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

Hide the 'cluster-wide access infrastructure' option when ChaosCenter is namespaced scope #4612

Open
namkyu1999 opened this issue Apr 29, 2024 · 6 comments · May be fixed by #4615
Open

Hide the 'cluster-wide access infrastructure' option when ChaosCenter is namespaced scope #4612

namkyu1999 opened this issue Apr 29, 2024 · 6 comments · May be fixed by #4615
Assignees

Comments

@namkyu1999
Copy link
Member

Litmus has two components, Chaos Center (control plane) and Chaos infrastructure (execution plane).

We can restrict Chaos Center's scope as cluster-wide or namespaced through passing env.
And we can also restrict Chaos infrastructure's scope as cluster-wide or namespaced through Chaos Center's UI.

The problem happened when we installed Chaos Center as namespaced and tried to install Chaos infrastructure as cluster-wide.
Because namespaced Chaos Center doesn't have permission to create the cluster-wide access chaos infrastructure, We have to disable cluster-wide access option.

Currently, We can face the error below

Screenshot 2024-04-28 at 4 35 53 PM

Screenshot 2024-04-28 at 4 35

Anyone who want to take this issue, please let me know 😄

fyi

@Baalekshan
Copy link

hi @namkyu1999 , I would like to work on this.

@namkyu1999
Copy link
Member Author

go ahead, @Baalekshan

@smitthakkar96
Copy link
Contributor

What is the benefit of having the scope defined for ChaosCenter? Ideally, the control plane should be agnostic of what infra scope we use for the execution plane, know? Is the added complexity of restricting this worth it. Even if users can see the option to generate manifest they can only apply it if they have access to do so in cluster.

@Baalekshan
Copy link

I have setup litmus locally and how can i run this in a namespaced scope ? So that I could test it.

@Baalekshan Baalekshan linked a pull request May 3, 2024 that will close this issue
9 tasks
@jayesh9747
Copy link

@namkyu1999 @Baalekshan can i work on this or it is already sloved this issue .

@Baalekshan
Copy link

@jayesh9747 I have raised PR and it's on a pending review. @namkyu1999 can you take a look at my PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants