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