Refactor Helm chart sync workflows to use reusable templates#45
Open
EvantAiI wants to merge 3 commits intonetbirdio:mainfrom
Open
Refactor Helm chart sync workflows to use reusable templates#45EvantAiI wants to merge 3 commits intonetbirdio:mainfrom
EvantAiI wants to merge 3 commits intonetbirdio:mainfrom
Conversation
added 3 commits
March 24, 2026 14:55
- Extract chart synchronization logic into a reusable workflow (`sync-chart-template.yml`) - Update `sync-operator-charts.yml` to use the new template, splitting the sync into two distinct jobs - Add new `sync-netbird-chart.yml` workflow to sync the main netbird chart
Author
|
Pr it's ready For netbird and dashboard action will fetch the docker hub registry if anyone has a better idea please be free to update my code. For kubernetes-operator and config actions will sync from the upstream repo. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description:
This PR refactors our GitHub Actions workflows for syncing Helm charts to make them more modular and DRY.
What changed:
.github/workflows/sync-chart-template.yml) that handles the core sync logic (version checks, upstream cloning, rsync, PR creation, and auto-merge).sync-operator-charts.ymlto use the new template. Instead of one monolithic script, it now runs two distinct jobs: one forkubernetes-operatorand another fornetbird-operator-config.sync-netbird-chart.ymlto sync the mainnetbirdchart from upstream using the new template.Good to know:
secrets: inheritis used to pass down the tokens to the template).