switch (providerType) {
case KUBERNETES:
DeploymentDetails deploymentDetails = new DeploymentDetails<>()
.setAccount(account)
.setDeploymentEnvironment(deploymentEnvironment)
<BUG>.setEndpoints(new SpinnakerEndpoints())
.setDeploymentName(deploymentConfiguration.getName());</BUG>
return new KubernetesClusteredSimpleDeployment(deploymentDetails, kubernetesProviderInterface);
default:
throw new IllegalArgumentException("No Clustered Simple Deployment for " + providerType.getId());

switch (providerType) {
case KUBERNETES:
DeploymentDetails deploymentDetails = new DeploymentDetails<>()
.setAccount(account)
.setDeploymentEnvironment(deploymentEnvironment)
.setGenerateResult(generateResult)
.setDeploymentName(deploymentConfiguration.getName());
return new KubernetesClusteredSimpleDeployment(deploymentDetails, kubernetesProviderInterface);
default:
throw new IllegalArgumentException("No Clustered Simple Deployment for " + providerType.getId());
