Skip to content

Commit

Permalink
Fix dex absent query for mimir
Browse files Browse the repository at this point in the history
  • Loading branch information
QuentinBisson committed Jun 10, 2024
1 parent 6a20ebf commit e071c9c
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,12 @@ spec:
annotations:
description: '{{`dex-operator did not register a dex-app in giantswarm namespace.`}}'
opsrecipe: dex-operator/
{{- if .Values.mimir.enabled }}
expr: absent(dex_operator_idp_secret_expiry_time{app_namespace="giantswarm", cluster_type="management_cluster", cluster_id="{{ .Values.managementCluster.name }}", installation="{{ .Values.managementCluster.name }}", provider="{{ .Values.managementCluster.provider.kind }}", pipeline="{{ .Values.managementCluster.pipeline }}"})
{{- else }}
expr: absent(dex_operator_idp_secret_expiry_time{app_namespace="giantswarm", cluster_type="management_cluster"}) == 1
{{- end }}
expr:
for: 30m
labels:
area: kaas
Expand Down

0 comments on commit e071c9c

Please sign in to comment.