-
Notifications
You must be signed in to change notification settings - Fork 89
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
Consume ESS plugin changes #188
Conversation
cd3bd4f
to
d5c8787
Compare
Signed-off-by: ezgidemirel <[email protected]>
Signed-off-by: Alper Rifat Ulucinar <[email protected]>
|
||
// ESSOptions for External Secret Stores. | ||
type ESSOptions struct { | ||
TLSConfig *tls.Config |
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.
How are we going to set the controller.Options.ESSOptions.TLSConfig
? In the current implementation, the provider will panic if the --enable-external-secret-stores
command-line option is passed to the provider but the ESSOptions
is not set.
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.
We're passing the certificate path through env variable and if it's not set, we're not loading the config. You can check the PR as a reference.
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 for the reference PR @ezgidemirel!
Co-authored-by: Alper Rifat Ulucinar <[email protected]>
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 @ezgidemirel, lgtm.
Description of your changes
This change consumes latest crossplane-runtime changes and passes TLS config to upjet based controllers.
Fixes #
I have:
make reviewable
to ensure this PR is ready for review.backport release-x.y
labels to auto-backport this PR if necessary.How has this code been tested
Consumed the change in this PR and tested e2e.