From de123a30e0c72cc44989689179172e8869f515f7 Mon Sep 17 00:00:00 2001 From: Kevin McDermott Date: Tue, 17 Sep 2024 21:50:14 +0100 Subject: [PATCH] Rebuild the docs and CRDs. --- ...notification.toolkit.fluxcd.io_receivers.yaml | 12 ------------ docs/api/v1/notification.md | 16 ++++++++++++++-- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/config/crd/bases/notification.toolkit.fluxcd.io_receivers.yaml b/config/crd/bases/notification.toolkit.fluxcd.io_receivers.yaml index bb80b7177..239a1a81f 100644 --- a/config/crd/bases/notification.toolkit.fluxcd.io_receivers.yaml +++ b/config/crd/bases/notification.toolkit.fluxcd.io_receivers.yaml @@ -62,18 +62,6 @@ spec: Secret references. pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$ type: string - resourceExpressions: - description: |- - ResourceExpressions is a list of CEL expressions that will be parsed to - determine resources to be notified about changes. - The expressions must evaluate to CEL values that contain the keys "name", - "kind", "apiVersion" and optionally "namespace". - These values will be parsed to CrossNamespaceObjectReferences. - e.g. {"name": "test-resource-1", "kind": "Receiver", "apiVersion": - "notification.toolkit.fluxcd.io/v1"}. - items: - type: string - type: array resources: description: A list of resources to be notified about changes. items: diff --git a/docs/api/v1/notification.md b/docs/api/v1/notification.md index bf2143aba..697fa6ed4 100644 --- a/docs/api/v1/notification.md +++ b/docs/api/v1/notification.md @@ -128,8 +128,14 @@ e.g. ‘push’ for GitHub or ‘Push Hook’ for GitLab.

+(Optional)

ResourceExpressions is a list of CEL expressions that will be parsed to -determine resources to be notified about changes.

+determine resources to be notified about changes. +The expressions must evaluate to CEL values that contain the keys “name”, +“kind”, “apiVersion” and optionally “namespace”. +These values will be parsed to CrossNamespaceObjectReferences. +e.g. {“name”: “test-resource-1”, “kind”: “Receiver”, “apiVersion”: +“notification.toolkit.fluxcd.io/v1”}.

@@ -339,8 +345,14 @@ e.g. ‘push’ for GitHub or ‘Push Hook’ for GitLab.

+(Optional)

ResourceExpressions is a list of CEL expressions that will be parsed to -determine resources to be notified about changes.

+determine resources to be notified about changes. +The expressions must evaluate to CEL values that contain the keys “name”, +“kind”, “apiVersion” and optionally “namespace”. +These values will be parsed to CrossNamespaceObjectReferences. +e.g. {“name”: “test-resource-1”, “kind”: “Receiver”, “apiVersion”: +“notification.toolkit.fluxcd.io/v1”}.