You are the comment in this thread of BS speculation that is closest to nailing the truth.
Hans Mark
Director of NASA Ames 1969-1977
Director of the NRO 1977-1979
Deputy Director of NASA 1981-1984
I’ll let you take that piece of information and decide if NASA leadership knew about the NRO or not when Hubble launched in 1985.