fix(hermes): stabilize consumer chat transport

This commit is contained in:
jenkins 2026-08-02 15:25:22 -03:00
parent 5661f9bd20
commit e864d1635a
3 changed files with 17 additions and 4 deletions

View File

@ -4,8 +4,6 @@ items:
- apiVersion: apps/v1 - apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
annotations:
deployment.kubernetes.io/revision: "4"
name: traefik name: traefik
namespace: traefik namespace: traefik
spec: spec:
@ -73,6 +71,14 @@ items:
node-role.kubernetes.io/worker: "true" node-role.kubernetes.io/worker: "true"
affinity: affinity:
nodeAffinity: nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: hardware
operator: In
values:
- rpi5
- rpi4
preferredDuringSchedulingIgnoredDuringExecution: preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100 - weight: 100
preference: preference:
@ -103,6 +109,12 @@ items:
operator: In operator: In
values: values:
- rpi4 - rpi4
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchLabels:
app: traefik
topologyKey: kubernetes.io/hostname
restartPolicy: Always restartPolicy: Always
schedulerName: default-scheduler schedulerName: default-scheduler
serviceAccount: atlas-traefik-ingress-controller serviceAccount: atlas-traefik-ingress-controller

View File

@ -3,7 +3,7 @@
apiVersion: batch/v1 apiVersion: batch/v1
kind: Job kind: Job
metadata: metadata:
name: hermes-access-oidc-client-ensure-2 name: hermes-access-oidc-client-ensure-3
namespace: sso namespace: sso
spec: spec:
backoffLimit: 3 backoffLimit: 3

View File

@ -56,7 +56,8 @@ chat_payload="$(jq -nc \
baseUrl:"/", baseUrl:"/",
attributes:{ attributes:{
"pkce.code.challenge.method":"S256", "pkce.code.challenge.method":"S256",
"post.logout.redirect.uris":$web_origin "post.logout.redirect.uris":$web_origin,
"access.token.lifespan":"1200"
} }
}')" }')"