Last active
May 24, 2018 06:30
-
-
Save erikaulin/1cf7816d6d4cb2aadc8ccb185f382773 to your computer and use it in GitHub Desktop.
Kubernetes kuard ingress
This file contains hidden or 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
apiVersion: extensions/v1beta1 | |
kind: Ingress | |
metadata: | |
name: kuard | |
annotations: | |
kubernetes.io/tls-acme: "true" | |
kubernetes.io/ingress.class: nginx | |
certmanager.k8s.io/acme-challenge-type: dns01 | |
certmanager.k8s.io/acme-dns01-provider: cloudflare | |
spec: | |
rules: | |
- host: kuard.labs.example.com | |
http: | |
paths: | |
- path: / | |
backend: | |
serviceName: kuard-service | |
servicePort: 80 | |
tls: | |
- hosts: | |
- "kuard.labs.example.com" | |
secretName: kuard-labs-example-tls |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment