diff --git a/charms/openstack-exporter-k8s/.zuul.yaml b/charms/openstack-exporter-k8s/.zuul.yaml deleted file mode 100644 index 18c0c4c1..00000000 --- a/charms/openstack-exporter-k8s/.zuul.yaml +++ /dev/null @@ -1,11 +0,0 @@ -- project: - templates: - - openstack-python3-charm-jobs - - openstack-cover-jobs - - microk8s-func-test - vars: - charm_build_name: openstack-exporter-k8s - juju_channel: 3.2/stable - juju_classic_mode: false - microk8s_channel: 1.26-strict/stable - microk8s_classic_mode: false diff --git a/charms/openstack-exporter-k8s/src/charm.py b/charms/openstack-exporter-k8s/src/charm.py index cda646aa..8ee25467 100755 --- a/charms/openstack-exporter-k8s/src/charm.py +++ b/charms/openstack-exporter-k8s/src/charm.py @@ -249,6 +249,11 @@ class OSExporterOperatorCharm(sunbeam_charm.OSBaseOperatorCharmK8S): secret = self.model.get_secret(id=secret_id) return secret.get_content()["auth-url"] + def open_ports(self): + """Register ports in underlying cloud.""" + super().open_ports() + self.unit.open_port("tcp", self.default_public_ingress_port) + def get_relation_handlers(self) -> List[sunbeam_rhandlers.RelationHandler]: """Relation handlers for the service.""" handlers = super().get_relation_handlers()