Last active
July 21, 2020 10:26
-
-
Save ams0/3197187f82ae50d166873b9e7a7b85fb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Deploy Linkerd2 with helm3 and certificates | |
kubectl create ns linkerd | |
kubectl label ns linkerd config.linkerd.io/admission-webhooks=disabled | |
#brew install step | |
step certificate create identity.linkerd.cluster.local ca.crt ca.key --profile root-ca --no-password --insecure | |
step certificate create identity.linkerd.cluster.local issuer.crt issuer.key --ca ca.crt --ca-key ca.key --profile intermediate-ca --not-after 8760h --no-password --insecure | |
#install helm3-rc from https://github.com/helm/helm/releases | |
helm repo add linkerd https://helm.linkerd.io/stable | |
helm repo update | |
helm install \ | |
--set-file Identity.TrustAnchorsPEM=ca.crt \ | |
--set-file Identity.Issuer.TLS.CrtPEM=issuer.crt \ | |
--set-file Identity.Issuer.TLS.KeyPEM=issuer.key \ | |
--set Identity.Issuer.CrtExpiry=$(date -v+8760H +"%Y-%m-%dT%H:%M:%SZ") \ | |
--set InstallNamespace=false \ | |
--set Namespace=linkerd \ | |
linkerd2 linkerd/linkerd2 | |
#upgrade | |
#helm upgrade linkerd2 linkerd/linkerd2 --reuse-values |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment