Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add dex operator alerts in working hours #603

Merged
merged 8 commits into from
Jan 18, 2023
Merged

Conversation

anvddriesch
Copy link
Contributor

@anvddriesch anvddriesch commented Jan 16, 2023

Towards: giantswarm/roadmap#1809

This PR adds alerts for dex-operator in business hours.
DexSecretExpired pages in case a dex oauth secret was not renewed by dex-operator.
ManagementClusterDexAppMissing pages in case there is no registered dex oauth app for a management cluster reconciled by dex-operator.

Checklist

@anvddriesch anvddriesch self-assigned this Jan 16, 2023
@anvddriesch anvddriesch requested a review from a team January 17, 2023 13:06
@anvddriesch anvddriesch marked this pull request as ready for review January 17, 2023 13:06
@anvddriesch anvddriesch requested a review from a team as a code owner January 17, 2023 13:06
topic: dex
- alert: ManagementClusterDexAppMissing
annotations:
description: '{{`Dex operator did not register a dex-app in {{ $labels.app_namespace }} namespace on {{ $labels.installation }}.`}}'

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's no installation label.
I prefer to not specify it. as it's generated in the Opsgenie alert anyway.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

makes sense!

anvddriesch and others added 3 commits January 18, 2023 15:01
@anvddriesch anvddriesch merged commit 34e710d into master Jan 18, 2023
@anvddriesch anvddriesch deleted the dex-operator-alerts branch January 18, 2023 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants