IBM / cloudpak-gitops

Deployment of IBM Cloud Paks using ArgoCD / Red Hat GitOps operator.
Apache License 2.0
22 stars 23 forks source link

RHACM does not add "vendor=OpenShift" tag to registered clusters #182

Closed nastacio closed 2 years ago

nastacio commented 2 years ago

Describe the bug I noticed that when you register OpenShift clusters into RHACM, RHACM does not add the "vendor=OpenShift" tag to them. RHACM always adds that tag to the clusters it creates.

That label is used to match Cloud Pak policies.

To Reproduce Steps to reproduce the behavior:

  1. Register a new cluster on RHACM
  2. Try to label the cluster for the deployment of a Cloud Pak according to instructions on this page https://github.com/IBM/cloudpak-gitops/blob/main/docs/rhacm.md
  3. Notice that the policies never get reflected into the cluster

Expected behavior The policies should be added to the target cluster.

Screenshots If applicable, add screenshots to help explain your problem.

Additional context Add any other context about the problem here.

nastacio commented 2 years ago

The tag openshiftVersion is always added, so it is a better basis for the placement rules.

nastacio commented 2 years ago

:tada: This issue has been resolved in version 0.9.1 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: