AICoE / aicoe-ci

AICoE-CI using TektonCD pipelines and triggers
13 stars 13 forks source link

fix: Use rbac api group for bindings to sync nicely in ArgoCD #109

Closed tumido closed 3 years ago

tumido commented 3 years ago

Should resolved ArgoCD out of sync on these resources. image

The nature of this problem is rooted in how Openshift handles authorization.openshift.io API. This API is being deprecated/replaced, since it was donated to upstream kubernetes. Hence when a manifest is submitted to authorization.openshift.io it gets accepted, but it is internally converted to rbac.authorization.k8s.io. That means the sync of the resource into the cluster is successful, but when ArgoCD tries to query for the resource, it no longer exists in this API group, hence it's reported missing by ArgoCD.

tumido commented 3 years ago

/cc @harshad16

sesheta commented 3 years ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: harshad16

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/AICoE/aicoe-ci/blob/master/OWNERS)~~ [harshad16] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment