diff --git a/extensions/kubernetes-client/deployment/src/main/java/io/quarkus/kubernetes/client/deployment/DevServicesKubernetesProcessor.java b/extensions/kubernetes-client/deployment/src/main/java/io/quarkus/kubernetes/client/deployment/DevServicesKubernetesProcessor.java index 9ba246d4a00e2..b2996cf385d54 100644 --- a/extensions/kubernetes-client/deployment/src/main/java/io/quarkus/kubernetes/client/deployment/DevServicesKubernetesProcessor.java +++ b/extensions/kubernetes-client/deployment/src/main/java/io/quarkus/kubernetes/client/deployment/DevServicesKubernetesProcessor.java @@ -197,17 +197,17 @@ private RunningDevService startKubernetes(DockerStatusBuildItem dockerStatusBuil final Supplier defaultKubernetesClusterSupplier = () -> { KubernetesContainer container; switch (config.flavor) { - case API_ONLY: + case api_only: container = new ApiServerContainer( config.apiVersion.map(version -> findOrElseThrow(version, ApiServerContainerVersion.class)) .orElseGet(() -> latest(ApiServerContainerVersion.class))); break; - case K3S: + case k3s: container = new K3sContainer( config.apiVersion.map(version -> findOrElseThrow(version, K3sContainerVersion.class)) .orElseGet(() -> latest(K3sContainerVersion.class))); break; - case KIND: + case kind: container = new KindContainer( config.apiVersion.map(version -> findOrElseThrow(version, KindContainerVersion.class)) .orElseGet(() -> latest(KindContainerVersion.class))); diff --git a/extensions/kubernetes-client/runtime-internal/src/main/java/io/quarkus/kubernetes/client/runtime/KubernetesDevServicesBuildTimeConfig.java b/extensions/kubernetes-client/runtime-internal/src/main/java/io/quarkus/kubernetes/client/runtime/KubernetesDevServicesBuildTimeConfig.java index 6c50f4ce8154e..3c194f1d269d9 100644 --- a/extensions/kubernetes-client/runtime-internal/src/main/java/io/quarkus/kubernetes/client/runtime/KubernetesDevServicesBuildTimeConfig.java +++ b/extensions/kubernetes-client/runtime-internal/src/main/java/io/quarkus/kubernetes/client/runtime/KubernetesDevServicesBuildTimeConfig.java @@ -29,7 +29,7 @@ public class KubernetesDevServicesBuildTimeConfig { /** * The flavor to use (kind, k3s or api-only). Default to api-only. */ - @ConfigItem(defaultValue = "API_ONLY") + @ConfigItem(defaultValue = "api-only") public Flavor flavor; /** @@ -70,14 +70,14 @@ public static enum Flavor { /** * kind (needs priviledge docker) */ - KIND, + kind, /** * k3s (needs priviledge docker) */ - K3S, + k3s, /** * api only */ - API_ONLY; + api_only; } }