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
{{ message }}
Repository navigation
feat(k8s): add bootstrap-mattermost command to configure team webhooks and secrets #2945
Setting up Mattermost integrations currently requires manual steps in the web interface:
Create the team and channels (alerts and deploys).
Create incoming webhooks with "Lock to this channel" for Alertmanager and Argo CD.
Create the /roadmap custom slash command.
Extract tokens and store them into the workstation keyring (mattermost.alerts_hook, mattermost.deploys_hook, mattermost.command_token).
Push secrets to the cluster (monitoring/alertmanager-mattermost, argocd/argocd-notifications-secret, devops/devops-cli).
The homelab needs a deterministic CLI command to apply project configuration to Mattermost and automate onboarding, matching devops k8s bootstrap-openwebui.
Proposal
Add devops k8s bootstrap-mattermost CLI command:
Target namespace mattermost and pod deploy/mattermost.
Run mmctl --local through kubectl exec to verify or create:
Team (homelab or --team)
Channels (alerts, deploys)
Incoming webhooks for Alertmanager and Argo CD
Slash command for /roadmap
Store webhook tokens and command token in the OS keyring.
Automatically push updated cluster secrets with --push-secrets (default true).
Support --dry-run with @dry_run_class("request-plan").
Support --context to target specified clusters.
Verify all Mattermost Kubernetes manifests in k8s/mattermost/ for homelab configuration.
Add unit and invariant tests covering dry run, command execution, and error handling.
Activity
dan-petty commentedon Oct 31, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
featprefix of the title gives the type.(k8s)scope of the title gives the scope.It automates manual steps, but manual setup already works, so it is not blocking.It removes repetitive manual configuration for new Mattermost environments.It requires mmctl via kubectl exec, keyring writes, secret pushes, dry-run support, and tests.Both mint tokens into the OS keyring and push cluster secrets, but #764 targets ArgoCD and Grafana in deploy-stack while the candidate targets Mattermost webhooks in a new bootstrap command.feat(k8s): add bootstrap-mattermost command (#2945)
chore(main): release 0.36.0 (#2943)