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 uppercase in proxy launch -sidecar-for arg #14034

Merged
merged 1 commit into from
Aug 23, 2022

Conversation

jkirschner-hashicorp
Copy link
Contributor

Closes #13114
Closes #9144

Previously, when launching a sidecar proxy with one of the following commands:

  • consul connect envoy -sidecar-for=...
  • consul connect proxy -sidecar-for=...

... the -sidecar-for argument could only contain lowercase letters, even if
the service was registered with some uppercase letters.

Now, the -sidecar-for argument is treated as case-insensitive.

Testing & Reproduction steps

Tested with a new unit test case only.

Not tested by attempting to launch sidecar proxies manually.

PR Checklist

  • updated test coverage
  • external facing docs updated [N/A]
  • not a security concern

@jkirschner-hashicorp jkirschner-hashicorp added theme/cli Flags and documentation for the CLI interface theme/operator-usability Replaces UX. Anything related to making things easier for the practitioner backport/1.11 labels Aug 5, 2022
Previously, when launching a sidecar proxy with one of the following commands:
- consul connect envoy -sidecar-for=...
- consul connect proxy -sidecar-for=...

... the -sidecar-for argument could only contain lowercase letters, even if
the service was registered with some uppercase letters.

Now, the -sidecar-for argument is treated as case-insensitive.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme/cli Flags and documentation for the CLI interface theme/operator-usability Replaces UX. Anything related to making things easier for the practitioner
Projects
None yet
2 participants