helm repo add mox https://helm.mox.sh
helm repo update
kubectl create ns confluence
Update values.yaml
with values that suit your needs (see https://chartcenter.io/mox/confluence-server) then run the following:
helm install confluence mox/confluence-server -f values.yaml -n confluence
helm delete confluence -n confluence
The PostgreSQL PVC will not get automatically delete so:
kubectl delete -n confluence persistentvolumeclaim data-confluence-software-db-0