mirror of
https://github.com/Noratrieb/vps.git
synced 2026-01-14 16:55:00 +01:00
More
This commit is contained in:
parent
1b8879c684
commit
4be274f187
12 changed files with 270 additions and 12 deletions
7
scripts/cert-manager.sh
Executable file
7
scripts/cert-manager.sh
Executable file
|
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
# https://getbetterdevops.io/k8s-ingress-with-letsencrypt/
|
||||
|
||||
helm repo add jetstack https://charts.jetstack.io
|
||||
helm repo update
|
||||
helm install cert-manager jetstack/cert-manager --namespace cert-manager --create-namespace --set installCRDs=true
|
||||
4
scripts/minikube-setup.sh
Normal file
4
scripts/minikube-setup.sh
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
minikube addons enable ingress
|
||||
minikube addons enable ingress-dns
|
||||
14
scripts/setup-env.sh
Executable file
14
scripts/setup-env.sh
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
if kubectl cert-manager 2>/dev/null >/dev/null ;
|
||||
then
|
||||
echo "The cert-manger kubectl plugin is already installed"
|
||||
else
|
||||
CERT_MANAGER_KUBECTL_VERSION="v1.6.1"
|
||||
|
||||
echo "Installing the cert-manager kubectl plugin: $CERT_MANAGER_KUBECTL_VERSION"
|
||||
|
||||
curl -L -o kubectl-cert-manager.tar.gz "https://github.com/jetstack/cert-manager/releases/download/$CERT_MANAGER_KUBECTL_VERSION/kubectl-cert_manager-linux-amd64.tar.gz"
|
||||
tar xzf kubectl-cert-manager.tar.gz
|
||||
sudo mv kubectl-cert_manager /usr/local/bin
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue