Compare commits
5 Commits
a0134a6cfc
...
99b477d109
| Author | SHA1 | Date | |
|---|---|---|---|
| 99b477d109 | |||
| 440e48abac | |||
| 7e15549221 | |||
| 454677fd14 | |||
| a1cd6d88cd |
@@ -18,7 +18,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: clawdbox
|
- 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
|
imagePullPolicy: Always
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 2222
|
- containerPort: 2222
|
||||||
@@ -50,28 +50,3 @@ spec:
|
|||||||
secret:
|
secret:
|
||||||
secretName: clawdbox-ssh-keys
|
secretName: clawdbox-ssh-keys
|
||||||
defaultMode: 0600
|
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
7
manifests/namespace.yaml
Normal 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
11
manifests/pvc.yaml
Normal 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
8
manifests/secret.yaml
Normal 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
14
manifests/service.yaml
Normal 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
|
||||||
Reference in New Issue
Block a user