Created
November 9, 2018 04:21
-
-
Save sudermanjr/dac902a87f24918fec923940682511db to your computer and use it in GitHub Desktop.
Kube202 Ingress with TLS
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: | |
annotations: | |
kubernetes.io/ingress.class: nginx | |
nginx.ingress.kubernetes.io/force-ssl-redirect: "true" | |
certmanager.k8s.io/cluster-issuer: letsencrypt-prod | |
name: test-ingress | |
namespace: kube202 | |
spec: | |
rules: | |
- host: nginx-test.do.sudermanjr.com | |
http: | |
paths: | |
- backend: | |
serviceName: test-service | |
servicePort: 80 | |
tls: | |
- hosts: | |
- nginx-test.do.sudermanjr.com | |
secretName: test-https-cert |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment