Skip to content

Commit

Permalink
Print successfull
Browse files Browse the repository at this point in the history
  • Loading branch information
smokestacklightnin committed Nov 21, 2024
1 parent 46682ab commit 88be8a4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/_nebari/upgrade.py
Original file line number Diff line number Diff line change
Expand Up @@ -683,6 +683,8 @@ def _version_specific_upgrade(
rich.print(f"CRD [yellow]{crd}[/yellow] not found. Ignoring.")
else:
raise e
else:
rich.print(f"Successfully removed CRD [green]{crd}[/green]")

for sa in argo_sa:
api_instance = kubernetes.client.CoreV1Api()
Expand All @@ -698,6 +700,10 @@ def _version_specific_upgrade(
)
else:
raise e
else:
rich.print(
f"Successfully removed service account [green]{sa}[/green]"
)
else:
kubectl_delete_argo_crds_cmd = " ".join(
(
Expand Down

0 comments on commit 88be8a4

Please sign in to comment.