Skip to content

Commit f5bb8c4

Browse files
issotinaunguiculus
authored andcommitted
[keycloak] Fix keycloak pods label filtering (#71)
Signed-off-by: shadai.ali <[email protected]>
1 parent d939a46 commit f5bb8c4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

charts/keycloak/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: keycloak
2-
version: 5.1.0
2+
version: 5.1.1
33
appVersion: 6.0.1
44
description: Open Source Identity and Access Management For Modern Applications and Services
55
keywords:

charts/keycloak/templates/NOTES.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Keycloak can be accessed:
3434

3535
{{- else if contains "ClusterIP" .Values.keycloak.service.type }}
3636

37-
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l app={{ include "keycloak.name" . }},release={{ .Release.Name }} -o jsonpath="{.items[0].metadata.name}")
37+
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l app.kubernetes.io/instance={{ .Release.Name }} -o jsonpath="{.items[0].metadata.name}")
3838
echo "Visit http://127.0.0.1:8080 to use Keycloak"
3939
kubectl port-forward --namespace {{ .Release.Namespace }} $POD_NAME 8080
4040

0 commit comments

Comments
 (0)