-
Notifications
You must be signed in to change notification settings - Fork 217
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: helm param gcr service account auth #2108
Conversation
Signed-off-by: chenk <hen.keinan@gmail.com>
Signed-off-by: chenk <hen.keinan@gmail.com>
@tidusete do you know how to build the project from this PR and test it to make sure it works for you ? |
@chen-keinan I have been trying to make it work but without luck.
But I believe this condition trivyoperator.GetDefaultConfig().GetScanJobUseGCRServiceAccount() is always giving me true although I have defined on the trivy-operator configmap the following Key.
So basically the problem relays on the function From which helm version should I work on that point? Should I forward everything to the last helm version and put on top of that the container image that I'm building with your changes? |
@tidusete if you want to run from helm do the following.
cd ~/<your workspace>/trivy-operator/cmd/trivy-operator
GOOS=linux GOARCH=arm64/amd64 go build -o trivy-operator
mv trivy-operator ~/<your workspace>/trivy-operator/build/trivy-operator/trivy-operator
cd ~/<your workspace>/trivy-operator/build/trivy-operator
docker build -t <docker hub user>/trivy-operator:<tag> .
docker push <docker hub user>/trivy-operator:<tag>" update the deployment image with the one you just build and published |
@tidusete any update ? |
I will try to do it today |
Hey @chen-keinan I have been following all what you said but I have no luck.
I have the feeling that this var
|
@tidusete thanks for the update, I have found the issue and added a fix to this PR, can you try again the above steps after updating the branch with latest commit |
Signed-off-by: chenk <hen.keinan@gmail.com>
@tidusete let me know if now it works for you and I'll merge it |
Will try to do it today as well |
It Works! |
Thanks for the update, I'll merge it now. |
I see a new helm chart was published, but I believe this would require a newer |
@34fathombelow the fix on the PR has not yet been released, only merged , will be out with |
This address the pull requested merged aquasecurity#2108. but the check was getting the default value where the propery was missing
This address the pull requested merged aquasecurity#2108. but the check was getting the default value where the propery was missing
This address the pull requested merged #2108. but the check was getting the default value where the propery was missing
Description
helm param gcr service account auth
Related issues
Checklist