@Override protected void appendReadonlyClouddriver(Profile profile, DeploymentConfiguration deploymentConfiguration, SpinnakerRuntimeSettings endpoints) { if (hasServiceOverrides(deploymentConfiguration)) { Map<String, Map<String, Map<String, String>>> clouddriver = Collections.singletonMap( "clouddriver", Collections.singletonMap( "readonly", Collections.singletonMap( "baseUrl", endpoints.getServiceSettings(Type.CLOUDDRIVER_RO).getBaseUrl()))); profile.appendContents("\n" + getYamlParser().dump(clouddriver)); } } }
@Override protected void appendReadonlyClouddriver(Profile profile, DeploymentConfiguration deploymentConfiguration, SpinnakerRuntimeSettings endpoints) { if (hasServiceOverrides(deploymentConfiguration)) { Map<String, Map<String, Map<String, String>>> clouddriver = Collections.singletonMap( "clouddriver", Collections.singletonMap( "readonly", Collections.singletonMap( "baseUrl", endpoints.getServiceSettings(Type.CLOUDDRIVER_RO).getBaseUrl()))); profile.appendContents("\n" + getYamlParser().dump(clouddriver)); } } }