Skip to content

Commit

Permalink
fix(alerts): modify test
Browse files Browse the repository at this point in the history
  • Loading branch information
ibakshay committed Sep 19, 2024
1 parent b2961b0 commit 31d7305
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions alerts/charts/templates/tests/test-alerts-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ data:
{{- end }}
{{- end }}
{{- if .Values.alerts.crds.enabled }}
@test "Verify creation of required custom resource definitions (CRDs) for {{ .Release.Name }}" {
verify "there is 1 customresourcedefinition named 'alertmanagerconfigs'"
verify "there is 1 customresourcedefinition named 'alertmanagers'"
Expand All @@ -58,4 +59,5 @@ data:
verify "there is 1 customresourcedefinition named 'scrapeconfigs'"
verify "there is 1 customresourcedefinition named 'thanosrulers'"
}
{{- end }}
{{- end -}}

0 comments on commit 31d7305

Please sign in to comment.