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

[Feature]: support arbitrary uid for openshift environments #125

Closed
2 tasks done
jkleinlercher opened this issue May 26, 2023 · 1 comment · Fixed by #126
Closed
2 tasks done

[Feature]: support arbitrary uid for openshift environments #125

jkleinlercher opened this issue May 26, 2023 · 1 comment · Fixed by #126

Comments

@jkleinlercher
Copy link
Contributor

Checklist

  • I've searched for similar issues and couldn't find anything matching
  • I've discussed this feature request in the K8sGPT Slack and got positive feedback

Is this feature request related to a problem?

Yes

Problem Description

it is the same as in k8sgpt-ai/k8sgpt#440 which also needs to get fixed in k8sgpt-operator

Solution Description

the operator should create a deployment which emptyDir volume and this XDG_ variable set as in k8sgpt-ai/k8sgpt@44725d9

Benefits

then on openshift k8sgpt deployment will start with restricted-v2 SCC and arbitrary uid. in addition, now k8sgpt deployment can run with securityContext.readOnlyRootFilesystem, which is also a security benefit.

Potential Drawbacks

No response

Additional Information

No response

@jkleinlercher
Copy link
Contributor Author

I would be happy to create a PR for this issue by myself. Eager to learn about operator development and local testing ;)

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 a pull request may close this issue.

1 participant