apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
annotations:
|
|
kompose.cmd: kompose convert
|
|
kompose.version: 1.26.0 (40646f47)
|
|
creationTimestamp: null
|
|
labels:
|
|
io.kompose.service: db
|
|
name: db
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
io.kompose.service: db
|
|
strategy:
|
|
type: Recreate
|
|
template:
|
|
metadata:
|
|
annotations:
|
|
kompose.cmd: kompose convert
|
|
kompose.version: 1.26.0 (40646f47)
|
|
creationTimestamp: null
|
|
labels:
|
|
io.kompose.service: db
|
|
spec:
|
|
containers:
|
|
- args:
|
|
- --default-authentication-plugin=mysql_native_password
|
|
env:
|
|
- name: MYSQL_DATABASE
|
|
value: kanboard
|
|
- name: MYSQL_PASSWORD
|
|
value: kanboard-secret
|
|
- name: MYSQL_ROOT_PASSWORD
|
|
value: secret
|
|
- name: MYSQL_USER
|
|
value: kanboard
|
|
image: mariadb:latest
|
|
name: db
|
|
resources: {}
|
|
volumeMounts:
|
|
- mountPath: /var/lib/mysql
|
|
name: db
|
|
restartPolicy: Always
|
|
volumes:
|
|
- name: db
|
|
persistentVolumeClaim:
|
|
claimName: db
|
|
status: {}
|