Skip to content

Instantly share code, notes, and snippets.

@lamw
Created April 23, 2021 17:31
Show Gist options
  • Select an option

  • Save lamw/4e3206fc8e13c3280a0074c9f50498d3 to your computer and use it in GitHub Desktop.

Select an option

Save lamw/4e3206fc8e13c3280a0074c9f50498d3 to your computer and use it in GitHub Desktop.
ingressroute-gateway-modified.yaml
---
apiVersion: projectcontour.io/v1
kind: HTTPProxy
metadata:
annotations:
kubernetes.io/ingress.class: contour-external
labels:
app: vmware
name: event-router
namespace: vmware-system
spec:
routes:
- conditions:
- prefix: /status
pathRewritePolicy:
replacePrefix:
- replacement: /status
services:
- name: tinywww
port: 8100
- conditions:
- prefix: /bootstrap
pathRewritePolicy:
replacePrefix:
- replacement: /bootstrap
services:
- name: tinywww
port: 8100
- conditions:
- prefix: /stats
pathRewritePolicy:
replacePrefix:
- replacement: /stats
services:
- name: vmware-event-router
port: 8082
virtualhost:
fqdn: REPLACE-WITH-VEBA-FQDN
tls:
minimumProtocolVersion: "1.2"
secretName: eventrouter-tls
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment