I want to deploy multiple Deployments of Pods with different images, ports, etc. but with very similar other properties. So I want to declare a single deployment.yaml
file that looks something like this
{{- range .Values.types }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
...
{{- end }}
Where my values.yaml
is
types:
- foo
- bar
- baz
However, this only spins up a single Kubernetes Deployment when I helm install
because everything is in one template file. Any ideas on how to do this?