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

Prepare version 0.13.19 #466

Merged
merged 3 commits into from
Sep 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ This project adheres to [Semantic Versioning](http://semver.org/).

## v-next

## v0.13.19
Released: 2024-09-30

* Remediates CVE-2024-24791, CVE-2024-34155, CVE-2024-34156 and CVE-2024-34158 in go-toolset

## v0.13.18

Released: 2024-08-20
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This first stage of the build uses go-toolset to build the portieris binary creates
# a simplified operating system image that satisfies vulnerability scanning requirements
FROM --platform=$BUILDPLATFORM registry.access.redhat.com/ubi8/go-toolset:1.21.11 AS builder
FROM --platform=$BUILDPLATFORM registry.access.redhat.com/ubi8/go-toolset:1.21.13 AS builder
ARG PORTIERIS_VERSION=undefined

# switch to root user as we need to run yum and rpm to ensure packages are up to date
Expand All @@ -22,7 +22,7 @@ RUN CGO_ENABLED=0 GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build \
-tags containers_image_openpgp -o /opt/app-root/bin/portieris ./cmd/portieris
RUN go version -m -v /opt/app-root/bin/portieris | (grep dep || true) | awk '{print "{\"Path\": \""$2 "\", \"Version\": \"" $3 "\"}"}' > /deps.jsonl

FROM registry.access.redhat.com/ubi8/go-toolset:1.21.11 AS installer
FROM registry.access.redhat.com/ubi8/go-toolset:1.21.13 AS installer
ARG TARGETOS TARGETARCH
USER root
RUN yum update -y
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
GOFILES=$(shell find . -type f -name '*.go' -not -path "./code-generator/*" -not -path "./pkg/apis/*")
GOPACKAGES=$(shell go list ./... | grep -v test/ | grep -v pkg/apis/)

VERSION=v0.13.18
VERSION=v0.13.19
TAG=$(VERSION)
GOTAGS='containers_image_openpgp'

Expand Down
2 changes: 1 addition & 1 deletion helm/portieris/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: portieris
version: v0.13.18
version: v0.13.19
description: Admission Controller webhook for enforcing image trust in your cluster
maintainers:
- name: Stuart Hayton
Expand Down
2 changes: 1 addition & 1 deletion helm/portieris/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ image:
host: icr.io/portieris
pullSecret:
image: portieris
tag: v0.13.18
tag: v0.13.19
pullPolicy: Always

service:
Expand Down
4 changes: 2 additions & 2 deletions scripts/env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
export PORTIERIS_PULL_APIKEY=
export PORTIERIS_TESTIMAGE_APIKEY=
# charts to test
export VERSION=v0.13.18
# image tag to test e.g. prep-v0.13.18
export VERSION=v0.13.19
# image tag to test e.g. prep-v0.13.19
export TAG=

# name of the secret used to pull portieris made from $REG and $PORTIERIS_PULL_APIKEY
Expand Down
Loading