From 9e06376915b76b37490757af78668f8bf170d208 Mon Sep 17 00:00:00 2001 From: Andrey Tatarinov Date: Wed, 27 Nov 2024 22:38:58 +0400 Subject: [PATCH] simple-app: fix tests --- charts/simple-app/CHANGELOG.md | 2 +- charts/simple-app/Chart.yaml | 2 +- charts/simple-app/tests/__snapshot__/initjob_test.yaml.snap | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/simple-app/CHANGELOG.md b/charts/simple-app/CHANGELOG.md index b67f321..263994f 100644 --- a/charts/simple-app/CHANGELOG.md +++ b/charts/simple-app/CHANGELOG.md @@ -1,4 +1,4 @@ -# 0.15.0 +# 0.15.0, 0.15.1 * Add `.initJob` to run Job after install or upgrade diff --git a/charts/simple-app/Chart.yaml b/charts/simple-app/Chart.yaml index ba23d36..7e41f1b 100644 --- a/charts/simple-app/Chart.yaml +++ b/charts/simple-app/Chart.yaml @@ -15,7 +15,7 @@ type: application # 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. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: "0.15.0" +version: "0.15.1" # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/simple-app/tests/__snapshot__/initjob_test.yaml.snap b/charts/simple-app/tests/__snapshot__/initjob_test.yaml.snap index 3fffa2a..38f139c 100644 --- a/charts/simple-app/tests/__snapshot__/initjob_test.yaml.snap +++ b/charts/simple-app/tests/__snapshot__/initjob_test.yaml.snap @@ -5,7 +5,7 @@ All manifests should match snapshot: metadata: annotations: helm.sh/hook: post-install,post-upgrade - helm.sh/hook-delete-policy: hook-succeeded,before-hook-creation + helm.sh/hook-delete-policy: before-hook-creation helm.sh/hook-weight: "-1" labels: app.kubernetes.io/instance: simple @@ -13,7 +13,7 @@ All manifests should match snapshot: app.kubernetes.io/name: simple-app app.kubernetes.io/version: 1.16.0 helm.sh/chart: simple-app-0.0.0 - name: simple-init-job + name: simple-init spec: template: spec: