Skip to content

Conversation

@prakash100198
Copy link
Contributor

@prakash100198 prakash100198 commented May 26, 2025

Contains changes in following:-

  1. common lib (new cluster event k8s labels, some config map utility functions in K8s service).
  2. Kubelink - watching cluster cm event with new label
  3. Kubewatch - watching cluster cm event with new label so that new clusters added in that cluster could register it's diff informers
    Fixes #https://github.com/devtron-labs/sprint-tasks/issues/2177

if labelValue, exists := cmObject.Labels["type"]; !exists || labelValue != informerBean.ClusterModifyEventSecretType {
						return
					}
# Conflicts:
#	common-lib/utils/k8s/K8sUtil.go
#	kubelink/go.mod
#	kubelink/go.sum
#	kubelink/vendor/github.com/devtron-labs/common-lib/utils/k8s/K8sUtil.go
#	kubelink/vendor/modules.txt
#	kubewatch/go.mod
#	kubewatch/go.sum
#	kubewatch/vendor/github.com/devtron-labs/common-lib/utils/k8s/K8sUtil.go
#	kubewatch/vendor/modules.txt
Ash-exp
Ash-exp previously approved these changes May 27, 2025
# Conflicts:
#	kubelink/go.mod
#	kubelink/go.sum
#	kubelink/vendor/modules.txt
#	kubewatch/go.mod
#	kubewatch/go.sum
#	kubewatch/vendor/modules.txt
@github-actions
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

@prakash100198 prakash100198 changed the title Rename secret to cm cluster fix: when a cluster event occurs, create config map instead of secret Jun 10, 2025
@github-actions
Copy link

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

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

@github-actions
Copy link

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

@prakash100198 prakash100198 changed the title fix: when a cluster event occurs, create config map instead of secret chore: when a cluster event occurs, create config map instead of secret Jun 10, 2025
@prakash100198 prakash100198 merged commit a435581 into develop Jun 10, 2025
3 of 7 checks passed
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.

4 participants