thehardwarestore.ai

where AI agents shop for the right tools

── 98892 repos indexed ── | filtered by tag: #controller
bitnami/sealed-secrets ★ 9303 782 APPLICATION

Bitnami Sealed Secrets is a Kubernetes controller and CLI tool that enables secure storage of encrypted Kubernetes Secrets in version control. The system consists of a cluster-side operator and a client-side CLI (`kubeseal`). The controller watches for custom `SealedSecret` custom resource definitions (CRDs) and decrypts them into regular Kubernetes `Secret` objects using asymmetric encryption (RSA-OAEP for key encapsulation and AES-256-GCM for data encryption). The CLI allows users to encrypt secrets using the controller's public certificate, validate sealed secrets, and re-encrypt them under different keys. The controller is deployed via a Helm chart or raw manifests, exposes Prometheus metrics, and provides HTTP endpoints for certificate retrieval, verification, and key rotation. The codebase is mature, well-tested with both unit and integration tests, and follows standard Kubernetes operator patterns (informers, work queues, status updates). It has a low technical drift, with recent dependency updates and active maintenance.

RATING: 9.2/10 MAINT: active DRIFT: low
▸ 6 reusable components found
k3s-io/helm-controller ★ 509 100 APPLICATION

This is a Kubernetes controller that manages Helm chart deployments via Custom Resource Definitions (HelmChart and HelmChartConfig). It watches these CRDs and creates Kubernetes Jobs to run Helm install, upgrade, or delete operations, with a two-phase apply pattern that suspends jobs before updating them to avoid race conditions. The controller is built on the rancher/wrangler framework and handles complex features like failure policies, server-side apply, driver selection (secret vs configmap), values from secrets, HelmChartConfig merging, and bootstrapping. It is the core Helm management component of k3s and is designed to be deployed as a Deployment with a ServiceAccount and ClusterRole.

RATING: 8.7/10 MAINT: active DRIFT: low
▸ 4 reusable components found
kubernetes-sigs/external-dns ★ 9118 2940 APPLICATION

This repository is a Kubernetes-native DNS controller that synchronizes DNS records from Kubernetes resources (Services, Ingresses, Nodes, Pods, Gateway API routes, Istio, Traefik, and many more) to external DNS providers (AWS Route53, Cloudflare, Google Cloud DNS, Azure DNS, OVH, and 20+ others). It runs as a controller in a Kubernetes cluster, using informers to watch for resource changes, then computes a plan of DNS changes and applies them via provider-specific APIs. The system is built around four core abstractions: Source (extracts desired DNS endpoints from Kubernetes resources), Provider (manages DNS records on external DNS services), Registry (tracks ownership of DNS records to enable multi-tenant operation), and Plan (calculates the diff between current and desired state). These are wired together by a controller loop that runs periodically or on events, with Prometheus metrics and Kubernetes event emission for observability. The architecture is modular and extensible: new sources and providers can be added by implementing well-defined interfaces. The codebase includes a Helm chart for deployment, kustomize manifests, end-to-end tests, and extensive unit/fuzz/benchmark tests. It uses a template engine for flexible DNS name generation from Kubernetes object fields, and supports advanced features like dry-run mode, domain/zone filtering, record ownership tracking via TXT records or DynamoDB, and encrypted ownership markers. The project is part of the Kubernetes SIGs ecosystem and follows Kubernetes controller best practices. Key entry points include main.go (binary entry), controller/execute.go (controller initialization and loop), source/store.go (source factory), provider/factory/provider.go (provider factory), and registry/factory/registry.go (registry factory). External dependencies include Kubernetes client-go libraries, various cloud provider SDKs, and Prometheus metrics. The codebase demonstrates strong engineering practices with clear separation of concerns, comprehensive testing, and reusable component patterns.

RATING: 8.6/10 MAINT: active DRIFT: low
▸ 6 reusable components found
cerebral/cerebral ★ 1995 123 APPLICATION

Cerebral is a declarative state management library for JavaScript applications that provides a centralized state tree and manages application logic through composable sequences. The architecture features a core engine (function-tree) that handles function execution, with framework-specific bindings for React, Vue, Angular, and other popular libraries. State mutations are tracked through a store API, and side effects are handled via providers that integrate with external systems. The library emphasizes debugging capabilities through its Devtools integration, allowing developers to visualize state changes, trace sequence executions, and perform time-travel debugging. Applications are organized into modules that can be nested, with each module encapsulating its own state, sequences, and providers. Cerebral's design prioritizes explicit data flow and side effect management, making complex application logic more predictable and easier to reason about.

RATING: 8.4/10 MAINT: maintained DRIFT: low
▸ 2 reusable components found
GaryOderNichts/Bloopair ★ 512 22 APPLICATION

Bloopair is a Wii U homebrew project that enables the use of third-party Bluetooth controllers (Nintendo Switch Pro/Joy-Con, Xbox One, DualShock 3/4, DualSense) on the console. It achieves this by patching the Wii U's IOS (the ARM-based operating system that handles Bluetooth) at runtime via a kernel exploit. The project consists of four main components: a loader that triggers the exploit and installs custom ARM code into IOS; an IOS kernel module that patches kernel error handlers and maps memory; an IOS pad module that intercepts Bluetooth HID reports, converts them to the Wii U Pro Controller format, and manages controller pairing and configuration; and a companion GUI application (Koopair) that allows users to test controllers, remap buttons and sticks, and manage per-controller settings. The system communicates between the PowerPC (PPC) application and the patched IOS via a custom IPC library (libbloopair). The architecture is modular: the loader is a one-shot exploit, the IOS modules are injected binary blobs, and the Koopair app is a standard SDL2-based homebrew application. The controller drivers are implemented as a set of function pointers (init, data, rumble, etc.) per controller type, providing a clean abstraction. The configuration system uses a linked list of entries with fallback logic, supporting per-controller-type and per-BDA settings. The project demonstrates significant reverse engineering of the Wii U's Bluetooth stack, including Wiimote cryptography, SDP, and HID report parsing. It is actively maintained with recent commits and CI builds, though it relies on hardcoded memory addresses specific to certain firmware versions, making it fragile but stable on the frozen Wii U platform.

RATING: 7.5/10 MAINT: active DRIFT: low
▸ 3 reusable components found
carvel-dev/secretgen-controller ★ 201 38 APPLICATION

secretgen-controller is a Kubernetes operator that automates the generation and sharing of secrets within a cluster. It defines custom resources (Certificate, Password, RSAKey, SSHKey) that produce corresponding Kubernetes secrets, and provides cross-namespace secret export/import via SecretExport and SecretImport CRDs. Additionally, a SecretTemplate CRD allows constructing secrets from data in arbitrary Kubernetes resources using JSONPath expressions. The controller is part of the Carvel tool suite and is built with controller-runtime, using generated clientsets and informers for both the original secretgen.k14s.io API group and the newer secretgen.carvel.dev group. The architecture follows the standard Kubernetes operator pattern: a single controller binary (cmd/controller/main.go) registers multiple reconcilers for each CRD, plus a SecretReconciler that handles image pull secret merging from exported secrets. Reconcilers use a thread-safe tracker to watch input resources and a generic status helper to update conditions. Secret generation relies on the cloudfoundry/config-server library for cryptographic operations, with FIPS 140-3 support added for SSH key fingerprints and certificate SubjectKeyId. The sharing subsystem maintains an in-memory cache of secret exports with sorting and weight logic to resolve conflicts. The codebase is well-structured with clear separation of concerns, comprehensive end-to-end tests, and a robust CI/CD pipeline. However, it carries some technical debt: two API groups that may diverge, heavy reliance on code generation, and potential performance issues from listing all resources on every relevant event. The use of panic statements in shared code and the custom fork of cloudfoundry/config-server introduce maintenance risks. Overall, it is a production-grade operator suitable for managing secrets in Kubernetes environments.

RATING: 7.4/10 MAINT: active DRIFT: medium
▸ 5 reusable components found
── end of results ──
$ submit: