forked from VariableDeclared/charm-tigera
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
deployment errors if all config isn't provided at deploy time (#5)
* lint/license adjustments * spelling corrections, example usage * consistent status messages, formatting, use block vs waiting appropriately * no need for duplicate cni-joined and cni-changed relations; ensure state gates are bools; no update-status unless configured; need image secret before tigera, and license after * fix non-leader premature kubectl calls - non-leader units should wait for the cni relation before we consider them 'configured' to ensure they'll have a valid kubeconfig available. - waiting_for_cni in update_status is no longer needed since units won't be 'configured' until that check passes. - k-c-p may be in the middle of restarting the apiserver when we attempt to query the tigera pod; handle that as if no pod is available. we'll try again on the next hook that calls update_status. * address failing integration tests - test against stable bundle - ensure model debug and halt on hook failure - try/catch creation of install / crd manifests independently - let our status handler fail since we're in a retry loop (fail well) * retry kubectl calls (up to 3m) with tenacity --------- Co-authored-by: Mateo Florido <32885896+mateoflorido@users.noreply.github.com>
- Loading branch information
1 parent
d855833
commit c7404b9
Showing
11 changed files
with
127 additions
and
125 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.