-
Notifications
You must be signed in to change notification settings - Fork 125
New Resource: IdentityBinding #248
New Resource: IdentityBinding #248
Conversation
78d3639
to
0f2fd35
Compare
Signed-off-by: Keith Mattix II <[email protected]>
0f2fd35
to
c70e90d
Compare
Signed-off-by: Keith Mattix II <[email protected]>
- Other types of policy - having policy around retries, timeouts and rate limits | ||
would be great. This specific object only manages access control. As policy | ||
for these examples would be HTTP specific, there needs to be a HTTP specific | ||
policy object created. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A resource like https://gateway-api.sigs.k8s.io/v1alpha2/references/policy-attachment/ might be a reasonable way of handling this in the future?
- Ingress policy - assuming clients present the correct identity, this *should* | ||
work for some kind of ingress. Unfortunately, it does not cover many of the | ||
common use cases (filtering by hostname) and will need to be expanded to cover | ||
this use case. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This might be a relevant case to consider proposing TrafficTarget
at some point in the future (maybe with a different name to better reflect its authorization purpose?) as an extension to the Kubernetes Gateway API, which I believe intends to support some forms of authentication, but AFAIK doesn't yet have any way of representing those (JWT identity is probably something that would be desirable to add at that point).
Also add some clarification around security model Signed-off-by: Keith Mattix II <[email protected]>
33d7527
to
2340800
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great Keith
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks @keithmattix 🏅
6ef1d7e
Multiple podLabelSelectors doesn't seem necessary and the semantics around such configuration are confusing. If the need arises for multiple selectors, we can reconsider, but let's keep it simple for now Signed-off-by: Keith Mattix II <[email protected]>
6ef1d7e
to
4314b5f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
This PR adds a new TrafficAccess resource: IdentityBinding. Note that a new release with this change would advance TrafficAccess to v1alpha4 and modify
TrafficTarget
to accept a(n) (optional) group along with a kind for source and destination resouces.