This commit is contained in:
Michael Thomson
2024-01-11 16:24:50 -05:00
parent f18f3fcfe9
commit fc16584870
13 changed files with 218 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
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