Skip to content

🔧 Refactor to follow Kubernetes project structure and logging standards#437

Merged
abahmed merged 3 commits intomainfrom
refactor/k8s-project-structure
Mar 30, 2026
Merged

🔧 Refactor to follow Kubernetes project structure and logging standards#437
abahmed merged 3 commits intomainfrom
refactor/k8s-project-structure

Conversation

@abahmed
Copy link
Copy Markdown
Owner

@abahmed abahmed commented Mar 30, 2026

Fixes #436

Changes proposed in this pull request:

  • 🗂️ Restructure to use cmd/, internal/, hack/, third_party/ directories
  • 📦 Move main.go to cmd/kwatch/
  • 🔖 Rename packages: k8sutil→k8s, alertmanager→alert, pvcmonitor→pvc
  • 📝 Use underscores for file/directory names per K8s conventions
  • 📚 Migrate from logrus to klog (K8s standard logging)
  • 🛠️ Add Makefile with K8s-style targets
  • 🐳 Update Dockerfile to build from ./cmd/kwatch
  • fix interpolate version in startup notification message

abahmed added 2 commits March 29, 2026 22:22
- 🗂️ Restructure to use cmd/, internal/, hack/, third_party/ directories
- 📦 Move main.go to cmd/kwatch/
- 🔖 Rename packages: k8sutil→k8s, alertmanager→alert, pvcmonitor→pvc
- 📝 Use underscores for file/directory names per K8s conventions
- 📚 Migrate from logrus to klog (K8s standard logging)
- 🛠️ Add Makefile with K8s-style targets
- 🐳 Update Dockerfile to build from ./cmd/kwatch
Comment thread internal/alert/matrix/matrix.go Fixed
Comment thread internal/alert/matrix/matrix.go Fixed
@abahmed abahmed merged commit 9dbfe31 into main Mar 30, 2026
4 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.

Startup message on 0.10.5 doesn't include the version

2 participants