mirror of
https://github.com/gwg313/homelab-gitops.git
synced 2026-06-26 18:40:12 +00:00
add bytestash
Signed-off-by: gwg313 <gwg313@pm.me>
This commit is contained in:
parent
8ca8f0b8ea
commit
7a569878b8
17 changed files with 126 additions and 102 deletions
50
apps/bytestash/deployment.yaml
Normal file
50
apps/bytestash/deployment.yaml
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: bytestash
|
||||
namespace: bytestash
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: bytestash
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: bytestash
|
||||
annotations:
|
||||
sidecar.istio.io/inject: "true"
|
||||
spec:
|
||||
securityContext:
|
||||
runAsNonRoot: false
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
containers:
|
||||
- name: bytestash
|
||||
image: "ghcr.io/jordan-dalby/bytestash:pr-332"
|
||||
ports:
|
||||
- containerPort: 5000
|
||||
resources:
|
||||
requests:
|
||||
cpu: 50m
|
||||
memory: 128Mi
|
||||
limits:
|
||||
cpu: 200m
|
||||
memory: 256Mi
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: bytestash-config
|
||||
- secretRef:
|
||||
name: bytestash-secret
|
||||
volumeMounts:
|
||||
- name: bytestash-storage
|
||||
mountPath: /data/snippets
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
runAsNonRoot: false
|
||||
capabilities:
|
||||
drop: ["ALL"]
|
||||
volumes:
|
||||
- name: bytestash-storage
|
||||
persistentVolumeClaim:
|
||||
claimName: bytestash-pvc
|
||||
Loading…
Add table
Add a link
Reference in a new issue