Skip to content
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

Merged
merged 2 commits into from
Dec 19, 2023

Conversation

benosman
Copy link
Contributor

@benosman benosman commented Nov 14, 2023

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.

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
Copy link

sonarcloud bot commented Nov 14, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@pawan-mehta-dt
Copy link
Contributor

Hi @benosman please do this for devtron-bom.yaml file as well. We'll merge this during next release

@pawan-mehta-dt pawan-mehta-dt changed the base branch from main to release-bot December 18, 2023 07:08
Copy link
Contributor

@pawan-mehta-dt pawan-mehta-dt left a 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

Copy link

sonarcloud bot commented Dec 18, 2023

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@benosman
Copy link
Contributor Author

Hi @benosman please do this for devtron-bom.yaml file as well. We'll merge this during next release

Thanks for reviewing, extra commit added

@pawan-mehta-dt pawan-mehta-dt merged commit ea1ceca into devtron-labs:release-bot Dec 19, 2023
3 checks passed
pawan-mehta-dt added a commit that referenced this pull request Jan 30, 2024
* 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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants