@@ -214,6 +214,14 @@ spec:
214214 description: ClusterComponentConfig represents a configuration
215215 for a component.
216216 properties:
217+ configHash:
218+ description: |-
219+ Represents a checksum or hash of the configuration content.
220+
221+
222+ The controller uses this value to detect changes and determine if a reconfiguration or restart
223+ is necessary to apply updates.
224+ type: string
217225 configMap:
218226 description: ConfigMap source for the config.
219227 properties:
@@ -280,9 +288,13 @@ spec:
280288 x-kubernetes-map-type: atomic
281289 externalManaged:
282290 description: |-
283- ExternalManaged indicates whether the configuration is managed by an external system.
284- When set to true, the controller will use the user-provided template and reconfigure action,
285- ignoring the default template and update behavior.
291+ ExternalManaged specifies whether the configuration management is delegated to an external system
292+ or manual user control.
293+
294+
295+ When set to true, the controller will exclusively utilize the user-provided configuration source
296+ and the 'reconfigure' action defined in this config, bypassing the default templates and
297+ update behaviors specified in the ComponentDefinition.
286298 type: boolean
287299 name:
288300 description: The name of the config.
@@ -291,7 +303,10 @@ spec:
291303 type: string
292304 reconfigure:
293305 description: |-
294- The custom reconfigure action to reload the service configuration whenever changes to this config are detected.
306+ The custom reconfigure action to reload the updated configuration.
307+
308+
309+ When @restartOnConfigChange is set to true, this action will be ignored.
295310
296311
297312 The container executing this action has access to following variables:
@@ -300,9 +315,6 @@ spec:
300315 - KB_CONFIG_FILES_CREATED: file1,file2...
301316 - KB_CONFIG_FILES_REMOVED: file1,file2...
302317 - KB_CONFIG_FILES_UPDATED: file1:checksum1,file2:checksum2...
303-
304-
305- Note: This field is immutable once it has been set.
306318 properties:
307319 exec:
308320 description: |-
@@ -739,6 +751,10 @@ spec:
739751 format: int32
740752 type: integer
741753 type: object
754+ restartOnConfigChange:
755+ description: Specifies whether to restart the component
756+ to reload the updated configuration.
757+ type: boolean
742758 variables:
743759 additionalProperties:
744760 type: string
@@ -11546,6 +11562,14 @@ spec:
1154611562 description: ClusterComponentConfig represents a configuration
1154711563 for a component.
1154811564 properties:
11565+ configHash:
11566+ description: |-
11567+ Represents a checksum or hash of the configuration content.
11568+
11569+
11570+ The controller uses this value to detect changes and determine if a reconfiguration or restart
11571+ is necessary to apply updates.
11572+ type: string
1154911573 configMap:
1155011574 description: ConfigMap source for the config.
1155111575 properties:
@@ -11612,9 +11636,13 @@ spec:
1161211636 x-kubernetes-map-type: atomic
1161311637 externalManaged:
1161411638 description: |-
11615- ExternalManaged indicates whether the configuration is managed by an external system.
11616- When set to true, the controller will use the user-provided template and reconfigure action,
11617- ignoring the default template and update behavior.
11639+ ExternalManaged specifies whether the configuration management is delegated to an external system
11640+ or manual user control.
11641+
11642+
11643+ When set to true, the controller will exclusively utilize the user-provided configuration source
11644+ and the 'reconfigure' action defined in this config, bypassing the default templates and
11645+ update behaviors specified in the ComponentDefinition.
1161811646 type: boolean
1161911647 name:
1162011648 description: The name of the config.
@@ -11623,7 +11651,10 @@ spec:
1162311651 type: string
1162411652 reconfigure:
1162511653 description: |-
11626- The custom reconfigure action to reload the service configuration whenever changes to this config are detected.
11654+ The custom reconfigure action to reload the updated configuration.
11655+
11656+
11657+ When @restartOnConfigChange is set to true, this action will be ignored.
1162711658
1162811659
1162911660 The container executing this action has access to following variables:
@@ -11632,9 +11663,6 @@ spec:
1163211663 - KB_CONFIG_FILES_CREATED: file1,file2...
1163311664 - KB_CONFIG_FILES_REMOVED: file1,file2...
1163411665 - KB_CONFIG_FILES_UPDATED: file1:checksum1,file2:checksum2...
11635-
11636-
11637- Note: This field is immutable once it has been set.
1163811666 properties:
1163911667 exec:
1164011668 description: |-
@@ -12075,6 +12103,10 @@ spec:
1207512103 format: int32
1207612104 type: integer
1207712105 type: object
12106+ restartOnConfigChange:
12107+ description: Specifies whether to restart the component
12108+ to reload the updated configuration.
12109+ type: boolean
1207812110 variables:
1207912111 additionalProperties:
1208012112 type: string
0 commit comments