Merge "[dovetail] refactor the part of getting pod.yaml"