API at /api/* — UI owns clean URLs at /, /instances, /servers

This commit is contained in:
git_admin
2026-04-26 19:53:51 +03:00
parent 563a94281a
commit 6d17a877e8
2 changed files with 3 additions and 3 deletions

View File

@@ -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:

View File

@@ -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: