Skip to content

feat: add helm_take_ownership and helm_redeployment_request columns to user_deployment_request table - #6888

Merged
SATYAsasini merged 1 commit into
mainfrom
feat-helm-take-ownership
Dec 12, 2025
Merged

SATYAsasini merged 1 commit into
mainfrom
feat-helm-take-ownership

Conversation

@SATYAsasini

Copy link
Copy Markdown
Contributor

Description

Fixes https://github.com/devtron-labs/sprint-tasks/issues/2719

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?


@bito-code-review

Copy link
Copy Markdown

Bito Automatic Review Skipped - Large PR

Bito didn't auto-review this change because the pull request exceeded the line limit. No action is needed if you didn't intend for the agent to review it. Otherwise, to manually trigger a review, type /review in a comment and save.

@Ash-exp
Ash-exp force-pushed the feat-helm-take-ownership branch from f939730 to 06ff5d3 Compare December 12, 2025 11:08
@Ash-exp Ash-exp changed the title feat: helm ownership conflict resoursce listing and deployment feat: add helm_take_ownership and helm_redeployment_request columns to user_deployment_request table Dec 12, 2025
@sonarqubecloud

Copy link
Copy Markdown

@SATYAsasini
SATYAsasini merged commit da9b575 into main Dec 12, 2025
12 checks passed
@SATYAsasini
SATYAsasini deleted the feat-helm-take-ownership branch December 12, 2025 11:33
@bito-code-review

Copy link
Copy Markdown

Bito Automatic Review Skipped – PR Already Merged

Bito scheduled an automatic review for this pull request, but the review was skipped because this PR was merged before the review could be run.
No action is needed if you didn't intend to review it. To get a review, you can type /review in a comment and save it

SATYAsasini added a commit that referenced this pull request Feb 17, 2026
* Add cluster overview module with caching, insights, and enhanced constants

**Details**:
- Introduced `ClusterOverviewConfig` for configurable parameters.
- Added `ClusterCacheService` implementing in-memory caching for cluster data.
- Enhanced insights with `InsightsService` and queries for pipeline usage.
- Added new constants for cloud providers, autoscalers, and node statuses.
- Published various supporting services, adapters, and utility functions for modular interactions.

* Add methods for querying environments and teams by time range

**Details**:
- Introduced `FindAllActiveInTimeRange` method in both `EnvironmentRepository` and `TeamRepository` for filtered querying based on time.
- Added `FindNamesByIds` in `EnvironmentRepository` for fetching environment names by IDs.
- Implemented environment trend aggregation with `GetAggregatedEnvironmentTrendWithParams`.
- Updated comments and query logics in repositories for clarity.

* Add `ci_pipeline_type` filter to active CI pipeline count query

* Add `VulnerabilitySummary` and `VulnerabilityListing` APIs to ImageScan module

**Details**:
- Introduced new APIs for fetching vulnerability summary and listing with advanced filtering.
- Updated `ImageScanRestHandler` with handlers for the new endpoints.
- Enhanced `ImageScanService` to support vulnerability data aggregation, filtering, and pagination.
- Added `ScanStatus` filter for advanced scan state queries.
- Updated repositories and models for new data structures and query support.

* Update module references for authenticator and common-lib dependencies

**Details**:
- Updated `github.com/devtron-labs/devtron-services/authenticator` to version `v0.0.0-20251208115626-248c2710ef2f`.
- Updated `github.com/devtron-labs/devtron-services/common-lib` to version `v0.0.0-20251208115626-248c2710ef2f`.

* feat: add helm_take_ownership and helm_redeployment_request columns to user_deployment_request table (#6888)

Co-authored-by: Ash-exp <asutosh2000ad@gmail.com>

* feat: Added support for tcp in virtual service and changed the apiVersion for externalSecrets (#6892)

* Added new chart version 4-22-0 for deployment

* added new chart version 5-2-0 for statefulset

* Added sql for latest chart 4.22.0

* Added sql for latest statefulset chart 5.2.0

* Update 34704403_deployment-chart-ref_4-22-0.up.sql

* Update 34704404_statefulset_5_2_0.up.sql

* Update 34704404_statefulset_5_2_0.down.sql

* cluster overview code

* fix: update UserDeploymentRequestWithAdditionalFields struct to include tableName for PostgreSQL compatibility

* feat: Rollout 5.2.0 (#6889)

* added rollout-chart-5-1-1

* added  name = 'Rollout Deployment'

* added reference-chart_5-1-1

* Update 34604602_reference-5-1-1.down.sql

* switched the chart version from 5.1.1 to 5.2.0

* took changes of deployement-4-22

* added migration

* Delete scripts/sql/34604602_reference-5-2-0.up.sql

* Delete scripts/sql/34604602_reference-5-2-0.down.sql

* fix: rename SQL migration files for consistency

* fix: update dependencies for authenticator and common-lib to latest versions

* fix: migrate proxy chart dependencies and refactor related functions

* release: Devtron 2.0 Release (#6904)

* Updated release-notes files

* Updated release notes

* Updated release notes

* Updated release notes

* Updated release notes

* Updated release notes

* Updated release notes

* Updated release notes

* Updated release notes

* Updated release notes

* Updated release notes

* Updated release notes

* Updated release notes

* Updated release notes

* Updated release notes

* Updated release notes

* Updated release notes

* Updated release notes

* Updated release notes

* Updated release notes

* Updated release notes

* Updated release notes

* Updated release notes

* Updated release notes

* Updated release notes

* Updated release notes

* Updated git-sensor to 07252d4f-200-37900 tag in values file

* Updated dashboard to 870f6567-690-37899 tag in values file

* Updated kubelink to d6692a4f-564-37901 tag in values file

* Updated devtron to 24adc89-434-37898 tag in values file

* Updated lens to d6692a4f-333-37903 tag in values file

* Updated kubewatch to 9255d19e-419-37902 tag in values file

* Updated ci-runner to d6692a4f-138-37904 tag in values file

* Updated notifier to 61d34685-372-37905 tag in values file

* Updated image-scanner to d6692a4f-141-37906 tag in values file

* Updated chart-sync to d6692a4f-836-37907 tag in values file

* Updated release notes

* Updated release notes

* Updated hyperion to f733a1d-280-38015 tag in values file

* Updated devtron to f733a1d-434-38017 tag in values file

* Updated dashboard to 4901765c-690-38018 tag in values file

* Updated kubelink to b7fe1710-564-38019 tag in values file

* Updated release notes

* Updated release notes

* Updated devtron to 8bfeec8-434-38055 tag in values file

* Updated release notes

* Updated release notes

* Updated release notes

* Updated chart-sync to 6b408df4-836-38155 tag in values file

* Updated notifier to 5c4b5b3a-372-38153 tag in values file

* Updated devtron to f0c18f2-434-38146 tag in values file

* Updated hyperion to f0c18f2-280-38148 tag in values file

* Updated image-scanner to 6b408df4-141-38158 tag in values file

* Updated dashboard to 62e65ef2-690-38157 tag in values file

* Updated kubelink to 6b408df4-564-38159 tag in values file

* feat: release devtron 2.0 chart changes (#6903)

* Updated ci-runner to 6b408df4-138-38163 tag in values file

* Updated lens to 6b408df4-333-38167 tag in values file

* Updated kubewatch to 6b408df4-419-38172 tag in values file

* Updated git-sensor to 6b408df4-200-38174 tag in values file

* Update Chart.yaml

* changes in condition

* updated the condition of finops module

* changes in cost-sync

* added finops migration

* added finops migration

* changes in migration

* migrator config changes

* migrator config changes

* cost sync job

* migrator changes

* config changes

* config changes

* configmap changes

* configmap changes

* Updated the version in scripts

* removed cloud native crd

* Revise release notes for Devtron 2.0.0

Updated release notes for version 2.0.0, detailing enhancements, bug fixes, and other changes.

* removal of cloudnative crds

* changes in service name

* Uncomment nodeSelector, tolerations, and imagePullSecrets

* changes in timescale secret

* changes in yaml

* changes in yaml

* changes in yaml

* changes in yaml

* Updated dashboard to b48d0910-690-38228 tag in values file

* Update volume size reference in timescale-db.yaml

* Move serviceAccountName to jobTemplate spec

* Move serviceAccountName to pod spec

* Adjust indentation for schedulerConfig in cost-sync-job.yaml

Increased indentation for schedulerConfig inclusion in cost-sync-job.yaml.

* removal of \n

* changes in timescale yaml

* Reorder configMapRef entries in cost-sync-job.yaml

---------

Co-authored-by: systemsdt <systems@devtron.ai>
Co-authored-by: Bhushan Nemade <bhushan.nemade@devtron.ai>
Co-authored-by: Pawan Mehta <117346502+pawan-mehta-dt@users.noreply.github.com>
Co-authored-by: akshatsinha007 <156403098+akshatsinha007@users.noreply.github.com>

* Use `Update` instead of `Save` for upserting `userAudit` entries to prevent duplicates.

* Refactor vulnerability query implementation and cleanup unused code

**Details**:
- Replaced `GetVulnerabilitiesWithFixedVersionByFilters` with `GetVulnerabilityRawData` for a more generic approach.
- Removed unused `GetVulnerabilitiesWithFixedVersionByFilters` method and related SQL logic.
- Simplified vulnerability processing by removing deduplication logic in `ImageScanService`.

* Optimize vulnerability summary API by replacing multi-step filtering with a single query

**Details**:
- Added `FindScannedDeployInfoWithFilters` to `ImageScanDeployInfoRepository` for streamlined data retrieval.
- Introduced `FetchScannedDeployInfoWithFilters` in `ImageScanService` for improved performance.
- Replaced multi-step filtering logic in `ImageScanRestHandler` with optimized query implementation.
- Enhanced RBAC handling and super-admin-specific optimizations.

* Replace `Update` with `Save` in `userAudit` handling to avoid upsert behavior

* Use `Update` instead of `Save` for `userAudit` and log `ClientIP` in audit logger

* Refactor `userAudit` handling: replace `saveUserAudit` with `updateUserAudit` to log `ClientIP` and update audit records

* fix: Handle cluster capacity fetch errors by returning detailed connection failure status

* fix: enhance cluster overview response with raw cluster capacity details and caching support

* fix: integrate cluster cache service into K8s capacity handler

* fix: append filtered cluster details to the cluster detail list in capacity handler

* fix: prevent exposure of internal-only attributes in API responses and requests

* chore: Adds scarf pixel

---------

Co-authored-by: Prakash Kumar <prakash.kumar@devtron.ai>
Co-authored-by: Ash-exp <asutosh2000ad@gmail.com>
Co-authored-by: Kiran <155609672+kirandevtn@users.noreply.github.com>
Co-authored-by: ayushmaheshwari <ayush@devtron.ai>
Co-authored-by: akshatsinha007 <156403098+akshatsinha007@users.noreply.github.com>
Co-authored-by: iamayushm <32041961+iamayushm@users.noreply.github.com>
Co-authored-by: kamal-devtron <128121299+kamal-devtron@users.noreply.github.com>
Co-authored-by: systemsdt <systems@devtron.ai>
Co-authored-by: Bhushan Nemade <bhushan.nemade@devtron.ai>
Co-authored-by: Pawan Mehta <117346502+pawan-mehta-dt@users.noreply.github.com>
Co-authored-by: Abhibhaw Asthana <39991296+abhibhaw@users.noreply.github.com>
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.

3 participants

Sponsor
SponsoredKunjungi sekarang
Promo