You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c55bf50
Browse filesBrowse the repository at this point in the historyBrowse files
fix(serving): route alerts to the leader and correct proxy wiring
Publish and maintain the elected operator’s alert route with bounded retries, preserve compatibility with older images, and align metrics, proxy, and webhook readiness wiring. Test rendered chart settings and leader handoff.
equivalent sets and independent election namespaces are unsupported concurrency
68
+
topologies. Use replicas of one installation, not separate releases with
69
+
different Service selectors sharing a Lease.
70
+
71
+
Election and routing labels are not external-action fencing or exactly-once
72
+
execution. Pauses/partitions before observed cancellation, admitted work and
73
+
ambiguous submissions can outlive routing changes; HTTP draining and conflict
74
+
retries do not automatically adopt external operations.
75
+
76
+
## Metrics compatibility
77
+
78
+
Raw metrics remain bound to all interfaces over unauthenticated HTTP. The
79
+
managed PodMonitor, when enabled, scrapes the `metrics` port directly, including
80
+
when the existing auth proxy is enabled. The proxy does not protect this raw
81
+
endpoint. Listener, container and proxy-upstream ports follow `metricEndpoint.port`
82
+
(default 8080).
83
+
84
+
Managed TLS/authenticated scraping and its certificate/credential lifecycle are
85
+
deferred. This preserves baseline HTTP scraping; it does not secure metrics.
86
+
Do not treat the proxy's presence as authentication for the raw endpoint.
87
+
88
+
## Existing webhook certificate renewal limits
89
+
90
+
Generated webhook serving certificates last 365 days (CA: 3650 days), without
91
+
continuous renewal. A generation-enabled Helm upgrade replaces CA and serving
92
+
material, not necessarily without downtime. Renew before expiry and coordinate
93
+
the Secret, webhook CA bundle and Pod rollout. With `webhook.certs.generate=false`,
94
+
supply all three of `webhook.certs.server.tls.crt`, `webhook.certs.server.tls.key`
95
+
and `webhook.certs.ca.crt` as base64-encoded PEM; the chart writes them unchanged
96
+
into the Secret and webhook CA bundle, and changing them rolls the Pod.
97
+
No metrics certificate reuse, issuance or automatic renewal is added.
98
+
12
99
## Installing the chart
13
100
14
101
Before installing the chart, you must first install the Koperator CustomResourceDefinition resources.
@@ -70,6 +157,7 @@ The command removes all the Kubernetes components associated with the chart and
70
157
| additionalVolumes | list |`[]`| Additional volumes required for sidecars |
71
158
| affinity | object |`{}`| Operator pod affinity can be set |
72
159
| alertManager.enable | bool |`true`| AlertManager can be enabled |
160
+
| alertManager.leaderRouting | string |`"auto"`| Route alerts only to the elected operator Pod. `auto` enables this for operator image tags after 0.32.0 and rejects unversioned tags; set `true` for other images that publish the leader label, or `false` to keep the legacy selector. |
73
161
| alertManager.permissivePeerAuthentication.create | bool |`false`| Permissive PeerAuthentication (Istio resource) for AlertManager can be created |
74
162
| alertManager.port | int |`9001`| AlertManager port |
75
163
| certManager.enabled | bool |`false`| Operator will integrate with the cert manager |
{{- if not (regexMatch "^[0-9]+\\.[0-9]+\\.[0-9]+(-[0-9A-Za-z.-]+)?(\\+[0-9A-Za-z.-]+)?$" $tag) -}}
90
+
{{- fail (printf "alertManager.leaderRouting=auto cannot tell whether operator image tag %q publishes the alert leader label; set alertManager.leaderRouting to true for images built after 0.32.0 or false for older images" $tag) -}}
91
+
{{- end -}}
92
+
{{- if semverCompare ">=0.32.1-0" $tag -}}
93
+
true
94
+
{{- end -}}
95
+
{{- else if ne $mode "false" -}}
96
+
{{- fail (printf "alertManager.leaderRouting must be auto, true or false, not %q" $mode) -}}
0 commit comments