BackendTLSPolicy and RBAC/persona model #3226
Replies: 1 comment 2 replies
-
I tend to agree with you that BackendTLSPolicy should not be owned by Ana (the App Dev). BackendTLSPolicy defines:
I think that 1 should be controlled by the Gateway owner (Chihiro), and the exception is just that in some rare cases we'll need per-Service configuration for this, not that the App Owner should be the one that owns this piece. In my opinion, 2 is something that is very likely to be unique per application, though could be shared across multiple overlapping Services (foo, foo-v1, foo-v2). It likely makes sense for Ana to be the one to configure this. I think that 3 is very similar to 1 in terms of ownership (Chihiro/Gateway owner + room for per-Service overrides). I think this largely matches what others have already been saying in #3180. So let's summarize that in a table:
I think I had this high level idea when I suggested that we may want to specify BackendTLS validation config at a Gateway level in the TLS memorandum GEP. In the context of #3180, I think it's clear that we should start with Gateway-level config, but this is also highlighting that BackendTLSPolicy may not be clearly aligned with personas, and we should revisit that before we try to push it to GA. /cc @candita @youngnick |
Beta Was this translation helpful? Give feedback.
-
Hi there,
During discussion in PR: #3180 (comment), I started to wonder how does the BackendTLSPolicy fit the persona model.
https://gateway-api.sigs.k8s.io/concepts/security-model/#rbac doesn't mention BackendTLSPolicy or any policy resources explicitly, intuitively I would associate it with Ian or Chichiro, while the current experiment proposal seems to associate it with Ana, as per: https://gateway-api.sigs.k8s.io/api-types/backendtlspolicy/
What would be the correct persona for BackendTLSPolicy and should it reside in the same namespace as service?
Beta Was this translation helpful? Give feedback.
All reactions