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

Initial integration with consul-dataplane #1470

Merged
merged 1 commit into from
Sep 6, 2022

Conversation

ishustava
Copy link
Contributor

@ishustava ishustava commented Aug 31, 2022

Changes proposed in this PR:

  • Initial integration to inject consul-dataplane instead of Envoy for service mesh containers

How I've tested this PR:
acceptance tests

How I expect reviewers to test this PR:
👀

Checklist:

  • Tests added
  • CHANGELOG entry added

    HashiCorp engineers only, community PRs should not add a changelog entry.
    Entries should use present tense (e.g. Add support for...)

@ishustava ishustava changed the base branch from main to agentless-base August 31, 2022 19:04
@ishustava ishustava force-pushed the ishustava/consul-dataplane-connect branch 8 times, most recently from fa4f9e7 to 63b4d00 Compare September 1, 2022 22:27
@ishustava ishustava marked this pull request as ready for review September 2, 2022 16:28
@ishustava ishustava force-pushed the ishustava/consul-dataplane-connect branch from 63b4d00 to ebf65fd Compare September 2, 2022 16:46
-consul-k8s-image="{{ default .Values.global.imageK8S .Values.connectInject.image }}" \
-release-name="{{ .Release.Name }}" \
-release-namespace="{{ .Release.Namespace }}" \
-resource-prefix={{ template "consul.fullname" . }} \
-listen=:8080 \
-tls-server-name="server.{{ .Values.global.datacenter }}.{{ .Values.global.domain }}" \
Copy link
Contributor Author

@ishustava ishustava Sep 2, 2022

Choose a reason for hiding this comment

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

For now we'll always need to pass TLS server name so that host verification works, but eventually consul-dataplane will infer that if the address is a DNS name.

@@ -536,6 +537,7 @@ func (c *Command) Run(args []string) int {
ConsulHTTPPort: consulURL.Port(),
ConsulGRPCPort: "8502", // todo(ishustava): should be passed via flag
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This will be made configurable in a later PR

@ishustava ishustava force-pushed the ishustava/consul-dataplane-connect branch from ebf65fd to d532079 Compare September 2, 2022 17:55
Copy link
Contributor

@t-eckert t-eckert 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! Be sure to comment out the places where the annotations you commented out are used.

@ishustava ishustava force-pushed the ishustava/consul-dataplane-connect branch from d532079 to dbe61c7 Compare September 2, 2022 18:37
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.

THIS IS EXCELLENT!!

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