-
Notifications
You must be signed in to change notification settings - Fork 66
/
50-ingress-with-dns.yaml
33 lines (33 loc) · 1.26 KB
/
50-ingress-with-dns.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
dns.gardener.cloud/dnsnames: '*'
# If you are delegating the DNS management to Gardener, uncomment the following line (see https://gardener.cloud/documentation/guides/administer_shoots/dns_names/)
#dns.gardener.cloud/class: garden
# If you are delegating the certificate management to Gardener, uncomment the following line (see https://gardener.cloud/documentation/guides/administer_shoots/x509_certificates/)
#cert.gardener.cloud/purpose: managed
#dns.gardener.cloud/ttl: "500"
#dns.gardener.cloud/owner-id: second
#dns.gardener.cloud/ip-stack: dual-stack # AWS-route 53 only: enable both A and AAAA alias targets
#dns.gardener.cloud/resolve-targets-to-addresses: "true"
# To temporarily skip reconciliation of created entries
#dns.gardener.cloud/ignore: "true"
name: test-ingress
namespace: default
spec:
rules:
- host: test.ingress.my-dns-domain.com
http:
paths:
- backend:
service:
name: my-service
port:
number: 9000
path: /
pathType: Prefix
tls:
- hosts:
- test.ingress.my-dns-domain.com
secretName: my-cert-secret-name