apps/obsidian/resources/caddy_deployment.yaml
Peter Kurfer bcc0b7c2bc
Some checks failed
Renovate / renovate (push) Has been cancelled
feat(obsidian): deploy CouchDB for Obsidian sync
2024-03-13 17:51:26 +01:00

39 lines
No EOL
809 B
YAML

---
apiVersion: apps/v1
kind: Deployment
metadata:
name: caddy-hack
spec:
replicas: 2
selector:
matchLabels:
app.kubernetes.io/name: caddy-hack
template:
metadata:
labels:
app.kubernetes.io/name: caddy-hack
spec:
containers:
- name: caddy
image: caddy
command:
- caddy
args:
- run
- -c
- /etc/caddy/Caddyfile
ports:
- containerPort: 8080
protocol: TCP
name: web
resources:
limits:
cpu: 10m
memory: 30Mi
volumeMounts:
- name: config
mountPath: /etc/caddy
volumes:
- name: config
configMap:
name: caddy-hack