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: config/crd/bases/parameters.kubeblocks.io_parametersdefinitions.yaml
+57Lines changed: 57 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -58,6 +58,11 @@ spec:
58
58
spec:
59
59
description: ParametersDefinitionSpec defines the desired state of ParametersDefinition
60
60
properties:
61
+
componentDef:
62
+
description: |-
63
+
Specifies the ComponentDefinition custom resource (CR) that defines the Component's characteristics and behavior.
64
+
The value can represent an exact name, a name prefix, or a regular expression pattern.
65
+
type: string
61
66
deletedPolicy:
62
67
description: Specifies the policy when parameter be removed.
63
68
properties:
@@ -88,6 +93,49 @@ spec:
88
93
type: string
89
94
type: array
90
95
x-kubernetes-list-type: set
96
+
fileFormatConfig:
97
+
description: |-
98
+
Specifies the format of the configuration file and any associated parameters that are specific to the chosen format.
99
+
Supported formats include `ini`, `xml`, `yaml`, `json`, `hcl`, `dotenv`, `properties`, and `toml`.
100
+
properties:
101
+
format:
102
+
description: |-
103
+
The config file format. Valid values are `ini`, `xml`, `yaml`, `json`,
104
+
`hcl`, `dotenv`, `properties` and `toml`. Each format has its own characteristics and use cases.
105
+
106
+
107
+
- ini: is a text-based content with a structure and syntax comprising key–value pairs for properties, reference wiki: https://en.wikipedia.org/wiki/INI_file
108
+
- xml: refers to wiki: https://en.wikipedia.org/wiki/XML
109
+
- yaml: supports for complex data types and structures.
110
+
- json: refers to wiki: https://en.wikipedia.org/wiki/JSON
111
+
- hcl: The HashiCorp Configuration Language (HCL) is a configuration language authored by HashiCorp, reference url: https://www.linode.com/docs/guides/introduction-to-hcl/
112
+
- dotenv: is a plain text file with simple key–value pairs, reference wiki: https://en.wikipedia.org/wiki/Configuration_file#MS-DOS
113
+
- properties: a file extension mainly used in Java, reference wiki: https://en.wikipedia.org/wiki/.properties
114
+
- toml: refers to wiki: https://en.wikipedia.org/wiki/TOML
115
+
- props-plus: a file extension mainly used in Java, supports CamelCase(e.g: brokerMaxConnectionsPerIp)
116
+
enum:
117
+
- xml
118
+
- ini
119
+
- yaml
120
+
- json
121
+
- hcl
122
+
- dotenv
123
+
- toml
124
+
- properties
125
+
- redis
126
+
- props-plus
127
+
- props-ultra
128
+
type: string
129
+
iniConfig:
130
+
description: Holds options specific to the 'ini' file format.
131
+
properties:
132
+
sectionName:
133
+
description: A string that describes the name of the ini section.
134
+
type: string
135
+
type: object
136
+
required:
137
+
- format
138
+
type: object
91
139
fileName:
92
140
description: Specifies the config file name in the config template.
93
141
type: string
@@ -363,6 +411,12 @@ spec:
363
411
The "all" option is for certain engines that require static parameters to be set
364
412
via SQL statements before they can take effect on restart.
365
413
type: boolean
414
+
serviceVersion:
415
+
description: |-
416
+
ServiceVersion specifies the version of the Service expected to be provisioned by this Component.
417
+
The version should follow the syntax and semantics of the "Semantic Versioning" specification (http://semver.org/).
418
+
If no version is specified, the latest available version will be used.
419
+
type: string
366
420
staticParameters:
367
421
description: |-
368
422
List static parameters.
@@ -371,6 +425,9 @@ spec:
371
425
type: string
372
426
type: array
373
427
x-kubernetes-list-type: set
428
+
templateName:
429
+
description: Specifies the name of the referenced config template.
430
+
type: string
374
431
type: object
375
432
status:
376
433
description: ParametersDefinitionStatus defines the observed state of
0 commit comments