API at /api/* — UI owns clean URLs at /, /instances, /servers
This commit is contained in:
@@ -19,7 +19,7 @@ spec:
|
|||||||
- {{ .Values.ingress.entryPoint }}
|
- {{ .Values.ingress.entryPoint }}
|
||||||
routes:
|
routes:
|
||||||
{{- if .Values.backend.enabled }}
|
{{- if .Values.backend.enabled }}
|
||||||
- match: Host(`{{ .Values.ingress.domain }}`) && (PathPrefix(`/healthz`) || PathPrefix(`/instances`) || PathPrefix(`/servers`) || PathPrefix(`/api`))
|
- match: Host(`{{ .Values.ingress.domain }}`) && (PathPrefix(`/api`) || PathPrefix(`/healthz`))
|
||||||
kind: Rule
|
kind: Rule
|
||||||
priority: 200
|
priority: 200
|
||||||
services:
|
services:
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ backend:
|
|||||||
enabled: true
|
enabled: true
|
||||||
image:
|
image:
|
||||||
repository: docker.io/odoosky/tower
|
repository: docker.io/odoosky/tower
|
||||||
tag: "0.6.0"
|
tag: "0.6.1"
|
||||||
pullPolicy: IfNotPresent # IfNotPresent because the image is in
|
pullPolicy: IfNotPresent # IfNotPresent because the image is in
|
||||||
# containerd's k8s.io namespace already
|
# containerd's k8s.io namespace already
|
||||||
# (lab1 single-server). Replace with
|
# (lab1 single-server). Replace with
|
||||||
@@ -22,7 +22,7 @@ frontend:
|
|||||||
enabled: true
|
enabled: true
|
||||||
image:
|
image:
|
||||||
repository: docker.io/odoosky/tower-ui
|
repository: docker.io/odoosky/tower-ui
|
||||||
tag: "0.4.0"
|
tag: "0.4.1"
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
replicas: 1
|
replicas: 1
|
||||||
resources:
|
resources:
|
||||||
|
|||||||
Reference in New Issue
Block a user