Skip to content

Commit

Permalink
Explicitly mark component as non-multi-tenant
Browse files Browse the repository at this point in the history
Assigning the argocd component to a team other than the cluster owner
team doesn't make sense, so we set `_metadata.multi_tenant=false`.

Additionally, we update the `.cruft.json` to the latest template hash so
future template updates are applied cleanly.

Rendered from template version: main (98d16f9)
  • Loading branch information
simu committed Jan 10, 2025
1 parent e0768ea commit 482e437
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .cruft.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"template": "https://github.com/projectsyn/commodore-component-template.git",
"commit": "a8791fbf66789515dbe6eefe7feca03a3289ea33",
"commit": "98d16f99766e6c6d97322dbe42e058f0e2bf73d0",
"checkout": "main",
"context": {
"cookiecutter": {
Expand Down
3 changes: 3 additions & 0 deletions class/defaults.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
---
parameters:
argocd:
=_metadata:
# This component can't be assigned to a team
multi_tenant: false
namespace: syn

distribution: ${facts:distribution}
Expand Down

0 comments on commit 482e437

Please sign in to comment.