Skip to content
Snippets Groups Projects
Commit 784fd0fb authored by Rémi PAILHAREY's avatar Rémi PAILHAREY :fork_knife_plate:
Browse files

fix(k8s): added missing volume for database

parent e8303c1b
No related branches found
No related tags found
4 merge requests!73Deploy Openshift v2,!65MEP: removed Meilisearch,!52back-office SGE before canary release,!49Fix/corrections avant demo
......@@ -25,6 +25,10 @@ spec:
io.kompose.network/ecolyo-agent-network: "true"
io.kompose.service: ecolyo-agent-database
spec:
volumes:
- name: pvc-3-ns-selfdata-d01-syn-claim
persistentVolumeClaim:
claimName: pvc-3-ns-selfdata-d01-syn-claim
containers:
- env:
- name: MYSQL_DATABASE
......@@ -42,6 +46,9 @@ spec:
name: ecolyo-agent-database
ports:
- containerPort: 3306
volumeMounts:
- name: pvc-3-ns-selfdata-d01-syn-claim
mountPath: /var/lib/mysql
resources: {}
restartPolicy: Always
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment