I teach at a University. Once I was set for surgery, there was no point keeping it a secret. Our Department is mostly male anyway, so it is a topic that should concern all men.
I sent an email explaining the situation.
I have had nice support and I have not been treated any differently. Frankly it's one less burden for me; it would be harder keeping this a secret.
Mel