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

Change ClusterRole to access ingresses on newer Kubernetes versions #4

Merged
merged 1 commit into from
Nov 20, 2019

Conversation

toxuin
Copy link
Contributor

@toxuin toxuin commented Nov 20, 2019

Impersonating the controller's service account (kubectl proxy --port=8080 --as system:serviceaccount:kube-system:kubernetes-pfsense-controller) I have requested the same resources and while it's accessing /apis/extensions/v1beta1/ingresses just fine, I get a 403 when accessing /apis/networking.k8s.io/v1beta1/ingresses.

With this change, it resolves fine!

Related issue: #3

Impersonating the controller's service account (`kubectl proxy --port=8080 --as system:serviceaccount:kube-system:kubernetes-pfsense-controller`) I have requested the same resources and while it's accessing `/apis/extensions/v1beta1/ingresses` just fine, I get a 403 when accessing `/apis/networking.k8s.io/v1beta1/ingresses`.

With this change, it resolves fine!
@travisghansen
Copy link
Owner

I was actually wondering about that but hadn't had a chance to look yet. Nice find!

Copy link
Owner

@travisghansen travisghansen 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.

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.

None yet

2 participants