You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some parameters contain default value even if set in the CRD to the different value. I noticed this behaviour in the KeycloakClient resource, but other resources may be affected as well.
It looks for me that boolean parameters with value false are not applied. If there is no default value, then probably it is silently set to false which is desired state. But if default value is true, then these parameters have wrong value.
To Reproduce
Setup postgresql and keycloak, e.g. via bitnami/postgresql and codecentric/keycloakx charts
Deploy operator like described in the readme:
The values for spec.enabled, spec.fullScopeAllowed and spec.standardFlowEnabled are all set to default value true instead of defined false. Note that other boolean parameters which do not have default value (spec.advancedProtocolMappers, spec.authorizationServicesEnabled and spec.consentRequired in this case) do not appear in the resource.
Kubernetes cluster type:
minikube v1.33.0 on Microsoft Windows 10 with docker driver
Kubernetes v1.30.0 $ kubectl version
Client Version: v1.30.0
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.30.0
Additional context
Chart version 1.20.0
I wanted to test latest snapshot version, but for some reason snapshot repo (https://epam.github.io/edp-helm-charts/snapshot) does not contain any charts:
"epamedp-snapshot" has been added to your repositories
helm repo update
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "codecentric" chart repository
...Successfully got an update from the "epamedp" chart repository
...Successfully got an update from the "epamedp-snapshot" chart repository
...Successfully got an update from the "bitnami" chart repository
Update Complete. Happy Helming!
helm search repo epamedp-snapshot
No results found
The text was updated successfully, but these errors were encountered:
Some parameters contain default value even if set in the CRD to the different value. I noticed this behaviour in the KeycloakClient resource, but other resources may be affected as well.
It looks for me that boolean parameters with value
false
are not applied. If there is no default value, then probably it is silently set tofalse
which is desired state. But if default value istrue
, then these parameters have wrong value.To Reproduce
Setup postgresql and keycloak, e.g. via bitnami/postgresql and codecentric/keycloakx charts
Deploy operator like described in the readme:
Create
keycloak-admin
secret and Keycloak CRD:Create KeycloakRealm CRD:
Create KeycloakClient CRD:
Check deployed resource:
kubectl describe KeycloakClient backend-client -n keycloak
The values for
spec.enabled
,spec.fullScopeAllowed
andspec.standardFlowEnabled
are all set to default valuetrue
instead of definedfalse
. Note that other boolean parameters which do not have default value (spec.advancedProtocolMappers
,spec.authorizationServicesEnabled
andspec.consentRequired
in this case) do not appear in the resource.Kubernetes cluster type:
minikube v1.33.0 on Microsoft Windows 10 with docker driver
Kubernetes v1.30.0
$ kubectl version
Client Version: v1.30.0
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.30.0
Additional context
Chart version 1.20.0
I wanted to test latest snapshot version, but for some reason snapshot repo (
https://epam.github.io/edp-helm-charts/snapshot
) does not contain any charts:helm repo add epamedp-snapshot https://epam.github.io/edp-helm-charts/snapshot
helm repo update
helm search repo epamedp-snapshot
The text was updated successfully, but these errors were encountered: