-
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
Add possibility to disable SPIFFE cert validation per envoy instance #3014
Add possibility to disable SPIFFE cert validation per envoy instance #3014
Conversation
Signed-off-by: Anton Kaymakchi <anton.kaymakchi@transferwise.com>
Signed-off-by: Anton Kaymakchi <anton.kaymakchi@transferwise.com>
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.
Excellent, @StupidScience. Just a few small comments. Thank you for this contribution!
doc/spire_agent.md
Outdated
@@ -321,6 +321,8 @@ support for the [SPIFFE Certificate Validator](https://www.envoyproxy.io/docs/en | |||
extension, which is only available starting with Envoy 1.18. | |||
The default name is configurable (see `default_all_bundles_name` under [SDS Configuration](#sds-configuration). | |||
|
|||
SPIFFE Certificate Validator enabled by default and can be disabled by setting `disable_spiffe_cert_validation` to `true` in [SDS Configuration](#sds-configuration) for all instances or per instance in envoy's node metadata. |
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.
SPIFFE Certificate Validator enabled by default and can be disabled by setting `disable_spiffe_cert_validation` to `true` in [SDS Configuration](#sds-configuration) for all instances or per instance in envoy's node metadata. | |
The [SPIFFE Certificate Validator](https://www.envoyproxy.io/docs/envoy/latest/api-v3/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.proto) configures Envoy to perform SPIFFE authentication. It is used by default but can be disabled by setting `disable_spiffe_cert_validation` to `true` in [SDS Configuration](#sds-configuration). Alternatively, to disable for an individual envoy instance, the `disable_spiffe_cert_validation` key can be configured and set to `false` in the Envoy node metadata. When not used, Envoy will perform standard X.509 certificate chain validation. |
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 is a bit not correct but I've changed so PTAL once again
Signed-off-by: Anton Kaymakchi <anton.kaymakchi@transferwise.com>
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.
Excellent, thank you @StupidScience.
Hi @StupidScience. We're ready to merge this but require PRs to be up to date with the latest main. Can you merge main into this PR, or better yet grant us permissions to push commits on the PR branch? The latter makes it easier for us to manage the merge queue. |
@azdagron sorry, was on holiday so didn't react in time. |
It's not a problem! We worked around it :) |
…3014) Signed-off-by: Anton Kaymakchi <anton.kaymakchi@transferwise.com>
…piffe#3014) Signed-off-by: Anton Kaymakchi <anton.kaymakchi@transferwise.com>
…3014) Signed-off-by: Anton Kaymakchi <anton.kaymakchi@transferwise.com>
…3014) Signed-off-by: Anton Kaymakchi <anton.kaymakchi@transferwise.com>
…piffe#3014) Signed-off-by: Anton Kaymakchi <anton.kaymakchi@transferwise.com>
…piffe#3014) Signed-off-by: Anton Kaymakchi <anton.kaymakchi@transferwise.com>
…3014) Signed-off-by: Anton Kaymakchi <anton.kaymakchi@transferwise.com>
…piffe#3014) Signed-off-by: Anton Kaymakchi <anton.kaymakchi@transferwise.com>
Pull Request check list
Description of change
Added functionality that disables SPIFFE cert validation per instance of envoy by checking presence and value of
disable_spiffe_cert_validation
key in envoy node metadata.Which issue this PR fixes
fixes #3010