She shared her diagnosis to seek solidarity before undergoing surgery after her June 15 Summertime Ball performance.