#!/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 -