You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to get starboard to scan images in a private GCR registry, and I've successfully created the secrets and service account associations with the credentials.
I associated the secret with the service accounts by adding the imagePullSecret: starboard-gcp-access.
In the starboard-operator logs, I see this:
"error":"reading .dockerconfigjson field of \"default/starboard-gcp-access\" secret: expected username and password concatenated with a colon (:)","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/home/runner/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.2/pkg/internal/controller/controller.go:266\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/home/runner/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.2/pkg/internal/controller/controller.go:227"}
What did you expect to happen:
Starboard to pull the image and scan for VulnerabilityReport
Anything else you would like to add:
The cluster is running the latest version of GKE Autopilot (1.22.6).
What steps did you take and what happened:
I'm trying to get
starboard
to scan images in a private GCR registry, and I've successfully created the secrets and service account associations with the credentials.To confirm my credentials work, I used:
With
gcp-starboard-key.json
being GCP service account credentials.I then created the
docker-registry
secret in kubernetes using this command:I associated the secret with the service accounts by adding the
imagePullSecret: starboard-gcp-access
.In the
starboard-operator
logs, I see this:What did you expect to happen:
Starboard to pull the image and scan for VulnerabilityReport
Anything else you would like to add:
The cluster is running the latest version of GKE Autopilot (1.22.6).
Environment:
Starboard Version: {Version:0.14.1 Commit:5672fd4a4d608d9b094802098f3e950ec396ff51 Date:2022-01-25T17:38:43Z}
kubectl version
):Client Version: version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.5", GitCommit:"c285e781331a3785a7f436042c65c5641ce8a9e9", GitTreeState:"clean", BuildDate:"2022-03-16T15:51:05Z", GoVersion:"go1.17.8", Compiler:"gc", Platform:"darwin/arm64"} Server Version: version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.6-gke.300", GitCommit:"df413ee6225aa3fc539e18ca3464a48d723bd3ea", GitTreeState:"clean", BuildDate:"2022-01-24T09:29:08Z", GoVersion:"go1.16.12b7", Compiler:"gc", Platform:"linux/amd64"}
macOS 10.15
The text was updated successfully, but these errors were encountered: