For HDR upload to youtube you need as bare minimum- Rec.2020 flagging, but ideally use mkvmerge to add all detailed HDR metadata on container level and if you want to make it perfect you can also provide LUT for SDR version:
http://www.mysterybox.us/blog