-
Notifications
You must be signed in to change notification settings - Fork 485
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Remove duplicate key value in helm chart for kubelink configs #4239
fix: Remove duplicate key value in helm chart for kubelink configs #4239
Conversation
The key RUN_HELM_INSTALL_IN_ASYNC_MODE is set in templates/kubelink.yaml, so having the value is redundant and causes an error when installing via fluxcd2
Kudos, SonarCloud Quality Gate passed! |
Hi @benosman please do this for devtron-bom.yaml file as well. We'll merge this during next release |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please check comments on PR
Quality Gate passedKudos, no new issues were introduced! 0 New issues |
Thanks for reviewing, extra commit added |
* Updated release-notes files * Updated release notes * Updated latest image of hyperion in installer * Updated latest image of devtron in installer * Updated latest image of hyperion in installer * Updated latest image of devtron in installer * Updated release notes * Updated latest image of devtron in installer * Updated release notes * Updated release notes * Updated release notes * Updated latest image of hyperion in installer * Updated latest image of hyperion in installer * Updated latest image of devtron in installer * Updated latest image of devtron in installer * Updated latest image of hyperion in installer * Updated latest image of devtron in installer * Updated latest image of dashboard in installer * Updated latest image of dashboard in installer * Updated release notes * Updated release-notes files * Updated latest image of dashboard in installer * Updated latest image of hyperion in installer * Updated latest image of devtron in installer * Updated latest image of hyperion in installer * Updated latest image of devtron in installer * Updated latest image of dashboard in installer * Update and rename releasenotes.md to beta-releasenotes.md * Update beta-releasenotes.md * Create releasenotes.md * Updated release notes * Updated latest image of hyperion in installer * Updated release notes * Updated latest image of hyperion in installer * Updated latest image of devtron in installer * Updated release notes * fix: Remove duplicate key value in helm chart for kubelink configs (#4239) * Remove duplicate key value in kubelink configs The key RUN_HELM_INSTALL_IN_ASYNC_MODE is set in templates/kubelink.yaml, so having the value is redundant and causes an error when installing via fluxcd2 * Remove duplicate kubelink key in devtron-bom.yaml * Updated release notes * Updated latest image of dashboard in installer * Updated latest image of dashboard in installer * Updated latest image of dashboard in installer * Updated release notes * Updated latest image of hyperion in installer * Updated latest image of devtron in installer * Updated latest image of dashboard in installer * Updated latest image of dashboard in installer * Updated release notes * Updated latest image of dashboard in installer * Updated latest image of hyperion in installer * Updated latest image of dashboard in installer * Updated release notes * Updated latest image of devtron in installer * Updated latest image of hyperion in installer * Updated latest image of dashboard in installer * Updated latest image of dashboard in installer * Updated release notes * Updated latest image of hyperion in installer * Updated latest image of devtron in installer * Updated latest image of dashboard in installer * Updated latest image of dashboard in installer * Updated release notes * Updated latest image of lens in installer * Updated latest image of git-sensor in installer * Updated latest image of kubewatch in installer * Updated latest image of kubelink in installer * Updated latest image of image-scanner in installer * Updated release notes * Updated latest image of hyperion in installer * Updated latest image of devtron in installer * Updated latest image of notifier in installer * Updated release notes * Updated release notes * Updated latest image of hyperion in installer * Updated latest image of devtron in installer * Updated latest image of hyperion in installer * Updated latest image of devtron in installer * Updated latest image of devtron in installer * Updated latest image of dashboard in installer * Updated latest image of dashboard in installer * Updated release notes * Updated latest image of devtron in installer * Updated release notes * Updated latest image of devtron in installer * Updated latest image of dashboard in installer * Updated latest image of dashboard in installer * Updated latest image of dashboard in installer * Updated release notes * Updated latest image of kubelink in installer * Updated latest image of dashboard in installer * Updated latest image of devtron in installer * Updated latest image of dashboard in installer * Updated latest image of dashboard in installer * Updated latest image of dashboard in installer * Updated latest image of git-sensor in installer * Updated latest image of git-sensor in installer * Updated latest image of dashboard in installer * Updated release notes * Updated latest image of devtron in installer * Updated latest image of dashboard in installer * Updated latest image of dashboard in installer * Updated release notes * Updated latest image of dashboard in installer * Updated latest image of devtron in installer * Updated release notes * Updated latest image of devtron in installer * Updated release notes * Updated latest image of devtron in installer * Updated latest image of dashboard in installer * Updated release notes * Updated latest image of kubelink in installer * Updated latest image of devtron in installer * Updated latest image of dashboard in installer * Updated release notes * Updated release notes * Updated latest image of devtron in installer * Updated latest image of dashboard in installer * Updated latest image of dashboard in installer * Updated release notes * Updated release notes * Updated latest image of devtron in installer * Updated latest image of devtron in installer * Updated release notes * Updated latest image of devtron in installer * Updated release notes * Updated latest image of devtron in installer * Updated release notes * Updated latest image of devtron in installer * Updated latest image of dashboard in installer * Updated release notes * Updated latest image of ci-runner in installer * Updated latest image of image-scanner in installer * Updated latest image of devtron in installer * Updated latest image of dashboard in installer * Updated release notes * Updated latest image of devtron in installer * Updated release notes * Updated latest image of devtron in installer * Updated release notes * Updated latest image of devtron in installer * Updated release notes * Updated latest image of devtron in installer * Updated release notes * Updated latest image of kubewatch in installer * Updated latest image of devtron in installer * Updated latest image of kubelink in installer * Updated release notes * Updated latest image of devtron in installer * Updated latest image of devtron in installer * Updated release notes * Updated latest image of git-sensor in installer * Updated release notes * Updated release notes * Updated latest image of devtron in installer * Updated latest image of devtron in installer * Updated release notes * Updated latest image of devtron in installer * Updated latest image of dashboard in installer * Updated release notes * Updated latest image of image-scanner in installer * Updated latest image of git-sensor in installer * Updated release notes * Updated latest image of hyperion in installer * Updated latest image of devtron in installer * Updated latest image of notifier in installer * Updated latest image of git-sensor in installer * Updated release notes * Updated latest image of hyperion in installer * Updated release notes * Updated latest image of hyperion in installer * Updated latest image of devtron in installer * Updated release notes * Updated release notes * Updated latest image of hyperion in installer * Updated latest image of devtron in installer * Updated latest image of hyperion in installer * Updated latest image of dashboard in installer * Update release.txt * Added support for openshift in values.yaml * Added support for openshift in devtron-bom * Created devtron-scc.yaml for openshift installations * Updated latest image of hyperion in installer * Updated latest image of dashboard in installer * Updated latest image of ci-runner in installer * Updated devtron-cm with new values * Updated values of dashboard and git-sensor * Updated new configs * Update Chart.yaml * Update devtron-installer.yaml * Update installation-script * Updated latest image of devtron in installer * Update release.txt * Updated latest image of inception in installer * Updated latest image of devtron in installer * Update release.txt * Updated release notes * Updated latest image of devtron in installer * Updated latest image of hyperion in installer * Updated release notes * Updated latest image of devtron in installer * Updated release notes * Updated release notes * Updated latest image of hyperion in installer * Updated latest image of devtron in installer * Update devtron-bom.yaml * Update installation-script * Update devtron-installer.yaml * Update Chart.yaml * Removed openshift values from devtron-bom * Update release.txt * Updated release-notes files * Update values.yaml * Update devtron-bom.yaml * Update dashboard.yaml --------- Co-authored-by: prakarsh-dt <[email protected]> Co-authored-by: Pawan Mehta <[email protected]> Co-authored-by: benosman <[email protected]>
Description
Since argocd is not yet on the cluster at the time of installing Devtron, I'm trying to bootstrap Devtron using fluxcd v2. It installs on the cluster using regular helm just fine, but fluxcd validates the output in a stricter manner.
It complains of a duplicate key entry for RUN_HELM_INSTALL_IN_ASYNC_MODE.
In the kubelink.configs section values.yaml, a default for RUN_HELM_INSTALL_IN_ASYNC_MODE is defined as false. In templates/kubelink.yaml there is a conditional that appends that same key below, meaning in the rendered output it appears twice.
This causes fluxcd to throw the error. This issue is for a different helm chart, but it is along the same lines.
Fixes
Removed the redundant key from kubelink.configs defaults.