Pipeline: Base OS packages not being updated for each release?

Created on 30 Apr 2020  Â·  6Comments  Â·  Source: tektoncd/pipeline

Expected Behavior

As new releases come out, the base OS packages in the released images are updated to pick up the latest security issues.

Actual Behavior

Can you verify that the https://github.com/tektoncd/pipeline/blob/master/images/Dockerfile is used for each new release image (git-init and creds-init)? It seems to be trying to update the base packages, so trying to understand why this has not been getting fixed with new releases , like 0.14.x

Both of those images have some rather "old" CVEs in them for the 0.14 release.

Steps to Reproduce the Problem

  1. Scan the git-init and creds-init images for CVEs
    2.
    3.

Additional Info

  • Kubernetes version:

    Output of kubectl version:

    (paste your output here)
    
  • Tekton Pipeline version:

    Output of tkn version or kubectl get pods -n tekton-pipelines -l app=tekton-pipelines-controller -o=jsonpath='{.items[0].metadata.labels.version}'

arerelease kinbug

All 6 comments

/area release

/kind bug
Took a quick...the base image in .ko.yaml is using the latest image from tekton-nightly: https://github.com/tektoncd/pipeline/blob/master/.ko.yaml

.ko.yaml.release is using a image from gcr.io/tekton-release/ I don't seem to have access to that...however, gcr.io/tekton-releases (extra s - releases vs release) has an updated base image that has been built recently.
Questions:

  1. Where/how is .ko.yaml.release used? I couldn't find where it was used
  2. Why gcr.io/tekton-release instead of gcr.io/tekton-releases in .ko.yaml.release? Is that a typo or intentional?

Perhaps someone who has done a release recently has an idea? (@afrittoli @sbwsg ?)

So a few things:

@vdemeester we are building the images, but are they picking up the latest OS base package updates, from what I'm seeing in the release images, they are back level.

Is this still the case ? :thinking:

Appears to be better now.

Was this page helpful?
0 / 5 - 0 ratings