|
22 | 22 | - jsonPath: .spec.version |
23 | 23 | name: Version |
24 | 24 | type: string |
| 25 | + - jsonPath: .status.version |
| 26 | + name: Running |
| 27 | + type: string |
25 | 28 | - jsonPath: .status.conditions[?(@.type=="Ready")].status |
26 | 29 | name: Ready |
27 | 30 | type: string |
@@ -1359,6 +1362,17 @@ spec: |
1359 | 1362 | type: string |
1360 | 1363 | type: object |
1361 | 1364 | x-kubernetes-map-type: atomic |
| 1365 | + peerAutoTLS: |
| 1366 | + description: |- |
| 1367 | + PeerAutoTLS is operator-managed plumbing: it carries the cluster's |
| 1368 | + reserved "etcd-operator.cozystack.io/peer-auto-tls" annotation down to |
| 1369 | + the member so buildPod renders etcd's --peer-auto-tls (self-signed, no |
| 1370 | + shared CA) instead of mounting a peer secret. INSECURE — peer is |
| 1371 | + encrypted but NOT authenticated. Set only on clusters adopted from a |
| 1372 | + legacy --peer-auto-tls cluster, and never together with PeerSecretRef |
| 1373 | + (an explicit peer secret supersedes the annotation). Users do not set |
| 1374 | + this directly; the cluster controller derives it. |
| 1375 | + type: boolean |
1362 | 1376 | peerSecretRef: |
1363 | 1377 | description: |- |
1364 | 1378 | PeerSecretRef mirrors EtcdClusterTLS.Peer.SecretRef. When nil, the |
@@ -1673,6 +1687,18 @@ spec: |
1673 | 1687 | Selector exposes the label-selector that matches this member's Pod |
1674 | 1688 | via /scale (consumed by the PDB controller; not user-facing). |
1675 | 1689 | type: string |
| 1690 | + version: |
| 1691 | + description: |- |
| 1692 | + Version is the etcd server version this member is actually running, |
| 1693 | + observed at runtime from the member's own etcd endpoint via the |
| 1694 | + Maintenance Status API (StatusResponse.Version) — i.e. what etcd |
| 1695 | + reports, as opposed to spec.version, which is the intended/target |
| 1696 | + version the operator asks for (and pins the image tag to). Empty until |
| 1697 | + the member's Pod is Ready and the operator has successfully queried it. |
| 1698 | + This observed value is the source of truth for detecting version drift |
| 1699 | + between intent and reality (see the VersionDrifted condition); the |
| 1700 | + observation is best-effort and never gates readiness. |
| 1701 | + type: string |
1676 | 1702 | type: object |
1677 | 1703 | type: object |
1678 | 1704 | served: true |
|
0 commit comments