Created
June 22, 2021 13:56
-
-
Save marcelo-ochoa/58b58b273b33ae44a11c0470d1895635 to your computer and use it in GitHub Desktop.
WhoAmi TLS LetsEncrypt cert generation test
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
# 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