use of com.netflix.spinnaker.halyard.deploy.spinnaker.v1.service.distributed.kubernetes.KubernetesSharedServiceSettings in project halyard by spinnaker.
the class KubernetesV1ClouddriverBootstrapService method buildServiceSettings.
@Override
public Settings buildServiceSettings(DeploymentConfiguration deploymentConfiguration) {
List<String> profiles = new ArrayList<>();
profiles.add("bootstrap");
KubernetesSharedServiceSettings kubernetesSharedServiceSettings = new KubernetesSharedServiceSettings(deploymentConfiguration);
Settings settings = new Settings(profiles);
String location = kubernetesSharedServiceSettings.getDeployLocation();
settings.setAddress(buildAddress(location)).setArtifactId(getArtifactId(deploymentConfiguration.getName())).setLocation(location).setMonitored(false).setEnabled(true);
return settings;
}
use of com.netflix.spinnaker.halyard.deploy.spinnaker.v1.service.distributed.kubernetes.KubernetesSharedServiceSettings in project halyard by spinnaker.
the class KubernetesV1DeckService method buildServiceSettings.
@Override
public Settings buildServiceSettings(DeploymentConfiguration deploymentConfiguration) {
KubernetesSharedServiceSettings kubernetesSharedServiceSettings = new KubernetesSharedServiceSettings(deploymentConfiguration);
Settings settings = new Settings(deploymentConfiguration.getSecurity().getUiSecurity());
settings.setArtifactId(getArtifactId(deploymentConfiguration.getName())).setLocation(kubernetesSharedServiceSettings.getDeployLocation()).setEnabled(true);
return settings;
}
use of com.netflix.spinnaker.halyard.deploy.spinnaker.v1.service.distributed.kubernetes.KubernetesSharedServiceSettings in project halyard by spinnaker.
the class KubernetesV1OrcaBootstrapService method buildServiceSettings.
@Override
public Settings buildServiceSettings(DeploymentConfiguration deploymentConfiguration) {
List<String> profiles = new ArrayList<>();
profiles.add("bootstrap");
KubernetesSharedServiceSettings kubernetesSharedServiceSettings = new KubernetesSharedServiceSettings(deploymentConfiguration);
Settings settings = new Settings(profiles);
String location = kubernetesSharedServiceSettings.getDeployLocation();
settings.setAddress(buildAddress(location)).setArtifactId(getArtifactId(deploymentConfiguration.getName())).setLocation(location).setMonitored(false).setEnabled(true);
return settings;
}
use of com.netflix.spinnaker.halyard.deploy.spinnaker.v1.service.distributed.kubernetes.KubernetesSharedServiceSettings in project halyard by spinnaker.
the class KubernetesV1DistributedServiceProvider method clean.
@Override
public RemoteAction clean(AccountDeploymentDetails<KubernetesAccount> details, SpinnakerRuntimeSettings runtimeSettings) {
KubernetesSharedServiceSettings kubernetesSharedServiceSettings = new KubernetesSharedServiceSettings(details.getDeploymentConfiguration());
KubernetesV1ProviderUtils.kubectlDeleteNamespaceCommand(DaemonTaskHandler.getJobExecutor(), details, kubernetesSharedServiceSettings.getDeployLocation());
return new RemoteAction();
}
use of com.netflix.spinnaker.halyard.deploy.spinnaker.v1.service.distributed.kubernetes.KubernetesSharedServiceSettings in project halyard by spinnaker.
the class KubernetesV1FiatService method buildServiceSettings.
@Override
public Settings buildServiceSettings(DeploymentConfiguration deploymentConfiguration) {
KubernetesSharedServiceSettings kubernetesSharedServiceSettings = new KubernetesSharedServiceSettings(deploymentConfiguration);
Settings settings = new Settings();
String location = kubernetesSharedServiceSettings.getDeployLocation();
settings.setAddress(buildAddress(location)).setArtifactId(getArtifactId(deploymentConfiguration.getName())).setLocation(location).setEnabled(deploymentConfiguration.getSecurity().getAuthz().isEnabled());
return settings;
}
Aggregations