From 68808176e72b6a02162712b4d9f0287dbead2ace Mon Sep 17 00:00:00 2001 From: James Page Date: Fri, 14 Oct 2022 07:53:17 +0100 Subject: [PATCH] Disable RBAC for OVN SB DB port RBAC + OVN relay is not currently supported so disable RBAC on the OVN SB DB port until this is supported by OVN. Drive-by fix to link config.yaml into tests directory. Change-Id: If3de99d678d4e81ccd3db53eb8f2e4b31494e8d0 --- charms/ovn-central-k8s/src/charm.py | 1 - charms/ovn-central-k8s/tests/config.yaml | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) create mode 120000 charms/ovn-central-k8s/tests/config.yaml diff --git a/charms/ovn-central-k8s/src/charm.py b/charms/ovn-central-k8s/src/charm.py index 8373606d..ff146994 100755 --- a/charms/ovn-central-k8s/src/charm.py +++ b/charms/ovn-central-k8s/src/charm.py @@ -425,7 +425,6 @@ class OVNCentralOperatorCharm(sunbeam_charm.OSBaseOperatorCharm): self.configure_ovn_listener( 'sb', { self.ovsdb_cms.db_sb_port: { - 'role': 'ovn-controller', 'inactivity_probe': inactivity_probe, }, }) diff --git a/charms/ovn-central-k8s/tests/config.yaml b/charms/ovn-central-k8s/tests/config.yaml new file mode 120000 index 00000000..e84e89a8 --- /dev/null +++ b/charms/ovn-central-k8s/tests/config.yaml @@ -0,0 +1 @@ +../config.yaml \ No newline at end of file