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

argocd-config: add clusterResourceWhitelist #169

Merged
merged 6 commits into from
Oct 18, 2024

Conversation

deer-wmde
Copy link
Contributor

This fixes the permission problem described here https://phabricator.wikimedia.org/T374217#10176648

This allow list is probably overpermissive, but I think it's still better than using the default project, since this makes it explicit. In the futureTM we can decide to investigate how to scope this down in the sense of the principle of least privilege.

deer-wmde and others added 4 commits October 15, 2024 18:01
Copy link
Contributor

@tarrow tarrow left a comment

Choose a reason for hiding this comment

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

This is going to leave us one PR away from shipping the platform api with argo locally.

We need to add these extra allowances for the resources for the ClusterRole / ClusterRoleBinding

We also need to add the right to deploy into the monitoring namespace.

We discussed this and decided that we would maybe rather explicitly add things to the ResourceWhitelist rather than blindly adding everything

@deer-wmde deer-wmde added this pull request to the merge queue Oct 18, 2024
Merged via the queue into main with commit e3ccb90 Oct 18, 2024
2 checks passed
@deer-wmde deer-wmde deleted the de/argo-config-resource-whitelist branch October 18, 2024 11:59
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.

3 participants