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

Refactor client to accept TLS connections #570

Merged
merged 10 commits into from
Mar 28, 2023
Merged

Refactor client to accept TLS connections #570

merged 10 commits into from
Mar 28, 2023

Conversation

guineveresaenger
Copy link
Contributor

Fixes #533.

This pull request reads in configuration from the stack config into the native provider part of the Docker provider.

It forwards these values to the Image resource, and uses them to configure a Docker client with the capability of accepting TLS configuration settings as defined in the schema.

The code verifies that the settings exist, and it instantiates a custom client if they do. Prior art for this logic is implemented in the upstream provider.

@github-actions
Copy link

Does the PR have any schema changes?

Looking good! No breaking changes found.
No new resources/functions.

@github-actions
Copy link

Does the PR have any schema changes?

Looking good! No breaking changes found.
No new resources/functions.

Copy link
Member

@aureq aureq left a comment

Choose a reason for hiding this comment

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

This looks great. I have left 2 related comments.

provider/image.go Outdated Show resolved Hide resolved
provider/image.go Outdated Show resolved Hide resolved
@aureq
Copy link
Member

aureq commented Mar 28, 2023

@guineveresaenger Let me know if my 2 comments make sense and if you'd like to discuss them. But overall, this is an awesome work! Can't wait to test it.

@github-actions
Copy link

Does the PR have any schema changes?

Looking good! No breaking changes found.
No new resources/functions.

Copy link
Contributor

@jazzyfresh jazzyfresh left a comment

Choose a reason for hiding this comment

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

all good except the one local dependency import

provider/go.mod Outdated Show resolved Hide resolved
provider/image.go Outdated Show resolved Hide resolved
provider/image.go Show resolved Hide resolved
provider/image.go Show resolved Hide resolved
provider/image.go Outdated Show resolved Hide resolved
provider/provider.go Outdated Show resolved Hide resolved
@github-actions
Copy link

Does the PR have any schema changes?

Looking good! No breaking changes found.
No new resources/functions.

Copy link
Member

@aureq aureq left a comment

Choose a reason for hiding this comment

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

I think @jazzyfresh has raised some excellent points throughout the PR. Everything else looks good to me.

guineveresaenger and others added 2 commits March 28, 2023 13:46
Co-authored-by: Jasmine Dahilig <jasmine@pulumi.com>
@github-actions
Copy link

Does the PR have any schema changes?

Looking good! No breaking changes found.
No new resources/functions.

1 similar comment
@github-actions
Copy link

Does the PR have any schema changes?

Looking good! No breaking changes found.
No new resources/functions.

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.

Unable to get pulumi-docker communicate over TLS
3 participants