Skip to content

Instantly share code, notes, and snippets.

@lfache
Created May 26, 2020 20:36
Show Gist options
  • Save lfache/8fc545ca2cb2c74edab50ea5ca1838ad to your computer and use it in GitHub Desktop.
Save lfache/8fc545ca2cb2c74edab50ea5ca1838ad to your computer and use it in GitHub Desktop.
Whoami for Traefik example with HTTPS
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: ingressroutetls
spec:
entryPoints:
- websecure
routes:
- match: Host(`mydomain.com`)
kind: Rule
services:
- name: whoami-app
port: 80
tls: # This route uses TLS
certResolver: myresolver
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment