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

Add sleeps to node ip search and zitadel api health queries; also improve env var tooltip for sensitive init values #174

Merged
merged 3 commits into from
Mar 16, 2024

Conversation

jessebot
Copy link
Collaborator

  • Without the sleeps for the node ip search, when joining a new node and searching for the control plane node's internal IP, it can genearte dozens of log entries clogging up your screen. This waits just 2 seconds between tries to free up some more of your screen.

  • Without the sleeps and catching of SSLError for zitadel api health queries, it can sometimes time out before the ssl cert is ready (like if you're using the DNS01 challenge type for the ACME Issuer type), which will cause smol-k8s-lab to just crash in the most depressing way, because then you have to delete the zitadel app of apps, clean up the namespace and try smol-k8s-lab again, which is pain because you have to backup the tls cert if it's letsencrypt-prod or you'll get locked out of ACME's servers for like a month if you're doing a lot of back to back testing D:

  • the tooltip improvement was just to avoid the user needing to look up the env var in the docs :)

@jessebot jessebot requested a review from cloudymax March 16, 2024 11:54
@jessebot jessebot self-assigned this Mar 16, 2024
@jessebot jessebot merged commit 7f4d032 into main Mar 16, 2024
4 checks passed
@jessebot jessebot deleted the sleepy-release branch March 16, 2024 12:06
jessebot added a commit that referenced this pull request May 15, 2024
…rove env var tooltip for sensitive init values (#174)

* adding sleeps for zitadel api query as well as k3s internal ip query to reduce log output and try to avoid raise conditions

* improve sensitive value tooltip

* catch error if there's no res at all when checking zitadel api health
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