As long as you don't show disclose intent to harm yourself or others then you're fine. Note that ideation is not intent but where exactly that line lies will depend on the therapist.
Generally speaking, saying that you have thoughts of suicide is fine, but saying that you went out and bought a tank of inert gas, some hoses, and a big plastic bag, will get you put on a psych hold.