canonical / cos-configuration-k8s-operator

This charmed operator for Kubernetes enables you to provide configurations to various components of the Canonical Observability Stack (COS) bundle.
https://charmhub.io/cos-configuration-k8s
Apache License 2.0
4 stars 5 forks source link

fix: use set_ports instead of open_port #93

Closed lucabello closed 3 months ago

lucabello commented 3 months ago

Issue

open_port doesn't close ports; if the port changes on upgrades, the previous one isn't closed.

Solution

Use set_ports instead, as documented here.