I have a kind: Namespace
template YAML, as per below:
apiVersion: v1
kind: Namespace
metadata:
name: {{ .Values.namespace }}
namespace: ""
How do I make helm install
create the above-given namespace ({{ .Values.namespace }}
) if and only if above namespace ({{ .Values.namespace }}
) doesn't exits in the pointed Kubernetes cluster?