Skip to content

Commit

Permalink
Fix upgrade with no label_selector_include (#6778)
Browse files Browse the repository at this point in the history
When `label_selector_include` is not set in Kiali CR, upgrade
still tries to patch some namespaces as variable used to retrieve it has
empty string as value.
Make sure it's not the case anymore.

Signed-off-by: Sylvain Desbureaux <[email protected]>
  • Loading branch information
sylvainOL committed Oct 26, 2023
1 parent 4b4e941 commit 7915a75
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions roles/default/kiali-deploy/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -884,6 +884,7 @@
when:
- no_longer_accessible_namespaces is defined
- current_label_selector_include is defined
- current_label_selector_include != ""

- name: Create additional Kiali label on all accessible namespaces
vars:
Expand Down

0 comments on commit 7915a75

Please sign in to comment.