chore: fix some typos in comment (#42279)

Signed-off-by: hustrust <hustrust@outlook.com>
This commit is contained in:
hustrust 2025-09-02 21:20:17 +08:00 committed by GitHub
parent 57242d2497
commit 4441ee4444
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 5 additions and 5 deletions

View File

@ -353,7 +353,7 @@ public class KeycloakDeploymentDependentResource extends CRUDKubernetesDependent
&& (customImage.isPresent() || operatorConfig.keycloak().startOptimized())) {
containerBuilder.addToArgs(OPTIMIZED_ARG);
}
// Set bind address as this is required for JGroups to form a cluster in IPv6 envionments
// Set bind address as this is required for JGroups to form a cluster in IPv6 environments
containerBuilder.addToArgs(0, "-Djgroups.bind.address=$(%s)".formatted(POD_IP));
boolean tls = isTlsConfigured(keycloakCR);

View File

@ -125,7 +125,7 @@ public class KeycloakSpec {
private SchedulingSpec schedulingSpec;
@JsonProperty("bootstrapAdmin")
@JsonPropertyDescription("In this section you can configure Keycloak's bootstrap admin - will be used only for inital cluster creation.")
@JsonPropertyDescription("In this section you can configure Keycloak's bootstrap admin - will be used only for initial cluster creation.")
private BootstrapAdminSpec bootstrapAdminSpec;
@JsonProperty("networkPolicy")

View File

@ -297,7 +297,7 @@ public final class CRAssert {
}
public static CompletableFuture<Void> eventuallyRollingUpdateStatus(KubernetesClient client, Keycloak keycloak, String reason) {
// test the statefulset, rather that the keycloak status as the events with the local api server may happen too quickly and the keycloak status may not get upddated
// test the statefulset, rather that the keycloak status as the events with the local api server may happen too quickly and the keycloak status may not get updated
var cf1 = client.apps().statefulSets().withName(keycloak.getMetadata().getName()).informOnCondition(ss -> {
return !ss.isEmpty() && KeycloakController.isRolling(ss.get(0));
});

View File

@ -251,7 +251,7 @@ public class SAMLIdentityProviderConfig extends IdentityProviderModel {
public boolean isPostBindingLogout() {
String postBindingLogout = getConfig().get(POST_BINDING_LOGOUT);
if (postBindingLogout == null) {
// To maintain unchanged behavior when adding this field, we set the inital value to equal that
// To maintain unchanged behavior when adding this field, we set the initial value to equal that
// of the binding for the response:
return isPostBindingResponse();
}

View File

@ -38,7 +38,7 @@ import java.util.Map;
import java.util.function.Supplier;
/**
* TODO: Remove this and probably also ClientSessionParser. It's uneccessary genericity and abstraction, which is not needed anymore when clientSessionModel was fully removed.
* TODO: Remove this and probably also ClientSessionParser. It's unnecessary genericity and abstraction, which is not needed anymore when clientSessionModel was fully removed.
*
* @author <a href="mailto:mposolda@redhat.com">Marek Posolda</a>
*/