一堆更新

This commit is contained in:
Sense T
2026-05-25 09:16:04 +00:00
parent f591c618e4
commit 646e09c4d8
4 changed files with 88 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
secret/
+50
View File
@@ -0,0 +1,50 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: ironclaw
spec:
strategy:
type: Recreate
selector:
matchLabels:
app: ironclaw
template:
metadata:
labels:
app: ironclaw
spec:
volumes:
- name: data
hostPath:
path: /data/ironclaw
type: ""
- name: projects
hostPath:
path: /data/code-server/coder
type: DirectoryOrCreate
- name: tmp
emptyDir: {}
containers:
- name: ironclaw
image: image
resources:
requests:
memory: "256Mi"
cpu: "100m"
limits:
memory: "1Gi"
cpu: "1"
ports:
- containerPort: 3000
volumeMounts:
- name: data
mountPath: /home/ironclaw
- name: projects
mountPath: /home/ironclaw/.ironclaw/workspace/Projects
- name: tmp
mountPath: /tmp
envFrom:
- configMapRef:
name: ironclaw
- secretRef:
name: ironclaw
+23
View File
@@ -0,0 +1,23 @@
# yaml-language-server: $schema=https://json.schemastore.org/kustomization.json
kind: Kustomization
resources:
- deploy.yaml
- service.yaml
images:
- name: image
newName: cr.wetofu.me/nearaidev/ironclaw
newTag: 0.28.1
configMapGenerator:
- name: ironclaw
files:
- config/DATABASE_BACKEND
- config/ONBOARD_COMPLETED
- config/AGENT_NAME
- config/HTTP_HOST
secretGenerator:
- name: ironclaw
files:
- secret/DATABASE_URL
- secret/SECRETS_MASTER_KEY
- secret/LLM_API_KEY
- secret/TELEGRAM_BOT_TOKEN
+14
View File
@@ -0,0 +1,14 @@
apiVersion: v1
kind: Service
metadata:
name: ironclaw
spec:
selector:
app: ironclaw
ports:
- port: 3000
targetPort: 3000
ipFamilies:
- IPv4
- IPv6
ipFamilyPolicy: PreferDualStack