You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Configuration files for the containers can be found in [the image directory of the charm repository](https://github.com/canonical/discourse-k8s-operator/tree/main/image).
73
+
Configuration files for the workload can be found [here](https://github.com/canonical/discourse-k8s-operator/blob/main/config.yaml).
74
74
75
75
### Discourse
76
76
@@ -94,7 +94,7 @@ This section provides information about the integrations.
94
94
95
95
The Discourse charm also supports being integrated with [Ingress](https://kubernetes.io/docs/concepts/services-networking/ingress/#what-is-ingress) by using [NGINX Ingress Integrator](https://charmhub.io/nginx-ingress-integrator/).
96
96
97
-
In this case, an existing Ingress controller is required. For more information, see [Adding the Ingress Relation to a Charm](https://charmhub.io/nginx-ingress-integrator/docs/adding-ingress-relation).
97
+
In this case, an existing Ingress controller is required. For more information, see [Adding the Ingress Relation to a Charm](https://charmhub.io/nginx-ingress-integrator/docs/add-the-ingress-relation).
98
98
99
99
### PostgreSQL
100
100
@@ -119,8 +119,8 @@ Accordingly to the [Juju SDK](https://juju.is/docs/sdk/event): "an event is a da
119
119
120
120
For this charm, the following events are observed:
121
121
122
-
1.[<containername>_pebble_ready](https://juju.is/docs/sdk/container-name-pebble-ready-event): fired on Kubernetes charms when the requested container is ready. Action: wait for the integrations, and configure the containers.
123
-
2.[config_changed](https://juju.is/docs/sdk/config-changed-event): usually fired in response to a configuration change using the GUI or CLI. Action: wait for the integrations, validate the configuration, update Ingress, and restart the containers.
122
+
1.[<containername>_pebble_ready](https://documentation.ubuntu.com/juju/3.6/reference/hook/#container-pebble-ready): fired on Kubernetes charms when the requested container is ready. Action: wait for the integrations, and configure the containers.
123
+
2.[config_changed](https://documentation.ubuntu.com/juju/3.6/reference/hook/#config-changed): usually fired in response to a configuration change using the GUI or CLI. Action: wait for the integrations, validate the configuration, update Ingress, and restart the containers.
124
124
3.[add_admin_user_action](https://charmhub.io/discourse-k8s/actions): fired when add-admin-user action is executed. Action: add an admin user with the provided email and password.
125
125
<!-- vale Canonical.400-Enforce-inclusive-terms = NO -->
126
126
<!-- master refers to the main database -->
@@ -135,6 +135,6 @@ The `src/charm.py` is the default entry point for a charm and has the DiscourseC
135
135
136
136
CharmBase is the base class from which all Charms are formed, defined by [Ops](https://juju.is/docs/sdk/ops) (Python framework for developing charms).
137
137
138
-
See more information in [Charm](https://juju.is/docs/sdk/constructs#heading--charm).
138
+
See more information in [Charm](https://documentation.ubuntu.com/juju/3.6/howto/manage-charms/#build-a-charm).
139
139
140
140
The `__init__` method guarantees that the charm observes all events relevant to its operation and handles them.
Copy file name to clipboardExpand all lines: docs/how-to/backup-and-restore.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,15 +36,15 @@ If the same S3 bucket can be used in the restored Discourse instance, then it is
36
36
to backup the database.
37
37
38
38
This can be easily done with [Charmed PostgreSQL](https://charmhub.io/postgresql) and [Charmed PostgreSQL K8s](https://charmhub.io/postgresql-k8s).
39
-
See [How to create and list backups in Charmed PostgreSQL](https://charmhub.io/postgresql/docs/h-create-and-list-backups)
40
-
or [How to create and list backups in Charmed PostgreSQL K8s](https://charmhub.io/postgresql-k8s/docs/h-create-and-list-backups) for the full procedure.
39
+
See [How to create and list backups in Charmed PostgreSQL](https://canonical-charmed-postgresql.readthedocs-hosted.com/latest/how-to/back-up-and-restore/create-a-backup/)
40
+
or [How to create and list backups in Charmed PostgreSQL K8s](https://canonical-charmed-postgresql-k8s.readthedocs-hosted.com/latest/how-to/back-up-and-restore/create-a-backup/) for the full procedure.
41
41
42
42
To restore Discourse, once it is deployed and configured as the Discourse instance to restore, it is only necessary
43
43
to restore the database. The instructions, depending on the configuration, can be found in the next links:
44
44
- Charmed PostgreSQL. Local backup: https://charmhub.io/postgresql/docs/h-restore-backup
45
-
- Charmed PostgreSQL. Migrate a cluster: https://charmhub.io/postgresql/docs/h-migrate-cluster-via-restore
45
+
- Charmed PostgreSQL. Migrate a cluster: https://canonical-charmed-postgresql.readthedocs-hosted.com/latest/how-to/back-up-and-restore/migrate-a-cluster/
46
46
- Charmed PostgreSQL K8s. Local backup: https://charmhub.io/postgresql-k8s/docs/h-restore-backup
47
-
- Charmed PostgreSQL K8s. Migrate a cluster: https://charmhub.io/postgresql-k8s/docs/h-migrate-cluster-via-restore
47
+
- Charmed PostgreSQL K8s. Migrate a cluster: https://canonical-charmed-postgresql-k8s.readthedocs-hosted.com/latest/how-to/back-up-and-restore/migrate-a-cluster/
Copy file name to clipboardExpand all lines: docs/tutorial.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,10 +10,10 @@ In this tutorial, we'll go through each step of the process to get a basic Disco
10
10
11
11
## Requirements
12
12
- A working station, e.g., a laptop, with amd64 architecture.
13
-
- Juju 3 installed and bootstrapped to a MicroK8s controller. You can accomplish this process by using a Multipass VM as outlined in this guide: [Set up / Tear down your test environment]([https://juju.is/docs/juju/set-up--tear-down-your-test-environment](https://documentation.ubuntu.com/juju/3.6/howto/manage-your-deployment/#set-up-your-deployment-local-testing-and-development))
13
+
- Juju 3 installed and bootstrapped to a MicroK8s controller. You can accomplish this process by using a Multipass VM as outlined in this guide: [Set up / Tear down your test environment](https://documentation.ubuntu.com/juju/3.6/howto/manage-your-deployment/#set-up-your-deployment-local-testing-and-development)
14
14
- NGINX Ingress Controller. If you're using [MicroK8s](https://microk8s.io/), this can be done by running the command `microk8s enable ingress`. For more details, see [Add-on: Ingress](https://microk8s.io/docs/addon-ingress).
15
15
16
-
For more information about how to install Juju, see [Get started with Juju]([https://juju.is/docs/olm/get-started-with-juju](https://documentation.ubuntu.com/juju/3.6/tutorial/)).
16
+
For more information about how to install Juju, see [Get started with Juju](https://documentation.ubuntu.com/juju/3.6/tutorial/).
17
17
18
18
:warning: When using a Multipass VM, make sure to replace `127.0.0.1` IP addresses with the
19
19
VM IP in steps that assume you're running locally. To get the IP address of the
Discourse requires connections to PostgreSQL and Redis. For more information, see the [Charm Architecture](https://charmhub.io/discourse-k8s/docs/charm-architecture).
41
+
Discourse requires connections to PostgreSQL and Redis. For more information, see the [Charm Integrations](https://charmhub.io/discourse-k8s/docs/reference-integrations).
42
42
43
43
> NOTE: Discourse requires PostgreSQL extensions to be available in the relation.
0 commit comments