Skip to content

Commit

Permalink
update CRD and values
Browse files Browse the repository at this point in the history
Signed-off-by: Meredith Lancaster <[email protected]>
  • Loading branch information
malancas committed May 30, 2024
1 parent 8240fb7 commit ac8d08b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
12 changes: 12 additions & 0 deletions charts/policy-controller/templates/crds/clusterimagepolicy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,9 @@ spec:
trustRootRef:
description: Use the Certificate Chain from the referred TrustRoot.TimeStampAuthorities
type: string
signatureFormat:
description: SignatureFormat specifies the format the authority expects. Supported formats are "simplesigning" and "bundle". If not specified, the default is "simplesigning" (cosign's default).
type: string
source:
description: Sources sets the configuration to specify the sources from where to consume the signatures.
type: array
Expand Down Expand Up @@ -237,6 +240,9 @@ spec:
action:
description: Action defines how to handle a matching policy.
type: string
message:
description: For fail actions, emit an optional custom message
type: string
images:
description: Images defines the patterns of image names that should be subject to this policy.
type: array
Expand Down Expand Up @@ -542,6 +548,9 @@ spec:
trustRootRef:
description: Use the Certificate Chain from the referred TrustRoot.TimeStampAuthorities
type: string
signatureFormat:
description: SignatureFormat specifies the format the authority expects. Supported formats are "simplesigning" and "bundle". If not specified, the default is "simplesigning" (cosign's default).
type: string
source:
description: Sources sets the configuration to specify the sources from where to consume the signatures.
type: array
Expand Down Expand Up @@ -570,6 +579,9 @@ spec:
action:
description: Action defines how to handle a matching policy.
type: string
message:
description: For fail actions, emit an optional custom message
type: string
images:
description: Images defines the patterns of image names that should be subject to this policy.
type: array
Expand Down
6 changes: 3 additions & 3 deletions charts/policy-controller/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ webhook:
replicaCount: 1
name: webhook
image:
repository: ghcr.io/github/policy-controller/policy-controller
# crane digest ghcr.io/github/policy-controller/policy-controller:v0.9.0.github1
# version: sha256:correct-hash-here
repository: ghcr.io/github/policy-controller-webhook
# crane digest ghcr.io/github/policy-controller-webhook:v0.9.0.alpha1
version: sha256:122eabccb751a226b0e4b838c39baa3088912413f33d9ea946393703fe347641
pullPolicy: IfNotPresent
env: {}
extraArgs: {}
Expand Down

0 comments on commit ac8d08b

Please sign in to comment.