feat(ingress): Move to nginx
This commit is contained in:
parent
2fb09b447a
commit
08042317a5
@ -1,18 +1,18 @@
|
||||
apiVersion: traefik.containo.us/v1alpha1
|
||||
kind: IngressRoute
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: headlamp
|
||||
namespace: headlamp
|
||||
annotations:
|
||||
kubernetes.io/ingress.class: "traefik-inter"
|
||||
spec:
|
||||
entryPoints:
|
||||
- websecure
|
||||
routes:
|
||||
- kind: Rule
|
||||
match: Host(`headlamp.entos`)
|
||||
services:
|
||||
- name: headlamp-svc
|
||||
port: 80
|
||||
tls:
|
||||
certResolver: default
|
||||
ingressClassName: nginx-internal
|
||||
rules:
|
||||
- host: headlamp.entos
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: headlamp-svc
|
||||
port:
|
||||
number: 80
|
||||
|
Loading…
Reference in New Issue
Block a user