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
Copy file name to clipboardExpand all lines: docs/api_reference.md
+27Lines changed: 27 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,6 +58,7 @@ ClickHouseClusterSpec defines the desired state of ClickHouseCluster.
58
58
| `clusterDomain` | string | ClusterDomain is the Kubernetes cluster domain suffix used for DNS resolution. | false | cluster.local |
59
59
| `upgradeChannel` | string | UpgradeChannel specifies the release channel for major version upgrade checks.<br />When empty, only minor updates will be proposed. Allowed values are: stable, lts or specific major.minor version (e.g. 25.8). | false | |
60
60
| `versionProbeTemplate` | [VersionProbeTemplate](#versionprobetemplate) | VersionProbeTemplate overrides for the version detection Job. | false | |
61
+
| `externalSecret` | [ExternalSecret](#externalsecret) | ExternalSecret is an optional reference to an externally-managed Secret containing cluster secrets.<br />The secret must reside in the same namespace as the cluster. | false | |
61
62
62
63
Appears in:
63
64
- [ClickHouseCluster](#clickhousecluster)
@@ -181,6 +182,32 @@ Appears in:
181
182
182
183
183
184
185
+
## ExternalSecret
186
+
187
+
ExternalSecret is a reference to a Secret in the same namespace.
188
+
189
+
| Field | Type | Description | Required | Default |
| `name` | string | Name of the Secret. | true | |
192
+
| `policy` | [ExternalSecretPolicy](#externalsecretpolicy) | Policy controls how the operator treats the secret's content.<br />Observe (default): blocks reconciliation if any required key is missing.<br />Manage: generates missing required keys into the existing secret. | false | Observe |
193
+
194
+
Appears in:
195
+
- [ClickHouseClusterSpec](#clickhouseclusterspec)
196
+
197
+
198
+
## ExternalSecretPolicy
199
+
200
+
ExternalSecretPolicy controls how the operator treats the external secret's content.
201
+
202
+
| Field | Description |
203
+
|-------|-------------|
204
+
| `Observe` | ExternalSecretPolicyObserve is the default policy: the operator reads and validates the secret;<br />reconciliation is blocked if any required key is absent.<br />Missing required keys and their expected formats are reported via the ExternalSecretValid status condition at runtime.<br /> |
205
+
| `Manage` | ExternalSecretPolicyManage is the policy where the operator fills in any missing required keys by generating<br />values for them. The secret is updated but never owned or deleted by the operator.<br /> |
206
+
207
+
Appears in:
208
+
- [ExternalSecret](#externalsecret)
209
+
210
+
184
211
## KeeperCluster
185
212
186
213
KeeperCluster is the Schema for the `keeperclusters` API.
0 commit comments