Skip to content

Comments

feature/step7-informer#3

Merged
vanelin merged 19 commits intomainfrom
feature/step7-informer
Jul 2, 2025
Merged

feature/step7-informer#3
vanelin merged 19 commits intomainfrom
feature/step7-informer

Conversation

@vanelin
Copy link
Owner

@vanelin vanelin commented Jul 2, 2025

Deployment Informer with client-go

  • Added a Go function to start a shared informer for Deployments in the default namespace using k8s.io/client-go.
  • The function supports both kubeconfig and in-cluster authentication:
    • If inCluster is true, uses in-cluster config.
    • If kubeconfig is set, uses the provided path.
    • One of these must be set; there is no default to ~/.kube/config.
  • Logs add, update, and delete events for Deployments using zerolog.

@vanelin vanelin merged commit 813c2c8 into main Jul 2, 2025
10 checks passed
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.

1 participant