Skip to content

Instantly share code, notes, and snippets.

@lvnilesh
Created November 16, 2019 23:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lvnilesh/37cf3ee0c023b1530e32865c206a4fd9 to your computer and use it in GitHub Desktop.
Save lvnilesh/37cf3ee0c023b1530e32865c206a4fd9 to your computer and use it in GitHub Desktop.
mm ing yaml
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: mattermost
annotations:
kubernetes.io/ingress.class: nginx
#kubernetes.io/tls-acme: "true"
cert-manager.io/cluster-issuer: letsencrypt-prod
spec:
rules:
- host: mattermost.cloudgenius.co
http:
paths:
- backend:
serviceName: mattermost
servicePort: 8000
path: /
tls:
- hosts:
- "mattermost.cloudgenius.co"
secretName: mattermost-tls
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment