20 lines
360 B
Bash
20 lines
360 B
Bash
#!/usr/bin/env bash
|
|
|
|
namespace=kube-system
|
|
version="v1.0.4"
|
|
|
|
charts=(
|
|
cluster-ca.yaml
|
|
cluster-issuer.yaml
|
|
front-proxy-client.yaml
|
|
)
|
|
|
|
. ../config.sh
|
|
kubectl_apply_files $namespace "${charts[@]}"
|
|
kubectl apply \
|
|
-n $namespace \
|
|
--validate=false \
|
|
-f https://github.com/jetstack/cert-manager/releases/download/$version/cert-manager.yaml
|
|
|
|
|