reverted the claw's changes
This commit is contained in:
@@ -2,6 +2,7 @@ apiVersion: apps/v1
|
|||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: clawdbox
|
name: clawdbox
|
||||||
|
namespace: clawdbox
|
||||||
labels:
|
labels:
|
||||||
app: clawdbox
|
app: clawdbox
|
||||||
spec:
|
spec:
|
||||||
@@ -19,7 +20,7 @@ spec:
|
|||||||
serviceAccountName: clawd-sa
|
serviceAccountName: clawd-sa
|
||||||
containers:
|
containers:
|
||||||
- name: clawdbox
|
- name: clawdbox
|
||||||
image: image-registry.openshift-image-registry.svc:5000/clawdbox/clawdbox:latest
|
image: default-route-openshift-image-registry.apps.lab.apilab.us/clawdbox/clawdbox:latest
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 2222
|
- containerPort: 2222
|
||||||
@@ -43,6 +44,8 @@ spec:
|
|||||||
allowPrivilegeEscalation: false
|
allowPrivilegeEscalation: false
|
||||||
capabilities:
|
capabilities:
|
||||||
drop: ["ALL"]
|
drop: ["ALL"]
|
||||||
|
seccompProfile:
|
||||||
|
type: RuntimeDefault
|
||||||
volumes:
|
volumes:
|
||||||
- name: data-volume
|
- name: data-volume
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
@@ -51,28 +54,4 @@ 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
|
|
||||||
|
|||||||
Reference in New Issue
Block a user