fix(dockerfile): Update Docker base images to use code.foss.global instead of registry.gitlab.com
This commit is contained in:
@@ -28,14 +28,12 @@ export class ClusterManager {
|
||||
*/
|
||||
public async start() {
|
||||
const config = await this.coreflowRef.cloudlyConnector.getConfigFromCloudly();
|
||||
await this.setDockerAuth(config);
|
||||
this.readyDeferred.resolve();
|
||||
|
||||
// subscriptions
|
||||
this.configSubscription =
|
||||
this.coreflowRef.cloudlyConnector.cloudlyClient.configUpdateSubject.subscribe(
|
||||
async (dataArg) => {
|
||||
await this.setDockerAuth(dataArg.configData);
|
||||
this.coreflowRef.taskManager.updateBaseServicesTask.trigger();
|
||||
}
|
||||
);
|
||||
@@ -63,10 +61,6 @@ export class ClusterManager {
|
||||
this.configSubscription ? this.configSubscription.unsubscribe() : null;
|
||||
}
|
||||
|
||||
public async setDockerAuth(configArg: plugins.servezoneInterfaces.data.IClusterConfig) {
|
||||
await this.dockerHost.auth(configArg.data.registryInfo);
|
||||
}
|
||||
|
||||
/**
|
||||
* provisions base services
|
||||
*/
|
||||
@@ -191,7 +185,11 @@ export class ClusterManager {
|
||||
/**
|
||||
* provision services obtained from cloudly
|
||||
*/
|
||||
public async provisionWorkloadServices(configData: plugins.servezoneInterfaces.data.IClusterConfig) {
|
||||
public async provisionWorkloadServices(configData: plugins.servezoneInterfaces.data.ICluster) {
|
||||
// lets get the config + deploymentDirectives
|
||||
|
||||
|
||||
|
||||
for (const containerConfig of configData.data.containers) {
|
||||
await this.provisionSpecificWorkloadService(containerConfig);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user