A simple enclosure in two parts for the Capacitive Soil Moisture Sensor V1.2https://www.amazon.fr/gp/product/B07R174TM1/https://www.aliexpress.com/item/32832538686.html
No support needed.
Can be finalized with glue (on joints and holes) to improve watertightness for an outdoor use.