docs(README): format code blocks for SSH key generation instructions
这个提交包含在:
@@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
参见 [flux/README.md](flux/README.md)
|
参见 [flux/README.md](flux/README.md)
|
||||||
|
|
||||||
`
|
```shell
|
||||||
ssh-keygen -t ed25519 -C "flux" -f ./flux-git-auth -N ""
|
ssh-keygen -t ed25519 -C "flux" -f ./flux-git-auth -N ""
|
||||||
|
|
||||||
ssh-keyscan github.com > ./known_hosts
|
ssh-keyscan github.com > ./known_hosts
|
||||||
@@ -17,4 +17,4 @@ kubectl -n infra-gitops create secret generic flux-git-auth \
|
|||||||
--from-file=identity=./flux-git-auth \
|
--from-file=identity=./flux-git-auth \
|
||||||
--from-file=identity.pub=./flux-git-auth.pub \
|
--from-file=identity.pub=./flux-git-auth.pub \
|
||||||
--from-file=known_hosts=./known_hosts
|
--from-file=known_hosts=./known_hosts
|
||||||
`
|
```
|
||||||
|
|||||||
在新议题中引用
屏蔽一个用户