You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
In PR #3563, we added the ability to configure the traffic agent security context. It looks like in a later commit/merge, the Chart's deployment.yaml was affected, and disturbed the chart logic here. This has since been released into v2.19.0.
You can see that the AGENT_SECURITY_CONTEXT block was moved to inside the if .prometheus.port guard. This is incorrect and will result in the AGENT_SECURITY_CONTEXT block not getting rendered unless we also set prometheus.port.
To Reproduce
Steps to reproduce the behavior:
Set agent.securityContext in the helm values
Install the traffic manager chart
Observe that the traffic manager deployment does not include AGENT_SECURITY_CONTEXT environment variable.
Expected behavior AGENT_SECURITY_CONTEXT is configured when agent.securityContext helm value is set.
Versions (please complete the following information):
Operating system of workstation running telepresence commands
Red Hat Enterprise Linux 8.8
Kubernetes environment and Version [e.g. Minikube, bare metal, Google Kubernetes Engine]
kind
VPN-related bugs:
If you're reporting an issue around telepresence connectivity when using a VPN,
and are running Telepresence 2.4.8 or above, please also attach the output
of telepresence test-vpn, and the following information:
Which VPN client are you using?
Which VPN server are you using?
How is your VPN pushing DNS configuration? It may be useful to add the contents of /etc/resolv.conf
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
bpfoster
changed the title
Bad merge causes AGENT_SECURITY_CONTEXT to not get rendered
Bad merge causes helm AGENT_SECURITY_CONTEXT variable to not get rendered
Jun 21, 2024
Describe the bug
In PR #3563, we added the ability to configure the traffic agent security context. It looks like in a later commit/merge, the Chart's deployment.yaml was affected, and disturbed the chart logic here. This has since been released into v2.19.0.
You can see that the
AGENT_SECURITY_CONTEXT
block was moved to inside theif .prometheus.port
guard. This is incorrect and will result in theAGENT_SECURITY_CONTEXT
block not getting rendered unless we also setprometheus.port
.To Reproduce
Steps to reproduce the behavior:
agent.securityContext
in the helm valuesAGENT_SECURITY_CONTEXT
environment variable.Expected behavior
AGENT_SECURITY_CONTEXT
is configured whenagent.securityContext
helm value is set.Versions (please complete the following information):
telepresence version
telepresence
commandsRed Hat Enterprise Linux 8.8
kind
VPN-related bugs:
If you're reporting an issue around telepresence connectivity when using a VPN,
and are running Telepresence 2.4.8 or above, please also attach the output
of
telepresence test-vpn
, and the following information:Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: