@Override
protected void appendReadonlyClouddriverForDeck(Profile profile, DeploymentConfiguration deploymentConfiguration, SpinnakerRuntimeSettings endpoints) {
if (hasServiceOverrides(deploymentConfiguration)
&& !deploymentConfiguration.getDeploymentEnvironment().getHaServices().getClouddriver().isDisableClouddriverRoDeck()) {
Map<String, Map<String, Map<String, Map<String, Map<String, String>>>>> services = Collections.singletonMap(
"services", Collections.singletonMap(
"clouddriver", Collections.singletonMap(
"config", Collections.singletonMap(
"dynamicEndpoints", Collections.singletonMap(
"deck", endpoints.getServiceSettings(Type.CLOUDDRIVER_RO_DECK).getBaseUrl())))));
profile.appendContents(getYamlParser().dump(services));
}
}
}