Skip to content

Commit

Permalink
Fix 403 on list rollouts
Browse files Browse the repository at this point in the history
  • Loading branch information
LeaveMyYard committed Jul 20, 2023
1 parent 0a9cdc8 commit 8c29fb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion robusta_krr/core/integrations/kubernetes.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ async def _list_rollouts(self) -> list[K8sObjectData]:
),
)
except ApiException as e:
if e.status == 404:
if e.status in [400, 401, 403, 404]:
self.debug(f"Rollout API not available in {self.cluster}")
return []
raise
Expand Down

0 comments on commit 8c29fb7

Please sign in to comment.