From f176be5ddb82ca30bc43b2e03024c4f3595a8424 Mon Sep 17 00:00:00 2001 From: Conan Scott Date: Mon, 2 Feb 2026 14:28:09 +1100 Subject: [PATCH] staaawp putting everything in one manifest, clawman --- manifests/deployment.yaml | 93 ++++++++++++++------------------------- 1 file changed, 34 insertions(+), 59 deletions(-) diff --git a/manifests/deployment.yaml b/manifests/deployment.yaml index 09916b8..3c54681 100644 --- a/manifests/deployment.yaml +++ b/manifests/deployment.yaml @@ -18,63 +18,38 @@ spec: spec: serviceAccountName: default containers: - - name: clawdbox - image: image-registry.openshift-image-registry.svc:5000/park/clawdbox:latest - imagePullPolicy: Always - ports: - - containerPort: 2222 - name: ssh - volumeMounts: - - mountPath: /data - name: data-volume - - mountPath: /home/claw/.ssh - name: ssh-keys - resources: - limits: - memory: "2Gi" - cpu: "1000m" - requests: - memory: "512Mi" - cpu: "250m" - securityContext: - runAsUser: 1000 - runAsGroup: 1000 - fsGroup: 1000 - allowPrivilegeEscalation: false - capabilities: - drop: ["ALL"] - seccompProfile: - type: RuntimeDefault + - name: clawdbox + image: image-registry.openshift-image-registry.svc:5000/park/clawdbox:latest + imagePullPolicy: Always + ports: + - containerPort: 2222 + name: ssh + volumeMounts: + - mountPath: /data + name: data-volume + - mountPath: /home/claw/.ssh + name: ssh-keys + resources: + limits: + memory: "2Gi" + cpu: "1000m" + requests: + memory: "512Mi" + cpu: "250m" + securityContext: + runAsUser: 1000 + runAsGroup: 1000 + fsGroup: 1000 + allowPrivilegeEscalation: false + capabilities: + drop: ["ALL"] + seccompProfile: + type: RuntimeDefault volumes: - - name: data-volume - persistentVolumeClaim: - claimName: clawdbox-pvc - - name: ssh-keys - secret: - secretName: clawdbox-ssh-keys - defaultMode: 0600 ---- -apiVersion: v1 -kind: Service -metadata: - name: clawdbox - labels: - app: clawdbox -spec: - ports: - - port: 2222 - targetPort: 2222 - name: ssh - selector: - app: clawdbox ---- -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - name: clawdbox-pvc -spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 10Gi \ No newline at end of file + - name: data-volume + persistentVolumeClaim: + claimName: clawdbox-pvc + - name: ssh-keys + secret: + secretName: clawdbox-ssh-keys + defaultMode: 0600