7 Commits

Author SHA1 Message Date
Guillaume Boutry
0b18b2a67b Implement open-port to allow traffic on underlying cloud
Use `open-port` instead of `kubernetes_service_patch` to configure
service port.

Change-Id: I6d3725512a8740c827303edb2d70bbef68f3bb00
2023-06-12 16:27:12 +02:00
Liam Young
d27d31b205 Cookiecutter updates
Change-Id: I4027b59c418ac0622a11b54c3d7fa3b309fe8a63
2023-04-30 18:19:34 +00:00
Guillaume Boutry
a9ce6d8da7 Update kubernetes_service_patch to v1
v1 of the kubernetes_service_patch lib will patches the service
definition on `status_update` event. This helps when Juju refreshes the
patched services to their initial state.

Signed-off-by: Guillaume Boutry <guillaume.boutry@canonical.com>
Change-Id: Ice78b2c9922d758fda90a4c5d9a6966144b1fbe6
2023-04-13 10:09:32 +02:00
Liam Young
004e885760 Add linters and formatting
Change-Id: Ib16bd1fac4b9dfc21b98c9ba1201305733d2598b
2022-11-03 12:26:01 +00:00
Samuel Walladge
7684a0db73 Switch to mysql-k8s for mysql db provider
Breaking changes for dependent charms:

- `self.db: str` has been removed in favour of
  `self.dbs: Mapping[str, str]` mapping relation names to dabatase names

- interface name for database has changed
  from mysql_datastore to mysql_client.

- The default database relation name has changed from `shared-db`
  to `database`.  We'll follow this convention in all dependent charms.

Change-Id: I750a8311c1e3db0b414207f712fa9061004b6920
2022-09-08 10:58:17 +09:30
Hemanth Nakkina
a43f830495 cleanup on migration to opendev
Remove references to old repo
Add .gitreview
Add .zuul.yaml

Change-Id: I66f0effc29d68564c01aaa0018786c9e04153552
2022-08-04 13:28:10 +05:30
Hemanth Nakkina
1866f094fb rename package names and code cleanup
Following changes are done as part of this patch
* Rename package name to ops_sunbeam
* Rename shared_code/aso_charm to shared_code/sunbeam_charm
* Modify rest of scripts as per above changes
* Code cleanup
2022-07-18 10:02:40 +05:30