<#7340 feat(app): implement K8sPod payload support...
# flyte-github
a
#7340 feat(app): implement K8sPod payload support in buildPodSpec Pull request opened by andreahlert closes #7328 the
Spec_Pod
case in
buildPodSpec
was just a stub throwing an error. wired it up to actually deserialize the k8s pod spec using
UnmarshalStructToObj
from flytestdlib. pod spec already carries its own containers, resources, envs, ports — all that stuff comes through the deserialization. no manual field mapping needed.
EnableServiceLinks
defaults to false if not set, otherwise respects what the user defined. added tests for the happy path, nil spec, invalid json, and no payload.
go test ./app/internal/k8s
passes — the pre-existing
KserviceToStatus
failure is unrelated. flyteorg/flyte