Skip to content

Commit

Permalink
add config volume
Browse files Browse the repository at this point in the history
  • Loading branch information
Facerafter authored May 15, 2024
1 parent 5bd01f2 commit ac4a923
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions mediawiki/mariadb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,15 @@ spec:
volumeMounts:
- name: mariadb-pv
mountPath: /var/lib/mysql
- name: nginx-config-volume
mountPath: /etc/mysql/conf.d
volumes:
- name: mariadb-pv
persistentVolumeClaim:
claimName: mariadb-pv-claim
- name: mariadb-config-volume
configMap:
name: mariadb-config
items:
- key: config
path: my.conf

0 comments on commit ac4a923

Please sign in to comment.