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

Make discover not dependent on env vars #5

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

zarelit
Copy link

@zarelit zarelit commented Mar 27, 2024

Sometimes discover is called without all the build time environment, so no ARGOCD_APP_NAME or ARGOCD_APP_REVISION are available, at least that's true on ArgoCD v2.10.1+a79e0ea.

On the other hand if all we do is to check for the presence of jsonnetfile.json somewhere, we can skip the wrapper entirely. That's what the PR does.

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.

1 participant