Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support custom generator #46

Merged
merged 4 commits into from
Jan 15, 2025
Merged

Support custom generator #46

merged 4 commits into from
Jan 15, 2025

Conversation

hnnsgstfssn
Copy link
Contributor

@hnnsgstfssn hnnsgstfssn commented Jan 14, 2025

If the found ApplicationSet contains no Git configuration Telefonistka crashes.

Guarding against the missing configuration should avoid the crash.

Also adds support for custom generator as long as the generator has an input
parameter named "path".

Note that it would probably be advisable to make it configurable, but
this is left as a future exercise for the reader.

@hnnsgstfssn hnnsgstfssn marked this pull request as ready for review January 14, 2025 11:29
@hnnsgstfssn hnnsgstfssn requested review from yzdann and Oded-B January 14, 2025 11:29
If the found ApplicationSet contains no Git configuration Telefonistka
crashes.

Guarding against the missing configuration should avoid the crash.
Adds support for custom generator as long as the generator has an input
parameter named "path".

Note that it would probably be advisable to make it configurable, but
this is left as a future exercise for the reader.
@hnnsgstfssn hnnsgstfssn changed the title argocd: guard against missing Git configuration Support custom generator Jan 14, 2025
Copy link
Contributor

@jared-logan-patrick-ct jared-logan-patrick-ct left a comment

Choose a reason for hiding this comment

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

LGTM

@hnnsgstfssn hnnsgstfssn merged commit ace4d1b into main Jan 15, 2025
5 checks passed
@hnnsgstfssn
Copy link
Contributor Author

Picking up with @Oded-B tomorrow morning, but got Slack approval with one caveat.

We may need to test that we can support a new app from the AppSet template here.

@hnnsgstfssn hnnsgstfssn deleted the SD-940-stuck-pending branch January 19, 2025 21:12
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.

2 participants