Juju eventsΒΆ
For a web app charm, the following events are observed:
Hook |
Description |
Action |
---|---|---|
Fired on Kubernetes charms when the requested container is ready. |
Validate the charm configuration, run pending migrations and restart the workload. |
|
|
Usually fired in response to a configuration change using the CLI. |
Validate the charm configuration, run pending migrations and restart the workload. |
|
Fired when the relation is first created. |
Generate a new secret and store it in the relation data. |
|
Fired when a new unit joins in an existing relation and whenever the related unit changes its settings. |
Validate the charm configuration, run pending migrations and restart the workload. |
|
Fired when a unit departs from an existing relation. |
Validate the charm configuration, run pending migrations and restart the workload. |
|
Fired at regular intervals. |
Validate the configuration, run pending migrations and restart the workload. |
|
Fired when the secret owner publishes a new secret revision. |
Validate the configuration, run pending migrations and restart the workload. |
|
Fired when a new database is created. |
Validate the configuration, run pending migrations and restart the workload. |
|
Fired when the database endpoints change. |
Validate the configuration, run pending migrations and restart the workload. |
|
Fired when a unit participating in a non-peer relation is removed. |
Validate the configuration, run pending migrations and restart the workload. |
|
Fired when the ingress for the web app is ready. |
Validate the configuration, run pending migrations and restart the workload. |
|
Fired when the ingress for the web app is not ready anymore. |
Validate the configuration, run pending migrations and restart the workload. |
|
Fired when a new unit joins in an existing relation and whenever the related unit changes its settings. |
Validate the configuration, run pending migrations and restart the workload. |
Fired when the S3 credentials are changed. |
Validate the configuration, run pending migrations and restart the workload. |
|
Fired when the S3 credentials are removed. |
Validate the configuration, run pending migrations and restart the workload. |
|
|
Fired when new SAML data is present in the relation. |
Validate the configuration, run pending migrations and restart the workload. |
|
Fired after a |
Validate the configuration, run pending migrations and restart the workload. |
|
Fired after a |
Validate the configuration, run pending migrations and restart the workload. |
|
Fired when a new unit joins in an existing relation. |
Request access to the RabbitMQ server and emit a connected event. |
|
Fired when a new unit joins in an existing relation and whenever the related unit changes its settings. |
Request access to the RabbitMQ server and emit a ready event. |
|
Fired when a unit participating in a non-peer relation is removed. |
Emit a ready event. |
|
Fired when a related unit is no longer related. |
Validate the charm configuration, run pending migrations and restart the workload. |
|
Fired when one of the receiver endpoints changes. |
Validate the charm configuration, run pending migrations and restart the workload. |
|
Fired when one of the receiver endpoints is removed. |
Validate the charm configuration, run pending migrations and restart the workload. |
|
Fired when new SMTP data is present in the relation. |
Validate the charm configuration, run pending migrations and restart the workload. |
|
Fired when |
Generate a new secret token for the application. |
See also