2023-06-20 08:26:05 +00:00
|
|
|
apiVersion: networking.k8s.io/v1
|
2019-08-14 17:16:06 +00:00
|
|
|
kind: Ingress
|
|
|
|
metadata:
|
|
|
|
name: test.ingress.https
|
|
|
|
namespace: default
|
|
|
|
|
|
|
|
spec:
|
|
|
|
rules:
|
|
|
|
- host: whoami.test.https
|
|
|
|
http:
|
|
|
|
paths:
|
|
|
|
- path: /whoami
|
|
|
|
backend:
|
2023-06-20 08:26:05 +00:00
|
|
|
service:
|
|
|
|
name: whoami
|
|
|
|
port:
|
|
|
|
name: http
|
|
|
|
pathType: Prefix
|
2019-08-14 17:16:06 +00:00
|
|
|
tls:
|
|
|
|
- secretName: tls-cert
|