A simple way is to model the boundary as a thin layer with very high dielectric constant.
If you prefer to solve it in a more nifty way, there was a past discussion in which Nitsche’s method was used to enforce this constraint. If interested, you can read it here: