Skip to content

Commit

Permalink
update examples
Browse files Browse the repository at this point in the history
  • Loading branch information
robb-j committed Sep 10, 2022
1 parent 929d356 commit d822f68
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions examples/ingress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,26 @@
# This file tests an Kubernetes ingress
#

apiVersion: networking.k8s.io/v1beta1
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: sample-ingress
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
ingress.kubernetes.io/ssl-redirect: "true"
spec:
ingressClassName: nginx
rules:
- host: example.com
http:
paths:
- path: /
pathType: Prefix
backend:
serviceName: sample-service
servicePort: 80
service:
name: sample-service
port:
number: 80
tls:
- hosts:
- example.com
Expand Down

0 comments on commit d822f68

Please sign in to comment.