Skip to content

Commit f15c125

Browse files
authored
Merge pull request #1209 from yinkscss/fix/1187-1189-1190-1191-cleanup
[1187][1189][1190][1191] Remove dead flags, obsolete docs, redundant metrics, stale benchmarks
2 parents e679c14 + 3a78eba commit f15c125

86 files changed

Lines changed: 1709 additions & 2457 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,8 @@ jobs:
321321
--ignore RUSTSEC-2026-0049 \
322322
--ignore RUSTSEC-2026-0182 \
323323
--ignore RUSTSEC-2026-0185 \
324-
--ignore RUSTSEC-2026-0187
324+
--ignore RUSTSEC-2026-0187 \
325+
--ignore RUSTSEC-2026-0204
325326
326327
- name: Verify third-party license references are up to date
327328
run: make check-third-party-licenses

.github/workflows/dependency-review.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,9 @@ jobs:
8080
--ignore RUSTSEC-2026-0098 \
8181
--ignore RUSTSEC-2026-0099 \
8282
--ignore RUSTSEC-2026-0104 \
83-
--ignore RUSTSEC-2026-0149
83+
--ignore RUSTSEC-2026-0149 \
84+
--ignore RUSTSEC-2026-0187 \
85+
--ignore RUSTSEC-2026-0204
8486
8587
- name: Generate audit JSON report
8688
if: always()

.github/workflows/maintenance.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,9 @@ jobs:
5959
--ignore RUSTSEC-2026-0149 \
6060
--ignore RUSTSEC-2026-0049 \
6161
--ignore RUSTSEC-2026-0182 \
62-
--ignore RUSTSEC-2026-0185
62+
--ignore RUSTSEC-2026-0185 \
63+
--ignore RUSTSEC-2026-0187 \
64+
--ignore RUSTSEC-2026-0204
6365
6466
docs-health:
6567
name: Docs Health Check

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,9 @@ starfield.html
9696
skills-lock.json
9797

9898
# Benchmark results — regenerate with: make benchmark-webhook-save
99-
results/
99+
# Keep results/.gitkeep tracked so the directory exists for local/CI writes.
100+
results/*
101+
!results/.gitkeep
100102

101103
# Helm rendered manifests — regenerate with: helm template stellar-operator charts/stellar-operator
102104
rendered/

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ edition = "2021"
55
authors = ["Stellar K8s Contributors"]
66
description = "Cloud-Native Kubernetes Operator for Stellar Infrastructure"
77
license = "Apache-2.0"
8-
repository = "https://github.com/stellar/stellar-k8s"
8+
repository = "https://github.com/OtowoOrg/Stellar-K8s"
99

1010
[dependencies]
1111
ed25519-dalek = { version = "2", features = ["rand_core"] }
@@ -116,7 +116,7 @@ prometheus-client = { version = "0.22", optional = true }
116116
once_cell = { version = "1", optional = true }
117117

118118
# TLS and certificate generation
119-
rustls = "0.23"
119+
rustls = { version = "0.23", default-features = false, features = ["ring", "std", "tls12"] }
120120
rcgen = { version = "0.13", features = ["pem", "x509-parser"] }
121121
axum-server = { version = "0.7.0", features = ["tls-rustls"] }
122122
rustls-pki-types = "1.14.1"

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ARG SOURCE_DATE_EPOCH=0
44
# Stage 1: Chef - Dependency Caching Layer
55
# (linux/amd64 only)
66
# ==============================================================================
7-
FROM lukemathwalker/cargo-chef:1.95-bookworm AS chef
7+
FROM lukemathwalker/cargo-chef:latest-rust-1.95-slim-bookworm AS chef
88
WORKDIR /app
99

1010
# ==============================================================================
@@ -80,7 +80,7 @@ COPY target/release/kubectl-stellar /kubectl-stellar
8080
# health-check declaration that are identical between the local-dev and CI
8181
# runtime images. Both runtime-local and runtime inherit from this stage.
8282
# ==============================================================================
83-
FROM debian:bookworm-slim@sha256:1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef AS runtime-base
83+
FROM debian:bookworm-slim@sha256:7b140f374b289a7c2befc338f42ebe6441b7ea838a042bbd5acbfca6ec875818 AS runtime-base
8484

8585
# Install runtime dependencies for dynamic linking
8686
RUN apt-get update -qq && \

README.md

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -308,36 +308,27 @@ The operator exposes the following production-readiness metrics:
308308

309309
The operator supports runtime feature flags via the `stellar-operator-config` ConfigMap. Changes are picked up **without restart**.
310310

311+
Dead flags that no longer gated any code paths were removed. Only `enable_dr` remains.
312+
311313
```yaml
312314
apiVersion: v1
313315
kind: ConfigMap
314316
metadata:
315317
name: stellar-operator-config
316318
namespace: stellar-system
317319
data:
318-
enable_cve_scanning: "true"
319-
enable_read_pool: "false"
320320
enable_dr: "false"
321-
enable_peer_discovery: "true"
322-
enable_archive_health: "true"
323-
enable_soroban_metrics: "true"
324321
```
325322
326-
| Flag | Default | Description |
327-
| ------------------------ | ------- | ----------------------------------- |
328-
| `enable_cve_scanning` | `true` | Automatic CVE patch reconciliation |
329-
| `enable_read_pool` | `false` | Read-replica pool management |
330-
| `enable_dr` | `false` | Disaster-recovery drill scheduling |
331-
| `enable_peer_discovery` | `true` | Automatic peer discovery |
332-
| `enable_archive_health` | `true` | History archive health checks |
333-
| `enable_soroban_metrics` | `true` | Soroban-specific Prometheus metrics |
323+
| Flag | Default | Description |
324+
| ----------- | ------- | ------------------------------------------------------------- |
325+
| `enable_dr` | `false` | Disaster-recovery / cross-region bridge resources and drills |
334326

335327
When using the Helm chart, set flags via `values.yaml`:
336328

337329
```yaml
338330
featureFlags:
339-
enableCveScanning: "true"
340-
enableReadPool: "false"
331+
enableDr: false
341332
```
342333

343334
---

0 commit comments

Comments
 (0)