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

Allow falling through to the Insecure option #27

Merged
merged 1 commit into from
Sep 20, 2023

Conversation

negz
Copy link
Member

@negz negz commented Sep 20, 2023

Description of your changes

If --tls-certs-dir is the empty string (i.e. not specified), we try see whether --insecure was supplied. If both are supplied, whichever was supplied last wins. If neither are supplied, you'll get an error that you didn't setup any credentials.

I have:

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

How has this code been tested

It has not yet. 😬 I am about to test it by bumping function-dummy to use this though.

If --tls-certs-dir is the empty string (i.e. not specified), we try see
whether --insecure was supplied. If both are supplied, whichever was
supplied last wins. If neither are supplied, you'll get an error that
you didn't setup any credentials.

Signed-off-by: Nic Cope <[email protected]>
@negz negz merged commit a4ada4f into crossplane:main Sep 20, 2023
7 checks passed
@negz negz deleted the dir-me-maybe branch September 20, 2023 22:55
negz added a commit to negz/function-auto-ready that referenced this pull request Sep 21, 2023
To pull in crossplane/function-sdk-go#27

Signed-off-by: Nic Cope <[email protected]>
negz added a commit to negz/function-dummy that referenced this pull request Sep 21, 2023
To pull in crossplane/function-sdk-go#27

Signed-off-by: Nic Cope <[email protected]>
negz added a commit to negz/function-template-go that referenced this pull request Sep 21, 2023
To bring in crossplane/function-sdk-go#27

Signed-off-by: Nic Cope <[email protected]>
negz added a commit to negz/function-patch-and-transform that referenced this pull request Sep 21, 2023
To bring in crossplane/function-sdk-go#27

Signed-off-by: Nic Cope <[email protected]>
negz added a commit to negz/function-patch-and-transform that referenced this pull request Sep 27, 2023
Mostly to pull in crossplane/function-sdk-go#27

Signed-off-by: Nic Cope <[email protected]>
negz added a commit to negz/function-patch-and-transform that referenced this pull request Oct 22, 2023
Mostly to pull in crossplane/function-sdk-go#27

Signed-off-by: Nic Cope <[email protected]>
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