Giter Club home page Giter Club logo

Comments (6)

ckotzbauer avatar ckotzbauer commented on September 22, 2024 1

I'll have a look in the next few days. Thanks for the issue.

from sbom-operator.

GDWBaer avatar GDWBaer commented on September 22, 2024 1

I actually linked an outdated repo. Sorry. However the issue still exists in the new repo:
go-git/go-git#64

from sbom-operator.

ckotzbauer avatar ckotzbauer commented on September 22, 2024 1

@GDWBaer I developed a fix in #171. It is released as ghcr.io/ckotzbauer/sbom-operator:0.17.0-alpha.0. Can you please test it with the new --git-username, --git-password and --git-fallback-clone flags and give feedback? I tested it with AWS CodeCommit and Azure DevOps and it worked.

from sbom-operator.

ckotzbauer avatar ckotzbauer commented on September 22, 2024 1

Much thanks for testing 🎉

However the --git-branch flag was not beeing respected in this context so that the new SBOMs ended up in the master branch.

Uh, yes I forgot about the branch-parameter, I'll fix that. 😉

Additionally I tested to combine the --git-fallback-clone flag in the helm-chart with the SBOM_GIT_ACCESS_TOKEN from secret which did not work out.

Hm, yes. Currently with the fallback-clone active the token is not respected (only username and password). I'll try to integrate that as well.

May I suggest adding a settable variable for the docker image tag to the helm chart? This would speed up debugging for me since had to edit the chart yaml in the cluster. ;)

You can overwrite the tag in the helm-chart: https://github.com/ckotzbauer/helm-charts/blob/main/charts/sbom-operator/values.yaml#L7. The version from Chart.yaml is only a fallback.

from sbom-operator.

GDWBaer avatar GDWBaer commented on September 22, 2024

@ckotzbauer Thank you very much. I'll try to test it this week.

from sbom-operator.

GDWBaer avatar GDWBaer commented on September 22, 2024

@ckotzbauer I tested it with all three new flags. Cloning into the target git repo on DevOps worked well. However the --git-branch flag was not beeing respected in this context so that the new SBOMs ended up in the master branch.
Additionally I tested to combine the --git-fallback-clone flag in the helm-chart with the SBOM_GIT_ACCESS_TOKEN from secret which did not work out.
May I suggest adding a settable variable for the docker image tag to the helm chart? This would speed up debugging for me since had to edit the chart yaml in the cluster. ;)

from sbom-operator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.