admin-console: add proper Ingress resource, fix namespace detail routing
This commit is contained in:
@@ -93,3 +93,28 @@ spec:
|
|||||||
ports:
|
ports:
|
||||||
- port: 8091
|
- port: 8091
|
||||||
targetPort: 8091
|
targetPort: 8091
|
||||||
|
---
|
||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
name: fission-admin-console
|
||||||
|
namespace: fission
|
||||||
|
annotations:
|
||||||
|
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
|
||||||
|
spec:
|
||||||
|
ingressClassName: nginx
|
||||||
|
rules:
|
||||||
|
- host: fission.kube5s.ru
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- backend:
|
||||||
|
service:
|
||||||
|
name: fission-admin-console
|
||||||
|
port:
|
||||||
|
number: 8091
|
||||||
|
path: /admin
|
||||||
|
pathType: Prefix
|
||||||
|
tls:
|
||||||
|
- hosts:
|
||||||
|
- fission.kube5s.ru
|
||||||
|
secretName: fission-tls
|
||||||
|
|||||||
Reference in New Issue
Block a user