This commit is contained in:
@@ -1434,7 +1434,7 @@ export class AppsService {
|
|||||||
data: Object.fromEntries(normalVars.map((variable) => [variable.key, variable.value])),
|
data: Object.fromEntries(normalVars.map((variable) => [variable.key, variable.value])),
|
||||||
});
|
});
|
||||||
logs.push(`[apply] configmap/${configMapName}`);
|
logs.push(`[apply] configmap/${configMapName}`);
|
||||||
await this.trySetWorkloadEnv(logs, workloadRef, `--from=configmap/${configMapName}`, namespace);
|
logs.push(`[skip] ${workloadRef} rollout is not triggered`);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (secretVars.length > 0) {
|
if (secretVars.length > 0) {
|
||||||
@@ -1450,7 +1450,7 @@ export class AppsService {
|
|||||||
stringData: Object.fromEntries(secretVars.map((variable) => [variable.key, variable.value])),
|
stringData: Object.fromEntries(secretVars.map((variable) => [variable.key, variable.value])),
|
||||||
});
|
});
|
||||||
logs.push(`[apply] secret/${secretName}`);
|
logs.push(`[apply] secret/${secretName}`);
|
||||||
await this.trySetWorkloadEnv(logs, workloadRef, `--from=secret/${secretName}`, namespace);
|
logs.push(`[skip] ${workloadRef} rollout is not triggered`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user