After obtaining the sealing technique from Minato Namikaze, Uchiha Yue knew that he was bound to break his word.
This was because the sealing technique Uchiha Yue wanted was not meant to restrain his enemies, but the members of his own "Moon" squad. After all, the members Uchiha Yue had selected for the "Moon" squad were basically all members of the Uchiha Clan—and ones loyal to Uchiha Fugaku at that.
If Uchiha Yue wanted the members of the "Moon" squad he had formed to be completely loyal to him and never leak even the slightest bit of his information, he needed to use unconventional means to control them. A sealing technique was undoubtedly the best way to restrain the members under his command. That was why Uchiha Yue had asked Minato Namikaze for a powerful seal; he feared that the "Moon" squad members might be able to break an ordinary seal themselves. If that happened, all his efforts would have been for nothing.
As for how Uchiha Yue knew that Minato Namikaze possessed sealing techniques, it was all because of Kushina Uzumaki.
As Kushina Uzumaki's future husband, Minato Namikaze had no secrets from her. Whenever Minato Namikaze acquired a ninjutsu or secret technique, he would certainly teach it to his future wife, Kushina Uzumaki, at the first opportunity. Kushina Uzumaki, meanwhile, had taught Minato Namikaze every Uzumaki Clan Secret Technique she knew. This alone showed just how intimate their relationship was.
Since Minato Namikaze and Kushina Uzumaki shared such a close relationship, Minato Namikaze naturally knew every sealing technique of the Uzumaki Clan that Kushina Uzumaki possessed. Thus, if Uchiha Yue wanted to save time while obtaining a powerful sealing technique, the best option was to ask either Kushina Uzumaki or Minato Namikaze for one.
At present, Kushina Uzumaki was