From 9197451f1132f251cf0ac0dcdbd8b99651c1ff16 Mon Sep 17 00:00:00 2001 From: Rafael da Fonseca Date: Tue, 12 Dec 2023 19:33:44 +0000 Subject: [PATCH] Fix chart tests Signed-off-by: Rafael da Fonseca --- charts/flux2-notification/templates/provider.yaml | 2 +- .../tests/__snapshot__/alert_test.yaml.snap | 4 ++-- .../tests/__snapshot__/provider_test.yaml.snap | 4 ++-- .../tests/__snapshot__/secret_test.yaml.snap | 2 +- .../tests/__snapshot__/flux-gitrepository_test.yaml.snap | 4 ++-- .../tests/__snapshot__/flux-kustomization_test.yaml.snap | 2 +- charts/flux2-sync/tests/__snapshot__/secret_test.yaml.snap | 2 +- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/charts/flux2-notification/templates/provider.yaml b/charts/flux2-notification/templates/provider.yaml index 7202f26..6e178c6 100644 --- a/charts/flux2-notification/templates/provider.yaml +++ b/charts/flux2-notification/templates/provider.yaml @@ -1,7 +1,7 @@ {{- if .Values.providerlist}} {{- range $key, $provider := .Values.providerlist }} --- -apiVersion: notification.toolkit.fluxcd.io/v1beta2 +apiVersion: notification.toolkit.fluxcd.io/v1beta3 kind: Provider metadata: labels: diff --git a/charts/flux2-notification/tests/__snapshot__/alert_test.yaml.snap b/charts/flux2-notification/tests/__snapshot__/alert_test.yaml.snap index d904e7e..2dca996 100644 --- a/charts/flux2-notification/tests/__snapshot__/alert_test.yaml.snap +++ b/charts/flux2-notification/tests/__snapshot__/alert_test.yaml.snap @@ -1,6 +1,6 @@ should match snapshot: 1: | - apiVersion: notification.toolkit.fluxcd.io/v1beta2 + apiVersion: notification.toolkit.fluxcd.io/v1beta3 kind: Alert metadata: labels: @@ -8,7 +8,7 @@ should match snapshot: app.kubernetes.io/managed-by: Helm app.kubernetes.io/part-of: flux app.kubernetes.io/version: 2.2.0 - helm.sh/chart: flux2-notification-1.12.4 + helm.sh/chart: flux2-notification-1.13.0 name: all-kustomizations namespace: NAMESPACE spec: diff --git a/charts/flux2-notification/tests/__snapshot__/provider_test.yaml.snap b/charts/flux2-notification/tests/__snapshot__/provider_test.yaml.snap index c7035b6..a84ba06 100644 --- a/charts/flux2-notification/tests/__snapshot__/provider_test.yaml.snap +++ b/charts/flux2-notification/tests/__snapshot__/provider_test.yaml.snap @@ -1,6 +1,6 @@ should match snapshot: 1: | - apiVersion: notification.toolkit.fluxcd.io/v1beta2 + apiVersion: notification.toolkit.fluxcd.io/v1beta3 kind: Provider metadata: labels: @@ -8,7 +8,7 @@ should match snapshot: app.kubernetes.io/managed-by: Helm app.kubernetes.io/part-of: flux app.kubernetes.io/version: 2.2.0 - helm.sh/chart: flux2-notification-1.12.4 + helm.sh/chart: flux2-notification-1.13.0 name: on-call-slack namespace: NAMESPACE spec: diff --git a/charts/flux2-notification/tests/__snapshot__/secret_test.yaml.snap b/charts/flux2-notification/tests/__snapshot__/secret_test.yaml.snap index 1de462b..1df5621 100644 --- a/charts/flux2-notification/tests/__snapshot__/secret_test.yaml.snap +++ b/charts/flux2-notification/tests/__snapshot__/secret_test.yaml.snap @@ -8,7 +8,7 @@ should match snapshot of default values: app.kubernetes.io/managed-by: Helm app.kubernetes.io/part-of: flux app.kubernetes.io/version: 2.2.0 - helm.sh/chart: flux2-notification-1.12.4 + helm.sh/chart: flux2-notification-1.13.0 name: webhook-url namespace: NAMESPACE stringData: diff --git a/charts/flux2-sync/tests/__snapshot__/flux-gitrepository_test.yaml.snap b/charts/flux2-sync/tests/__snapshot__/flux-gitrepository_test.yaml.snap index 6afa51c..2981ea0 100644 --- a/charts/flux2-sync/tests/__snapshot__/flux-gitrepository_test.yaml.snap +++ b/charts/flux2-sync/tests/__snapshot__/flux-gitrepository_test.yaml.snap @@ -7,7 +7,7 @@ should match snapshot of default values: app.kubernetes.io/instance: NAMESPACE app.kubernetes.io/managed-by: Helm app.kubernetes.io/part-of: flux - helm.sh/chart: flux2-sync-1.7.3 + helm.sh/chart: flux2-sync-1.8.0 name: RELEASE-NAME namespace: NAMESPACE spec: @@ -24,7 +24,7 @@ should match snapshot with special values: app.kubernetes.io/instance: NAMESPACE app.kubernetes.io/managed-by: Helm app.kubernetes.io/part-of: flux - helm.sh/chart: flux2-sync-1.7.3 + helm.sh/chart: flux2-sync-1.8.0 name: RELEASE-NAME namespace: NAMESPACE spec: diff --git a/charts/flux2-sync/tests/__snapshot__/flux-kustomization_test.yaml.snap b/charts/flux2-sync/tests/__snapshot__/flux-kustomization_test.yaml.snap index 4cf1dc3..36066b2 100644 --- a/charts/flux2-sync/tests/__snapshot__/flux-kustomization_test.yaml.snap +++ b/charts/flux2-sync/tests/__snapshot__/flux-kustomization_test.yaml.snap @@ -7,7 +7,7 @@ should match kubeconfig: app.kubernetes.io/instance: NAMESPACE app.kubernetes.io/managed-by: Helm app.kubernetes.io/part-of: flux - helm.sh/chart: flux2-sync-1.7.3 + helm.sh/chart: flux2-sync-1.8.0 name: RELEASE-NAME namespace: NAMESPACE spec: diff --git a/charts/flux2-sync/tests/__snapshot__/secret_test.yaml.snap b/charts/flux2-sync/tests/__snapshot__/secret_test.yaml.snap index 48c4d1e..8e7ea2c 100644 --- a/charts/flux2-sync/tests/__snapshot__/secret_test.yaml.snap +++ b/charts/flux2-sync/tests/__snapshot__/secret_test.yaml.snap @@ -10,7 +10,7 @@ should match snapshot of default values: app.kubernetes.io/instance: NAMESPACE app.kubernetes.io/managed-by: Helm app.kubernetes.io/part-of: flux - helm.sh/chart: flux2-sync-1.7.3 + helm.sh/chart: flux2-sync-1.8.0 name: RELEASE-NAME namespace: NAMESPACE type: Opaque