From cae3c50189f6f6fa1710a6d48f5997daf6a589a1 Mon Sep 17 00:00:00 2001 From: ShutingZhao Date: Tue, 13 Aug 2024 18:12:24 +0800 Subject: [PATCH] fix: update install.yaml Signed-off-by: ShutingZhao --- config/install-latest-testing.yaml | 55 ++++++++++++++++++++++++++++-- 1 file changed, 52 insertions(+), 3 deletions(-) diff --git a/config/install-latest-testing.yaml b/config/install-latest-testing.yaml index 437feb7e3fe6..87963d977152 100644 --- a/config/install-latest-testing.yaml +++ b/config/install-latest-testing.yaml @@ -41429,7 +41429,9 @@ spec: description: ResourceSpec is the information to identify the trigger resource. properties: context: - description: Context represents admission request context. + description: |- + Context represents admission request context. + It is used upon admission review only and is shared across rules within the same UR. properties: admissionRequestInfo: description: AdmissionRequestInfoObject stores the admission request @@ -41670,8 +41672,9 @@ spec: type: object type: object deleteDownstream: - description: DeleteDownstream represents whether the downstream needs - to be deleted. + description: |- + DeleteDownstream represents whether the downstream needs to be deleted. + Deprecated type: boolean policy: description: Specifies the name of the policy. @@ -41705,10 +41708,56 @@ spec: rule: description: Rule is the associate rule name of the current UR. type: string + ruleContext: + description: |- + RuleContext is the associate context to apply rules. + optional + items: + properties: + deleteDownstream: + description: DeleteDownstream represents whether the downstream + needs to be deleted. + type: boolean + rule: + description: Rule is the associate rule name of the current + UR. + type: string + synchronize: + description: |- + Synchronize represents the sync behavior of the corresponding rule + Optional. Defaults to "false" if not specified. + type: boolean + trigger: + description: ResourceSpec is the information to identify the + trigger resource. + properties: + apiVersion: + description: APIVersion specifies resource apiVersion. + type: string + kind: + description: Kind specifies resource kind. + type: string + name: + description: Name specifies the resource name. + type: string + namespace: + description: Namespace specifies resource namespace. + type: string + uid: + description: UID specifies the resource uid. + type: string + type: object + required: + - deleteDownstream + - rule + - trigger + type: object + type: array synchronize: description: |- Synchronize represents the sync behavior of the corresponding rule Optional. Defaults to "false" if not specified. + Deprecated type: boolean required: - context