Initial commit

This commit is contained in:
dobiadi
2024-10-23 23:35:59 +02:00
commit ae27aa6faf
21 changed files with 257 additions and 0 deletions

9
linkerd/init.sh Executable file
View 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