You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
GetFieldValue returns string "null" for null field value #6317
GetFieldValue returns a string value "null" when a yaml field is null. There is no way to differentiate between the 2 cases based on the return value, for example to check if a field of a different expected type is null or has an incorrect type.
What did you expect to happen?
I expected nil to be returned in that case.
How can we reproduce it (as minimally and precisely as possible)?
SIG CLI takes a lead on issue triage for this repo, but any Kubernetes member can accept issues by applying the triage/accepted label.
The triage/accepted label can be added by org members by writing /triage accepted in a comment.
Details
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.
Activity
kubernetes-prow commentedon Oct 8, 2026
This issue is currently awaiting triage.
SIG CLI takes a lead on issue triage for this repo, but any Kubernetes member can accept issues by applying the
triage/acceptedlabel.The
triage/acceptedlabel can be added by org members by writing/triage acceptedin a comment.Details
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.
tal-sapan commentedon Oct 8, 2026
The solution is probably to add handlng for the null case here:
kustomize/kyaml/yaml/rnode.go
Line 1358 in 5d465f7