-
Notifications
You must be signed in to change notification settings - Fork 476
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
Disabling custom validation per request/envoy-instance #3010
Comments
I think my preference would be to enable the spiffe validator by default, since it is the preferred security posture. Out of those options, i think we should go with the simplest approach and look for a fixed key in the node metadata. If this becomes problematic, we can always add a configurable later to allow for a custom key. I think we should go for an opt-out style of name that matches the configurable on the agent if possible (i.e. |
@azdagron I'm thinking that would be good to have possibility to opt-in per instance as well if it is disabled on agent and you want to enable it for one envoy instance. So when |
I've sent PR #3020 to address this so please take a look if it make sense. |
So continuing this discussion in PR. Would be great to have an option to enable Envoy's SPIFFE custom validator based on request/envoy-instance.
I see the following options here:
enable_spiffe_cert_validation
key and if it is there and set to "true" enable custom validation for this envoy if it is absent or set to something else disable itkey=value
, if key is specified then same as in option above look for this key in envoy's node metadata and enable per-instance, if selector option is empty then validation enabled for all instances (ifdisable_spiffe_cert_validation
not specified).@azdagron WDYT?
The text was updated successfully, but these errors were encountered: