fix: правильный ingress /cron → metrics-collector, чистый console v1.3.58, запрет костылей

This commit is contained in:
“Naeel”
2026-05-07 12:06:27 +04:00
parent 72004dd943
commit a9a81ce403
8 changed files with 54 additions and 15 deletions
+3 -8
View File
@@ -52,7 +52,7 @@ spec:
serviceAccountName: fission-console
containers:
- name: console
image: naeel/fission-console:v1.3.56
image: naeel/fission-console:v1.3.58
imagePullPolicy: Always
ports:
- containerPort: 8090
@@ -146,13 +146,8 @@ spec:
name: fission-console
port:
number: 8090
- path: /cron
pathType: Prefix
backend:
service:
name: fission-console
port:
number: 8090
# ⛔ /cron НЕ ПРИНАДЛЕЖИТ console. Ingress /cron → metrics-collector:8091 (metrics-collector/deploy/metrics-collector.yaml)
# ⛔ НЕ ДОБАВЛЯТЬ /cron сюда — это сломает независимость сервисов.
tls:
- hosts:
- fission.kube5s.ru
+3 -3
View File
@@ -19,10 +19,10 @@ import (
)
const (
timeTriggerDefaultMethod = http.MethodPost
timeTriggerDefaultMethod = http.MethodPost
timeTriggerDefaultSubPath = "/"
timeTriggerMaxNameLen = 63
cronGatewayURL = "http://fission-console.fission.svc.cluster.local"
cronGatewayURL = "http://fission-console.fission.svc.cluster.local"
)
var validTimeTriggerMethods = map[string]struct{}{
@@ -502,4 +502,4 @@ func errStatus(err error) int {
return ae.status
}
return http.StatusInternalServerError
}
}
+2 -2
View File
@@ -102,7 +102,7 @@
<div class="nubes">NUBES</div>
<div class="product">FISSION CONSOLE</div>
</div>
<div style="font-size:0.65rem; color:var(--text-secondary); margin-left:10px; align-self:center; opacity:0.7;">v1.3.56</div>
<div style="font-size:0.65rem; color:var(--text-secondary); margin-left:10px; align-self:center; opacity:0.7;">v1.3.58</div>
</div>
<div class="row" style="margin:0;">
<button class="btn ghost" onclick="reloadAll()">Refresh</button>
@@ -462,7 +462,7 @@
</div>
<div class="actions" style="justify-content:space-between; align-items:center;">
<span style="font-size:0.75rem; color:var(--text-secondary);">v1.3.56</span>
<span style="font-size:0.75rem; color:var(--text-secondary);">v1.3.58</span>
<button class="btn ghost" onclick="closeHelp()">Закрыть</button>
</div>
</div>