k8s/helm/setup/005-external-dns/install.sh

17 lines
351 B
Bash
Executable file

#!/bin/bash -x
CHART_VERSION="1.12.0"
NAMESPACE="external-dns"
kubectl create ns ${NAMESPACE}
helm repo add external-dns https://kubernetes-sigs.github.io/external-dns/
helm repo update
helm upgrade --install \
external-dns \
external-dns/external-dns \
-n ${NAMESPACE} \
--version ${CHART_VERSION} \
--values values.yaml \
--cleanup-on-fail