A Helm chart to deploy any Kubernetes resource dynamically.
Use cases:
You want to deploy extra resources on top of another chart eg Prometheus, ArgoCD, etc. So one of these charts doesn’t provide a way to get required resource
You don’t want to use templates/ directory. For example here you can use multiple Helm sources, but no templates/ directory is supported https://argo-cd.readthedocs.io/en/stable/user-guide/multiple_sources/#helm-value-files-from-external-git-repository
You’re waiting for pull request to be merged in another chart so you want extra resources right now using universal-helm-chart
You don’t want to complicate your pipeline by building extra Helm chart so you use universal-helm-chart
You want to use universal-helm-chart to speed up debugging, testing or your POC
… or whatever your reason is
echo 'resources:
- apiVersion: v1
kind: Pod
metadata:
name: universal-helm-chart-pod
spec:
containers:
- name: sleep-container
image: busybox
args: ["sleep", "infinity"]
- apiVersion: v1
kind: Pod
metadata:
name: universal-helm-chart-pod-2
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
https://laimison.github.io/universal-helm-chart