aquasecurity / starboard

Moved to https://github.com/aquasecurity/trivy-operator

Home Page:https://aquasecurity.github.io/starboard/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error scanning images from private registries using imagePullSecrets

avgkoster opened this issue · comments

What steps did you take and what happened:

I have a specific namespace, for example neuvector, it has imagepullSecret: regsecret, which contains credentials from the private registry.
Starboard cannot scan it and gives an error about an empty namespace
Please tell me what I'm doing wrong?
2021-11-30T06:55:52.109Z ERROR controller.replicaset Reconciler error {"reconciler group": "apps", "reconciler kind": "ReplicaSet", "name": "neuvector-controller-pod-87dc9bbdc", "namespace": "neuvector", "error": "creating secret: an empty namespace may not be set during creation"}

Starboard 0.13.0
Kubernetes version 1.19
OS RHEL 7

👋 @avgkoster I can reproduce this error in my environment. It's a regression. We'll try to fix it and release in v0.13.1 . Thank you for reporting and I'm really sorry for the inconvenience.