8000 🛡️ Harden monitoring, configuration, providers, and release workflows by abahmed · Pull Request #489 · abahmed/kwatch · GitHub
[go: up one dir, main page]

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
f280a33
fix audit findings and delivery lifecycle issues
abahmed Aug 30, 2026
633acfa
expand Kubernetes state and failure coverage
abahmed Aug 30, 2026
695f79b
cover service status and verify node lifecycle gaps
abahmed Aug 30, 2026
74058d6
add runtime metrics usage monitoring
abahmed Aug 30, 2026
c9c0418
deepen status and storage failure detection
abahmed Aug 30, 2026
f8b2cbc
add probes events and node telemetry
abahmed Aug 30, 2026
4c05611
refine standalone probe behavior
abahmed Aug 30, 2026
2099fc3
add built-in kubelet telemetry monitoring
abahmed Aug 30, 2026
84f414c
use kubelet summary for standalone runtime metrics
abahmed Aug 30, 2026
f6f768e
harden kubelet telemetry collection
abahmed Aug 30, 2026
195f285
clean up kubelet telemetry state
abahmed Aug 30, 2026
b72993a
harden telemetry health and dynamic status
abahmed Aug 30, 2026
776804d
persist kubelet telemetry state
abahmed Aug 30, 2026
9298f28
persist kubelet signal state
abahmed Aug 30, 2026
21fd9a1
deepen dynamic root cause graph
abahmed Aug 30, 2026
3743d90
refresh volume roots after node changes
abahmed Aug 30, 2026
2475975
rank root causes by recent evidence
abahmed Aug 30, 2026
0a5ae94
include node heartbeat in root cause graph
abahmed Aug 30, 2026
7bffce2
connect custom resources to dependency graph
abahmed Aug 30, 2026
3f4e54d
model endpoint readiness in dependency graph
abahmed Aug 30, 2026
08e222e
add dynamic storage dependency monitoring
abahmed Aug 30, 2026
43146ca
track CSI snapshot dependencies
abahmed Aug 30, 2026
c2fe776
add dynamic gateway dependency graph
abahmed Aug 30, 2026
f76acc0
link network probes to service dependencies
abahmed Aug 30, 2026
045b181
index dependency graph edges
abahmed Aug 30, 2026
888d3dd
bound dependency graph traversal
abahmed Aug 30, 2026
228f59a
clean secret graph lifecycle
abahmed Aug 30, 2026
512f1f5
optimize adjacent graph replacements
abahmed Aug 30, 2026
1199edb
configure generic CRD graph references
abahmed Aug 30, 2026
a39346c
skip unavailable optional Kubernetes APIs
abahmed Aug 30, 2026
30511e8
harden optional discovery and telemetry snapshots
abahmed Aug 30, 2026
2903e0f
clean dependency graph on informer tombstones
abahmed Aug 30, 2026
e7e7e54
monitor invalid LimitRange constraints
abahmed Aug 30, 2026
4783502
add LimitRange incident reason
abahmed Aug 30, 2026
bed48bd
fix LimitRange resource name typing
abahmed Aug 30, 2026
2f2f3cf
update controller handler mock for LimitRange
abahmed Aug 30, 2026
3b9ff0d
reconcile dynamic CRD status informers
abahmed Aug 30, 2026
4190b6d
add RBAC capability diagnostics
abahmed Aug 30, 2026
4cea96e
check namespace scoped RBAC capabilities
abahmed Aug 30, 2026
42066bb
keep security setup below complexity limit
abahmed Aug 30, 2026
b3189b0
Expand Kubernetes monitoring coverage and control-plane health probes
abahmed Aug 31, 2026
9e213eb
Watch additional Kubernetes platform status resources
abahmed Aug 31, 2026
53d560d
Add adaptive rollout thresholds and maintenance suppression
abahmed Aug 31, 2026
2f34278
Expand observability and endpoint health reporting
abahmed Aug 31, 2026
84c1517
Reduce informer memory and improve monitor scalability
abahmed Aug 31, 2026
d24b6e5
Inject the clock across alerting and controller workflows
abahmed Aug 31, 2026
5a6a0ba
Improve incident insights and change reporting
abahmed Aug 31, 2026
e926343
Scope security capability audits to enabled monitors
abahmed Aug 31, 2026
b40fb05
Unify incident narratives across alert providers
abahmed Aug 31, 2026
7b702e0
Stabilize incident tracking and defer RCA feedback persistence
abahmed Aug 31, 2026
e79abf0
Automate stable Helm publishing and add anonymous telemetry
abahmed Aug 31, 2026
b2c68f2
Improve incident detection and lifecycle handling
abahmed Sep 1, 2026
9feffd8
Harden release provenance and artifact verification
abahmed Sep 1, 2026
b737970
Simplify repository implementation
abahmed Sep 1, 2026
231537e
Refactor monitoring and incident processing
abahmed Sep 2, 2026
e045a48
Improve monitoring workflows and incident handling
abahmed Sep 5, 2026
7846460
Harden shutdown, discovery retries, and configuration catalogs
abahmed Sep 5, 2026
46bad56
Harden transport handling and extend Kubernetes monitoring configuration
abahmed Sep 5, 2026
0221cb1
Preserve monitor configuration compatibility and shared clients
abahmed Sep 5, 2026
0ebc151
Document release workflow options and refresh project guidance
abahmed Sep 6, 2026
0a17058
Fix workflow lint warnings
abahmed Sep 6, 2026
21e8ca6
Add Kubernetes event message silences
abahmed Sep 6, 2026
94a42cb
Clarify event message silence documentation
abahmed Sep 6, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# These owners will be the default owners for everything in
# the repo
* @abahmed
* @abahmed
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
blank_issues_enabled: true
contact_links:
- name: Report a security vulnerability privately
url: https://github.com/abahmed/kwatch/security/advisories/new
about: Do not disclose security vulnerabilities in a public issue.
12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,23 @@ updates:
directory: "/"
schedule:
interval: "daily"
groups:
go-dependencies:
patterns:
- "*"
- package-ecosystem: "docker"
directory: "/"
schedule:
interval: "weekly"
groups:
docker-dependencies:
patterns:
- "*"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
groups:
github-actions:
patterns:
- "*"
50 changes: 38 additions & 12 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,27 +19,45 @@ jobs:
contents: read
steps:
- name: Checkout code
uses: actions/checkout@v7
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- name: Install Go
uses: actions/setup-go@v6
uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6
with:
# Read from go.mod so the CI Go version can never drift from the repo.
go-version-file: go.mod
- name: Install actionlint
run: go install github.com/rhysd/actionlint/cmd/actionlint@v1.7.7
- name: Lint GitHub Actions
run: |
actionlint_bin="$(go env GOPATH)/bin/actionlint"
"$actionlint_bin"
- name: Lint
uses: golangci/golangci-lint-action@v9
uses: golangci/golangci-lint-action@ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a # v9
with:
# Pinned. "latest" means an upstream release can break CI with no
# change on our side.
version: v2.13.1
- name: Build
run: go build -o kwatch ./cmd/kwatch
- name: Verify configuration catalog
run: |
go run ./cmd/configcatalog -output /tmp/kwatch-config-catalog.tsv
cmp -s deploy/config-catalog.tsv /tmp/kwatch-config-catalog.tsv
- name: Verify feature catalog
run: |
go run ./cmd/featurecatalog -output /tmp/kwatch-feature-catalog.tsv
cmp -s deploy/feature-catalog.tsv /tmp/kwatch-feature-catalog.tsv
- name: Verify provider catalog
run: |
go run ./cmd/providercatalog -output /tmp/kwatch-provider-catalog.tsv
cmp -s deploy/provider-catalog.tsv /tmp/kwatch-provider-catalog.tsv
- name: Test
run: go test -race --coverprofile=coverage.txt --covermode=atomic ./...
- name: Integration tests
run: go test -race -tags integration ./internal/integration/...
- name: Upload coverage to Codecov
if: success() && github.ref == 'refs/heads/main'
uses: codecov/codecov-action@v7
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: false
Expand All @@ -52,23 +70,29 @@ jobs:
contents: read
steps:
- name: Checkout code
uses: actions/checkout@v7
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- name: Detect chart changes
id: changes
uses: dorny/paths-filter@v4
uses: dorny/paths-filter@ceb8a2b8f2d89434be7ff52d3de7ec3738c5cc9d # v4
with:
filters: |
chart:
- 'deploy/chart/**'
- name: Install Helm
if: steps.changes.outputs.chart == 'true'
uses: azure/setup-helm@v5
uses: azure/setup-helm@9bc31f4ebc9c6b171d7bfbaa5d006ae7abdb4310 # v5
- name: Lint chart
if: steps.changes.outputs.chart == 'true'
run: helm lint deploy/chart
- name: Template tests
if: steps.changes.outputs.chart == 'true'
run: ./deploy/chart/test_helm.sh
- name: Create disposable Kubernetes cluster
if: steps.changes.outputs.chart == 'true'
uses: helm/kind-action@a1b0e391336a6ee6713a0583f8c6240d70863de3 # v1.12.0
- name: CRD lifecycle integration test
if: steps.changes.outputs.chart == 'true'
run: ./deploy/chart/test_helm_lifecycle.sh

# publish.yml is the only other place a container image gets built, and it
# runs on a release — after the tag exists. Without this job a broken
Expand All @@ -81,28 +105,29 @@ jobs:
contents: read
steps:
- name: Checkout code
uses: actions/checkout@v7
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- name: Detect image changes
id: changes
uses: dorny/paths-filter@v4
uses: dorny/paths-filter@ceb8a2b8f2d89434be7ff52d3de7ec3738c5cc9d # v4
with:
filters: |
image:
- 'Dockerfile'
- '.dockerignore'
- '**/*.go'
- 'go.mod'
- 'go.sum'
- name: Set up QEMU
if: steps.changes.outputs.image == 'true'
uses: docker/setup-qemu-action@v4
uses: docker/setup-qemu-action@96fe6ef7f33517b61c61be40b68a1882f3264fb8 # v4
- name: Set up Docker Buildx
if: steps.changes.outputs.image == 'true'
uses: docker/setup-buildx-action@v4
uses: docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e # v4
# Same platform list as the release build. Nothing is pushed, and the
# cache is read-only so pull requests never add to the repo cache quota.
- name: Build every release platform
if: steps.changes.outputs.image == 'true'
uses: docker/build-push-action@v7
uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7
with:
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6
context: .
Expand All @@ -128,6 +153,7 @@ jobs:
check linux/amd64 amd64 "x86-64"
check linux/arm64 arm64 "ARM aarch64"
check linux/arm/v7 armv7 "ARM, EABI5"
check linux/arm/v6 armv6 "ARM"
- name: Smoke-test the image
if: steps.changes.outputs.image == 'true'
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,15 @@ jobs:
# auto-download the toolchain into the module cache keeps them quiet.
steps:
- name: Checkout repository
uses: actions/checkout@v7
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7

- name: Initialize CodeQL
uses: github/codeql-action/init@v4
uses: github/codeql-action/init@cdf488f595d80d6e07e03d4674febd5ab45fa938 # v4
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4
uses: github/codeql-action/analyze@cdf488f595d80d6e07e03d4674febd5ab45fa938 # v4
with:
category: "/language:${{matrix.language}}"
Loading
Loading
0