heluxup使升级通量控制存储库中的HelmRelease对象变得容易。

heluxup的Python项目详细描述


直升机起落架

通过使用flux helm operator可以管理 helm在git存储库中绘制图表,flux负责部署。在

heluxup能够解析helmrelease的通量控制存储库,并检查图表的更新是否 可用。如果有更新,heluxup会相应地更新通量控制响应库中的yaml文件。 (可以通过--dry-run检查更改而不修改任何文件。)

安装

只需使用pip安装{}

$ pip install heluxup

或者克隆存储库

^{pr2}$

使用

$ heluxup /home/max/repos/flux-control/
Downloading all chart repository files can take a moment, please be patient.
Updating release ingress-controller (nginx-ingress) from 1.17.1 to 1.21.0
Updating release oauth2 (oauth2-proxy) from 0.14.0 to 0.14.1
Updating release cert-manager (cert-manager) from v0.9.1 to v0.10.0
Updating release omnbot-influxdb (influxdb) from 1.3.2 to 1.4.0
Updating release omnbot-redis (redis) from 9.1.2 to 9.1.12
Updating release prom (prometheus-operator) from 6.7.3 to 6.11.0
Updating release blackbox-exporter (prometheus-blackbox-exporter) from 1.1.0 to 1.3.0
Updating release kubewatch (kubewatch) from 0.8.5 to 0.8.9
Updating release loki (loki-stack) from 0.16.0 to 0.16.2
Updating release postgresql-production (postgresql) from 6.3.2 to 6.3.9
Updating release postgresql-development (postgresql) from 6.3.2 to 6.3.9
11 charts have been updated. Please verfiy the changes by running 'git diff' and make sure to read upstream docs for major updates.
If you are sure about the changes commit them to your flux repository to apply them to your cluster.

也可以执行一个显示可用更新的干运行,而无需对控制存储库进行任何修改。在

$ heluxup -d /home/max/repos/flux-control/
[dry-run] Downloading all chart repository files can take a moment, please be patient.
[dry-run] Updating release ingress-controller (nginx-ingress) from 1.17.1 to 1.21.0
[dry-run] Updating release oauth2 (oauth2-proxy) from 0.14.0 to 0.14.1
[dry-run] Updating release cert-manager (cert-manager) from v0.9.1 to v0.10.0
[dry-run] Updating release omnbot-influxdb (influxdb) from 1.3.2 to 1.4.0
[dry-run] Updating release omnbot-redis (redis) from 9.1.2 to 9.1.12
[dry-run] Updating release prom (prometheus-operator) from 6.7.3 to 6.11.0
[dry-run] Updating release blackbox-exporter (prometheus-blackbox-exporter) from 1.1.0 to 1.3.0
[dry-run] Updating release kubewatch (kubewatch) from 0.8.5 to 0.8.9
[dry-run] Updating release loki (loki-stack) from 0.16.0 to 0.16.2
[dry-run] Updating release postgresql-production (postgresql) from 6.3.2 to 6.3.9
[dry-run] Updating release postgresql-development (postgresql) from 6.3.2 to 6.3.9
[dry-run] 11 charts have been updated. Please verfiy the changes by running 'git diff' and make sure to read upstream docs for major updates.
[dry-run] If you are sure about the changes commit them to your flux repository to apply them to your cluster.

释放

  1. 标记新版本git tag 0.2.0
  2. 按一下git push origin 0.2.0
  3. CI将生成一个新包并将其发布到PyPI
  4. 构建新的AUR包克隆ssh://aur@aur.archlinux.org/heluxup.git
  5. 在PKGBUILD中调整版本和依赖项
  6. 运行makepkg --printsrcinfo > .SRCINFO
  7. 提交更改并按下AUR package

许可证

heluxup makes it easy to upgrade HelmRelease objects in a flux control respository.
Copyright (C) 2019  Max Rosin

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
使用多个参数的枚举   从Oracle到Redis的java复制表   java如何保护tomcat服务器中的db用户名和密码。xml   java如何使用注册密钥保护移动应用程序?   java在什么情况下超类不应该是抽象的?   java Backspace键在macOS上的Scala REPL中不起作用   arduino Java+Uno+RFID:调用方法读取Java中的RFID   带有where语句中集合的java JPA查询   java如何向基于Tyrus注释的客户端添加请求头   java对我的二进制搜索算法的反馈   java重新访问数据库时文件的内容不正确   用户在字符串中输入值后退出While循环(Java)   java如何在Maven中的多个项目之间共享项目依赖关系?   java Close从未在数据库上被明确调用   在java中从文件读入布尔矩阵   Java:如何使用父节点将XML流拆分为小型XML文档。VTDXML