Skip to content

Instantly share code, notes, and snippets.

@fhsinchy
Last active February 1, 2022 07:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fhsinchy/35501ad7efca5ca50a95d609af0b2721 to your computer and use it in GitHub Desktop.
Save fhsinchy/35501ad7efca5ca50a95d609af0b2721 to your computer and use it in GitHub Desktop.
apiVersion: getambassador.io/v3alpha1
kind: Listener
metadata:
name: emissary-listener
spec:
port: 80
protocol: HTTP
securityModel: INSECURE
hostBinding:
selector:
matchLabels:
component: web
---
apiVersion: getambassador.io/v3alpha1
kind: Host
metadata:
name: emissary-host
labels:
component: web
spec:
hostname: "my.awesome.app"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment