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
fix(k8s): permit mattermost-operator and cnpg-system in homelab project destinations #2925
The Argo CD Application base (in project homelab) synchronizes k8s/kustomization.yaml, which includes k8s/mattermost-operator-limitrange.yaml. This resource has namespace: mattermost-operator.
However, AppProjecthomelab in k8s/argocd/apps/projects.yaml does not list mattermost-operator in its destinations.
As a result, Argo CD refuses to synchronize base: one or more synchronization tasks are not valid: namespace mattermost-operator is not permitted in project 'homelab'
Because base fails to synchronize, Kubernetes never creates the namespaces mattermost, mattermost-operator, and cnpg-system. Consequently, the mattermost, mattermost-operator, and cloudnative-pg applications fail to deploy (namespaces "..." not found).
Reproduction Steps
Check Argo CD application status: kubectl get application -n argocd base
Inspect status.operationState: one or more synchronization tasks are not valid: namespace mattermost-operator is not permitted in project 'homelab'
Check kubectl get application -n argocd mattermost: namespaces "mattermost" not found
Expected vs Actual Behavior
Expected: AppProject homelab permits destination namespaces mattermost-operator and cnpg-system so that base synchronizes all base cluster resources and creates the necessary namespaces.
Actual: base fails to synchronize with a project permission error, leaving namespaces uncreated.
Environment Diagnostics
DevOps CLI Version: 0.2.37
Python Version: 3.14.10
OS & Architecture: Linux x86_64
Execution Environment: DevContainer / Homelab k3s
Logs, Traces, or Terminal Output
message: 'one or more synchronization tasks are not valid: namespace mattermost-operator is not permitted in project ''homelab''.'
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
Type: type/bug. The fix prefix of the title gives the type.
Scope: scope/k8s. The (k8s) scope of the title gives the scope.
Priority: P2-Medium. Blocks base sync and cascades to three application failures, but only in a homelab environment.
Value: Medium. Unblocks deployment of mattermost, mattermost-operator, and cloudnative-pg workloads.
Effort: Low. Add two namespace strings to an existing destinations list in one YAML file.
Related: dan-petty/homelab#329, which asks for a different change. Both edit AppProject destinations in projects.yaml, but the candidate adds missing namespaces while 1646 audits and removes excess permissions.
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.
fixprefix of the title gives the type.(k8s)scope of the title gives the scope.Blocks base sync and cascades to three application failures, but only in a homelab environment.Unblocks deployment of mattermost, mattermost-operator, and cloudnative-pg workloads.Add two namespace strings to an existing destinations list in one YAML file.Both edit AppProject destinations in projects.yaml, but the candidate adds missing namespaces while 1646 audits and removes excess permissions.