Skip to content

Commit

Permalink
docs: added documentations for raw query
Browse files Browse the repository at this point in the history
Signed-off-by: Neko Ayaka <[email protected]>
  • Loading branch information
nekomeowww committed Jan 15, 2024
1 parent 50ac12b commit 5fb2d19
Show file tree
Hide file tree
Showing 4 changed files with 766 additions and 39 deletions.
20 changes: 11 additions & 9 deletions content/en/docs/features/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,18 @@ For example, enable `SyncAllResources` of clustersynchro manager to allow the us
Clusterpedia APIServer and Clusterpedia ClusterSynchro Manager have different feature gates.

## APIServer
|desc|feature gate|default|

| desc | feature gate | default |
|---|--------|----|
|[Set the default to return the number of resources remaining](./remaining-item-count)|`RemainingItemCount`|false|
|[Raw SQl Query](./raw-sql-query)|`AllowRawSQLQuery`|false|
| [Set the default to return the number of resources remaining](./remaining-item-count) | `RemainingItemCount` | `false` |
| [Raw SQL Query](./raw-sql-query) | `AllowRawSQLQuery` | `false` |
| [Raw Parameterized SQL Query](./raw-sql-query) | `AllowRawSQLQueryWithParameter` | `false` |

## ClusterSynchro Manager
|desc|feature gate|default|
| desc | feature gate | default |
|---|--------|----|
|Prune `metadata.managedFields` |`PruneManagedFields`|true|
|Prune `metadata.annotations['lastAppliedConfiguration']` |`PruneLastAppliedConfiguration`|true|
|Allows synchronization of all types of custom resources|`AllowSyncCustomResources`|false|
|Allows synchronization of all types of resources|`AllowSyncAllResources`|false|
|Use standalone tcp for health checker| `HealthCheckerWithStandaloneTCP` |false|
| Prune `metadata.managedFields` | `PruneManagedFields` | `true` |
| Prune `metadata.annotations['lastAppliedConfiguration']` | `PruneLastAppliedConfiguration` | `true` |
| Allows synchronization of all types of custom resources | `AllowSyncCustomResources` | `false` |
| Allows synchronization of all types of resources | `AllowSyncAllResources` | `false` |
| Use standalone tcp for health checker | `HealthCheckerWithStandaloneTCP` | `false` |
Loading

0 comments on commit 5fb2d19

Please sign in to comment.