Fix ovn db persistence issue

Change ovn db volume default mount to '/var/lib/ovn', as ovn(sb or nb)
default use this directory.

Closes-Bug: #2016844

Change-Id: I017781bd4df836949396c34f8ef5e6bd0f07efab
This commit is contained in:
dbcocle-ts 2023-04-18 07:42:50 +00:00
parent 766c5803b9
commit 7b8d459d14
4 changed files with 4 additions and 3 deletions

View File

@ -15,7 +15,7 @@ apiVersion: v1
appVersion: v23.3.0 appVersion: v23.3.0
description: OpenStack-Helm OVN description: OpenStack-Helm OVN
name: ovn name: ovn
version: 0.1.0 version: 0.1.1
home: https://www.ovn.org home: https://www.ovn.org
icon: https://www.ovn.org/images/ovn-logo.png icon: https://www.ovn.org/images/ovn-logo.png
sources: sources:

View File

@ -61,7 +61,7 @@ spec:
subPath: ovn.sh subPath: ovn.sh
readOnly: true readOnly: true
- name: ovn-nb-db-data - name: ovn-nb-db-data
mountPath: /data/db mountPath: /var/lib/ovn
volumes: volumes:
- name: ovn-bin - name: ovn-bin
configMap: configMap:

View File

@ -61,7 +61,7 @@ spec:
subPath: ovn.sh subPath: ovn.sh
readOnly: true readOnly: true
- name: ovn-sb-db-data - name: ovn-sb-db-data
mountPath: /data/db mountPath: /var/lib/ovn
volumes: volumes:
- name: ovn-bin - name: ovn-bin
configMap: configMap:

View File

@ -1,5 +1,6 @@
--- ---
ovn: ovn:
- 0.1.0 Add OVN! - 0.1.0 Add OVN!
- 0.1.1 Fix ovn db persistence issue
... ...