Skip to content
This repository was archived by the owner on Apr 24, 2023. It is now read-only.

Commit a2b5941

Browse files
authored
Merge pull request #98 from davidffrench/update_prom_rule
Update prom rule
2 parents 030083a + bbe02de commit a2b5941

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ CONSUMER_NAMESPACES=${NAMESPACE}
44
PROJECT=keycloak-operator
55
REG=quay.io
66
SHELL=/bin/bash
7-
TAG=v1.9.0
7+
TAG=v1.9.1
88
PKG=github.com/integr8ly/keycloak-operator
99
TEST_DIRS?=$(shell sh -c "find $(TOP_SRC_DIRS) -name \\*_test.go -exec dirname {} \\; | sort | uniq")
1010
TEST_POD_NAME=keycloak-operator-test

deploy/operator.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ spec:
1414
spec:
1515
containers:
1616
- name: keycloak-operator
17-
image: quay.io/integreatly/keycloak-operator:v1.9.0
17+
image: quay.io/integreatly/keycloak-operator:v1.9.1
1818
ports:
1919
- containerPort: 60000
2020
name: metrics

deploy/template/prometheus-rule.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ spec:
8686
Keycloak instance in namespace {{ $labels.namespace }} has not
8787
been available for the last 5 minutes.
8888
expr: >
89-
(1 - absent(kube_pod_status_ready{namespace="sso", condition="true"}
89+
(1 - absent(kube_pod_status_ready{namespace="[[ .Namespace ]]", condition="true"}
9090
* on (pod) group_left (label_deploymentConfig)
9191
kube_pod_labels{label_deploymentConfig="sso"})) == 0 or
9292
probe_success{service="rhsso-ui"} == 0
@@ -121,7 +121,7 @@ spec:
121121
RH SSO database in namespace {{ $labels.namespace }} is not
122122
available for the last 5 minutes.
123123
expr: >
124-
(1 - absent(kube_pod_status_ready{namespace="sso", condition="true"}
124+
(1 - absent(kube_pod_status_ready{namespace="[[ .Namespace ]]", condition="true"}
125125
* on (pod) group_left (label_deploymentConfig)
126126
kube_pod_labels{label_deploymentConfig="sso-postgresql"})) == 0
127127
for: 5m

deploy/test-pod.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ spec:
66
restartPolicy: Never
77
containers:
88
- name: keycloak-operator-test
9-
image: quay.io/integreatly/keycloak-operator:v1.9.0
9+
image: quay.io/integreatly/keycloak-operator:v1.9.1
1010
imagePullPolicy: Always
1111
command: ["/go-test.sh"]
1212
env:

version/version.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
package version
22

33
var (
4-
Version = "1.9.0"
4+
Version = "1.9.1"
55
)

0 commit comments

Comments
 (0)