Last active
May 3, 2024 14:00
-
-
Save x95castle1/5fa385caaeb3a5276a0ebbc0b7512bfd to your computer and use it in GitHub Desktop.
Updated TAP GUI HTTPProxy to handle Session Affinity
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#@ load("@ytt:overlay", "overlay") | |
#@overlay/match by=overlay.subset({"kind":"HTTPProxy","metadata":{"name":"tap-gui"}}) | |
--- | |
spec: | |
routes: | |
#@overlay/match by=overlay.subset({"services": [{"name": "server"}]}) | |
- services: [] | |
#@overlay/match missing_ok=True | |
loadBalancerPolicy: | |
strategy: Cookie |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: projectcontour.io/v1 | |
kind: HTTPProxy | |
metadata: | |
name: tap-gui | |
namespace: tap-gui | |
spec: | |
routes: | |
- services: | |
- name: server | |
port: 7000 | |
virtualhost: | |
fqdn: tap-gui.view.upgrade.tapsme.org | |
tls: | |
secretName: tap-gui-cert |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment