From dc16d4e3a5ac62ad0986e97a2ef7e1309e8bd12e Mon Sep 17 00:00:00 2001 From: radekfojtik <68660951+radekfojtik@users.noreply.github.com> Date: Thu, 26 Oct 2023 13:09:04 +0200 Subject: [PATCH] Admission-webhooks.md - prevention rules updated (duplicate trigger name) Signed-off-by: radekfojtik <68660951+radekfojtik@users.noreply.github.com> --- content/docs/2.11/concepts/admission-webhooks.md | 1 + content/docs/2.12/concepts/admission-webhooks.md | 1 + content/docs/2.13/concepts/admission-webhooks.md | 1 + 3 files changed, 3 insertions(+) diff --git a/content/docs/2.11/concepts/admission-webhooks.md b/content/docs/2.11/concepts/admission-webhooks.md index 59e9c6bf6..559fe1e96 100644 --- a/content/docs/2.11/concepts/admission-webhooks.md +++ b/content/docs/2.11/concepts/admission-webhooks.md @@ -15,3 +15,4 @@ KEDA will block all incoming changes to `ScaledObject` that don't match these ru - The scaled workload (`scaledobject.spec.scaleTargetRef`) is already autoscaled by another other sources (other ScaledObject or HPA). - CPU and/or Memory trigger are used and the scaled workload doesn't have the requests defined. **This rule doesn't apply to all the workload types, only to `Deployment` and `StatefulSet`.** - CPU and/or Memory trigger are **the only used triggers** and the ScaledObject defines `minReplicaCount:0`. **This rule doesn't apply to all the workload types, only to `Deployment` and `StatefulSet`.** +- In the case of multiple triggers where a `name` is **specified**, the name must be **unique** (it is not allowed to have multiple triggers with the same name) diff --git a/content/docs/2.12/concepts/admission-webhooks.md b/content/docs/2.12/concepts/admission-webhooks.md index 3fe133508..8747d43fd 100644 --- a/content/docs/2.12/concepts/admission-webhooks.md +++ b/content/docs/2.12/concepts/admission-webhooks.md @@ -15,6 +15,7 @@ KEDA will block all incoming changes to `ScaledObject` that don't match these ru - The scaled workload (`scaledobject.spec.scaleTargetRef`) is already autoscaled by another other sources (other ScaledObject or HPA). - CPU and/or Memory trigger are used and the scaled workload doesn't have the requests defined. **This rule doesn't apply to all the workload types, only to `Deployment` and `StatefulSet`.** - CPU and/or Memory trigger are **the only used triggers** and the ScaledObject defines `minReplicaCount:0`. **This rule doesn't apply to all the workload types, only to `Deployment` and `StatefulSet`.** +- In the case of multiple triggers where a `name` is **specified**, the name must be **unique** (it is not allowed to have multiple triggers with the same name) KEDA will block all incoming changes to `TriggerAuthentication`/`ClusterTriggerAuthentication` that don't match these rules: diff --git a/content/docs/2.13/concepts/admission-webhooks.md b/content/docs/2.13/concepts/admission-webhooks.md index 3fe133508..8747d43fd 100644 --- a/content/docs/2.13/concepts/admission-webhooks.md +++ b/content/docs/2.13/concepts/admission-webhooks.md @@ -15,6 +15,7 @@ KEDA will block all incoming changes to `ScaledObject` that don't match these ru - The scaled workload (`scaledobject.spec.scaleTargetRef`) is already autoscaled by another other sources (other ScaledObject or HPA). - CPU and/or Memory trigger are used and the scaled workload doesn't have the requests defined. **This rule doesn't apply to all the workload types, only to `Deployment` and `StatefulSet`.** - CPU and/or Memory trigger are **the only used triggers** and the ScaledObject defines `minReplicaCount:0`. **This rule doesn't apply to all the workload types, only to `Deployment` and `StatefulSet`.** +- In the case of multiple triggers where a `name` is **specified**, the name must be **unique** (it is not allowed to have multiple triggers with the same name) KEDA will block all incoming changes to `TriggerAuthentication`/`ClusterTriggerAuthentication` that don't match these rules: