Skip to content

Commit

Permalink
Fix chart tests
Browse files Browse the repository at this point in the history
Signed-off-by: Rafael da Fonseca <[email protected]>
  • Loading branch information
rsafonseca committed Dec 12, 2023
1 parent d6b8b3f commit 9197451
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion charts/flux2-notification/templates/provider.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
should match snapshot:
1: |
apiVersion: notification.toolkit.fluxcd.io/v1beta2
apiVersion: notification.toolkit.fluxcd.io/v1beta3
kind: Alert
metadata:
labels:
app.kubernetes.io/instance: NAMESPACE
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:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
should match snapshot:
1: |
apiVersion: notification.toolkit.fluxcd.io/v1beta2
apiVersion: notification.toolkit.fluxcd.io/v1beta3
kind: Provider
metadata:
labels:
app.kubernetes.io/instance: NAMESPACE
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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion charts/flux2-sync/tests/__snapshot__/secret_test.yaml.snap
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 9197451

Please sign in to comment.