gattytto
gattytto
> @gattytto > Would you like to contribute into Eclipse Che ? this does not seem to be implemented in Jboss/keycloak (Djava.net.preferIPv4Stack is the only relevant option to this intent),...
I also don't think -b can be used twice when in https://github.com/eclipse/che-operator/blob/master/pkg/deploy/identity-provider/deployment_keycloak.go#L551
maybe this can be used to set the right CIDR to use before starting keycloak: ````bash #!/bin/bash BIND_CIDR=$(echo "$(ip -6 route list | awk '$1 == "default" {print $5}')" |head...
I have a [POC](https://github.com/gattytto/che-operator/blob/d8ba1fbdf08eed2298daa2c4fc04d1009973afab/pkg/deploy/identity-provider/deployment_keycloak.go#L548-L562) that succeeds for keycloak and postgres, devfile and plugin registries, but che pod says: ````verilog root@cgroovy:~# kubectl -n eclipse-che logs pod/che-7dddbd6675-j4h5l 2021-04-13 00:41:44,945[675-j4h5l-49576] [WARN ] [o.j.p.kubernetes.KUBE_PING...
I can see che container ENV has a couple occurences of the kube api v6 without the ```[]``` but I don't know which one is used in the case of...
in che-operator there's this 2 lines ([1](https://github.com/eclipse-che/che-operator/blob/236f7ab5dec4d238472a996ec5bddfecf863745b/pkg/util/util.go#L241-L242) & [2](https://github.com/eclipse-che/che-operator/blob/236f7ab5dec4d238472a996ec5bddfecf863745b/pkg/util/util.go#L270-L271)) that use the env var that has: ````bash KUBERNETES_PORT_443_TCP_ADDR=1101:300:1:2::1 ```` this will result in: ```https://1101:300:1:2::1/.well-known/oauth-authorization-server``` and ```https://1101:300:1:2::1/apis/config.openshift.io/v1/infrastructures/cluster``` respectively
I think [this](https://github.com/jgroups-extras/jgroups-kubernetes/blob/cf79f55afa5a6de3be8cb3078d133923d6aeb9b6/src/main/java/org/jgroups/protocols/kubernetes/KUBE_PING.java#L168) is the KUBE_PING call that's assembling something like: ``` "%s://%s:%s/api/%s", masterProtocol, masterHost, masterPort, apiVersion ``` masterHost being: ````java @Property(description="The URL of the Kubernetes server", systemProperty="KUBERNETES_SERVICE_HOST") protected String...
@tolusha upgrading keycloack is a nice idea, although v6 can be sorted out for the old version too from what I tested, but I don't know what can be done...
adding brackets to the kubernetes service host makes catalina and other apis fail in the kubernetes httpclient call with ``` Invalid host: [[1101:300:1:2::1]```. I think [this](https://github.com/eclipse/che/blob/89082a98ad5bfbb1b727ce13377e230eb240cb00/infrastructures/kubernetes/src/main/java/org/eclipse/che/workspace/infrastructure/kubernetes/KubernetesClientFactory.java#L63) is the field that...
@tolusha can you pls reopen? I have a real pure ipv6 cluster to test this more now