Created
November 3, 2019 16:07
-
-
Save agileguy/8d8d8c2c4d8ffe09c77a8f2212c69644 to your computer and use it in GitHub Desktop.
Ingress for blog
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
apiVersion: extensions/v1beta1 | |
kind: Ingress | |
metadata: | |
name: blog-devopsculture | |
annotations: | |
nginx.ingress.kubernetes.io/ssl-redirect: 'true' | |
kubernetes.io/ingress.class: nginx | |
certmanager.k8s.io/cluster-issuer: blog-letsencrypt | |
spec: | |
tls: | |
- hosts: | |
- blog.devopsculture | |
secretName: blog-devopsculture | |
rules: | |
- host: blog-devopsculture.ca | |
http: | |
paths: | |
- path: / | |
backend: | |
serviceName: blog-devopsculture | |
servicePort: 2368 | |
- host: blog.devopsculture.ca | |
http: | |
paths: | |
- path: / | |
backend: | |
serviceName: blog-devopsculture | |
servicePort: 2368 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment