From 6cd62d9e91793bd001cbd762dda849fc60edf53f Mon Sep 17 00:00:00 2001 From: Max Fedotov Date: Mon, 26 Jun 2023 15:30:15 +0300 Subject: [PATCH] fix(helm): remove hardcoded capsule-system namespace for tenantresource-objects webhook --- charts/capsule/Chart.yaml | 2 +- charts/capsule/templates/validatingwebhookconfiguration.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/capsule/Chart.yaml b/charts/capsule/Chart.yaml index 82091176..817d8d67 100644 --- a/charts/capsule/Chart.yaml +++ b/charts/capsule/Chart.yaml @@ -21,7 +21,7 @@ sources: # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. -version: 0.4.3 +version: 0.4.4 # This is the version number of the application being deployed. # This version number should be incremented each time you make changes to the application. diff --git a/charts/capsule/templates/validatingwebhookconfiguration.yaml b/charts/capsule/templates/validatingwebhookconfiguration.yaml index 58518ac0..aa4101a9 100644 --- a/charts/capsule/templates/validatingwebhookconfiguration.yaml +++ b/charts/capsule/templates/validatingwebhookconfiguration.yaml @@ -265,7 +265,7 @@ webhooks: {{- end }} service: name: capsule-webhook-service - namespace: capsule-system + namespace: {{ .Release.Namespace }} path: /tenantresource-objects failurePolicy: {{ .Values.webhooks.tenantResourceObjects.failurePolicy }} name: resource-objects.tenant.capsule.clastix.io