Files
platform/charts/metrics-server/deploy.sh
2020-11-05 21:05:34 +01:00

20 lines
299 B
Bash
Executable File

#!/usr/bin/env bash
namespace=kube-system
charts=()
. ../config.sh
kubectl_apply $namespace "${charts[@]}"
helm template \
-n $namespace \
-f values.yaml \
metrics-server \
stable/metrics-server \
| make_substitutions \
| sed 's/8443/6443/g' \
| kubectl apply -f -