argocd/apps/privatebin/deployment.yaml

39 lines
846 B
YAML
Raw Normal View History

2026-10-11 21:03:33 +02:00
apiVersion: apps/v1
kind: Deployment
metadata:
name: privatebin
spec:
replicas: 1
strategy:
type: Recreate
selector:
matchLabels:
app: privatebin
template:
metadata:
labels:
app: privatebin
spec:
securityContext:
# The image runs as nobody:www-data (65534:82).
fsGroup: 82
containers:
- name: privatebin
image: privatebin/nginx-fpm-alpine:2.0.6
ports:
- name: http
containerPort: 8080
volumeMounts:
- name: data
mountPath: /srv/data
resources:
requests:
cpu: 10m
memory: 32Mi
limits:
memory: 128Mi
volumes:
- name: data
persistentVolumeClaim:
claimName: privatebin-data