Skip to content

feat(k8s): mattermost team edition on cloudnativepg - #2891

Merged
dan-petty merged 3 commits into
mainfrom
feat/1391-mattermost-team-edition
Oct 31, 2026
Merged

dan-petty merged 3 commits into
mainfrom
feat/1391-mattermost-team-edition

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Closes #1391

Summary

Deploy Mattermost Team Edition on Kubernetes via the Mattermost Operator and CloudNativePG. Register the chat stack in lifecycle commands and cluster secrets management. Add Argo CD applications, network policies, telemetry opt-outs, and Prometheus alerts.

Changes

  • Add namespaces mattermost, cnpg-system, and mattermost-operator with restricted Pod Security Standards.
  • Add LimitRange mattermost-operator-default-resources for the operator namespace.
  • Add Argo CD Applications cloudnative-pg, mattermost-operator, and mattermost under project homelab.
  • Configure ignoreDifferences for mattermost-db secret mutation.
  • Create Helm values for CloudNativePG and Mattermost Operator.
  • Create CloudNativePG Cluster (mattermost-db) with persistent storage and metrics.
  • Create Mattermost CRD resource (team-edition, Recreate strategy, telemetry opt-outs).
  • Create PodMonitor and NetworkPolicy (restrict egress to database, DNS, and internal ingress).
  • Register chat in CONST_K8S_STACKS, HELM_REPOS_BY_STACK, HELM_RELEASES_BY_STACK, and _POST_HELM_BY_STACK.
  • Add mattermost/mattermost-db row in CLUSTER_SECRETS with derived connection string.
  • Update argocd_overrides to patch Mattermost hostnames.
  • Add Prometheus alerts MattermostUnavailable and MattermostDatabaseDown.
  • Update k8s/README.md with stack documentation and tunnel routing diagram.

Deploy Mattermost Team Edition on Kubernetes via the Mattermost
Operator and CloudNativePG. Register the chat stack in lifecycle
commands and cluster secrets management. Add Argo CD applications,
network policies, telemetry opt-outs, and Prometheus alerts.
@dan-petty dan-petty added type/feature Type feature: a new function scope/k8s Kubernetes commands, Helm charts, pods, services, and policies labels Oct 31, 2026
…ts (#1391)

Extract the version tag for operator CRs that separate image repository and version. Update chart token sites and storage claims for cloudnative-pg and mattermost-operator. Register chat stack in stack resolution tests and document the mattermost-db secret in the table.
…#1391)

Add unit test to verify image_values combines image and version fields for operator Custom Resources. Remove unused hostName iteration from Mattermost ingress override logic to achieve full diff coverage.
@dan-petty
dan-petty marked this pull request as ready for review October 31, 2026 17:46
@dan-petty
dan-petty merged commit c8e0948 into main Oct 31, 2026
19 checks passed
@dan-petty
dan-petty deleted the feat/1391-mattermost-team-edition branch October 31, 2026 17:46
dan-petty pushed a commit that referenced this pull request Oct 31, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.30.0](v0.29.0...v0.30.0)
(2026-10-31)


### Features

* **k8s:** mattermost team edition on cloudnativepg
([#2891](#2891))
([c8e0948](c8e0948))
* **review:** preview requests in dry run for review commands
([#2892](#2892))
([69c1f26](69c1f26)),
closes [#2248](#2248)

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/k8s Kubernetes commands, Helm charts, pods, services, and policies type/feature Type feature: a new function

Projects

None yet

1 participant