mirror of
https://github.com/keycloak/keycloak.git
synced 2026-05-07 07:30:17 -05:00
fix: preventing statefulset infinite reconciliation loop (#38849)
closes: #38846 Signed-off-by: Steve Hawkins <shawkins@redhat.com>
This commit is contained in:
+1
-1
@@ -518,7 +518,7 @@ public class KeycloakDeploymentDependentResource extends CRUDKubernetesDependent
|
||||
}
|
||||
|
||||
envVars.add(new EnvVarBuilder().withName(POD_IP).withNewValueFrom().withNewFieldRef()
|
||||
.withFieldPath("status.podIP").endFieldRef().endValueFrom().build());
|
||||
.withFieldPath("status.podIP").withApiVersion("v1").endFieldRef().endValueFrom().build());
|
||||
|
||||
return envVars;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user