Merge branch 'main' into dependabot/github_actions/actions/upload-artifact-4.3.6

This commit is contained in:
James Carnegie
2024-08-28 10:02:24 +01:00
committed by GitHub
7 changed files with 11 additions and 7 deletions

View File

@@ -78,6 +78,6 @@ jobs:
# Upload the results to GitHub's code scanning dashboard.
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@afb54ba388a7dca6ecae48f608c4ff05ff4cc77a # v3.25.15
uses: github/codeql-action/upload-sarif@2c779ab0d087cd7fe7b826087247c2c81f27bfa6 # v3.26.5
with:
sarif_file: results.sarif

View File

@@ -1,8 +1,8 @@
apiVersion: v2
description: A Helm chart for attest external data provider
name: attest-provider
version: 0.0.8
version: 0.0.10
home: https://github.com/docker/attest-provider
sources:
- https://github.com/docker/attest-provider.git
appVersion: 0.0.8
appVersion: 0.0.10

View File

@@ -8,6 +8,7 @@
|port|port for provider service|`8090`|
|handlerTimeout|timeout in seconds for provider HTTP handler|`25`|
|replicas|number of provider replicas in deployment|`1`|
|serviceAccountName|name of service account to attach to provider pods|``|
|tufRoot|name of embedded Docker TUF root to use for client (`dev`, `staging`, `prod`)|`prod`|
|tufMetadataSource|URI for TUF metadata (registry or http source)|`registry-1.docker.io/docker/tuf-metadata`|
|tufTargetsSource|URI for TUF targets (registry or http source)|`registry-1.docker.io/docker/tuf-targets`|

View File

@@ -15,6 +15,9 @@ spec:
app: '{{ template "attest-provider.name" . }}'
chart: '{{ template "attest-provider.name" . }}'
spec:
{{- if .Values.serviceAccountName }}
serviceAccountName: {{ .Values.serviceAccountName }}
{{- end }}
containers:
- image: {{ .Values.image }}
imagePullPolicy: IfNotPresent

View File

@@ -1,4 +1,4 @@
image: "docker/attest-provider:0.0.8@sha256:ad61961bbb9779822e8627c9ddb5c2f29c1ece4ecf9577fb81df02eb108a59ef"
image: "docker/attest-provider:0.0.10@sha256:891da7141dff7e433f64b07d64c89693f029da08349ef8775ba7e064db9d3a9b"
certDir: /certs
clientCAFile: /tmp/gatekeeper/ca.crt

2
go.mod
View File

@@ -3,7 +3,7 @@ module github.com/docker/attest-provider
go 1.22.5
require (
github.com/docker/attest v0.3.0
github.com/docker/attest v0.3.1
github.com/google/go-containerregistry v0.20.1
github.com/in-toto/in-toto-golang v0.9.0
github.com/open-policy-agent/frameworks/constraint v0.0.0-20221214024800-b745745c4118

4
go.sum
View File

@@ -212,8 +212,8 @@ github.com/dimchansky/utfbom v1.1.1 h1:vV6w1AhK4VMnhBno/TPVCoK9U/LP0PkLCS9tbxHdi
github.com/dimchansky/utfbom v1.1.1/go.mod h1:SxdoEBH5qIqFocHMyGOXVAybYJdr71b1Q/j0mACtrfE=
github.com/distribution/reference v0.6.0 h1:0IXCQ5g4/QMHHkarYzh5l+u8T3t73zM5QvfrDyIgxBk=
github.com/distribution/reference v0.6.0/go.mod h1:BbU0aIcezP1/5jX/8MP0YiH4SdvB5Y4f/wlDRiLyi3E=
github.com/docker/attest v0.3.0 h1:rXLcq5QEFeePwFzJjcNZYS1ePhpzXktRIVEn/rvA0co=
github.com/docker/attest v0.3.0/go.mod h1:UuJ+jXWrCep9HDnWocjxD2fgyWisqCZ3kgQSJ+wOJyc=
github.com/docker/attest v0.3.1 h1:cRxXrDPAngWVhhfmTGLOxY+zql4fgyJUVz58bqhAk+k=
github.com/docker/attest v0.3.1/go.mod h1:UuJ+jXWrCep9HDnWocjxD2fgyWisqCZ3kgQSJ+wOJyc=
github.com/docker/cli v27.1.1+incompatible h1:goaZxOqs4QKxznZjjBWKONQci/MywhtRv2oNn0GkeZE=
github.com/docker/cli v27.1.1+incompatible/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8=
github.com/docker/distribution v2.8.3+incompatible h1:AtKxIZ36LoNK51+Z6RpzLpddBirtxJnzDrHLEKxTAYk=