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 6 forks source link

add sync-now action #13

Closed sed-i closed 2 years ago

sed-i commented 2 years ago

This PR is for adding the sync-now action. It is handy if an immediate update is needed from the repo into relation data.

Without this action, to force a sync, one would need to:

  1. juju config to shorten the git_wait period
  2. juju model-config to shorten the update-status interval
  3. wait for relation data to update
  4. restore the above to original values

Immediate use cases: