爱马仕更新
This commit is contained in:
+31
-2
@@ -4,6 +4,7 @@ metadata:
|
|||||||
name: hermes
|
name: hermes
|
||||||
namespace: hermes
|
namespace: hermes
|
||||||
spec:
|
spec:
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
type: Recreate
|
type: Recreate
|
||||||
replicas: 1
|
replicas: 1
|
||||||
@@ -15,11 +16,23 @@ spec:
|
|||||||
labels:
|
labels:
|
||||||
app: hermes
|
app: hermes
|
||||||
spec:
|
spec:
|
||||||
|
securityContext:
|
||||||
|
fsGroup: 1000
|
||||||
volumes:
|
volumes:
|
||||||
- name: data
|
- name: data
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /data/hermes
|
path: /data/hermes
|
||||||
type: DirectoryOrCreate
|
type: DirectoryOrCreate
|
||||||
|
- name: tools
|
||||||
|
hostPath:
|
||||||
|
path: /data/tools
|
||||||
|
type: DirectoryOrCreate
|
||||||
|
- name: projects
|
||||||
|
hostPath:
|
||||||
|
path: /data/code-server/coder
|
||||||
|
type: DirectoryOrCreate
|
||||||
|
- name: tmp
|
||||||
|
emptyDir: {}
|
||||||
containers:
|
containers:
|
||||||
- name: gateway
|
- name: gateway
|
||||||
#image: cr.wetofu.me/nousresearch/hermes-agent:v2026.5.16
|
#image: cr.wetofu.me/nousresearch/hermes-agent:v2026.5.16
|
||||||
@@ -43,9 +56,21 @@ spec:
|
|||||||
- secretRef:
|
- secretRef:
|
||||||
name: hermes
|
name: hermes
|
||||||
optional: true
|
optional: true
|
||||||
|
- configMapRef:
|
||||||
|
name: hermes
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: data
|
- name: data
|
||||||
mountPath: /opt/data
|
mountPath: /opt/data
|
||||||
|
- name: tools
|
||||||
|
mountPath: /opt/data/home/.local
|
||||||
|
subPath: .local
|
||||||
|
- name: tools
|
||||||
|
mountPath: /opt/data/home/.config
|
||||||
|
subPath: .config
|
||||||
|
- name: projects
|
||||||
|
mountPath: /opt/data/workspace/Projects
|
||||||
|
- name: tmp
|
||||||
|
mountPath: /tmp
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
memory: "1Gi"
|
memory: "1Gi"
|
||||||
@@ -73,9 +98,13 @@ spec:
|
|||||||
- secretRef:
|
- secretRef:
|
||||||
name: hermes
|
name: hermes
|
||||||
optional: true
|
optional: true
|
||||||
|
- configMapRef:
|
||||||
|
name: hermes
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: data
|
- name: data
|
||||||
mountPath: /opt/data
|
mountPath: /opt/data
|
||||||
|
- name: tmp
|
||||||
|
mountPath: /tmp
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
memory: "256Mi"
|
memory: "256Mi"
|
||||||
|
|||||||
@@ -15,5 +15,10 @@ secretGenerator:
|
|||||||
- secrets/TELEGRAM_BOT_TOKEN
|
- secrets/TELEGRAM_BOT_TOKEN
|
||||||
- secrets/DEEPSEEK_API_KEY
|
- secrets/DEEPSEEK_API_KEY
|
||||||
- secrets/API_SERVER_KEY
|
- secrets/API_SERVER_KEY
|
||||||
- secrets/GATEWAY_ALLOW_ALL_USERS
|
|
||||||
type: Opaque
|
type: Opaque
|
||||||
|
configMapGenerator:
|
||||||
|
- name: hermes
|
||||||
|
files:
|
||||||
|
- config/GATEWAY_ALLOW_ALL_USERS
|
||||||
|
- config/TELEGRAM_OBSERVE_UNMENTIONED_GROUP_MESSAGES
|
||||||
|
- config/TELEGRAM_REQUIRE_MENTION
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
true
|
|
||||||
Reference in New Issue
Block a user