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
|`NotStarted`| APIPhaseNotStarted means API deployment has not been created<br /> |
35
+
|`Deploying`| APIPhaseDeploying means API is being deployed<br /> |
36
+
|`Ready`| APIPhaseReady means API is ready to serve requests<br /> |
37
+
|`Unhealthy`| APIPhaseUnhealthy means API is deployed but not healthy<br /> |
38
+
|`Error`| APIPhaseError means API deployment failed<br /> |
39
+
40
+
41
+
#### APIStatus
42
+
43
+
44
+
45
+
APIStatus provides detailed information about the API service
46
+
47
+
48
+
49
+
_Appears in:_
50
+
-[MCPRegistryStatus](#mcpregistrystatus)
51
+
52
+
| Field | Description | Default | Validation |
53
+
| --- | --- | --- | --- |
54
+
|`phase`_[APIPhase](#apiphase)_| Phase represents the current API service phase || Enum: [NotStarted Deploying Ready Unhealthy Error] <br /> |
55
+
|`message`_string_| Message provides additional information about the API status |||
56
+
|`endpoint`_string_| Endpoint is the URL where the API is accessible |||
57
+
|`readySince`_[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.27/#time-v1-meta)_| ReadySince is the timestamp when the API became ready |||
58
+
59
+
20
60
#### AuditConfig
21
61
22
62
@@ -303,6 +343,7 @@ _Appears in:_
303
343
|`source`_[MCPRegistrySource](#mcpregistrysource)_| Source defines the configuration for the registry data source || Required: \{\} <br /> |
304
344
|`syncPolicy`_[SyncPolicy](#syncpolicy)_| SyncPolicy defines the automatic synchronization behavior for the registry.<br />If specified, enables automatic synchronization at the given interval.<br />Manual synchronization is always supported via annotation-based triggers<br />regardless of this setting. |||
305
345
|`filter`_[RegistryFilter](#registryfilter)_| Filter defines include/exclude patterns for registry content |||
346
+
|`enforceServers`_boolean_| EnforceServers indicates whether MCPServers in this namespace must have their images<br />present in at least one registry in the namespace. When any registry in the namespace<br />has this field set to true, enforcement is enabled for the entire namespace.<br />MCPServers with images not found in any registry will be rejected.<br />When false (default), MCPServers can be deployed regardless of registry presence. | false ||
306
347
307
348
308
349
#### MCPRegistryStatus
@@ -318,14 +359,10 @@ _Appears in:_
318
359
319
360
| Field | Description | Default | Validation |
320
361
| --- | --- | --- | --- |
321
-
|`phase`_[MCPRegistryPhase](#mcpregistryphase)_| Phase represents the current phase of the MCPRegistry || Enum: [Pending Ready Failed Syncing Terminating] <br /> |
362
+
|`phase`_[MCPRegistryPhase](#mcpregistryphase)_| Phase represents the current overall phase of the MCPRegistry<br />Derived from sync and API status|| Enum: [Pending Ready Failed Syncing Terminating] <br /> |
322
363
|`message`_string_| Message provides additional information about the current phase |||
323
-
|`lastSyncTime`_[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.27/#time-v1-meta)_| LastSyncTime is the timestamp of the last successful sync |||
324
-
|`lastSyncHash`_string_| LastSyncHash is the hash of the last successfully synced data<br />Used to detect changes in source data |||
325
-
|`serverCount`_integer_| ServerCount is the total number of servers in the registry || Minimum: 0 <br /> |
326
-
|`deployedServerCount`_integer_| DeployedServerCount is the number of deployed servers with matching labels || Minimum: 0 <br /> |
327
-
|`syncAttempts`_integer_| SyncAttempts is the number of sync attempts since last success || Minimum: 0 <br /> |
328
-
|`apiEndpoint`_string_| APIEndpoint is the URL of the registry API service |||
364
+
|`syncStatus`_[SyncStatus](#syncstatus)_| SyncStatus provides detailed information about data synchronization |||
365
+
|`apiStatus`_[APIStatus](#apistatus)_| APIStatus provides detailed information about the API service |||
329
366
|`storageRef`_[StorageReference](#storagereference)_| StorageRef is a reference to the internal storage location |||
330
367
|`lastManualSyncTrigger`_string_| LastManualSyncTrigger tracks the last processed manual sync annotation value<br />Used to detect new manual sync requests via toolhive.stacklok.dev/sync-trigger annotation |||
331
368
|`conditions`_[Condition](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.27/#condition-v1-meta) array_| Conditions represent the latest available observations of the MCPRegistry's state |||
@@ -832,6 +869,26 @@ _Appears in:_
832
869
|`configMapRef`_[LocalObjectReference](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.27/#localobjectreference-v1-core)_| ConfigMapRef is a reference to a ConfigMap storage<br />Only used when Type is "configmap" |||
833
870
834
871
872
+
#### SyncPhase
873
+
874
+
_Underlying type:__string_
875
+
876
+
SyncPhase represents the data synchronization state
877
+
878
+
_Validation:_
879
+
- Enum: [Idle Syncing Complete Failed]
880
+
881
+
_Appears in:_
882
+
-[SyncStatus](#syncstatus)
883
+
884
+
| Field | Description |
885
+
| --- | --- |
886
+
|`Idle`| SyncPhaseIdle means no sync is needed or scheduled<br /> |
887
+
|`Syncing`| SyncPhaseSyncing means sync is currently in progress<br /> |
888
+
|`Complete`| SyncPhaseComplete means sync completed successfully<br /> |
889
+
|`Failed`| SyncPhaseFailed means sync failed<br /> |
890
+
891
+
835
892
#### SyncPolicy
836
893
837
894
@@ -851,6 +908,28 @@ _Appears in:_
851
908
|`interval`_string_| Interval is the sync interval for automatic synchronization (Go duration format)<br />Examples: "1h", "30m", "24h" || Pattern: `^([0-9]+(\.[0-9]+)?(ns\|us\|µs\|ms\|s\|m\|h))+$` <br />Required: \{\} <br /> |
852
909
853
910
911
+
#### SyncStatus
912
+
913
+
914
+
915
+
SyncStatus provides detailed information about data synchronization
916
+
917
+
918
+
919
+
_Appears in:_
920
+
-[MCPRegistryStatus](#mcpregistrystatus)
921
+
922
+
| Field | Description | Default | Validation |
923
+
| --- | --- | --- | --- |
924
+
|`phase`_[SyncPhase](#syncphase)_| Phase represents the current synchronization phase || Enum: [Idle Syncing Complete Failed] <br /> |
925
+
|`message`_string_| Message provides additional information about the sync status |||
926
+
|`lastAttempt`_[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.27/#time-v1-meta)_| LastAttempt is the timestamp of the last sync attempt |||
927
+
|`attemptCount`_integer_| AttemptCount is the number of sync attempts since last success || Minimum: 0 <br /> |
928
+
|`lastSyncTime`_[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.27/#time-v1-meta)_| LastSyncTime is the timestamp of the last successful sync |||
929
+
|`lastSyncHash`_string_| LastSyncHash is the hash of the last successfully synced data<br />Used to detect changes in source data |||
930
+
|`serverCount`_integer_| ServerCount is the total number of servers in the registry || Minimum: 0 <br /> |
0 commit comments