As helmchart are not currently supporting checking if a namespace exist before applying there is a prereqs file that must be applied in the cluster.
kubectl apply -f prereq-stack.yaml
This step is only done once before the initial deployment of helm charts. If you redeploy helm charts this doesnt need to be re-run.
kubectl apply -f https://raw.githubusercontent.com/argoproj/argo/master/manifests/base/crds/workflow-crd.yaml
kubectl apply -f https://github.com/argoproj/argo-events/raw/v0.11/hack/k8s/manifests/sensor-crd.yaml
kubectl apply -f https://github.com/argoproj/argo-events/raw/v0.11/hack/k8s/manifests/gateway-crd.yaml
Starting from Helm v.3.0.3 there is now a way to get the default values out of the helm chart direcly. Running
helm show values scaleout/stack >> local-values.yaml
will give you a local-values.yaml to edit that is a copy of the default values.
- Installing with default values
helm install your-release-name stack
- Installing with your custom values
helm install your-release-name stack --values=local-values.yaml