mirror of
https://github.com/Azure/k8s-deploy.git
synced 2026-04-13 01:52:20 +08:00
Fixing annotations
This commit is contained in:
parent
79d7af7e76
commit
db567f3869
@ -149,7 +149,7 @@ function getFilePathsConfigs() {
|
|||||||
const DOCKERFILE_PATH_KEY = 'dockerfilePath';
|
const DOCKERFILE_PATH_KEY = 'dockerfilePath';
|
||||||
const CONTAINER_REG_KEY = 'containerRegistryServer';
|
const CONTAINER_REG_KEY = 'containerRegistryServer';
|
||||||
let inputManifestFiles = inputParams.manifests || [];
|
let inputManifestFiles = inputParams.manifests || [];
|
||||||
filePathsConfig[MANIFEST_PATHS_KEY] = inputManifestFiles;
|
filePathsConfig[MANIFEST_PATHS_KEY] = JSON.stringify(inputManifestFiles);
|
||||||
let helmChartPath = process.env.HELM_CHART_PATH || '';
|
let helmChartPath = process.env.HELM_CHART_PATH || '';
|
||||||
filePathsConfig[HELM_CHART_KEY] = helmChartPath;
|
filePathsConfig[HELM_CHART_KEY] = helmChartPath;
|
||||||
//Fetch labels from each image
|
//Fetch labels from each image
|
||||||
@ -200,7 +200,7 @@ function getFilePathsConfigs() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
filePathsConfig[BUILD_CONFIG_KEY] = imageToBuildConfigMap;
|
filePathsConfig[BUILD_CONFIG_KEY] = JSON.stringify(imageToBuildConfigMap);
|
||||||
return Promise.resolve(filePathsConfig);
|
return Promise.resolve(filePathsConfig);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@ -140,7 +140,7 @@ export async function getFilePathsConfigs(): Promise<any> {
|
|||||||
const CONTAINER_REG_KEY = 'containerRegistryServer';
|
const CONTAINER_REG_KEY = 'containerRegistryServer';
|
||||||
|
|
||||||
let inputManifestFiles = inputParams.manifests || [];
|
let inputManifestFiles = inputParams.manifests || [];
|
||||||
filePathsConfig[MANIFEST_PATHS_KEY] = inputManifestFiles;
|
filePathsConfig[MANIFEST_PATHS_KEY] = JSON.stringify(inputManifestFiles);
|
||||||
|
|
||||||
let helmChartPath = process.env.HELM_CHART_PATH || '';
|
let helmChartPath = process.env.HELM_CHART_PATH || '';
|
||||||
filePathsConfig[HELM_CHART_KEY] = helmChartPath;
|
filePathsConfig[HELM_CHART_KEY] = helmChartPath;
|
||||||
@ -204,7 +204,7 @@ export async function getFilePathsConfigs(): Promise<any> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
filePathsConfig[BUILD_CONFIG_KEY] = imageToBuildConfigMap;
|
filePathsConfig[BUILD_CONFIG_KEY] = JSON.stringify(imageToBuildConfigMap);
|
||||||
|
|
||||||
return Promise.resolve(filePathsConfig);
|
return Promise.resolve(filePathsConfig);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user