mirror of
https://github.com/michaelthomson0797/fleet-infra.git
synced 2026-02-04 13:09:53 +00:00
34 lines
704 B
YAML
34 lines
704 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: bookstack-db
|
|
namespace: bookstack
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
app: bookstack-db
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: bookstack-db
|
|
spec:
|
|
containers:
|
|
- name: bookstack-db
|
|
image: lscr.io/linuxserver/mariadb
|
|
envFrom:
|
|
- configMapRef:
|
|
name: bookstack-db-config
|
|
- secretRef:
|
|
name: bookstack-db-secret
|
|
ports:
|
|
- containerPort: 3306
|
|
volumeMounts:
|
|
- mountPath: /config
|
|
name: config
|
|
volumes:
|
|
- name: config
|
|
persistentVolumeClaim:
|
|
claimName: bookstack-db-config
|
|
|
|
|