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