Skip to content

feat: Rollout 5.2.0 - #6889

Merged
akshatsinha007 merged 11 commits into
mainfrom
rollout-5.1.1
Dec 16, 2025
Merged

akshatsinha007 merged 11 commits into
mainfrom
rollout-5.1.1

Conversation

@akshatsinha007

@akshatsinha007 akshatsinha007 commented Dec 10, 2025

Copy link
Copy Markdown
Contributor

Description

Fixes #6894

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?


Summary by Bito

  • This pull request introduces version 5.2.0 of the Helm chart, enhancing Istio configurations with new TCP settings and improving deployment templates with dynamic container naming.
  • It also includes SQL scripts for managing chart references, ensuring that outdated references are removed while new ones are added.
  • This pull request introduces several new features, including the management of external secrets through various secret managers, the ability to render raw YAML configurations, and the implementation of a Horizontal Pod Autoscaler that adapts to different Kubernetes versions, improving flexibility and scalability.
  • This pull request introduces several new Istio configurations as part of the rollout for version 5.1.1, including AuthorizationPolicy, DestinationRule, Gateway, and PeerAuthentication templates, enhancing the security and traffic management capabilities of the application.
  • This pull request introduces significant enhancements to the deployment configuration for version 5.1.1, adding support for environment variables sourced from various fields, secrets, and config maps, as well as liveness and readiness probes to ensure the application is running correctly.
  • Overall, these changes aim to improve security, traffic management, and deployment strategies, introducing new configurations and features in the Helm chart.

@gitguardian

gitguardian Bot commented Dec 10, 2025

Copy link
Copy Markdown

⚠️ GitGuardian has uncovered 3 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
9257608 Triggered Base64 AWS keys 968791e scripts/devtron-reference-helm-charts/deployment-chart_4-22-0/test-values.json View secret
2763127 Triggered Generic High Entropy Secret 84e678f scripts/devtron-reference-helm-charts/reference-chart_5-1-1/secrets-test-values.yaml View secret
141558 Triggered Generic High Entropy Secret 968791e scripts/devtron-reference-helm-charts/deployment-chart_4-22-0/env-values.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.

@github-actions

Copy link
Copy Markdown

Some linked issues are invalid. Please update the issue links:\nIssue # in is not found or invalid (HTTP }404).\n

@github-actions

Copy link
Copy Markdown

Some linked issues are invalid. Please update the issue links:\nIssue # in is not found or invalid (HTTP }404).\n

7 similar comments
@github-actions

Copy link
Copy Markdown

Some linked issues are invalid. Please update the issue links:\nIssue # in is not found or invalid (HTTP }404).\n

@github-actions

Copy link
Copy Markdown

Some linked issues are invalid. Please update the issue links:\nIssue # in is not found or invalid (HTTP }404).\n

@github-actions

Copy link
Copy Markdown

Some linked issues are invalid. Please update the issue links:\nIssue # in is not found or invalid (HTTP }404).\n

@github-actions

Copy link
Copy Markdown

Some linked issues are invalid. Please update the issue links:\nIssue # in is not found or invalid (HTTP }404).\n

@github-actions

Copy link
Copy Markdown

Some linked issues are invalid. Please update the issue links:\nIssue # in is not found or invalid (HTTP }404).\n

@github-actions

Copy link
Copy Markdown

Some linked issues are invalid. Please update the issue links:\nIssue # in is not found or invalid (HTTP }404).\n

@github-actions

Copy link
Copy Markdown

Some linked issues are invalid. Please update the issue links:\nIssue # in is not found or invalid (HTTP }404).\n

@github-actions

Copy link
Copy Markdown

Some linked issues are invalid. Please update the issue links:\nIssue # in is not found or invalid (HTTP }404).\n

@bito-code-review

Copy link
Copy Markdown

Bito Review Skipped - No Changes Detected

Bito didn't review this pull request because we did not detect any changes in the pull request to review.

@github-actions

Copy link
Copy Markdown

Some linked issues are invalid. Please update the issue links:\nIssue # in is not found or invalid (HTTP }404).\n

@bito-code-review

Copy link
Copy Markdown

Bito Review Skipped - No Changes Detected

Bito didn't review this pull request because we did not detect any changes in the pull request to review.

@github-actions

Copy link
Copy Markdown

Some linked issues are invalid. Please update the issue links:\nIssue # in is not found or invalid (HTTP }404).\n

@github-actions

Copy link
Copy Markdown

Some linked issues are invalid. Please update the issue links:\nIssue # in is not found or invalid (HTTP }404).\n

@github-actions

Copy link
Copy Markdown

Some linked issues are invalid. Please update the issue links:\nIssue # in is not found or invalid (HTTP }404).\n

@github-actions

Copy link
Copy Markdown

Some linked issues are invalid. Please update the issue links:\nIssue # in is not found or invalid (HTTP }404).\n

1 similar comment
@github-actions

Copy link
Copy Markdown

Some linked issues are invalid. Please update the issue links:\nIssue # in is not found or invalid (HTTP }404).\n

@akshatsinha007 akshatsinha007 changed the title feat: Rollout 5.1.1 feat: Rollout 5.2.0 Dec 15, 2025
@akshatsinha007 akshatsinha007 self-assigned this Dec 15, 2025
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
2 Security Hotspots

See analysis details on SonarQube Cloud

@akshatsinha007
akshatsinha007 merged commit f428231 into main Dec 16, 2025
15 of 17 checks passed
@akshatsinha007
akshatsinha007 deleted the rollout-5.1.1 branch December 16, 2025 11:04
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.

Feature: Need support for nginx in traffic routing

4 participants

Sponsor
SponsoredKunjungi sekarang
Promo