Skip to content

Commit 92f2322

Browse files
committed
docs: Correct PolicyServer godoc and regenerate docs
Signed-off-by: Víctor Cuadrado Juan <vcuadradojuan@suse.de>
1 parent a4430c8 commit 92f2322

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

api/policies/v1/policyserver_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ type PolicyServerSpec struct {
142142

143143
// NamespacedPoliciesCapabilities lists host capability API calls allowed
144144
// for namespaced policies running on this PolicyServer. When not set,
145-
// all host capabilities are granted to namespaced policies.
145+
// no host capabilities are granted to namespaced policies.
146146
// Supported wildcard patterns:
147147
// - "*": allow all host capabilities
148148
// - "category/*": allow all capabilities in a category (e.g. "oci/*")

charts/kubewarden-crds/templates/policies.kubewarden.io_policyservers.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1177,7 +1177,7 @@ spec:
11771177
description: |-
11781178
NamespacedPoliciesCapabilities lists host capability API calls allowed
11791179
for namespaced policies running on this PolicyServer. When not set,
1180-
all host capabilities are granted to namespaced policies.
1180+
no host capabilities are granted to namespaced policies.
11811181
Supported wildcard patterns:
11821182
- "*": allow all host capabilities
11831183
- "category/*": allow all capabilities in a category (e.g. "oci/*")

docs/crds/CRD-docs-for-docs-repo.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -934,7 +934,7 @@ remain unchanged, but new pods that reference it cannot be created. + | | Optio
934934

935935
| *`namespacedPoliciesCapabilities`* __string array__ | NamespacedPoliciesCapabilities lists host capability API calls allowed +
936936
for namespaced policies running on this PolicyServer. When not set, +
937-
all host capabilities are granted to namespaced policies. +
937+
no host capabilities are granted to namespaced policies. +
938938
Supported wildcard patterns: +
939939
- "*": allow all host capabilities +
940940
- "category/*": allow all capabilities in a category (e.g. "oci/*") +

docs/crds/CRD-docs-for-docs-repo.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@ _Appears in:_
538538
| `requests` _[ResourceList](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.31/#resourcelist-v1-core)_ | Requests describes the minimum amount of compute resources required.<br />If Request is omitted for, it defaults to Limits if that is explicitly specified,<br />otherwise to an implementation-defined value | | Optional: \{\} <br /> |
539539
| `tolerations` _[Toleration](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.31/#toleration-v1-core) array_ | Tolerations describe the policy server pod's tolerations. It can be<br />used to ensure that the policy server pod is not scheduled onto a<br />node with a taint. | | |
540540
| `priorityClassName` _string_ | PriorityClassName is the name of the PriorityClass to be used for the<br />policy server pods. Useful to schedule policy server pods with higher<br />priority to ensure their availability over other cluster workload<br />resources.<br />Note: If the referenced PriorityClass is deleted, existing pods<br />remain unchanged, but new pods that reference it cannot be created. | | Optional: \{\} <br /> |
541-
| `namespacedPoliciesCapabilities` _string array_ | NamespacedPoliciesCapabilities lists host capability API calls allowed<br />for namespaced policies running on this PolicyServer. When not set,<br />all host capabilities are granted to namespaced policies.<br />Supported wildcard patterns:<br />- "*": allow all host capabilities<br />- "category/*": allow all capabilities in a category (e.g. "oci/*")<br />- "category/version/*": allow all capabilities of a specific version (e.g. "oci/v1/*")<br />- Specific capability paths (e.g. "oci/v1/verify", "net/v1/dns_lookup_host") | | Optional: \{\} <br /> |
541+
| `namespacedPoliciesCapabilities` _string array_ | NamespacedPoliciesCapabilities lists host capability API calls allowed<br />for namespaced policies running on this PolicyServer. When not set,<br />no host capabilities are granted to namespaced policies.<br />Supported wildcard patterns:<br />- "*": allow all host capabilities<br />- "category/*": allow all capabilities in a category (e.g. "oci/*")<br />- "category/version/*": allow all capabilities of a specific version (e.g. "oci/v1/*")<br />- Specific capability paths (e.g. "oci/v1/verify", "net/v1/dns_lookup_host") | | Optional: \{\} <br /> |
542542

543543

544544

0 commit comments

Comments
 (0)