This commit is contained in:
Vassiliy Yegorov
2021-05-06 15:02:42 +07:00
commit 05b0d36bb3
16 changed files with 260 additions and 0 deletions

25
Cluster/3-init-certmanager.sh Executable file
View File

@@ -0,0 +1,25 @@
#!/bin/bash
# Install the CustomResourceDefinition resources separately
kubectl apply -f https://github.com/jetstack/cert-manager/releases/download/v1.3.1/cert-manager.crds.yaml
# Create the namespace for cert-manager
kubectl create namespace cert-manager
# Add the Jetstack Helm repository
helm repo add cert-manager https://charts.jetstack.io
# Update your local Helm chart repository cache
helm repo update
helm upgrade --install \
cert-manager \
cert-manager/cert-manager \
--namespace cert-manager \
--version 1.3.1
kubectl -n cert-manager rollout status deploy/cert-manager
sleep 5
kubectl apply -f certmanager/orc-letsencrypt-issuer.yaml