avoid runtime config rollout on apply
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2026-07-06 17:50:14 +09:00
parent 7741f02e9b
commit 84c7889857
+2 -2
View File
@@ -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`);
} }
} }