Skip to content

Conversation

@merll
Copy link
Contributor

@merll merll commented Jan 27, 2026

📌 Summary

This PR enhances the functionality by responding to creation of Kubernetes manifest files in specific directories of the values repository. Files created in env/manifests/ns/<namespace-name>/ result in creation of an ArgoCD application that creates and deploys everything into the namespace with the directory name. Manifest files stored in env/manifest/global/ are intended for cluster-wide objects and therefore do not imply a target namespace, and do not create any.
Removing any of the namespace directories removes the ArgoCD application as well. Removing all manifests from global does not remove the ArgoCD application, due to risks arising from deleting cluster-wide objects.

In order to avoid unintended changes to unrelated ArgoCD applications, labels are added and used for selection. The platform app updates have been extended accordingly.

🔍 Reviewer Notes

Verifying that the namespace matches the directory name has been out of scope of the defined functionality, therefore the manifest can override the target deployment namespace. Additional functionality is planned to be implemented in the API.

🧹 Checklist

  • Code is readable, maintainable, and robust.
  • Unit tests added/updated

@svcAPLBot
Copy link
Contributor

Comparison of Helm chart templating output:



metadata
  + one map entry added:
    labels:
      otomi.io/app: team-gitops


metadata
  + one map entry added:
    labels:
      otomi.io/app: team-gitops


metadata
  + one map entry added:
    labels:
      otomi.io/app: team-gitops

@linode linode deleted a comment from svcAPLBot Jan 29, 2026
@merll
Copy link
Contributor Author

merll commented Jan 29, 2026

Rebased in #2893

@merll merll closed this Jan 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants