Relay proxy configuration and deployment
The relay proxy is a stand-alone service that loads feature flag data from a configured source and serves flag evaluations to client applications. This page explains the configuration boundary around that service and the assets that run it as a process, container, Kubernetes workload, or Lambda function. For the service role and request features, see Relay proxy; for evaluation API behavior, see Relay proxy evaluation API.
Configuration model
Configuration sources
The relay proxy combines built-in defaults with command-line flags, a proxy configuration file, and environment variables. The --config flag selects a file when one is supplied. Without it, the service looks for goff-proxy.yaml, goff-proxy.yml, goff-proxy.toml, or goff-proxy.json in the current directory, /goff/, and /etc/opt/goff/ in that order. The later environment-variable layer can override values from the file.
Environment names use upper case. Nested fields use underscores, such as SERVER_PORT or ENDPOINTS_VALIDATEFLAGS_MAXJSONBODYSIZE. A prefix can be set with envVariablePrefix when the deployment must avoid name clashes. Arrays use comma-separated values, and indexed names can set items in arrays such as retrievers or flag sets.
The selected file is parsed from its extension. YAML is the default for other extensions. A studio.url can replace the flagSets section with flag sets fetched from GO Feature Flag Studio. The rest of the proxy settings still come from the local configuration sources. The service validates the result before it starts, so a missing retriever, unsupported mode, invalid log setting, incomplete source definition, invalid endpoint limit, or incomplete exporter definition prevents a normal start.
The configuration path from deployment input to a running view is summarized below.
flowchart LR
D[Defaults] --> C[Effective configuration]
F[Command-line flags] --> C
Y[Config file] --> C
E[Environment variables] --> C
S[Studio flag sets] --> C
C --> V[Validation]
V --> R[Running proxy]
References: cmd/…/config_loader.go• L83-100 cmd/…/config_loader.go• L271-367 cmd/…/config_studio.go• L13-30 cmd/…/config_validator.go• L12-39 cmd/…/config_endpoints.go• L21-53
Flag data sources
A retriever is the source from which the proxy reads the feature flag configuration. The default deployment model uses one or more retrievers, then refreshes the data on a polling interval. Supported source families include HTTP, local files, Git providers, object storage, Kubernetes ConfigMaps, databases, Redis, Azure Blob Storage, and PostgreSQL.
Multiple retrievers let a deployment combine flag files. The configured order controls which value wins when the same flag appears more than once. startWithRetrieverError allows the service to start with default values when the first read fails. A persistent flag configuration file can instead provide the last saved data during a source outage, with the risk that the data is old.
Flag-set mode is an alternative source model. Each flag set has its own retrievers and API keys. The flag sets can come from the local configuration or from the document at studio.url, but not from both. Studio reads only the flagSets part of its document. Its request can include headers, a polling interval, and a cache file for the last valid document.
References: cmd/…/flagset.go• L9-18 cmd/…/flagset.go• L21-104 cmd/…/config_loader.go• L218-236 cmd/…/config_studio.go• L13-52 cmdhelpers/…/retriever_conf.go• L11-19 cmdhelpers/…/retriever_conf.go• L70-109
Configuration helpers
The shared retriever configuration package gives the proxy one contract for source kinds and source checks. Exporter configuration uses the same validation boundary for destination-specific requirements, such as a bucket, queue, stream, or endpoint. The shared config-file package provides the file lookup and parse behavior used when a feature flag data file is read outside the main proxy loader.
These helpers keep source, export, and file behavior consistent across proxy entry points. Invalid exporter kinds or incomplete destination settings are rejected before the service can use them.
References: cmdhelpers/…/retriever_conf.go• L11-19 cmdhelpers/…/retriever_conf.go• L70-109 cmdhelpers/…/read_config_file.go• L1-120 cmd/…/exporter.go• L11-27 cmd/…/exporter.go• L52-127
Endpoint request limits
The endpoints.validateFlags settings protect the administrative flag-validation endpoint from oversized request bodies. The proxy applies separate limits to JSON, YAML, and TOML, with defaults of 1 MiB for JSON and 64 KiB for YAML and TOML. A zero value means that the format default is used.
Size values can be plain byte counts or human-readable values such as 1MiB and 64KiB. Configuration files and environment variables use the same setting names. The endpoint validates the submitted flag file without loading it into the running proxy, so a rejected request does not change the served flags.
References: cmd/…/config_endpoints.go• L12-18 cmd/…/config_endpoints.go• L56-109 cmd/…/validate_flags.go• L38-69 cmd/…/validate_flags.go• L76-105 cmd/…/config_endpoints_test.go• L135-200
Runtime configuration changes
The proxy watches its selected configuration file and, when Studio is enabled, the Studio document. A change causes the relevant source to be read and checked before callbacks apply the new view. This supports live changes to authorized API keys and to the membership of named flag sets without a process restart.
Studio accepts a remote document only after its flag sets pass validation. If the fetch fails, a configured cache can supply the last valid document. If a new document is malformed or contains invalid flag sets, the running view and accepted cache remain unchanged. A later retry can recover even when the rejected document used the same entity tag.
Runtime updates do not replace the whole running service. In default mode, only API keys and authorized keys are live settings. In flag-set mode, a named flag set can be added or removed, and its API keys can change. Other changes to an existing flag set require a restart. Unnamed flag sets, including one named default, cannot be tracked safely across reloads. An invalid replacement is rejected and the last valid running configuration remains in use.
The manager rebuilds API-key routing after a reload. If a key would point to more than one running flag set, routing for that key is disabled until the configuration is fixed rather than choosing a flag set by order.
References: cmd/…/config_loader.go• L102-216 cmd/…/config_studio.go• L38-52 cmd/…/config_studio.go• L55-71 cmd/…/config_studio_test.go• L226-416 cmd/…/flagset.go• L106-173 cmd/…/config_validator.go• L81-127 cmd/…/flagset_manager.go• L313-383 cmd/…/flagset_manager.go• L467-505 cmd/…/flagset_manager.go• L532-614
Service operation
Server modes
The server mode selects how clients reach the proxy. HTTP mode is the normal network service and binds to 0.0.0.0:1031 by default. Unix socket mode serves the same HTTP routes through a local socket and can expose monitoring over a separate HTTP port. Lambda mode adapts the routes for an AWS Lambda entry point and supports API Gateway v1, API Gateway v2, or an Application Load Balancer.
The main HTTP port carries application requests. An optional monitoring port carries /health, /info, /metrics, and profiling routes when enabled. If no separate port is set, these routes share the main server. When a Lambda gateway adds a base path, the adapter removes that prefix before route matching. This lets one proxy serve behind a gateway path without changing its route names.
References: cmd/…/config_server.go• L7-56 cmd/…/config_server.go• L59-155 cmd/…/server.go• L139-160 cmd/…/server.go• L163-260 cmd/…/routes_monitoring.go• L14-50 cmd/…/lambda_handler_test.go• L21-129 cmd/…/lambda_handler_test.go• L133-230
Request identity
Evaluation and flag-configuration requests use an API key to select the permitted flag set. The proxy first uses the X-API-Key header. If it is absent, it uses the Authorization header and removes a case-insensitive Bearer prefix while trimming the token. In flag-set mode, a key must map to one flag set only.
Streaming connections use the apiKey query value because the key is needed when the WebSocket or Server-Sent Events connection is opened. The proxy resolves that key before the stream starts, then scopes change events to the selected flag set. A missing or unknown key is rejected before a WebSocket upgrade or SSE stream is created.
The path helper also restores escaped flag names before evaluation. This lets clients address names that contain reserved characters, such as team:checkout, when they send the name in URL-encoded form.
References: cmd/…/echo_helper.go• L13-56 cmd/…/echo_helper_test.go• L17-165 cmd/…/flag_configuration.go• L63-115 cmd/…/flag_eval.go• L53-107 cmd/…/evaluate.go• L60-115 cmd/…/sse_flag_change.go• L32-70 cmd/…/ws_flag_change.go• L73-155
Stream endpoints
The stream endpoints push flag-change notices to clients that need to refresh evaluations. The current routes are /stream/v1/ws/flag/change for WebSocket clients and /stream/v1/sse/flag/change for Server-Sent Events clients. The older /ws/v1/flag/change WebSocket route remains available as a deprecated alias and points clients to the new route through response headers.
The stream layer routes every connection by flag set. WebSocket connections receive change payloads and keep-alive pings. SSE connections receive a refetch event and periodic heartbeat comments. The proxy can omit flag details from WebSocket payloads when disableFlagDetailsInStream is enabled. A deployment that exposes these routes must preserve long-lived connections and allow the stream query key to reach the proxy.
The flow from a flag refresh to a client notice is shown below.
flowchart LR
R[Flag source refresh] --> N[Flag change notifier]
N --> S[Flag-set stream routing]
S --> W[WebSocket clients]
S --> E[SSE clients]
References: cmd/…/routes_stream.go• L9-44 cmd/…/sse_flag_change.go• L32-70 cmd/…/ws_flag_change.go• L94-189 cmd/…/websocket.go• L16-104 cmd/…/notifier_websocket.go• L8-22 cmd/…/routes_stream_test.go• L26-65 cmd/…/routes_stream_test.go• L117-219
Access and telemetry
The proxy can protect evaluation and administrative requests with separate API key groups. If no evaluation keys are configured, evaluation authentication is skipped; administrative routes still require their configured administrative keys. In flag-set mode, evaluation keys also select the flag set that handles a request, so a key must not belong to more than one flag set.
The API supports browser CORS requests, including preflight requests to authenticated routes. The default policy allows any origin without credential sharing. A dedicated monitoring server uses the same CORS and version-header behavior as the main server.
The service emits structured logs in JSON or logfmt and exposes Prometheus metrics. It can send traces to an OpenTelemetry collector. Exporters send evaluation data to configured destinations, while notifiers report flag changes to systems such as Slack, Microsoft Teams, Discord, or a webhook. These paths are operational outputs: a failure in an exporter or notifier should be monitored separately from the request path.
References: cmd/…/config.go• L31-109 cmd/…/config_validator.go• L81-100 cmd/…/server.go• L66-103 cmd/…/notifier.go• L5-62 cmdhelpers/…/logger.go• L15-40 cmd/…/routes_cors_test.go• L85-169 cmd/…/routes_monitoring_test.go• L89-134
Container assets
Image variants
Release builds package the relay proxy as a small multi-platform container. The standard image is gofeatureflag/go-feature-flag; the older thomaspoignant/go-feature-flag-relay-proxy image remains a separately published compatibility name. The standard build supports Linux AMD64, ARM64, and ARMv7.
The default image uses a distroless Debian base and contains only the compiled executable. Bookworm and Trixie Debian variants are also published when a fuller runtime base is needed. The FIPS variant uses the same standard image repository with a -fips tag suffix and supports Linux AMD64 and ARM64. The process reports whether validated FIPS 140 crypto is active. Select a fixed version tag in production rather than relying on latest.
References: cmd/…/DockerfileGoreleaserRelayProxy• L1-4 cmd/…/DockerfileGoreleaser• L1-4 cmd/…/DockerfileGoreleaserBookworm• L1-4 cmd/…/DockerfileGoreleaserTrixie• L1-4 cmd/…/DockerfileGoreleaserFips• L1-4 .goreleaser.yaml• L228-385 cmd/…/main.go• L82-87
Container startup contract
The container starts the compiled proxy with no command-line configuration argument. The deployment must therefore provide a configuration file at a path the proxy searches, or pass a different path through the container command or entry point. The Helm chart mounts its generated file at /goff/goff-proxy.yml, which matches the proxy's default search locations.
The image has no shell or helper process. Configuration, credentials, certificates, and network access must be supplied by the surrounding platform. A separate scanner image builds the relay proxy and its tests with all modules fetched before network access is disabled. That image checks build and short-test readiness; it is not the production runtime image.
The proxy process owns graceful shutdown. It closes streaming clients and HTTP servers before it closes flag clients and flushes exporters.
References: cmd/…/DockerfileGoreleaser• L1-4 cmd/…/deployment.yaml• L47-71 cmd/…/main.go• L53-76 cmd/…/main.go• L103-152 .oss-scanner/Dockerfile• L1-36
Helm deployment
Chart resource model
The Helm chart turns a single values file into a Kubernetes Deployment, Service, ConfigMap, and optional supporting resources. The relay proxy configuration is stored as relayproxy.config in the ConfigMap and mounted at /goff in each pod. A checksum of that ConfigMap is placed on the pod template, so a values change causes Kubernetes to roll the Deployment.
The Service exposes the application port and exposes the monitoring port when the proxy configuration contains server.monitoringPort or the deprecated top-level monitoringPort. The chart uses the monitoring port for both liveness and readiness checks when it exists. Without one, the checks use the application port.
References: cmd/…/Chart.yaml• L1-15 cmd/…/values.yaml• L1-42 cmd/…/configmap.yaml• L1-14 cmd/…/deployment.yaml• L14-88 cmd/…/service.yaml• L1-21 cmd/…/_helpers.tpl• L81-114
Workload controls
The chart defaults to one replica and a ClusterIP Service. It can set pod and container security contexts, resource requests, image pull secrets, node placement, labels, and annotations. An Ingress is optional and can route external traffic to the application Service.
Horizontal pod autoscaling can use CPU and memory utilization. A PodDisruptionBudget can keep a selected number of replicas available during voluntary disruption. The chart can also render extra Kubernetes objects, which lets a deployment add permissions needed by a retriever such as a Kubernetes ConfigMap without changing the chart templates.
The optional nonRoot setting applies a hardened security context for the distroless non-root user. It does not make the root file system read-only because the file exporter and persistent flag configuration can write to the container file system. Optional lifecycle hooks can delay container termination, and terminationGracePeriodSeconds sets the time available for the hook and the proxy shutdown. The chart uses the Kubernetes native sleep action for a preStop delay because the distroless image has no shell; this action requires Kubernetes 1.30 or later.
References: cmd/…/values.yaml• L28-108 cmd/…/deployment.yaml• L29-106 cmd/…/ingress.yaml• L1-61 cmd/…/hpa.yaml• L1-32 cmd/…/pdb.yaml• L1-17 cmd/…/extra-manifests.yaml• L1-4 cmd/…/lifecycle_test.yaml• L1-45 cmd/…/README.md• L478-493
Helm release lifecycle
The chart is released with the relay proxy application. The current chart release is 1.59.1 with application version v1.59.1, and the chart README presents that same release identity. Pull requests lint the chart. When chart files change, the workflow also installs the chart in a temporary kind cluster. A change on main runs helm-docs and opens an automated pull request that copies the generated README to the main branch.
Operators can install the published chart from https://charts.gofeatureflag.org/ or install the chart from its source directory. The chart is also published as an OCI artifact in GHCR. The chart README is generated from Chart.yaml and values.yaml, so those files are the source for deployment options and the README is the generated guide. GHCR image mirrors are available only for releases after v1.55.1.
References: cmd/…/Chart.yaml• L1-15 cmd/…/README.md• L1-20 cmd/…/README.md• L22-71 cmd/…/README.md• L876-877 .github/…/ci-helm.yaml• L1-50 .github/…/helm-docs.yml• L1-67 website/…/helm.md• L8-81
Deployment concerns
Configuration and secret placement
The proxy configuration can contain API keys, retriever credentials, notifier URLs, exporter credentials, and TLS file paths. A ConfigMap is suitable for non-secret settings, but secret values should come from the platform's secret mechanism and be exposed through environment variables or mounted files. The chart supports value references under env, including Kubernetes Secret references.
The selected retriever must be reachable from every proxy replica. When replicas poll the same source, polling jitter can spread their reads and reduce a synchronized load spike. When a source can be unavailable during startup, choose between failing fast, starting with default values, or serving persisted data based on the required safety of the deployment.
Studio headers can carry access credentials for the remote flag-set document. Store those credentials in the same secret system as other deployment credentials. If Studio has no reachable source at startup, a cache file is the only configured fallback for its flag sets.
References: cmd/…/config.go• L54-80 cmd/…/config_studio.go• L13-52 cmd/…/flagset.go• L58-88 cmd/…/config_loader.go• L291-328 cmd/…/values.yaml• L17-26 cmd/…/deployment.yaml• L51-57
Availability and observability
Kubernetes should probe /health on the same port that the chart exposes for monitoring. The health result reflects the proxy's flag service state, while metrics and logs show request and evaluation activity. If a separate monitoring port is used, keep it reachable by the kubelet and monitoring system but restrict it from public ingress where possible. The main port returns not-found for monitoring routes when the split is enabled.
Use a fixed image version and align the chart appVersion, image tag, and proxy version when diagnosing a rollout. For FIPS deployments, set the chart's FIPS switch so the generated image name uses the FIPS tag family. Confirm that the selected image architecture matches the nodes in the cluster.
When a flag name contains reserved URL characters, clients must encode the path value before sending it to an evaluation endpoint. The proxy decodes the path value before lookup, so the deployed flag data and the client request must use the same logical name.
References: cmd/…/routes_monitoring.go• L32-50 cmd/…/server_test.go• L124-201 cmd/…/echo_helper.go• L45-56 cmd/…/evaluate.go• L60-115 cmd/…/config_flags_special_chars.yaml• L1-6 cmd/…/valid_evaluation_special_chars.json• L1-9 cmd/…/deployment.yaml• L72-88 cmd/…/values.yaml• L31-42 cmd/…/README.md• L22-52
Graceful shutdown
The proxy treats process termination as a controlled stop. It closes WebSocket and server-sent event clients before it shuts down the API server, then stops tracing and the monitoring server within a five-second context. A deployment should allow enough termination time for this sequence and should avoid routing new traffic to a pod after readiness is withdrawn.
The chart can add a preStop sleep so the pod remains available while Kubernetes and ingress systems remove its endpoint. The sleep is optional and has no default value. When it is used, its duration counts against terminationGracePeriodSeconds, which must cover both the delay and the proxy's own shutdown work. Use the native Kubernetes sleep lifecycle action rather than an exec shell command because the default image is distroless.
References: cmd/…/main.go• L135-152 cmd/…/server.go• L204-236 cmd/…/server.go• L262-280 cmd/…/values.yaml• L97-108 cmd/…/deployment.yaml• L89-94 cmd/…/lifecycle_test.yaml• L6-45
Change checklist
When these files or sections are changed, remember to consider these:
- Keep
config.Configfields, environment-variable mapping, and the configuration reference aligned. A new nested or array field may need explicit environment parsing support. - Keep endpoint size names, zero-value defaults, accepted size syntax, and the validation handler's content-type mapping aligned. A limit can silently affect one format while leaving the others unchanged.
- Keep the Studio URL, document format, request headers, polling interval, cache behavior, and flag-set validation contract aligned. A remote document that is accepted before validation can replace the intended running view.
- Keep
flagSetssource selection and validation aligned. Local flag sets and Studio flag sets must not be combined, and every flag set needs a unique evaluation key. - Keep exporter kinds and their required destination fields aligned with the exporter clients. Changes to destination rules can turn a previously valid deployment into a startup failure.
- Keep
config.Configflag-set accessors and the flag-set manager's reload path synchronized. A live add, remove, or key change must update request and stream routing without exposing an inconsistent view. - Keep API-key header precedence and Bearer parsing aligned with evaluation, configuration, and event-stream endpoints. Stream clients use the query key and must resolve it before upgrade.
- Keep URL path decoding aligned with flag-name storage and client URL encoding. Reserved characters must identify the same flag at the route and lookup layers.
- Keep the Helm ConfigMap filename, mount path, and the proxy's default configuration search locations aligned. A mismatch can produce a valid pod that starts without its intended settings.
- Change the chart monitoring-port extraction, Service ports, probes, monitoring route split, and chart test hooks together. The chart reads this value from configuration text rather than from a separate Helm value.
- Keep
lifecycle,terminationGracePeriodSeconds, the distroless image contract, and the lifecycle chart tests aligned. A preStop command that needs a shell cannot run in the default image. - When changing image names, executable names, or tag suffixes, update the matching GoReleaser Docker target and the Helm image selection rules.
- When changing chart values, update the generated chart README through the helm-docs workflow rather than treating its values table as an independent contract.
- When changing chart or application release versions, keep Chart.yaml, the generated README badges, image tags, and release metadata aligned.
- When changing stream routes or event-stream URLs, update the OFREP response contract, ingress path rules, legacy deprecation headers, and per-flag-set routing together.
- When changing server modes or Lambda adapters, check the deployment shape and the route base path expected by the external gateway.
Important failure modes
| Trigger | Consequence | Guard |
|---|---|---|
No proxy configuration file is mounted and --config is not set | The process cannot load its proxy settings and may start without a usable retriever or fail validation | Mount a file in /goff/ or pass an explicit path; verify the rendered ConfigMap filename matches the search list |
A retriever is unreachable at startup while startWithRetrieverError is false | The proxy does not become a serving instance | Check source access from the pod and choose the startup fallback policy deliberately |
| A Studio URL is unreachable and no valid cache file exists | Studio flag sets cannot load, so the proxy cannot use the intended flag-set configuration | Provide a reachable URL or a writable cache with a known-good document; monitor Studio fallback warnings |
| A Studio document is malformed or contains an invalid flag set | The update is rejected and the last valid flag-set view remains active | Validate documents before publication and monitor configuration errors |
Local flagSets and studio.url are configured together | Configuration validation fails instead of selecting an ambiguous flag-set source | Choose one flag-set source |
| A flag set has no API key or shares a key with another flag set | Configuration validation fails or requests cannot map to one unambiguous flag set | Give each named flag set at least one unique evaluation key |
| A configured endpoint body limit is negative or has an invalid size form | Configuration loading or validation fails before the proxy starts | Use non-negative byte counts or supported human-readable sizes |
| A validation request exceeds the limit for its content type | The request returns 413 and the submitted flags are not checked | Set JSON, YAML, and TOML limits for the largest expected input and keep clients within them |
| An exporter kind is unsupported or lacks its required destination setting | Configuration validation prevents startup or the intended evaluation data output is unavailable | Validate the exporter kind and its destination fields before deployment |
| A live reload moves a key into a collision or changes an unsupported field | The key is not routed, or the unsupported change waits for restart | Use stable flag-set names and change only supported fields at runtime; inspect reload errors |
| A stream client uses the legacy route without handling deprecation | The client stays on a route that may be removed later | Move to /stream/v1/ws/flag/change or /stream/v1/sse/flag/change and follow the successor Link header |
| A stream API key is not passed in the query or a proxy drops long-lived connections | The connection is rejected or event delivery stops | Preserve apiKey during upgrade and configure ingress timeouts for WebSocket and SSE traffic |
| A client sends a reserved flag name without URL encoding | The route or lookup does not identify the intended flag | Percent-encode the path parameter and keep the stored flag name unchanged |
| Helm config declares a monitoring port that does not match the process config | Probes or Service traffic target the wrong port and the pod stays unready | Keep server.monitoringPort and the chart's extracted port in the same rendered configuration; run Helm tests |
| A monitoring port is blocked by network policy | Liveness and readiness checks fail even though the application port works | Allow kubelet access to /health on the monitoring port |
| A FIPS chart setting is used with a non-FIPS tag or unsupported architecture | The image cannot be pulled or does not provide the required crypto mode | Use the -fips tag family and a supported Linux architecture |
| A configuration file is edited into an invalid intermediate state | The live change is rejected and the previous running configuration remains active | Write the file atomically and monitor the configuration error log |
A lifecycle hook uses an exec shell command in the default image | The preStop hook cannot run because the distroless image has no shell | Use the native Kubernetes sleep action on Kubernetes 1.30 or later |
| The termination grace period ends before the preStop delay and proxy shutdown finish | Kubernetes can force the pod to stop before clients and servers close cleanly | Set a grace period that covers the hook and the proxy shutdown window |
| Chart metadata and the published image use different release versions | Operators can deploy a chart whose defaults, README, and image do not describe the same application release | Keep the chart version, appVersion, generated README, and selected image tag synchronized |
Key files
| File | Why to read it |
|---|---|
| cmd/…/main.go | Shows the startup order from configuration loading through services, API creation, FIPS status, and shutdown |
| cmd/…/config.go | Defines the top-level operational configuration and the main deployment controls |
| cmd/…/config_endpoints.go | Defines the format-specific request limits for the administrative flag-validation endpoint |
| cmd/…/config_endpoints_test.go | Shows the supported size forms, defaults, environment names, and invalid-limit contract |
| cmd/…/config_loader.go | Explains file discovery, source layering, Studio loading, and file-change reloads |
| cmd/…/config_studio.go | Defines the remote Studio flag-set source, request options, validation, and cache fallback |
| cmd/…/config_validator.go | Shows which configuration errors block startup and how default mode differs from flag-set mode |
| cmd/…/exporter.go | Defines exporter destinations and the required settings for each destination family |
| cmd/…/exporter_test.go | Shows the exporter validation contract for destination fields, codecs, and Redshift settings |
| cmd/…/flagset.go | Defines flag-set ownership, per-set sources, and safe live access to flag-set membership and keys |
| cmd/…/flagset_manager.go | Shows how default and flag-set modes route requests and reconcile live configuration changes |
| cmd/…/echo_helper.go | Defines API-key extraction, flag-set selection, and URL-decoded flag-name handling at the request boundary |
| cmdhelpers/…/retriever_conf.go and cmdhelpers/…/read_config_file.go | Define the shared source contracts used by proxy and file-loading paths |
| cmd/…/routes_stream.go, cmd/…/sse_flag_change.go, and cmd/…/ws_flag_change.go | Define current and legacy stream routes and the connection-to-flag-set flow |
| cmd/…/websocket.go and cmd/…/notifier_websocket.go | Show how flag changes reach only the matching WebSocket clients |
cmd/relayproxy/DockerfileGoreleaser, DockerfileGoreleaserRelayProxy, DockerfileGoreleaserBookworm, DockerfileGoreleaserTrixie, and DockerfileGoreleaserFips | Show the runtime base and executable contract for released container variants |
| .goreleaser.yaml | Maps binaries to image repositories, platforms, and standard or FIPS tags |
.oss-scanner/Dockerfile | Shows the offline build and short-test contract for the scanner image |
| cmd/…/Chart.yaml | Defines the chart identity and release versions used for Kubernetes publication |
| cmd/…/values.yaml | Defines the operator-facing Kubernetes settings, embedded proxy configuration, and shutdown controls |
| cmd/…/README.md | Gives the operator-facing install flow, monitoring-port and lifecycle guidance, release identity, image sources, and generated values reference |
| cmd/…/deployment.yaml | Connects the image, mounted configuration, ports, probes, pod controls, and lifecycle settings |
| cmd/…/lifecycle_test.yaml | Verifies the chart's optional lifecycle hook and termination grace period behavior |
cmd/…/service.yaml and templates/_helpers.tpl | Define client and monitoring Service ports and the chart's monitoring-port discovery |
| .github/…/ci-helm.yaml and .github/…/helm-docs.yml | Define chart lint/install checks and generated README updates |
| website/…/helm.md | Gives the user-facing Helm repository and GHCR installation paths |