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: handling side-effects for displaying external helm apps with same name across diff namespaces and clusters #4951

Merged
merged 50 commits into from
May 20, 2024

Conversation

prakash100198
Copy link
Contributor

@prakash100198 prakash100198 commented Apr 16, 2024

Description

This pr handles the case when external helm apps with same name exists in diff namespaces and diff clusters, handling is done by storing display name, along with unique appName in app_name column of apps table ("displayName-ns-clusterId") for external helm apps (in case same name ext helm app exists across diff ns or cluster)

Fixes #4805

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?


…d) for external helm apps (in case same name ext helm app exists across diff ns or cluster)
Copy link

PR is not linked to any issue, please make the corresponding changes in the body.

… app identifier and if not found by unique app identifier, then find by display name
Copy link

gitguardian bot commented Apr 22, 2024

⚠️ GitGuardian has uncovered 2 secrets following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

🔎 Detected hardcoded secrets in your pull request
GitGuardian id GitGuardian status Secret Commit Filename
10220829 Triggered Generic High Entropy Secret ed1248f charts/devtron/values.yaml View secret
10220829 Triggered Generic High Entropy Secret ed1248f charts/devtron/devtron-bom.yaml View secret
🛠 Guidelines to remediate hardcoded secrets
  1. Understand the implications of revoking this secret by investigating where it is used in your code.
  2. Replace and store your secrets safely. Learn here the best practices.
  3. Revoke and rotate these secrets.
  4. If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.

To avoid such incidents in the future consider


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

@prakash100198 prakash100198 merged commit 8802287 into main May 20, 2024
5 checks passed
@prakash100198 prakash100198 deleted the ext-app-fixes branch May 20, 2024 07:37
Copy link

sonarcloud bot commented May 20, 2024

Quality Gate Passed Quality Gate passed

Issues
4 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
1.4% Duplication on New Code

See analysis details on SonarCloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: All Helm Apps of a namespace is not visible in Devtron UI
2 participants