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

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

Merged
merged 1 commit into from
Apr 29, 2021

Conversation

tumido
Copy link
Member

@tumido tumido commented Apr 29, 2021

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.

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>
@tumido
Copy link
Member Author

tumido commented Apr 29, 2021

/cc @harshad16

@sesheta sesheta added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Apr 29, 2021
Copy link
Member

@harshad16 harshad16 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for fixing this 💯

@sesheta
Copy link
Contributor

sesheta commented Apr 29, 2021

[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:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@sesheta sesheta added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 29, 2021
@sesheta sesheta merged commit 9cb87e4 into AICoE:master Apr 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants