Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Check and update your deployed helm charts in argo to the newest version

License

NotificationsYou must be signed in to change notification settings

dj95/argo-helm-updater

Repository files navigation

Helps you to identify outdated helm charts in your argocd instance.

latest versionlatest version

This tool helps you to identify and update your helm charts, that are deployed with argocd. It retrieves all 'Application' CRDs from the given context and namespace. Since these applications contain all information about the helm deployment, if one is used, this tool queries the given repository for the latest chart version and displays a difference, if a newer version is deployed.

Demo GIF of argo-helm-updater in action

📦 Requirements

  • rust

or

  • nix
  • direnv

🚀 Getting started

Clone the repository and make sure the dependencies are installed. You either need rust or nix installed.With nix use eithernix-shell ordirenv allow up to your preferences.After dependencies are available runcargo install --path . to build and install the tool.

Then you should be able to call the tool withargo-helm-updater. It will search for theApplication CRD of argoin the current configured context and namespace. Use the--context and--namespace flags to search in otherclusters and namespaces.

If you'd like to update the helm version in the cluster, runargo-helm-updater with the--update flage.It will prompt on each new version with a confirmation whether you'd like to update theApplication or not.

❄️ Installation with nix

Add the following code to your overlays. Then argo-helm-updater can be installed frompkgs.

final:prev:{argo-helm-updater=prev.pkgs.rustPlatform.buildRustPackagerec{version="0.2.1";pname="argo-helm-updater";src=prev.fetchFromGitHub{owner="dj95";repo=pname;rev="f2d8222d448016086adf2313a7c12eb5975321fd";sha256="sha256-DPzmCaw7CGGbVdrbV9JgnU5XSSNj8PW+7Wjx9KSprfI=";};cargoSha256="sha256-Ooi2SpTuUA2TbW9uQCgzflCfiS0WKgkDdBZ2Sg7PvkA=";nativeBuildInputs=[prev.pkgs.pkg-configprev.pkgs.libiconvprev.pkgs.openssl];buildInputs=[]++prev.pkgs.lib.optionalsprev.pkgs.stdenv.isDarwin[prev.pkgs.darwin.apple_sdk.frameworks.Cocoaprev.pkgs.darwin.apple_sdk.frameworks.CoreGraphicsprev.pkgs.darwin.apple_sdk.frameworks.Foundationprev.pkgs.darwin.apple_sdk.frameworks.IOKitprev.pkgs.darwin.apple_sdk.frameworks.Kernelprev.pkgs.darwin.apple_sdk.frameworks.OpenGLprev.pkgs.darwin.apple_sdk.frameworks.Security];PKG_CONFIG_PATH="${prev.pkgs.openssl.dev}/lib/pkgconfig";};}

If you just want to try it with nix, run the following command.

nix run'github:dj95/argo-helm-updater'

🤝 Contributing

If you are missing features or find some annoying bugs please feel free to submit an issue or a bugfix within a pull request :)

📝 License

© 2023 Daniel Jankowski

This project is licensed under the MIT license.

Permission is hereby granted, free of charge, to any person obtaining a copyof this software and associated documentation files (the "Software"), to dealin the Software without restriction, including without limitation the rightsto use, copy, modify, merge, publish, distribute, sublicense, and/or sellcopies of the Software, and to permit persons to whom the Software isfurnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in allcopies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS ORIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THEAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHERLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THESOFTWARE.

About

Check and update your deployed helm charts in argo to the newest version

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp