From a353a0c2422bf2f8df31e472dafe2d7761c387bf Mon Sep 17 00:00:00 2001 From: Shubham Gupta Date: Fri, 18 Aug 2023 03:09:07 +0530 Subject: [PATCH] update sample webhooks Signed-off-by: Shubham Gupta --- config/crd/patches/webhook_in_redis.yaml | 1 + config/crd/patches/webhook_in_redisclusters.yaml | 2 ++ config/crd/patches/webhook_in_redisreplications.yaml | 2 ++ config/crd/patches/webhook_in_redissentinels.yaml | 2 ++ 4 files changed, 7 insertions(+) diff --git a/config/crd/patches/webhook_in_redis.yaml b/config/crd/patches/webhook_in_redis.yaml index 6ccd913bf..c476d54e5 100644 --- a/config/crd/patches/webhook_in_redis.yaml +++ b/config/crd/patches/webhook_in_redis.yaml @@ -7,6 +7,7 @@ spec: conversion: strategy: Webhook webhook: + conversionReviewVersions: ["v1beta1","v1beta2"] clientConfig: service: namespace: system diff --git a/config/crd/patches/webhook_in_redisclusters.yaml b/config/crd/patches/webhook_in_redisclusters.yaml index 0be675bd7..1b2b6b48b 100644 --- a/config/crd/patches/webhook_in_redisclusters.yaml +++ b/config/crd/patches/webhook_in_redisclusters.yaml @@ -7,8 +7,10 @@ spec: conversion: strategy: Webhook webhook: + conversionReviewVersions: ["v1beta1","v1beta2"] clientConfig: service: namespace: system name: webhook-service path: /convert + diff --git a/config/crd/patches/webhook_in_redisreplications.yaml b/config/crd/patches/webhook_in_redisreplications.yaml index 56be667b7..8c9ccae21 100644 --- a/config/crd/patches/webhook_in_redisreplications.yaml +++ b/config/crd/patches/webhook_in_redisreplications.yaml @@ -7,8 +7,10 @@ spec: conversion: strategy: Webhook webhook: + conversionReviewVersions: ["v1beta1","v1beta2"] clientConfig: service: namespace: system name: webhook-service path: /convert + diff --git a/config/crd/patches/webhook_in_redissentinels.yaml b/config/crd/patches/webhook_in_redissentinels.yaml index 70bd1dc78..f50f498bd 100644 --- a/config/crd/patches/webhook_in_redissentinels.yaml +++ b/config/crd/patches/webhook_in_redissentinels.yaml @@ -7,8 +7,10 @@ spec: conversion: strategy: Webhook webhook: + conversionReviewVersions: ["v1beta1","v1beta2"] clientConfig: service: namespace: system name: webhook-service path: /convert +