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

Rename lifecycle-sidecar command to consul-sidecar #428

Merged
merged 1 commit into from
Feb 9, 2021

Conversation

ndhanushkodi
Copy link
Contributor

@ndhanushkodi ndhanushkodi commented Jan 30, 2021

Changes proposed in this PR:

  • Originally, the lifecycle-sidecar's functionality was to register the
    Connect service with Consul. This sidecar will in the near future
    support merged metrics functionality, so this renaming supports that.

NOTE: will wait to merge until the corresponding consul-helm change to change any calls to flags with "lifecycle-sidecar" in the name.

How I've tested this PR:

  • Consul-k8s tests

How I expect reviewers to test this PR:

  • Code review

Checklist:

  • Tests added (no new tests, rename)
  • CHANGELOG entry added (HashiCorp engineers only, community PRs should not add a changelog entry)

@ndhanushkodi ndhanushkodi marked this pull request as ready for review January 30, 2021 03:20
commands.go Show resolved Hide resolved
@lkysow
Copy link
Member

lkysow commented Feb 1, 2021 via email

Copy link
Member

@lkysow lkysow left a comment

Choose a reason for hiding this comment

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

Looking good. A couple places for lifecycle were missed that I could see. Do a quick grep in case I missed some others.

connect-inject/consul_sidecar_test.go Outdated Show resolved Hide resolved
connect-inject/consul_sidecar_test.go Show resolved Hide resolved
connect-inject/health_check_resource_test.go Outdated Show resolved Hide resolved
connect-inject/health_check_resource_test.go Outdated Show resolved Hide resolved
subcommand/consul-sidecar/command.go Outdated Show resolved Hide resolved
subcommand/consul-sidecar/command.go Show resolved Hide resolved
Copy link
Contributor

@thisisnotashwin thisisnotashwin left a comment

Choose a reason for hiding this comment

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

Excellent work here @ndhanushkodi !! Have a few consul -> Consul suggestions. Also, threw in my opinion on the name of the sidecar.

connect-inject/consul_sidecar_test.go Outdated Show resolved Hide resolved
connect-inject/handler.go Outdated Show resolved Hide resolved
connect-inject/handler.go Outdated Show resolved Hide resolved
connect-inject/health_check_resource_test.go Outdated Show resolved Hide resolved
subcommand/inject-connect/command.go Outdated Show resolved Hide resolved
@ndhanushkodi ndhanushkodi force-pushed the rename-sidecar branch 2 times, most recently from 8a1a355 to a872106 Compare February 8, 2021 19:55
Copy link
Contributor

@thisisnotashwin thisisnotashwin left a comment

Choose a reason for hiding this comment

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

Excellent work!!

Originally, the lifecycle-sidecar's functionality was to register the
Connect service with Consul. This sidecar will in the near future
support merged metrics functionality, so this renaming supports that.
Copy link
Member

@lkysow lkysow left a comment

Choose a reason for hiding this comment

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

🌀

@ndhanushkodi ndhanushkodi merged commit 36463fd into master Feb 9, 2021
@ndhanushkodi ndhanushkodi deleted the rename-sidecar branch February 9, 2021 04:33
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.

3 participants