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

Introduce sidecar injection for the gateway #14

Merged
merged 9 commits into from
Dec 1, 2023

Conversation

marc-barry
Copy link
Member

This pull request introduces sidecar injection of qtap as a proxy. To make use of this new functionality the annotations for a pod will need to be modify during Helm chart installation: https://github.com/qpoint-io/helm-charts/blob/59ac28869297de3450a0fa1dc061b76ef7809248/charts/qtap-operator/values.yaml#L46-L51

The setup is as follows:

Once the above is complete the operator will inject both the init container and the sidecar. An example configuration for the pod annotations is as follows:

defaultPodAnnotationsConfigmap:
  annotationsYaml: |-
    qpoint.io/inject-ca: "true"
    qpoint.io/egress-init-tag: "v0.0.7"
    qpoint.io/qtap-tag: "v0.0.9"
    qpoint.io/egress-port-mapping: "10080:80,10443:443,10000:"
    qpoint.io/log-level: "info"
    qpoint.io/block-unknown: "false"
    qpoint.io/dns-lookup-family: "V4_ONLY"

api/v1/egress.go Outdated Show resolved Hide resolved
@marc-barry marc-barry merged commit 90f9573 into main Dec 1, 2023
1 check passed
@marc-barry marc-barry deleted the marc-barry/inject-gateway branch December 1, 2023 15:31
Copy link

@atruslow atruslow left a comment

Choose a reason for hiding this comment

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

👍

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