I have created a chart that can deploy any kind of k8s resources just using values yaml file.
So you don't need templates/
directory, but a note that it extends values yaml file size. Depends on your use case whether it fits or not.
https://laimison.github.io/universal-helm-chart
echo 'resources:
- apiVersion: v1
kind: Pod
metadata:
name: universal-helm-chart-pod
spec:
containers:
- name: sleep-container
image: busybox
args: ["sleep", "infinity"]
' > /tmp/values.yaml
helm repo add universal-helm-chart https://laimison.github.io/universal-helm-chart
helm install universal-helm-chart universal-helm-chart/universal-helm-chart --version 1.0.0 -n default -f /tmp/values.yaml
kubectl -n default get pods