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