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! Missing rbac for flowlogs and snapshots and benchmarks #2593

Merged
merged 1 commit into from Apr 20, 2023

Conversation

asincu
Copy link
Contributor

@asincu asincu commented Apr 20, 2023

Description

Intrusion-detection-controllers needs to get for flowlogs and compliance-reporter need to get for snapshots and benchmarks

2023-04-20 17:19:31.454 [INFO][1] client.go 847: POST https://tigera-secure-es-http.tigera-elasticsearch.svc:9200/_bulk [status:200, request:0.021s]
2023-04-20 17:19:31.558 [INFO][1] token.go 162: User not authorized cluster="cluster" group="linseed.tigera.io" resource="flowlogs" user="system:serviceaccount:tigera-intrusion-detection:intrusion-detection-controller" verb="get"
2023-04-20 17:19:38.204 [INFO][1] token.go 162: User not authorized cluster="cluster" group="linseed.tigera.io" resource="benchmarks" user="system:serviceaccount:tigera-compliance:tigera-compliance-reporter" verb="get"
2023-04-20 17:19:40.167 [INFO][1] token.go 162: User not authorized cluster="cluster" group="linseed.tigera.io" resource="snapshots" user="system:serviceaccount:tigera-compliance:tigera-compliance-reporter" verb="get"

For PR author

  • Tests for change.
  • If changing pkg/apis/, run make gen-files
  • If changing versions, run make gen-versions

For PR reviewers

A note for code reviewers - all pull requests must have the following:

  • Milestone set according to targeted release.
  • Appropriate labels:
    • kind/bug if this is a bugfix.
    • kind/enhancement if this is a a new feature.
    • enterprise if this PR applies to Calico Enterprise only.

@caseydavenport caseydavenport merged commit 6376126 into tigera:master Apr 20, 2023
5 checks passed
@asincu asincu deleted the fix_linseed_rbac branch April 20, 2023 22:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants