Skip to content

Instantly share code, notes, and snippets.

@nurlanf
Created October 21, 2021 12:52
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 nurlanf/499de200146cf4cf47abf39557f07afa to your computer and use it in GitHub Desktop.
Save nurlanf/499de200146cf4cf47abf39557f07afa to your computer and use it in GitHub Desktop.
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: myservice-ingress
annotations:
kubernetes.io/ingress.class: nginx
spec:
rules:
- host: my.example.com
http:
paths:
- backend:
serviceName: myservice
servicePort: 80
path: /
tls:
- hosts:
- '*.example.com'
- my.example.com
secretName: wildcard-example-com-tls
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment