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

Support for verb:create events clusterrole for server #2340

Closed
kutysam opened this issue Nov 9, 2023 · 0 comments · Fixed by #2341
Closed

Support for verb:create events clusterrole for server #2340

kutysam opened this issue Nov 9, 2023 · 0 comments · Fixed by #2341
Labels
argo-cd bug Something isn't working

Comments

@kutysam
Copy link

kutysam commented Nov 9, 2023

Describe the bug

WRT: argoproj/argo-cd#14477

We need to ensure that we can add create into the helm chart.
Reason being is, lets say a user restarts the deployment on argocd, the log will not be written on that specific namespace.

{"level":"error","msg":"Unable to create audit event: events is forbidden: User "system:serviceaccount:platform-system:argocd-server" cannot create resource "events" in API group "" in the namespace "XXXXX-service"","name":"demo-service","reason":"ResourceActionRan","time":"2023-11-09T20:59:12Z","type":"Normal","user":"XXXX"}

This requires the create verb.

Related helm chart

argo-cd

Helm chart version

argo-cd-5.51.0

To Reproduce

Try to run a restart command on a deployment in another namespace through console etc.
Check argocd server logs.
You will encounter an error

Expected behavior

It is expected to throw an error if the verb isn't there.

However, we should make sure the verb is settable in helm.

Screenshots

No response

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
argo-cd bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants