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: restrict server clusterrole list and watch permissions to only applications #808

Conversation

ishitasequeira
Copy link
Collaborator

Signed-off-by: ishitasequeira ishiseq29@gmail.com

What type of PR is this?
/kind chore

What does this PR do / why we need it:
add list and watch only for applications resources and for argoproj.io apigroups only for cluster role

Have you updated the necessary documentation?

  • Documentation update is required by this PR.
  • Documentation has been updated.

Which issue(s) this PR fixes:

Fixes #?

How to test changes / Special notes to the reviewer:

Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
@jaideepr97 jaideepr97 changed the title add list and watch only for applications for cluster role restrict server clusterrole list and watch permissions to only applications Nov 21, 2022
Copy link
Collaborator

@jaideepr97 jaideepr97 left a comment

Choose a reason for hiding this comment

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

tested and seems to be fine
LGTM, thanks @ishitasequeira

@jaideepr97 jaideepr97 merged commit a6ceb7a into argoproj-labs:master Nov 21, 2022
jaideepr97 pushed a commit to jaideepr97/argocd-operator that referenced this pull request Nov 21, 2022
…abs#808)

Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
(cherry picked from commit a6ceb7a)
jaideepr97 pushed a commit to jaideepr97/argocd-operator that referenced this pull request Nov 21, 2022
…abs#808)

Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
(cherry picked from commit a6ceb7a)
Signed-off-by: Jaideep Rao <jaideep.r97@gmail.com>
jaideepr97 added a commit that referenced this pull request Nov 21, 2022
Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
(cherry picked from commit a6ceb7a)
Signed-off-by: Jaideep Rao <jaideep.r97@gmail.com>

Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
Signed-off-by: Jaideep Rao <jaideep.r97@gmail.com>
Co-authored-by: Ishita Sequeira <46771830+ishitasequeira@users.noreply.github.com>
@iam-veeramalla iam-veeramalla added this to the 0.5.0 milestone Dec 8, 2022
@iam-veeramalla iam-veeramalla changed the title restrict server clusterrole list and watch permissions to only applications fix: restrict server clusterrole list and watch permissions to only applications Dec 8, 2022
iam-veeramalla pushed a commit that referenced this pull request Dec 14, 2022
* add list and watch only for applications for cluster role (#808)

Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
(cherry picked from commit a6ceb7a)
Signed-off-by: Jaideep Rao <jaideep.r97@gmail.com>

* add sleep step

Signed-off-by: Jaideep Rao <jaideep.r97@gmail.com>

Signed-off-by: ishitasequeira <ishiseq29@gmail.com>
Signed-off-by: Jaideep Rao <jaideep.r97@gmail.com>
Co-authored-by: Ishita Sequeira <46771830+ishitasequeira@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants