Skip to content

Conversation

@Ashish-devtron
Copy link
Contributor

Description

Added check so that user cannot create chart group with mentioned condition.

Create chart group with name 'ch' or 'cha' or 'char', i.e. less than 5 characters.
Try to create one more chart group with same name that you used earlier.
User can't deploy multiple instances of charts with duplicate name.

Fixes #1290
Fixes #1289

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

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?


@Ashish-devtron Ashish-devtron changed the title Fix: Duplicate name in Charts and Chart Group fix: duplicate name in charts and chart Group Feb 8, 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

@vikramdevtron vikramdevtron merged commit a8ca5b0 into main Feb 17, 2023
@vikramdevtron vikramdevtron deleted the Duplicate-name-in-Charts-&-ChartGroup branch February 17, 2023 09:39
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.

Able to deploy multiple charts with duplicate name. Can create chart group with duplicate name and with less than minimum required chars

3 participants