Kartik Angiras

Results comments of Kartik Angiras

@slashpai @simonpasquier i have made changes to configure the checks for the global alertmanagerconfig object.

> Thank you for the PR > > I think this would be better to handle at API level [http://github.com/prometheus-operator/prometheus-operator/blob/a198a5ff2c4b99ec614d5f28463cc0b19d272430/pkg/apis/monitoring/v1alpha1/alertmanager_config_types.go#L110-L120](https://github.com/prometheus-operator/prometheus-operator/blob/a198a5ff2c4b99ec614d5f28463cc0b19d272430/pkg/apis/monitoring/v1alpha1/alertmanager_config_types.go#L110-L120) @slashpai i think it has been already addressed to handle...

@slashpai i have made the required changes.

> You would need to run `make --always-make format generate` after updating API > > Also lets create a new test in e2e test after > > https://github.com/prometheus-operator/prometheus-operator/blob/ca5bf4a1190c1571a3fca71e18c39145487d0120/test/e2e/alertmanager_test.go#L987 > >...

@slashpai i have added the e2e test for the code change.

> Sorry for misleading you but it looks like group and repeat intervals with zero value are always rejected (not only for the top-level route). One option could be that...

thanks @simonpasquier for the approach to follow up and it is good to go. for the bonus question, yes the alertmanager would crash when provisioned with 0 internal via the...

> Ok I think that I've settled my mind :) First think to note: zero durations are indeed forbidden for repeat/group intervals. So my plan would: > > * Change...