-
Notifications
You must be signed in to change notification settings - Fork 0
Rollup kubectl commands to a common library #31
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
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -18,6 +18,7 @@ | |
| from kube_galaxy.pkg.arch.detector import ArchInfo | ||
| from kube_galaxy.pkg.literals import Commands, Permissions, SystemPaths, Timeouts | ||
| from kube_galaxy.pkg.manifest.models import ComponentConfig, InstallMethod, Manifest | ||
| from kube_galaxy.pkg.utils.client import apply_manifest | ||
| from kube_galaxy.pkg.utils.components import ( | ||
| download_file, | ||
| extract_archive, | ||
|
|
@@ -243,8 +244,7 @@ def bootstrap_hook(self) -> None: | |
| raise ComponentError( | ||
| f"{comp_name} manifest not downloaded. Run download hook first." | ||
| ) | ||
| run(["kubectl", "apply", "-f", str(self.manifest_path)], check=True) | ||
| info(f"Applied manifest for {comp_name}") | ||
| apply_manifest(self.manifest_path) | ||
|
||
|
|
||
| pass | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.