mirror of
https://github.com/michaelthomson0797/fleet-infra.git
synced 2026-02-05 05:19:59 +00:00
ghost
This commit is contained in:
31
ghost/ghost-db-deployment.yaml
Normal file
31
ghost/ghost-db-deployment.yaml
Normal file
@@ -0,0 +1,31 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: ghost-db
|
||||
namespace: ghost
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: ghost-db
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: ghost-db
|
||||
spec:
|
||||
containers:
|
||||
- name: ghost-db
|
||||
image: mysql:8.0
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: ghost-db-secret
|
||||
ports:
|
||||
- containerPort: 3306
|
||||
volumeMounts:
|
||||
- mountPath: /var/lib/mysql
|
||||
name: ghost-db-pvc
|
||||
volumes:
|
||||
- name: ghost-db-pvc
|
||||
persistentVolumeClaim:
|
||||
claimName: ghost-db-pvc
|
||||
|
||||
|
||||
Reference in New Issue
Block a user