mirror of
https://github.com/michaelthomson0797/fleet-infra.git
synced 2026-02-04 21:09:58 +00:00
36 lines
701 B
YAML
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
|
|
|
|
|