From 6373f70dbf35373f44aae026974f9d52542e218e Mon Sep 17 00:00:00 2001 From: ricolin Date: Wed, 2 Oct 2024 14:23:43 +0800 Subject: [PATCH] Allow share OVN DB NB/SB socket This will help other services to access to OVN DB. So services like Octavia can use OVN Octavia provider agent. Change-Id: Iddaa6214ece63a5f1e692fe019bcba1b41fdb18f --- ovn/Chart.yaml | 2 +- ovn/templates/statefulset-ovsdb-nb.yaml | 4 +++- ovn/templates/statefulset-ovsdb-sb.yaml | 4 +++- releasenotes/notes/ovn.yaml | 1 + 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ovn/Chart.yaml b/ovn/Chart.yaml index 99dff3406..38837da43 100644 --- a/ovn/Chart.yaml +++ b/ovn/Chart.yaml @@ -15,7 +15,7 @@ apiVersion: v1 appVersion: v23.3.0 description: OpenStack-Helm OVN name: ovn -version: 0.1.12 +version: 0.1.13 home: https://www.ovn.org icon: https://www.ovn.org/images/ovn-logo.png sources: diff --git a/ovn/templates/statefulset-ovsdb-nb.yaml b/ovn/templates/statefulset-ovsdb-nb.yaml index 8532a487a..95a33b1bf 100644 --- a/ovn/templates/statefulset-ovsdb-nb.yaml +++ b/ovn/templates/statefulset-ovsdb-nb.yaml @@ -79,7 +79,9 @@ spec: mountPath: {{ $envAll.Values.volume.ovn_ovsdb_nb.path }} volumes: - name: run-openvswitch - emptyDir: {} + hostPath: + path: /run/openvswitch + type: DirectoryOrCreate - name: ovn-bin configMap: name: ovn-bin diff --git a/ovn/templates/statefulset-ovsdb-sb.yaml b/ovn/templates/statefulset-ovsdb-sb.yaml index 9a7c6da6e..d300d3f90 100644 --- a/ovn/templates/statefulset-ovsdb-sb.yaml +++ b/ovn/templates/statefulset-ovsdb-sb.yaml @@ -79,7 +79,9 @@ spec: mountPath: {{ $envAll.Values.volume.ovn_ovsdb_sb.path }} volumes: - name: run-openvswitch - emptyDir: {} + hostPath: + path: /run/openvswitch + type: DirectoryOrCreate - name: ovn-bin configMap: name: ovn-bin diff --git a/releasenotes/notes/ovn.yaml b/releasenotes/notes/ovn.yaml index c7472ce48..fb7b6efc0 100644 --- a/releasenotes/notes/ovn.yaml +++ b/releasenotes/notes/ovn.yaml @@ -13,4 +13,5 @@ ovn: - 0.1.10 Fix typo in the controller init script - 0.1.11 Use quay.io/airshipit/kubernetes-entrypoint:latest-ubuntu_focal by default - 0.1.12 Fix oci_image_registry secret name + - 0.1.13 Allow share OVN DB NB/SB socket ...