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

Blog post for creating an unprivileged k8s account #49

Merged
merged 1 commit into from
May 17, 2024

Conversation

datho7561
Copy link
Contributor

Signed-off-by: David Thompson davthomp@redhat.com

@datho7561 datho7561 requested a review from vrubezhny May 14, 2024 18:47
@datho7561
Copy link
Contributor Author

@vrubezhny this is the write up on setting up a kind cluster with restricted permissions. let me know if these steps work for you.

@datho7561
Copy link
Contributor Author

I updated the docs so that the service account that's created in the walkthrough is allowed to view details about individual pods and watch for changes in pods as well.

Copy link

@vrubezhny vrubezhny left a comment

Choose a reason for hiding this comment

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

Looks good to me.

Used a Kind cluster "restricted" service account to test redhat-developer/vscode-openshift-tools#4122 - all works as expected.

Probably it worth mentioning the limited lifetime of the issued token (can be changed by using --duration=10h-like argument) .

Thanks!

Signed-off-by: David Thompson <davthomp@redhat.com>
@datho7561
Copy link
Contributor Author

I added the --duration flag to the token creation step, and updated the publish date to today

@datho7561 datho7561 merged commit 20c881d into redhat-developer:main May 17, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

2 participants