kubernetes镜像使用帮助gpg key报错
Closed this issue · 1 comments
Daydreamer-zz commented
帮助页面的链接(Help page URL)
https://help.mirrors.cernet.edu.cn/kubernetes/
原文 (Text)
首先导入 gpg key:
sudo curl -fsSLo /usr/share/keyrings/kubernetes-archive-keyring.gpg https://packages.cloud.google.com/apt/doc/apt-key.gpg
反馈和修正 (Feedback)
在执行apt update
后如下报错
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B53DC80D13EDEF05
参考 kubernetes/k8s.io#4837 (comment)
应该将地址apt-key.gpg修改为https://dl.k8s.io/apt/doc/apt-key.gpg
sudo curl -fsSLo /usr/share/keyrings/kubernetes-archive-keyring.gpg https://dl.k8s.io/apt/doc/apt-key.gpg
备注 (Note)
No response
taoky commented
有兴趣交个 PR 吗?