added cert manager
This commit is contained in:
@ -18,9 +18,27 @@ kubectl apply -f manifests/metallb/metallb-config.yaml
|
||||
## Setup traefik repo
|
||||
helm repo add traefik https://traefik.github.io/charts
|
||||
helm repo update
|
||||
helm install traefik traefik/traefik -n traefik -f ./manifests/traefik/values.yaml --create-namespace
|
||||
helm install \
|
||||
traefik traefik/traefik \
|
||||
-n traefik \
|
||||
-f ./manifests/traefik/values.yaml \
|
||||
--create-namespace
|
||||
|
||||
## Setup MetalLb repo
|
||||
## Setup certmanager repo
|
||||
helm repo add jetstack https://charts.jetstack.io
|
||||
helm repo update
|
||||
helm install \
|
||||
cert-manager jetstack/cert-manager \
|
||||
-n cert-manager \
|
||||
-f ./manifests/certmanager/values.yaml \
|
||||
--create-namespace
|
||||
|
||||
## Set up the cloudflare API token.
|
||||
|
||||
kubectl apply -f ./manifests/certmanager/issuer-secret.yaml
|
||||
kubectl apply -f ./manifests/certmanager/issuer.yaml
|
||||
|
||||
## Setup longhorn repo
|
||||
helm repo add longhorn https://charts.longhorn.io
|
||||
helm repo update
|
||||
helm install longhorn longhorn/longhorn -n longhorn-system --create-namespace
|
||||
@ -32,5 +50,6 @@ kubectl wait --namespace longhorn-system \
|
||||
--all \
|
||||
--timeout=120s
|
||||
|
||||
## Apply ingress rule
|
||||
kubectl apply -f manifests/longhorn/longhorn-ingress.yaml
|
||||
## Apply ingress rule and certificate
|
||||
kubectl apply -f manifests/longhorn/certificate.yaml
|
||||
kubectl apply -f manifests/longhorn/ingress.yaml
|
Reference in New Issue
Block a user