20 lines
391 B
YAML
20 lines
391 B
YAML
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: test.ingress.https
|
|
namespace: default
|
|
|
|
spec:
|
|
rules:
|
|
- host: whoami.test.https
|
|
http:
|
|
paths:
|
|
- path: /whoami
|
|
backend:
|
|
service:
|
|
name: whoami
|
|
port:
|
|
name: http
|
|
pathType: Prefix
|
|
tls:
|
|
- secretName: tls-cert
|