From fef381d2b44a9817f6e4b4cc10b104b5956157f7 Mon Sep 17 00:00:00 2001 From: Maksim Fedotov Date: Thu, 30 Dec 2021 00:40:23 +0200 Subject: [PATCH] feat(helm): add default conversion webhook configuration to tenant CRD --- charts/capsule/crds/tenant-crd.yaml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/charts/capsule/crds/tenant-crd.yaml b/charts/capsule/crds/tenant-crd.yaml index 7039e41b..e9f305f3 100644 --- a/charts/capsule/crds/tenant-crd.yaml +++ b/charts/capsule/crds/tenant-crd.yaml @@ -7,7 +7,17 @@ metadata: name: tenants.capsule.clastix.io spec: conversion: - strategy: None + strategy: Webhook + webhook: + clientConfig: + service: + name: capsule-webhook-service + namespace: capsule-system + path: /convert + port: 443 + conversionReviewVersions: + - v1alpha1 + - v1beta1 group: capsule.clastix.io names: kind: Tenant