CoreAI
Reflector
Reflector documentation
Reflector
Description
Reflector is a custom Kubernetes controller designed to replicate secrets, configmaps, and certificates across namespaces within a Kubernetes cluster. It monitors source resources for changes and automatically reflects those changes to mirror resources in the same or different namespaces. This functionality ensures consistency and simplifies management of configuration data and sensitive information across multiple environments. Reflector supports automatic mirror creation, allows fine-grained control over which namespaces can access mirrored resources, and integrates with cert-manager for seamless certificate mirroring.
Uses and Functionnalities
Key features and uses of Reflector include:
-
Replicates secrets and configmaps across namespaces, ensuring synchronization.
-
Supports automatic creation and deletion of mirror resources based on source resources.
-
Enables fine control through annotations specifying allowed namespaces for reflection and automatic mirroring.
-
Integrates with cert-manager, reflecting certificate secrets automatically using annotations.
-
Compatible with multiple CPU architectures (amd64, arm, arm64) and deployable via Helm or manual Kubernetes manifests.
-
Tracks reflected versions with annotations to manage synchronization state.
-
Can be deployed with RBAC, service accounts, and health probes for production readiness.
-
Skips conflicting resources in mirror namespaces and logs warnings to prevent disruptions.
-
Customizable through Helm values for image versions, resource limits, and node placement.
-
Enhances security by allowing namespace restrictions on reflection and auto-mirroring operations.
CICD integration method
To enable Reflector, set the following variables in your main configuration file.
reflector = {
enabled = true
version = "7.1.288"
namespace = "reflector"
component = "dp-common"
url_prefix = ""
release_name = "reflector"
}API / Swagger
Releases
| Date | Num. Version | Num. Chart | Description |
|---|---|---|---|
| 2025-06-16 | 7.1.288 | 7.1.288 | Kubernetes Reflector implementation |