首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往
您找到你想要的搜索结果了吗?
是的
没有找到

GitOps 场景下 Kubernetes secrets 加密处理的几种方式

Kubernetes 已经毫无争议的成为了云原生时代的事实标准,在 Kubernetes 上部署应用程序也变得简单起来(无论是采用 kustomize 还是 helm),虽然对于敏感信息(比如用户名、密码、token 和证书等)的处理,Kubernetes 自己提供了 secret 这种方式,但是其是一种编码方式,而非加密方式,如果需要用版本控制系统(比如 git)来对所有的文件、内容等进行版本控制时,这种用编码来处理敏感信息的方式就显得很不安全了(即使是采用私有库),这一点在实现 GitOps 时,是一个痛点。基于此,本文就介绍三种可以加密 Kubernetes secret 的几种方式:Sealed Secrets、Helm Secrets 和 Kamus。

01

fedora最新版本_软件源更新不出来

首先,把当前的源配置文件备份。 # mkdir ~/repo.bak # mv /etc/yum.repos.d/* ~/repo.bak 添加文件 /etc/yum.repos.d/sjtu.repo 内容如下:(用vi、emacs、gedit就随便你了) #———————————————————————————————————————————- [Fedora-ftp.sjtu.edu.cn] name=Fedora 12 – i386 baseurl=http://ftp.sjtu.edu.cn/fedora/linux/releases/12/Fedora/i386/os/ enabled=1 gpgcheck=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY [Everything-ftp.sjtu.edu.cn] name=Everything 12 – i386 baseurl=http://ftp.sjtu.edu.cn/fedora/linux/releases/12/Everything/i386/os/ enabled=1 gpgcheck=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY [updates-ftp.sjtu.edu.cn] name=Fedora updates baseurl=http://ftp.sjtu.edu.cn/fedora/linux/updates/12/i386/ enabled=1 gpgcheck=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY #——————————————————————————————————————————- 然后执行: yum makecache 源就换好了 ———————————————————————————————————- 更新的话执行: yum update

04
领券