Initial commit
This commit is contained in:
9
linkerd/init.sh
Executable file
9
linkerd/init.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
step-cli certificate create root.linkerd.cluster.local ca.crt ca.key \
|
||||
--profile root-ca --no-password --insecure &&
|
||||
kubectl create secret tls \
|
||||
linkerd-trust-anchor \
|
||||
--cert=ca.crt \
|
||||
--key=ca.key \
|
||||
--namespace=linkerd &&
|
||||
yq e -i '.["linkerd-control-plane"].identityTrustAnchorsPEM=load_str("ca.crt")' values.yaml &&
|
||||
rm ca.crt ca.key
|
||||
Reference in New Issue
Block a user