mirror of
https://github.com/michaelthomson0797/fleet-infra.git
synced 2026-02-04 13:09:53 +00:00
ghost
This commit is contained in:
35
ghost/ghost-deployment.yaml
Normal file
35
ghost/ghost-deployment.yaml
Normal 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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user