Skip to content

Instantly share code, notes, and snippets.

@marcelo-ochoa
Created June 22, 2021 13:56
Show Gist options
  • Save marcelo-ochoa/58b58b273b33ae44a11c0470d1895635 to your computer and use it in GitHub Desktop.
Save marcelo-ochoa/58b58b273b33ae44a11c0470d1895635 to your computer and use it in GitHub Desktop.
WhoAmi TLS LetsEncrypt cert generation test
# whoami-tls.yaml
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: app-tls
spec:
entryPoints:
- websecure
routes:
- kind: Rule
match: Host(`whoami-oci.hopto.org`)
services:
- name: app-v1
port: 80
tls: # This route uses TLS
certResolver: le # Uses our certificate resolver to get a certificate automatically!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment