Skip to content

Commit 1a6cacc

Browse files
committed
Update API docs for CEL health checks
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
1 parent f65f7f4 commit 1a6cacc

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

docs/spec/v1/kustomizations.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -355,8 +355,12 @@ health checks on custom resources. This is done through Common Expression
355355
Language (CEL) expressions. This field accepts a list of objects with the
356356
following fields:
357357

358-
- `apiVersion`: The API version of the custom resource. Required.
359-
- `kind`: The kind of the custom resource. Required.
358+
- `apiVersion`: The API version of the custom resource. Required. Only the
359+
group portion is used for matching; the version is ignored, so the same
360+
entry applies to every served version of the resource.
361+
- `kind`: The kind of the custom resource. Optional. When omitted, the entry
362+
applies to all kinds under the given `apiVersion`'s group. An entry with a
363+
specific `kind` takes precedence over a group-only entry for that same kind.
360364
- `current`: A required CEL expression that returns `true` if the resource is ready.
361365
- `inProgress`: An optional CEL expression that returns `true` if the resource
362366
is still being reconciled.

0 commit comments

Comments
 (0)