Skip to content

Commit

Permalink
chore: update policy groups CRDs (#528)
Browse files Browse the repository at this point in the history
Signed-off-by: Fabrizio Sestito <[email protected]>
  • Loading branch information
fabriziosestito authored Sep 11, 2024
1 parent f01a6b4 commit f7087bc
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 38 deletions.
7 changes: 5 additions & 2 deletions charts/kubewarden-crds/templates/NOTES.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
Kubewarden CRDs now available: `clusteradmissionpolicies.policies.kubewarden.io`,
`admissionpolicies.policies.kubewarden.io`, `policyservers.policies.kubewarden.io`.
Kubewarden CRDs now available: `clusteradmissionpolicies.policies.kubewarden.io`,
`admissionpolicies.policies.kubewarden.io`,
`clusteradmissionpolicygroups.policies.kubewarden.io`,
`admissionpolicygroups.policies.kubewarden.io`,
`policyservers.policies.kubewarden.io`.
{{ if .Values.installPolicyReportCRDs }}
Policy report CRDs now available: `policyreports.wgpolicyk8s.io`,
`clusterpolicyreports.wgpolicyk8s.io`.
Expand Down
33 changes: 15 additions & 18 deletions charts/kubewarden-crds/templates/admissionpolicygroups.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -256,11 +256,7 @@ spec:
type: object
x-kubernetes-map-type: atomic
policies:
description: |-
Policies is a list of policies that are part of the group that will
be available to be called in the evaluation expression field.
Each policy in the group should be a Kubewarden policy.
items:
additionalProperties:
properties:
contextAwareResources:
description: |-
Expand All @@ -283,7 +279,14 @@ spec:
- kind
type: object
type: array
name:
module:
description: |-
Module is the location of the WASM module to be loaded. Can be a
local file (file://), a remote file served by an HTTP server
(http://, https://), or an artifact served by an OCI-compatible
registry (registry://).
If prefix is missing, it will default to registry:// and use that
internally.
type: string
settings:
description: |-
Expand All @@ -293,20 +296,14 @@ spec:
nullable: true
type: object
x-kubernetes-preserve-unknown-fields: true
url:
description: |-
Module is the location of the WASM module to be loaded. Can be a
local file (file://), a remote file served by an HTTP server
(http://, https://), or an artifact served by an OCI-compatible
registry (registry://).
If prefix is missing, it will default to registry:// and use that
internally.
type: string
required:
- name
- url
- module
type: object
type: array
description: |-
Policies is a list of policies that are part of the group that will
be available to be called in the evaluation expression field.
Each policy in the group should be a Kubewarden policy.
type: object
policyServer:
default: default
description: PolicyServer identifies an existing PolicyServer resource.
Expand Down
33 changes: 15 additions & 18 deletions charts/kubewarden-crds/templates/clusteradmissionpolicygroups.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -348,11 +348,7 @@ spec:
type: object
x-kubernetes-map-type: atomic
policies:
description: |-
Policies is a list of policies that are part of the group that will
be available to be called in the evaluation expression field.
Each policy in the group should be a Kubewarden policy.
items:
additionalProperties:
properties:
contextAwareResources:
description: |-
Expand All @@ -375,7 +371,14 @@ spec:
- kind
type: object
type: array
name:
module:
description: |-
Module is the location of the WASM module to be loaded. Can be a
local file (file://), a remote file served by an HTTP server
(http://, https://), or an artifact served by an OCI-compatible
registry (registry://).
If prefix is missing, it will default to registry:// and use that
internally.
type: string
settings:
description: |-
Expand All @@ -385,20 +388,14 @@ spec:
nullable: true
type: object
x-kubernetes-preserve-unknown-fields: true
url:
description: |-
Module is the location of the WASM module to be loaded. Can be a
local file (file://), a remote file served by an HTTP server
(http://, https://), or an artifact served by an OCI-compatible
registry (registry://).
If prefix is missing, it will default to registry:// and use that
internally.
type: string
required:
- name
- url
- module
type: object
type: array
description: |-
Policies is a list of policies that are part of the group that will
be available to be called in the evaluation expression field.
Each policy in the group should be a Kubewarden policy.
type: object
policyServer:
default: default
description: PolicyServer identifies an existing PolicyServer resource.
Expand Down

0 comments on commit f7087bc

Please sign in to comment.