x
This commit is contained in:
parent
0d1a44d319
commit
84a4325b35
1 changed files with 0 additions and 21 deletions
|
@ -11,24 +11,3 @@ spec:
|
||||||
|
|
||||||
storage:
|
storage:
|
||||||
size: 5Gi
|
size: 5Gi
|
||||||
|
|
||||||
podTemplate:
|
|
||||||
spec:
|
|
||||||
volumes:
|
|
||||||
- name: init-sql-volume
|
|
||||||
configMap:
|
|
||||||
name: init-sql
|
|
||||||
initContainers:
|
|
||||||
- name: copy-init-sql
|
|
||||||
image: busybox
|
|
||||||
command: ["sh", "-c", "cp /config/init.sql /mnt/initdb/init.sql"]
|
|
||||||
volumeMounts:
|
|
||||||
- name: init-sql-volume
|
|
||||||
mountPath: /config
|
|
||||||
- name: data
|
|
||||||
mountPath: /mnt/initdb
|
|
||||||
containers:
|
|
||||||
- name: mariadb
|
|
||||||
volumeMounts:
|
|
||||||
- name: data
|
|
||||||
mountPath: /docker-entrypoint-initdb.d
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue