Skip to content

Conversation

@CorentinPtrl
Copy link

Fixes #1666 by mutating the selfsubjectaccessreviews and selfsubjectrulesreviews for the namespaces

@CorentinPtrl CorentinPtrl marked this pull request as draft December 7, 2025 22:16
Signed-off-by: CorentinPtrl <pitrel.corentin@gmail.com>
@CorentinPtrl CorentinPtrl marked this pull request as ready for review December 8, 2025 21:43
Signed-off-by: CorentinPtrl <pitrel.corentin@gmail.com>
@k3rnL
Copy link

k3rnL commented Dec 25, 2025

Any update on this ? It looks 100% implemented

@CorentinPtrl
Copy link
Author

Everything is working in k9s as far as I know it's just waiting for a review

Copy link
Member

@prometherion prometherion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, I think this will unlock also supports for Headlamp.


scheme := runtime.NewScheme()
protoEncoder := protobuf.NewSerializer(scheme, scheme)
corev1.AddToScheme(scheme)

Check warning

Code scanning / gosec

Errors unhandled Warning

Errors unhandled
scheme := runtime.NewScheme()
protoEncoder := protobuf.NewSerializer(scheme, scheme)
corev1.AddToScheme(scheme)
authorizationv1.AddToScheme(scheme)

Check warning

Code scanning / gosec

Errors unhandled Warning

Errors unhandled
}
}
writer.WriteHeader(w.Result().StatusCode)
writer.Write(body)

Check warning

Code scanning / gosec

Errors unhandled Warning

Errors unhandled
Signed-off-by: CorentinPtrl <pitrel.corentin@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Listing namespaces is denied on k9s with capsule-proxy

3 participants