Skip to content

Commit

Permalink
Merge pull request #208 from anoopkrrish07/akrish/feat-alert-spec
Browse files Browse the repository at this point in the history
feat(alert-spec): Adding alertspec, eventmetadata/inclusionlist
  • Loading branch information
stefanprodan authored Feb 6, 2024
2 parents f2da919 + 9cb8494 commit 246ec24
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion charts/flux2-notification/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: flux2-notification
type: application
version: 1.13.1
version: 1.14.0
appVersion: 2.2.2
description: A Helm chart for flux2 alerts and the needed providers and secrets
sources:
Expand Down
2 changes: 1 addition & 1 deletion charts/flux2-notification/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# flux2-notification

![Version: 1.13.1](https://img.shields.io/badge/Version-1.13.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.2.2](https://img.shields.io/badge/AppVersion-2.2.2-informational?style=flat-square)
![Version: 1.14.0](https://img.shields.io/badge/Version-1.14.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.2.2](https://img.shields.io/badge/AppVersion-2.2.2-informational?style=flat-square)

A Helm chart for flux2 alerts and the needed providers and secrets

Expand Down
6 changes: 6 additions & 0 deletions charts/flux2-notification/templates/alert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ spec:
{{- with $alert.spec.eventSources }}
eventSources: {{ toYaml . | nindent 4 }}
{{- end }}
{{- with $alert.spec.eventMetadata }}
eventMetadata: {{ toYaml . | nindent 4 }}
{{- end }}
{{- with $alert.spec.inclusionList }}
inclusionList: {{ toYaml . | nindent 4 }}
{{- end }}
{{- with $alert.spec.exclusionList }}
exclusionList: {{ toYaml . | nindent 4 }}
{{- end }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.2
helm.sh/chart: flux2-notification-1.13.1
helm.sh/chart: flux2-notification-1.14.0
name: all-kustomizations
namespace: NAMESPACE
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.2
helm.sh/chart: flux2-notification-1.13.1
helm.sh/chart: flux2-notification-1.14.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.2
helm.sh/chart: flux2-notification-1.13.1
helm.sh/chart: flux2-notification-1.14.0
name: webhook-url
namespace: NAMESPACE
stringData:
Expand Down

0 comments on commit 246ec24

Please sign in to comment.