Skip to content

Commit

Permalink
feat: Update Cosign to 2.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Starkteetje committed Nov 20, 2023
1 parent a96c88b commit caba0d3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
NAMESPACE = connaisseur
IMAGE_REPOSITORY := $(shell yq e '.kubernetes.deployment.image.repository' helm/values.yaml)
VERSION := $(shell yq e '.appVersion' helm/Chart.yaml)
COSIGN_VERSION = 2.2.0
COSIGN_VERSION = 2.2.1

.PHONY: all docker install uninstall upgrade annihilate

Expand Down
3 changes: 3 additions & 0 deletions connaisseur/validators/cosign/cosign_validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,9 @@ def __get_envs(self):
# Extend the OS env vars only for passing to the subprocess below
env["DOCKER_CONFIG"] = f"/app/connaisseur-config/{self.name}/.docker/"
env["TUF_ROOT"] = "/app/.sigstore"
env[
"SIGSTORE_NO_CACHE"
] = "1" # Otherwise, Cosign will try to write cache files to disk
if safe_path_func(
os.path.exists, "/app/certs/cosign", f"/app/certs/cosign/{self.name}.crt"
):
Expand Down

0 comments on commit caba0d3

Please sign in to comment.