seperated manifests

This commit is contained in:
2026-02-02 13:36:02 +11:00
parent a1cd6d88cd
commit 454677fd14
3 changed files with 46 additions and 44 deletions

View File

@@ -18,7 +18,7 @@ spec:
spec:
containers:
- name: clawdbox
image: image-registry.openshift-image-registry.svc:5000/park/clawdbox:latest
image: image-registry.openshift-image-registry.svc:5000/clawdbox/clawdbox:latest
imagePullPolicy: Always
ports:
- containerPort: 2222
@@ -75,3 +75,4 @@ spec:
resources:
requests:
storage: 10Gi

View File

@@ -1,12 +1,11 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: clawdbox-home
name: clawdbox-pvc
namespace: clawdbox
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 4Gi
# storageClassName: <set if you want to pin it>
storage: 10Gi

View File

@@ -3,10 +3,12 @@ kind: Service
metadata:
name: clawdbox
namespace: clawdbox
labels:
app: clawdbox
spec:
selector:
app.kubernetes.io/name: clawdbox
ports:
- name: ssh
port: 22
targetPort: 22
- port: 2222
targetPort: 2222
name: ssh
selector:
app: clawdbox