diff --git a/hermes/deploy.yaml b/hermes/deploy.yaml index 8f54895..41a1d80 100644 --- a/hermes/deploy.yaml +++ b/hermes/deploy.yaml @@ -37,6 +37,22 @@ spec: - name: gateway #image: cr.wetofu.me/nousresearch/hermes-agent:v2026.5.16 image: image + livenessProbe: + httpGet: + path: /health + port: 8642 + initialDelaySeconds: 30 + periodSeconds: 10 + successThreshold: 1 + failureThreshold: 3 + timeoutSeconds: 5 + readinessProbe: + httpGet: + path: /health + port: 8642 + periodSeconds: 3 + successThreshold: 1 + timeoutSeconds: 5 ports: - containerPort: 8642 name: gateway diff --git a/hermes/kustomization.yaml b/hermes/kustomization.yaml index ef17c66..cfcda10 100644 --- a/hermes/kustomization.yaml +++ b/hermes/kustomization.yaml @@ -15,6 +15,7 @@ secretGenerator: - secrets/TELEGRAM_BOT_TOKEN - secrets/DEEPSEEK_API_KEY - secrets/API_SERVER_KEY + - secrets/SIYUAN_TOKEN type: Opaque configMapGenerator: - name: hermes @@ -22,3 +23,4 @@ configMapGenerator: - config/GATEWAY_ALLOW_ALL_USERS - config/TELEGRAM_OBSERVE_UNMENTIONED_GROUP_MESSAGES - config/TELEGRAM_REQUIRE_MENTION + - config/SIYUAN_URL diff --git a/hermes/secrets/SIYUAN_TOKEN b/hermes/secrets/SIYUAN_TOKEN new file mode 100644 index 0000000..91ae895 --- /dev/null +++ b/hermes/secrets/SIYUAN_TOKEN @@ -0,0 +1 @@ +o9mxt18liiq5hr7i \ No newline at end of file