mirror of
https://github.com/gwg313/homelab-gitops.git
synced 2026-06-05 21:41:03 +00:00
Mostly copied over from my old repo and modified for app of apps. Cleaning up the mess from migration Signed-off-by: gwg313 <gwg313@pm.me>
43 lines
1.1 KiB
YAML
43 lines
1.1 KiB
YAML
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:latest"
|
|
ports:
|
|
- containerPort: 5000
|
|
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
|