Skip to content

Commit

Permalink
fix(keycloak): correctly set the httpManagement.port variable
Browse files Browse the repository at this point in the history
  • Loading branch information
open-dynaMIX committed Sep 6, 2024
1 parent e7ea52b commit a3d04ff
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion charts/keycloak-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: keycloak-operator
description: Deploy Keycloak Operator and Keycloak
type: application
version: 1.3.1
version: 1.3.2
appVersion: "25.0.4"
icon: https://www.keycloak.org/resources/images/logo-stacked.svg
home: https://www.keycloak.org
Expand Down
2 changes: 1 addition & 1 deletion charts/keycloak-operator/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion charts/keycloak-operator/templates/keycloak/keycloak.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ spec:
{{- end }}
{{- with .Values.keycloak.httpManagement.port }}
httpManagement:
port: { . }
port: {{ . }}
{{- end }}
{{- if or .Values.keycloak.image.repository .Values.keycloak.image.tag }}
image: "{{ .Values.keycloak.image.repository | default .Values.operator.config.keycloakImage.repository }}:{{ .Values.keycloak.image.tag | default .Values.operator.config.keycloakImage.tag | default .Chart.AppVersion }}"
Expand Down
20 changes: 10 additions & 10 deletions charts/keycloak-operator/tests/__snapshot__/default_test.yaml.snap
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ should match snapshot:
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: keycloak-operator
app.kubernetes.io/version: 25.0.4
helm.sh/chart: keycloak-operator-1.3.1
helm.sh/chart: keycloak-operator-1.3.2
name: keycloakcontroller-cluster-role
rules:
- apiGroups:
Expand All @@ -36,7 +36,7 @@ should match snapshot:
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: keycloak-operator
app.kubernetes.io/version: 25.0.4
helm.sh/chart: keycloak-operator-1.3.1
helm.sh/chart: keycloak-operator-1.3.2
name: keycloakrealmimportcontroller-cluster-role
rules:
- apiGroups:
Expand All @@ -63,7 +63,7 @@ should match snapshot:
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: keycloak-operator
app.kubernetes.io/version: 25.0.4
helm.sh/chart: keycloak-operator-1.3.1
helm.sh/chart: keycloak-operator-1.3.2
name: RELEASE-NAME-keycloak-operator-operator
spec:
replicas: 1
Expand Down Expand Up @@ -128,7 +128,7 @@ should match snapshot:
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: keycloak-operator
app.kubernetes.io/version: 25.0.4
helm.sh/chart: keycloak-operator-1.3.1
helm.sh/chart: keycloak-operator-1.3.2
name: keycloak-operator-role-binding
roleRef:
apiGroup: rbac.authorization.k8s.io
Expand All @@ -147,7 +147,7 @@ should match snapshot:
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: keycloak-operator
app.kubernetes.io/version: 25.0.4
helm.sh/chart: keycloak-operator-1.3.1
helm.sh/chart: keycloak-operator-1.3.2
name: keycloak-operator-view
roleRef:
apiGroup: rbac.authorization.k8s.io
Expand All @@ -166,7 +166,7 @@ should match snapshot:
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: keycloak-operator
app.kubernetes.io/version: 25.0.4
helm.sh/chart: keycloak-operator-1.3.1
helm.sh/chart: keycloak-operator-1.3.2
name: keycloakcontroller-role-binding
roleRef:
apiGroup: rbac.authorization.k8s.io
Expand All @@ -185,7 +185,7 @@ should match snapshot:
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: keycloak-operator
app.kubernetes.io/version: 25.0.4
helm.sh/chart: keycloak-operator-1.3.1
helm.sh/chart: keycloak-operator-1.3.2
name: keycloakrealmimportcontroller-role-binding
roleRef:
apiGroup: rbac.authorization.k8s.io
Expand All @@ -204,7 +204,7 @@ should match snapshot:
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: keycloak-operator
app.kubernetes.io/version: 25.0.4
helm.sh/chart: keycloak-operator-1.3.1
helm.sh/chart: keycloak-operator-1.3.2
name: keycloak-operator-role
rules:
- apiGroups:
Expand Down Expand Up @@ -267,7 +267,7 @@ should match snapshot:
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: keycloak-operator
app.kubernetes.io/version: 25.0.4
helm.sh/chart: keycloak-operator-1.3.1
helm.sh/chart: keycloak-operator-1.3.2
name: RELEASE-NAME-keycloak-operator-operator
spec:
ports:
Expand All @@ -290,5 +290,5 @@ should match snapshot:
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: keycloak-operator
app.kubernetes.io/version: 25.0.4
helm.sh/chart: keycloak-operator-1.3.1
helm.sh/chart: keycloak-operator-1.3.2
name: RELEASE-NAME-keycloak-operator
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ should match snapshot:
app.kubernetes.io/component: keycloak
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/version: 25.0.4
helm.sh/chart: keycloak-operator-1.3.1
helm.sh/chart: keycloak-operator-1.3.2
name: keycloak
spec:
features:
Expand All @@ -34,7 +34,7 @@ should match snapshot:
labels:
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/version: 25.0.4
helm.sh/chart: keycloak-operator-1.3.1
helm.sh/chart: keycloak-operator-1.3.2
name: RELEASE-NAME-keycloak-operator-test
spec:
keycloakCRName: keycloak
Expand Down

0 comments on commit a3d04ff

Please sign in to comment.