Skip to content
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

[patch] Fix label_selectors pattern #1586

Merged
merged 1 commit into from
Dec 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions ibm/mas_devops/roles/suite_app_upgrade/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@
when: mas_app_channel is not defined or mas_app_channel == ""
kubernetes.core.k8s_info:
api_version: operators.coreos.com/v1alpha1
name: "ibm-mas-operator"
namespace: "{{ mas_namespace }}"
kind: Subscription
namespace: "{{ mas_namespace }}"
label_selectors:
- "operators.coreos.com/ibm-mas.{{ mas_namespace }}"
register: core_sub_info


Expand Down
2 changes: 1 addition & 1 deletion ibm/mas_devops/roles/suite_uninstall/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
kind: Subscription
namespace: "mas-{{ mas_instance_id }}-core"
label_selectors:
- "operators.coreos.com/ibm-mas.mas.mas-{{ mas_instance_id }}-core"
- "operators.coreos.com/ibm-mas.mas-{{ mas_instance_id }}-core"

- name: "Delete ibm-truststore-mgr Subscription"
kubernetes.core.k8s:
Expand Down
5 changes: 3 additions & 2 deletions ibm/mas_devops/roles/suite_upgrade/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@
when: mas_channel is not defined or mas_channel == ""
kubernetes.core.k8s_info:
api_version: operators.coreos.com/v1alpha1
name: "ibm-mas-operator"
namespace: "{{ mas_namespace }}"
kind: Subscription
namespace: "{{ mas_namespace }}"
label_selectors:
- "operators.coreos.com/ibm-mas.{{ mas_namespace }}"
register: core_sub_info

- name: "Set default upgrade target based on installed version of MAS core"
Expand Down
Loading