Files
fleet-infra/ghost/ghost-deployment.yaml
Michael Thomson fc16584870 ghost
2024-01-11 16:24:50 -05:00

36 lines
701 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: ghost
namespace: ghost
spec:
selector:
matchLabels:
app: ghost
template:
metadata:
labels:
app: ghost
spec:
containers:
- name: ghost
image: ghost:5-alpine
envFrom:
- configMapRef:
name: ghost-config
- secretRef:
name: ghost-secret
ports:
- containerPort: 2368
name: http
protocol: TCP
volumeMounts:
- mountPath: /var/lib/ghost/content
name: ghost-pvc
volumes:
- name: ghost-pvc
persistentVolumeClaim:
claimName: ghost-pvc