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

cluster: add cluster reconciler and create connections #5260

Merged
merged 1 commit into from
Dec 8, 2021
Merged

Conversation

nicks
Copy link
Member

@nicks nicks commented Dec 8, 2021

Hello @milas,

Please review the following commits I made in branch nicks/cluster2:

81c5297 (2021-12-07 19:19:33 -0500)
cluster: add cluster reconciler and create connections

Code review reminders, by giving a LGTM you attest that:

  • Commits are adequately tested
  • Code is easy to understand and conforms to style guides
  • Incomplete code is marked with TODOs
  • Code is suitably instrumented with logging and metrics

@nicks nicks requested a review from milas December 8, 2021 00:20
// If no Host is specified, use the default Env from environment variables.
env := docker.Env(r.localDockerEnv)
if obj.Host != "" {
env = docker.Env{Host: obj.Host}
Copy link
Contributor

Choose a reason for hiding this comment

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

Won't you generally also need TLS client certs in this case?

Copy link
Member Author

Choose a reason for hiding this comment

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

yep! i think there are some notes on this in the API structs - we're eventually going to need to support all the major docker client options. But for now i just wanted to have a placeholder here to demo what it would look like.

Copy link
Member Author

Choose a reason for hiding this comment

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

(my current old-school remote cluster uses TCP+an authenticated tailscale tunnel without any client certs)

@nicks nicks merged commit 200f3d0 into master Dec 8, 2021
@nicks nicks deleted the nicks/cluster2 branch December 8, 2021 21:52
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.

None yet

2 participants