-
Notifications
You must be signed in to change notification settings - Fork 333
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
Add a more systematic way to add transparent-proxy config #8324
Labels
kind/improvement
Improvement on an existing feature
triage/accepted
The issue was reviewed and is complete enough to start working on it
Milestone
Comments
lahabana
added
triage/pending
This issue will be looked at on the next triage meeting
kind/feature
New feature
labels
Nov 13, 2023
Is there use cases where we need to set this twice and we need to merge multiple configs? |
5 tasks
jakubdyszkiewicz
added
kind/improvement
Improvement on an existing feature
triage/accepted
The issue was reviewed and is complete enough to start working on it
and removed
kind/feature
New feature
triage/pending
This issue will be looked at on the next triage meeting
labels
Nov 13, 2023
5 tasks
This was referenced May 9, 2024
This was referenced Jul 8, 2024
Merged
This was referenced Jul 16, 2024
5 tasks
5 tasks
github-actions
bot
added
the
triage/stale
Inactive for some time. It will be triaged again
label
Sep 2, 2024
This issue was inactive for 90 days. It will be reviewed in the next triage meeting and might be closed. |
jakubdyszkiewicz
removed
the
triage/stale
Inactive for some time. It will be triaged again
label
Sep 2, 2024
5 tasks
5 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
kind/improvement
Improvement on an existing feature
triage/accepted
The issue was reviewed and is complete enough to start working on it
Description
At the moment adding transparent proxy config is very cumborsome and error prone.
You have to:
Add to
kuma/pkg/transparentproxy/config/config.go
Lines 11 to 43 in 07fcbed
Add to
kuma/pkg/transparentproxy/config/config.go
Lines 129 to 169 in 07fcbed
Add to config in kumactl install:
kuma/app/kumactl/cmd/install/install_transparent_proxy.go
Lines 20 to 51 in 07fcbed
Add to args:
kuma/app/kumactl/cmd/install/install_transparent_proxy.go
Lines 190 to 222 in 07fcbed
Add to annotations for CNI:
kuma/app/cni/pkg/cni/annotations.go
Lines 20 to 31 in 07fcbed
Map correctly:
kuma/app/cni/pkg/cni/injector_linux.go
Lines 70 to 142 in 07fcbed
Map transparent proxy annotations too:
kuma/pkg/transparentproxy/kubernetes/kubernetes.go
Lines 48 to 137 in 07fcbed
No-one can get that right from the first time.
Is there a better way to do this? Seems like transparent-proxy already uses
pkg/config.Config
which enables env var and json config. Should the annotation maybe just:traffic.kuma.io/transparent-proxy-config-json
?The text was updated successfully, but these errors were encountered: