Remove zuul config

This commit is contained in:
Guillaume Boutry 2023-10-26 09:56:22 +02:00
parent 97d0472c80
commit f90906d8a8
2 changed files with 5 additions and 11 deletions

View File

@ -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

View File

@ -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()