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

Cherry-pick 4b86064 for having mesh logs in sidecars #465

Open
wants to merge 2 commits into
base: track/1.17
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions charms/istio-pilot/src/charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ def _istioctl_extra_flags(self):

# Extra flags to pass to the istioctl install command
# These flags will configure the container images used by the control plane
# As well as set the access log files for help during debugging
extra_flags = [
"--set",
f"values.pilot.image={pilot_image}",
Expand All @@ -221,6 +222,8 @@ def _istioctl_extra_flags(self):
f"values.global.proxy.image={global_proxy_image}",
"--set",
f"values.global.proxy_init.image={global_proxy_init_image}",
"--set",
"meshConfig.accessLogFile=/dev/stdout",
]

# The following are a set of flags that configure the CNI behaviour
Expand Down
2 changes: 2 additions & 0 deletions charms/istio-pilot/tests/unit/test_charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -1378,6 +1378,8 @@ def test_upgrade_successful(
"values.global.proxy.image=proxyv2",
"--set",
"values.global.proxy_init.image=proxyv2",
"--set",
"meshConfig.accessLogFile=/dev/stdout",
],
)
mocked_istioctl.upgrade.assert_called_with()
Expand Down
Loading