Skip to content

mto argocd extension first commit#365

Open
rasheedamir wants to merge 5 commits intomainfrom
argocd-extension
Open

mto argocd extension first commit#365
rasheedamir wants to merge 5 commits intomainfrom
argocd-extension

Conversation

@rasheedamir
Copy link
Copy Markdown
Member

@rasheedamir rasheedamir commented Jan 16, 2026

first commit

@rasheedamir rasheedamir requested a review from a team as a code owner January 16, 2026 10:49
@github-actions
Copy link
Copy Markdown

@rasheedamir PR doc deploy will soon be available for review on https://stakater.github.io/mto-docs/argocd-extension

@github-actions
Copy link
Copy Markdown

@rasheedamir Image is available for testing. docker pull ghcr.io/stakater/mto-docs:SNAPSHOT-PR-365-4de682be

Comment thread content/integrations/argocd/readme.md Outdated
@github-actions
Copy link
Copy Markdown

@rasheedamir PR doc deploy will soon be available for review on https://stakater.github.io/mto-docs/argocd-extension

@github-actions
Copy link
Copy Markdown

@rasheedamir Image is available for testing. docker pull ghcr.io/stakater/mto-docs:SNAPSHOT-PR-365-be4c25a2

Comment thread content/integrations/argocd/readme.md Outdated
Comment thread content/integrations/argocd/readme.md
Comment thread content/integrations/argocd/readme.md Outdated
namespace: mto-system
spec:
# Global on/off for this extension instance.
enabled: true
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Its better to delete / comment out the Extension itself rather than disabling it through the controller. Unless we just want to disable the ingress or something instead?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was confused about this as well but GPT kept suggesting that I should have it! but its good you don't see its necessary like me

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so, the verdict is we remove it?

# We DO NOT rely on namespace name prefixes/postfixes, and we DO NOT require Tenant.status.
# Instead we select namespaces by labels (Kubernetes-native + stable).
destinations:
strategy: NamespaceLabelSelector
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is also redundant. There's only 1 strategy. If needed, we can expand and add more keys instead of a 2 layered approach for filtering

Copy link
Copy Markdown
Member Author

@rasheedamir rasheedamir Jan 18, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can read namespaces from tenant.status as well but maybe that is not a good strategy at all

# argocd.ext.mto.stakater.com/bootstrap-path: tenants/acme
# argocd.ext.mto.stakater.com/bootstrap-revision: main
repoURL:
defaultTemplate: "https://github.com/{{ .tenant.name }}/gitops"
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can be set to just template as we don't allow overriding it

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how do you mean exactly?

Comment thread content/integrations/argocd/readme.md Outdated
Comment thread content/integrations/argocd/readme.md Outdated
Comment thread content/integrations/argocd/readme.md
@github-actions
Copy link
Copy Markdown

@rasheedamir PR doc deploy will soon be available for review on https://stakater.github.io/mto-docs/argocd-extension

@github-actions
Copy link
Copy Markdown

@rasheedamir Image is available for testing. docker pull ghcr.io/stakater/mto-docs:SNAPSHOT-PR-365-064b1272

@github-actions
Copy link
Copy Markdown

@rasheedamir PR doc deploy will soon be available for review on https://stakater.github.io/mto-docs/argocd-extension

@github-actions
Copy link
Copy Markdown

@rasheedamir Image is available for testing. docker pull ghcr.io/stakater/mto-docs:SNAPSHOT-PR-365-9d7bd1d1

@github-actions
Copy link
Copy Markdown

@rasheedamir PR doc deploy will soon be available for review on https://stakater.github.io/mto-docs/argocd-extension

Comment thread content/integrations/argocd/readme.md
@github-actions
Copy link
Copy Markdown

@rasheedamir Image is available for testing. docker pull ghcr.io/stakater/mto-docs:SNAPSHOT-PR-365-111086ea

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