1
0
Fork 0

Prevent Ingress Nginx provider http router to attach to an entrypoint with TLS

Co-authored-by: Gina A. <70909035+gndz07@users.noreply.github.com>
This commit is contained in:
Romain 2026-01-09 17:38:05 +01:00 committed by GitHub
parent 1881434ac6
commit 26f4a669b8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 119 additions and 6 deletions

View file

@ -0,0 +1,23 @@
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: ingress-with-no-annotation
namespace: default
spec:
ingressClassName: nginx
rules:
- host: whoami.localhost
http:
paths:
- backend:
service:
name: whoami
port:
number: 80
path: /
pathType: Prefix
tls:
- hosts:
- whoami.localhost
secretName: whoami-tls