Skip to content

enhanc: Create cm on cluster action oss #6607

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

Open
wants to merge 28 commits into
base: develop
Choose a base branch
from

Conversation

prakash100198
Copy link
Contributor

Description

Fixes #

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?


if err != nil {
impl.logger.Errorw("error in creating secret for informers", "secretName", secretName, "err", err)
cmData, labels := helper.CreateClusterModifyEventData(bean.Id, informerBean.ClusterActionAdd)
if err = impl.upsertClusterConfigMap(bean, cmData, labels); err != nil {
Copy link
Member

Choose a reason for hiding this comment

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

always update label inside upsert

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

Ash-exp
Ash-exp previously approved these changes May 27, 2025
badal773 and others added 3 commits June 5, 2025 12:26
… images (#6512)

* updated golang version to 1.23

* updated go sample dockerfile

* modified versions to java-21 LTS

* modified versions to node v22.14.0 LTS

* modified versions to node v22.14.0 LTS

* updated base images versions

* update Dockerfile for non-root user and update latest stable

* update dockerfile and nginx.conf

* added dockerfile for react

* refactor

* refactor

* refactor

* refactor

* resolved all review points

* wip

---------

Co-authored-by: pawan-59 <pawan@devtron.ai>
Co-authored-by: Badal Kumar Prusty <badalkumar@Badals-MacBook-Pro.local>
rupinSec and others added 4 commits June 5, 2025 17:56
* Added cronjob-chart_1-6-0 chart

* modified esosecrets

* updated app-values.yaml

* Updated the conditons for timeZone

* Updated the conditons for timeZone

* added esosecret test case

* updated the schema.json added timeZone

* incorporated the  CONFIG_HASH and SECRET_HASH changes

* added cases for containerExtraSpecs and podExtraSpecs

* added down for migration

* Create 33503701_cronjob_job_1-6-0.up.sql

* Removed chart_ref_default line

* Updated up migration

* Rename 33503701_cronjob_job_1-6-0.down.sql to 33603700_cronjob_job_1-6-0.down.sql

* Rename 33503701_cronjob_job_1-6-0.up.sql to 33603700_cronjob_job_1-6-0.up.sql
# Conflicts:
#	env_gen.json
#	go.mod
#	go.sum
#	pkg/delete/DeleteService.go
#	vendor/modules.txt
Copy link

gitguardian bot commented Jun 9, 2025

⚠️ 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 a61bf2f scripts/devtron-reference-helm-charts/gpu-workload-4-21-0/test-values.json View secret
2763127 Triggered Generic High Entropy Secret 6e196cb scripts/devtron-reference-helm-charts/cronjob-chart_1-6-0/secrets-test-values.yaml View secret
141558 Triggered Generic High Entropy Secret a61bf2f scripts/devtron-reference-helm-charts/gpu-workload-4-21-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.

# Conflicts:
#	go.mod
#	go.sum
#	vendor/modules.txt
Copy link

github-actions bot commented Jun 9, 2025

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

Copy link

sonarqubecloud bot commented Jun 9, 2025

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.

6 participants