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

Use with proxy registry may lead to "weird" behavior #290

Closed
sylvainOL opened this issue Jan 18, 2023 · 3 comments
Closed

Use with proxy registry may lead to "weird" behavior #290

sylvainOL opened this issue Jan 18, 2023 · 3 comments
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@sylvainOL
Copy link

sylvainOL commented Jan 18, 2023

Hello,

as promised, I've tried to use with proxy (#205):

here's my conf:

dtrack-base-url:
    http://dependency-track-backend.dependency-track.svc.cluster.local
  fallback-pull-secret: gitlab-docker-auth
  format: cyclonedx
  ignore-annotations: true
  registry-proxy:
    docker.io=docker.stable.lb.innovation.nif-cd.fr
  targets: dtrack

The thing is at end of run, it'll suppress all docker.stable.lb.innovation.nif-cd.fr/* projects in dtrack as they're not present on the cluster :(

time="2023-01-18T15:25:06Z" level=info msg="Removing kubernetes-cluster=default tag from project docker.stable.lb.innovation.nif-cd.fr/public-dockerhub/minio/operator:v4.5.8"
time="2023-01-18T15:25:06Z" level=info msg="Image not running in any cluster - removing docker.stable.lb.innovation.nif-cd.fr/public-dockerhub/minio/operator:v4.5.8"

but:

$ kubectl describe pod minio-operator-697dbbcc54-94hkh | grep Image:
    Image:         docker.io/istio/proxyv2:1.16.1
    Image:         docker.io/istio/proxyv2:1.16.1
    Image:          minio/operator:v4.5.8
@ckotzbauer
Copy link
Owner

Thanks for the issue.
Okay, this seems to be related to the cleanup logic which is a bit different than for the other targets. I'll have a look

@ckotzbauer ckotzbauer added the kind/bug Categorizes issue or PR as related to a bug. label Jan 18, 2023
ckotzbauer added a commit that referenced this issue Jan 18, 2023
@ckotzbauer
Copy link
Owner

Please have a look at the newest release. I added a fix there. Please have a look if it fixes your issue.

@ckotzbauer
Copy link
Owner

Closing for now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

2 participants