This commit is contained in:
Timothy Jaeryang Baek committed 2026-11-05 10:13:36 +09:00
1 parent 0e89fe7829
commit be10268c03
3 files changed
+40

No files matched your search

+3
View File
@@ -211,6 +211,9 @@ def _apply_pod_template(pod_manifest: dict, pod_template: dict | None) -> dict:
{},
)
generated_container = generated_spec["containers"][0]
for field in ("readinessProbe", "livenessProbe"):
if field in template_container:
container[field] = template_container[field]
for field in ("env", "ports", "volumeMounts"):
container[field] = _merge_by_name(
template_container.get(field), generated_container.get(field)