@Override public List<Profile> getProfiles(DeploymentConfiguration deploymentConfiguration, SpinnakerRuntimeSettings endpoints) { List<Profile> profiles = super.getProfiles(deploymentConfiguration, endpoints); String filename = "clouddriver-ro.yml"; String path = Paths.get(getConfigOutputPath(), filename).toString(); profiles.add(getClouddriverProfileFactory().getProfile(filename, path, deploymentConfiguration, endpoints)); return profiles; }
@Override public List<Profile> getProfiles(DeploymentConfiguration deploymentConfiguration, SpinnakerRuntimeSettings endpoints) { List<Profile> profiles = super.getProfiles(deploymentConfiguration, endpoints); String filename = "clouddriver-ro-deck.yml"; String path = Paths.get(getConfigOutputPath(), filename).toString(); profiles.add(getClouddriverProfileFactory().getProfile(filename, path, deploymentConfiguration, endpoints)); return profiles; }
@Override protected SpinnakerRuntimeSettings getServiceOverrides(DeploymentConfiguration deploymentConfiguration, SpinnakerRuntimeSettings endpoints) { SpinnakerRuntimeSettings serviceOverrides = super.getServiceOverrides(deploymentConfiguration, endpoints); serviceOverrides.setServiceSettings(Type.REDIS, new ServiceSettings(deploymentConfiguration.getDeploymentEnvironment().getHaServices().getClouddriver().getRedisSlaveDeckEndpoint())); return serviceOverrides; } }
@Override public boolean isEnabled(DeploymentConfiguration deploymentConfiguration) { return super.isEnabled(deploymentConfiguration) && !deploymentConfiguration.getDeploymentEnvironment().getHaServices().getClouddriver().isDisableClouddriverRoDeck(); }
@Override protected SpinnakerRuntimeSettings getServiceOverrides(DeploymentConfiguration deploymentConfiguration, SpinnakerRuntimeSettings endpoints) { SpinnakerRuntimeSettings serviceOverrides = super.getServiceOverrides(deploymentConfiguration, endpoints); serviceOverrides.setServiceSettings(Type.REDIS, new ServiceSettings(deploymentConfiguration.getDeploymentEnvironment().getHaServices().getClouddriver().getRedisSlaveDeckEndpoint())); return serviceOverrides; } }
@Override public List<Profile> getProfiles(DeploymentConfiguration deploymentConfiguration, SpinnakerRuntimeSettings endpoints) { List<Profile> profiles = super.getProfiles(deploymentConfiguration, endpoints); String filename = "clouddriver-ro.yml"; String path = Paths.get(getConfigOutputPath(), filename).toString(); profiles.add(getClouddriverProfileFactory().getProfile(filename, path, deploymentConfiguration, endpoints)); return profiles; }
@Override public List<Profile> getProfiles(DeploymentConfiguration deploymentConfiguration, SpinnakerRuntimeSettings endpoints) { List<Profile> profiles = super.getProfiles(deploymentConfiguration, endpoints); String filename = "clouddriver-ro-deck.yml"; String path = Paths.get(getConfigOutputPath(), filename).toString(); profiles.add(getClouddriverProfileFactory().getProfile(filename, path, deploymentConfiguration, endpoints)); return profiles; }