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

Fix invalid vs panic and lazyload supports old istio version #158

Merged
merged 2 commits into from
Jun 21, 2022

Conversation

cywang1905
Copy link
Contributor

@cywang1905 cywang1905 commented Jun 21, 2022

1.some invalid vs can cause vs controller panic, fix this problem
2.global-sidecar runs in privileged mode
3.global-sidecar supoorts istio version 1.7+ plugin name
4.lua plugin usage changed,due to compatibale with istio 1.7
5.global-sidecar supports customize pod annotations

@cywang1905 cywang1905 added bug Something isn't working feature labels Jun 21, 2022
@@ -266,9 +277,15 @@ spec:
name: 0.0.0.0_{{ . }}
filterChain:
filter:
{{- if $gs.oldVersion }}
Copy link
Contributor

Choose a reason for hiding this comment

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

old version of what?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

change to legacyFilterName

@@ -290,11 +313,7 @@ spec:
typed_per_filter_config:
envoy.filters.http.lua:
"@type": type.googleapis.com/envoy.extensions.filters.http.lua.v3.LuaPerRoute
source_code:
Copy link
Contributor

Choose a reason for hiding this comment

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

why we move the add-source-ns-header lua code from per-route filter config to filter config?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

compatiable with istio 1.7, cause istio 1.7 related envoy does support source_code param

@YonkaFang YonkaFang merged commit 743cf33 into slime-io:master Jun 21, 2022
@cywang1905 cywang1905 added lazyload and removed bug Something isn't working labels Jun 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants