Skip to content

Commit 41d9c2e

Browse files
authored
Merge pull request #58 from github/release-policy-controller-v0.10.0-github7
Bump policy-controller version to v0.10.0-github7
2 parents 289e61e + 21ff4ad commit 41d9c2e

File tree

5 files changed

+18
-7
lines changed

5 files changed

+18
-7
lines changed

Diff for: charts/policy-controller/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ sources:
88
type: application
99

1010
name: policy-controller
11-
version: "v0.10.0-github5"
12-
appVersion: "v0.10.0-github5"
11+
version: "v0.10.0-github7"
12+
appVersion: "v0.10.0-github7"
1313

1414
maintainers:
1515
- name: codysoyland

Diff for: charts/policy-controller/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ The Helm chart for Policy Controller
2121
| installCRDs | bool | `true` | |
2222
| leasescleanup.image.pullPolicy | string | `"IfNotPresent"` | |
2323
| leasescleanup.image.repository | string | `"cgr.dev/chainguard/kubectl"` | |
24-
| leasescleanup.image.version | string | `"latest-dev"` | |
24+
| leasescleanup.image.version | string | `"sha256:dfa420c3fe94a8365b274fd714fb829b466cd762d6870d579db8744e6f27450a"` | |
2525
| loglevel | string | `"info"` | |
2626
| serviceMonitor.enabled | bool | `false` | |
2727
| webhook.configData | object | `{}` | |

Diff for: charts/policy-controller/templates/_helpers.tpl

+4
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,12 @@ Create the image path for the passed in image field
124124
Create the image path for the passed in leases-cleanup image field
125125
*/}}
126126
{{- define "leases-cleanup.image" -}}
127+
{{- if eq (substr 0 7 .version) "sha256:" -}}
128+
{{- printf "%s@%s" .repository .version -}}
129+
{{- else -}}
127130
{{- printf "%s:%s" .repository .version -}}
128131
{{- end -}}
132+
{{- end -}}
129133

130134
{{/*
131135
*/}}

Diff for: charts/policy-controller/templates/crds/trustroots.yaml

+7-1
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,17 @@ spec:
4646
type: object
4747
properties:
4848
mirror:
49-
description: 'Mirror is the remote mirror, for example: https://sigstore-tuf-root.storage.googleapis.com'
49+
description: 'Mirror is the remote mirror, for example: https://tuf-repo-cdn.sigstore.dev'
5050
type: string
5151
root:
5252
description: Root is the base64 encoded, json trusted initial root.
5353
type: string
5454
targets:
5555
description: Targets is where the targets live off of the root of the Remote If not specified 'targets' is defaulted.
5656
type: string
57+
trustedRootTarget:
58+
description: TrustedRootTarget is the name of the target containing the JSON trusted root. If not specified, `trusted_root.json` is used.
59+
type: string
5760
repository:
5861
description: Repository contains the serialized TUF remote repository.
5962
type: object
@@ -67,6 +70,9 @@ spec:
6770
targets:
6871
description: Targets is where the targets live off of the root of the Repository above. If not specified 'targets' is defaulted.
6972
type: string
73+
trustedRootTarget:
74+
description: TrustedRootTarget is the name of the target containing the JSON trusted root. If not specified, `trusted_root.json` is used.
75+
type: string
7076
sigstoreKeys:
7177
description: SigstoreKeys contains the serialized keys.
7278
type: object

Diff for: charts/policy-controller/values.yaml

+4-3
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ webhook:
1616
name: webhook
1717
image:
1818
repository: ghcr.io/github/policy-controller-webhook
19-
# crane digest ghcr.io/github/policy-controller-webhook:v0.10.0-github5
20-
version: sha256:048a124b6f287a742956006730844ff5553d00bc12ec99ed1793480d7fbec814
19+
# crane digest ghcr.io/github/policy-controller-webhook:v0.10.0-github7
20+
version: sha256:0bc1630678ffb1623c139d6f0cfdb512a2041033ec94c83a3820f7eddd6b0aab
2121
pullPolicy: IfNotPresent
2222
env: {}
2323
extraArgs: {}
@@ -70,7 +70,8 @@ webhook:
7070
leasescleanup:
7171
image:
7272
repository: cgr.dev/chainguard/kubectl
73-
version: latest-dev
73+
# crane digest cgr.dev/chainguard/kubectl:latest
74+
version: sha256:dfa420c3fe94a8365b274fd714fb829b466cd762d6870d579db8744e6f27450a
7475
pullPolicy: IfNotPresent
7576

7677
## common node selector for all the pods

0 commit comments

Comments
 (0)