Mattermost

  • By Mattermost Charmers
juju deploy mattermost-charmers-mattermost
Show information
You will need Juju 2.9 to be able to run this command. Learn how to upgrade to Juju 2.9.
Channel Version Revision Published Base
latest/stable 22 22 29 Apr 2021
20.04

Platform:

For any problems with this charm, please report bugs here.

The code for this charm can be downloaded as follows:

git clone https://git.launchpad.net/charm-k8s-mattermost

To run tests, simply run make test from within the charm code directory.

Local Deployment

To deploy a test setup locally using microk8s, with PostgreSQL deployed into the same model:

sudo snap install juju --classic
sudo snap install juju-wait --classic
sudo snap install microk8s --classic
sudo snap alias microk8s.kubectl kubectl
sudo snap install charmcraft
git clone https://git.launchpad.net/charm-k8s-mattermost
make -C charm-k8s-mattermost mattermost.charm

microk8s.reset  # Warning! Clean slate!
microk8s.enable dns dashboard registry storage
microk8s.status --wait-ready
microk8s.config | juju add-k8s myk8s --client

juju bootstrap myk8s
juju add-model mattermost-test
juju deploy cs:~postgresql-charmers/postgresql-k8s postgresql
juju deploy ./charm-k8s-mattermost/mattermost.charm mattermost
juju wait
juju status
juju relate mattermost postgresql:db

Help us improve this documentation

Most of this documentation can be collaboratively discussed and changed on the respective topic in the doc category of the Charmhub forum. See the documentation guidelines if you’d like to contribute.

Last updated 8 months ago. Help improve this document in the forum.