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

image-analyzer: Missing "get nodes" permission in ClusterRole #600

Open
ChristianCiach opened this issue Nov 25, 2024 · 1 comment
Open

Comments

@ChristianCiach
Copy link

ChristianCiach commented Nov 25, 2024

The image analyzer (image falcon-imageanalyzer:1.0.16) logs this:

time=2024-11-25T17:21:10.015Z level=WARN msg="unable to get node some-node.local, using default architecture = amd64" mode=watcher thread=event_watcher event_type=MODIFIED namespace=ten name=dashboard-76f77d9fc9-8fc5f resource_version=139986134 created_at=2024-11-22T12:52:01.000Z namespace=ten name=dashboard-76f77d9fc9-8fc5f resource_version=139986134 owner_name=dashboard-76f77d9fc9 owner_kind=ReplicaSet error="nodes \"some-node.local\" is forbidden: User \"system:serviceaccount:falcon-iar:falcon-operator-image-analyzer\" cannot get resource \"nodes\" in API group \"\" at the cluster scope" 

This was fixed in the helm chart a while ago:

Should we better use the helm chart going forward?

@ChristianCiach ChristianCiach changed the title image-analyer: Missing "get nodes" permission in ClusterRole image-analyzer: Missing "get nodes" permission in ClusterRole Nov 25, 2024
@evanstoner
Copy link
Contributor

I've confirmed this is being tracked internally, and also confirmed with IAR engineering that this is just a warning - IAR will default to the architecture of the image (amd64 in your case) if it can't get the architecture from the nodes API.

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

No branches or pull requests

2 participants