Compare commits

..

5 Commits

Author SHA1 Message Date
99b477d109 moved secrets.yaml 2026-02-02 13:45:21 +11:00
440e48abac added ssh keys secret to repo 2026-02-02 13:44:51 +11:00
7e15549221 seperated manifests 2026-02-02 13:37:00 +11:00
454677fd14 seperated manifests 2026-02-02 13:36:33 +11:00
a1cd6d88cd added namespace, pvc and service.yaml
TO-DO: deployment.yaml and dockerfile adaptations
2026-02-02 13:36:33 +11:00
5 changed files with 72 additions and 57 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
@@ -50,28 +50,3 @@ spec:
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

7
manifests/namespace.yaml Normal file
View File

@@ -0,0 +1,7 @@
apiVersion: v1
kind: Namespace
metadata:
name: clawdbox
labels:
app.kubernetes.io/name: clawdbox
app.kubernetes.io/part-of: clawdbox

11
manifests/pvc.yaml Normal file
View File

@@ -0,0 +1,11 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: clawdbox-pvc
namespace: clawdbox
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 10Gi

8
manifests/secret.yaml Normal file
View File

@@ -0,0 +1,8 @@
apiVersion: v1
data:
authorized_keys: c3NoLWVkMjU1MTkgQUFBQUMzTnphQzFsWkRJMU5URTVBQUFBSU1GVTQySlNuUTFwaW81eGFFSWd0SDNMaEd6dy9yTjNLY2FHRUhheFNOUG8gY29uYW5ATWluaU1lLmxvY2FsCg==
kind: Secret
metadata:
name: clawdbox-ssh-keys
namespace: clawdbox
type: Opaque

14
manifests/service.yaml Normal file
View File

@@ -0,0 +1,14 @@
apiVersion: v1
kind: Service
metadata:
name: clawdbox
namespace: clawdbox
labels:
app: clawdbox
spec:
ports:
- port: 2222
targetPort: 2222
name: ssh
selector:
app: clawdbox