We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
upgradeType
websocket
Description:
Currently this section is automatically added to all dynamic https routes:
[...] "upgradeConfigs": [ { "upgradeType": "websocket" } ] [...]
I was unable to find a way to modify that. For some tools (in my case https://github.com/juanfont/headscale) it's required to change this value.
It would be awesome to have that configurable. Thanks!
The text was updated successfully, but these errors were encountered:
Found a workaround 🎉
Enable EnvoyPatchPolicy: https://gateway.envoyproxy.io/latest/tasks/extensibility/envoy-patch-policy/#enable-envoypatchpolicy
EnvoyPatchPolicy
Apply the policy to the cluster (replace the Gateway in targetRef and the underscored domain in jsonPath with your values)
targetRef
jsonPath
--- apiVersion: gateway.envoyproxy.io/v1alpha1 kind: EnvoyPatchPolicy metadata: name: headscale namespace: envoy-gateway-system spec: targetRef: group: gateway.networking.k8s.io kind: Gateway name: default type: JSONPatch jsonPatches: - type: "type.googleapis.com/envoy.config.route.v3.RouteConfiguration" name: envoy-gateway-system/default/https operation: op: replace jsonPath: "..virtual_hosts[?match(@.name, '.*vpn_example_org')].routes[0].route.upgrade_configs[0]" path: upgrade_type value: tailscale-control-protocol
Sorry, something went wrong.
Two additional use cases:
This issue has been automatically marked as stale because it has not had activity in the last 30 days.
No branches or pull requests
Description:
Currently this section is automatically added to all dynamic https routes:
I was unable to find a way to modify that. For some tools (in my case https://github.com/juanfont/headscale) it's required to change this value.
It would be awesome to have that configurable. Thanks!
The text was updated successfully, but these errors were encountered: