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

make optional provider config fields optional #3

Merged
merged 1 commit into from
Dec 3, 2021

Conversation

displague
Copy link
Collaborator

The provider offers optional configuration parameters that needed to be supplied. This made configuration less obvious because these optional parameters were not included in the same secret.

The sample secret now includes these optional configuration parameters.

The optional parameters will not be sent to the provider when they are unset. This prevents the error messages one would get from have an empty URL, or a 0 response size setting, or a 0 request timeout setting.

Description of your changes

Fixes #

I have:

  • Read and followed Crossplane's contribution process.
  • Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

Signed-off-by: Marques Johansson <mjohansson@equinix.com>
@displague displague merged commit 4575da7 into main Dec 3, 2021
@displague displague deleted the providerconfig-secrets branch December 3, 2021 23:17
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.

1 participant