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

enhancement: add port-forward permission to the read-only kubeconfig #35

Merged
merged 1 commit into from
Jan 24, 2024
Merged

enhancement: add port-forward permission to the read-only kubeconfig #35

merged 1 commit into from
Jan 24, 2024

Conversation

dipankardas011
Copy link
Contributor

@dipankardas011 dipankardas011 commented Jan 24, 2024

add port-forward permission to the read-only kubeconfig

Why?

to be able to create port-froward using the read-only kubeconfig

as the error showed

error: error upgrading connection: pods "prometheus-prom-kube-prometheus-stack-prometheus-0" is forbidden: User "system:serviceaccount:kube-system:readonly-account" cannot create resource "pods/portforward" in API group "" in the namespace "monitoring"

@dipankardas011 dipankardas011 changed the title added port-forward permission to the read-only kubeconfig add port-forward permission to the read-only kubeconfig Jan 24, 2024
Copy link
Contributor

@rossf7 rossf7 left a comment

Choose a reason for hiding this comment

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

LGTM 💚

@rossf7 rossf7 merged commit 4988fa1 into cncf-tags:main Jan 24, 2024
1 check passed
@dipankardas011 dipankardas011 changed the title add port-forward permission to the read-only kubeconfig enhancement: add port-forward permission to the read-only kubeconfig Feb 6, 2024
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.

2 participants