fix(bp-external-secrets): gate ClusterSecretStore on CRD presence + drop delete-policy (#337)

The chart's post-install hook was failing on otech.omani.works:
  failed post-install: unable to build kubernetes object for deleting hook
  bp-external-secrets/templates/clustersecretstore-vault-region1.yaml:
  resource mapping not found for kind ClusterSecretStore in version
  external-secrets.io/v1beta1
Two corrections:
1. Capabilities-gate the entire template — don't render unless the
   ClusterSecretStore CRD is registered (it ships in via the upstream
   ESO subchart but isn't live on first install)
2. Remove 'before-hook-creation' delete-policy (was the actual trigger
   for the 'deleting hook' failure path)
Bumped 1.0.0 → 1.0.1.

Co-authored-by: hatiyildiz <hatice.yildiz@openova.io>
This commit is contained in:
e3mrah 2026-04-30 23:31:24 +04:00 committed by GitHub
parent 2de8bb68b9
commit 9554be4a5e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 4 additions and 4 deletions

View File

@ -57,7 +57,7 @@ spec:
chart:
spec:
chart: bp-external-secrets
version: 1.0.0
version: 1.0.1
sourceRef:
kind: HelmRepository
name: bp-external-secrets

View File

@ -57,7 +57,7 @@ spec:
chart:
spec:
chart: bp-external-secrets
version: 1.0.0
version: 1.0.1
sourceRef:
kind: HelmRepository
name: bp-external-secrets

View File

@ -57,7 +57,7 @@ spec:
chart:
spec:
chart: bp-external-secrets
version: 1.0.0
version: 1.0.1
sourceRef:
kind: HelmRepository
name: bp-external-secrets

View File

@ -1,6 +1,6 @@
apiVersion: v2
name: bp-external-secrets
version: 1.0.0
version: 1.0.1
description: |
Catalyst-curated Blueprint umbrella chart for External Secrets Operator
(ESO). Depends on the upstream `external-secrets` chart as a Helm