Skip to content
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

Merged
merged 3 commits into from
Apr 24, 2023
Merged

Conversation

ezgidemirel
Copy link
Member

@ezgidemirel ezgidemirel commented Apr 13, 2023

Description of your changes

This change consumes latest crossplane-runtime changes and passes TLS config to upjet based controllers.

Fixes #

I have:

  • Read and followed Crossplane's contribution process.
  • Run make reviewable to ensure this PR is ready for review.
  • Added 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.

Signed-off-by: ezgidemirel <[email protected]>
Signed-off-by: Alper Rifat Ulucinar <[email protected]>
pkg/pipeline/templates/controller.go.tmpl Outdated Show resolved Hide resolved

// ESSOptions for External Secret Stores.
type ESSOptions struct {
TLSConfig *tls.Config
Copy link
Collaborator

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.

Copy link
Member Author

@ezgidemirel ezgidemirel Apr 19, 2023

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.

Copy link
Collaborator

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!

Copy link
Collaborator

@ulucinar ulucinar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @ezgidemirel, lgtm.

@ulucinar ulucinar merged commit 549776a into crossplane:main Apr 24, 2023
@ezgidemirel ezgidemirel deleted the ess-plugin branch April 24, 2023 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants