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

feat: show notes txt for helmapps deployed by helm #2966

Merged
merged 3 commits into from
Mar 21, 2023

Conversation

adi6859
Copy link
Contributor

@adi6859 adi6859 commented Feb 15, 2023

Description

Feature: Show NOTES.txt for helm apps deployed through Devtron with helm

Fixes AB2961

How Has This Been Tested?

1.I have test this by creating a image of Devtron(backend) and then I have deployed it to my cluster and
then checked its behaviour by creating a new helm app deployed using helm and it is working fine.

Checklist:

  • The title of the PR states what changed and the related issues number (used for the release note).
  • Does this PR requires documentation updates?
  • I've updated documentation as required by this PR.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have tested it for all user roles.
  • I have added all the required unit/api test cases.

Does this PR introduce a user-facing change?


@@ -121,6 +121,7 @@ type AppDetailContainer struct {
Environments []Environment `json:"otherEnvironment,omitempty"`
LinkOuts []LinkOuts `json:"linkOuts,omitempty"`
ResourceTree map[string]interface{} `json:"resourceTree,omitempty"`
Notes string `json:"notes"`
Copy link
Contributor

@prakash100198 prakash100198 Feb 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add omitempty here, in case if any chart doesn't have notes.

prakash100198
prakash100198 previously approved these changes Feb 15, 2023
@sonarqubecloud
Copy link

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
0.0% 0.0% Duplication

@adi6859 adi6859 changed the title Show notes txt helmapps gitops helm feat: show notes txt helmapps gitops helm Feb 15, 2023
@adi6859 adi6859 changed the title feat: show notes txt helmapps gitops helm feat: show notes txt for helmapps deployed by helm Feb 16, 2023
@adi6859 adi6859 merged commit 9afab6e into main Mar 21, 2023
@adi6859 adi6859 deleted the show-notes-txt-helmapps-gitops-helm branch March 21, 2023 08:37
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.

Feature: Show NOTES.txt for helm apps deployed through Devtron with helm
3 participants