Skip to content

Commit

Permalink
fix(keycloak): don't quote poolMinSize value (#1354)
Browse files Browse the repository at this point in the history
  • Loading branch information
cfi2017 authored Dec 13, 2024
1 parent ba1c1bd commit a283b3f
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 20 deletions.
9 changes: 3 additions & 6 deletions 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.4.3
version: 1.4.4
appVersion: "26.0.7"
icon: https://www.keycloak.org/resources/images/logo-stacked.svg
home: https://www.keycloak.org
Expand All @@ -15,8 +15,5 @@ maintainers:
url: https://adfinis.com
annotations:
artifacthub.io/changes: |
- kind: changed
description: "chore: update keycloak from v26.0.6 to v26.0.7"
links:
- name: "Keycloak 26.0.7"
url: https://www.keycloak.org/2024/12/keycloak-2607-released
- kind: fixed
description: "fix: don't quote value for poolMinSize as the upstream type is integer"
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 @@ -31,7 +31,7 @@ spec:
poolMaxSize: {{ . }}
{{- end }}
{{- with .Values.keycloak.db.poolMinSize }}
poolMinSize: {{ . | quote }}
poolMinSize: {{ . }}
{{- end }}
{{- with .Values.keycloak.db.port }}
port: {{ . }}
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: 26.0.7
helm.sh/chart: keycloak-operator-1.4.3
helm.sh/chart: keycloak-operator-1.4.4
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: 26.0.7
helm.sh/chart: keycloak-operator-1.4.3
helm.sh/chart: keycloak-operator-1.4.4
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: 26.0.7
helm.sh/chart: keycloak-operator-1.4.3
helm.sh/chart: keycloak-operator-1.4.4
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: 26.0.7
helm.sh/chart: keycloak-operator-1.4.3
helm.sh/chart: keycloak-operator-1.4.4
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: 26.0.7
helm.sh/chart: keycloak-operator-1.4.3
helm.sh/chart: keycloak-operator-1.4.4
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: 26.0.7
helm.sh/chart: keycloak-operator-1.4.3
helm.sh/chart: keycloak-operator-1.4.4
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: 26.0.7
helm.sh/chart: keycloak-operator-1.4.3
helm.sh/chart: keycloak-operator-1.4.4
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: 26.0.7
helm.sh/chart: keycloak-operator-1.4.3
helm.sh/chart: keycloak-operator-1.4.4
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: 26.0.7
helm.sh/chart: keycloak-operator-1.4.3
helm.sh/chart: keycloak-operator-1.4.4
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: 26.0.7
helm.sh/chart: keycloak-operator-1.4.3
helm.sh/chart: keycloak-operator-1.4.4
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: 26.0.7
helm.sh/chart: keycloak-operator-1.4.3
helm.sh/chart: keycloak-operator-1.4.4
name: keycloak
spec:
features:
Expand All @@ -34,7 +34,7 @@ should match snapshot:
labels:
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/version: 26.0.7
helm.sh/chart: keycloak-operator-1.4.3
helm.sh/chart: keycloak-operator-1.4.4
name: RELEASE-NAME-keycloak-operator-test
spec:
keycloakCRName: keycloak
Expand Down

0 comments on commit a283b3f

Please sign in to comment.