-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor!: remove original config
usage and add configFile
and configData
field
#152
Conversation
WalkthroughThe updates to the GreptimeDB cluster Helm chart introduce greater configuration flexibility by adding new fields for key components. The version number has been incremented to Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant HelmChart
participant Component
User->>HelmChart: Deploy cluster with configFile or configData
HelmChart->>Component: Render configuration
alt If configFile is provided
Component-->>HelmChart: Load config from file
else If configData is provided
Component-->>HelmChart: Use inline config data
end
HelmChart-->>User: Cluster deployed with configuration
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configuration File (
|
5618846
to
b8bd9cf
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Outside diff range, codebase verification and nitpick comments (8)
charts/greptimedb-cluster/values.yaml (4)
75-79
: Add validation or example values forconfigFile
andconfigData
.The new fields
configFile
andconfigData
are added, but it would be helpful to provide example values or validation rules to guide users.
155-159
: Add validation or example values forconfigFile
andconfigData
.The new fields
configFile
andconfigData
are added, but it would be helpful to provide example values or validation rules to guide users.
237-241
: Add validation or example values forconfigFile
andconfigData
.The new fields
configFile
andconfigData
are added, but it would be helpful to provide example values or validation rules to guide users.
325-329
: Add validation or example values forconfigFile
andconfigData
.The new fields
configFile
andconfigData
are added, but it would be helpful to provide example values or validation rules to guide users.charts/greptimedb-cluster/README.md (4)
90-92
: DocumentconfigFile
andconfigData
fields.The new fields
configFile
andconfigData
are added, but ensure they are clearly documented with examples or usage guidelines.
117-119
: DocumentconfigFile
andconfigData
fields.The new fields
configFile
andconfigData
are added, but ensure they are clearly documented with examples or usage guidelines.
140-142
: DocumentconfigFile
andconfigData
fields.The new fields
configFile
andconfigData
are added, but ensure they are clearly documented with examples or usage guidelines.
173-175
: DocumentconfigFile
andconfigData
fields.The new fields
configFile
andconfigData
are added, but ensure they are clearly documented with examples or usage guidelines.
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (4)
- charts/greptimedb-cluster/Chart.yaml (1 hunks)
- charts/greptimedb-cluster/README.md (5 hunks)
- charts/greptimedb-cluster/templates/cluster.yaml (4 hunks)
- charts/greptimedb-cluster/values.yaml (4 hunks)
Files skipped from review due to trivial changes (1)
- charts/greptimedb-cluster/Chart.yaml
Additional comments not posted (5)
charts/greptimedb-cluster/templates/cluster.yaml (4)
51-58
: Ensure proper handling of bothconfigFile
andconfigData
.The logic correctly handles either
configFile
orconfigData
, but ensure that both fields are mutually exclusive and properly validated.
112-119
: Ensure proper handling of bothconfigFile
andconfigData
.The logic correctly handles either
configFile
orconfigData
, but ensure that both fields are mutually exclusive and properly validated.
176-183
: Ensure proper handling of bothconfigFile
andconfigData
.The logic correctly handles either
configFile
orconfigData
, but ensure that both fields are mutually exclusive and properly validated.
237-244
: Ensure proper handling of bothconfigFile
andconfigData
.The logic correctly handles either
configFile
orconfigData
, but ensure that both fields are mutually exclusive and properly validated.charts/greptimedb-cluster/README.md (1)
5-5
: Version number correctly updated.The version number has been updated to
0.2.6
, indicating a new release.
configFile
and configData
fieldconfig
usage and add configFile
and configData
field
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (1)
- .github/pr-title-checker-config.json (1 hunks)
Additional comments not posted (1)
.github/pr-title-checker-config.json (1)
7-7
: LGTM! The regular expression change is appropriate.The modification to include an optional exclamation mark (
!
) after the keywords in the regular expression aligns with the PR objectives of indicating breaking changes.
164458e
to
f23b880
Compare
Wait for #153 to resolve title checking error. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Signed-off-by: zyy17 <[email protected]>
f23b880
to
9f96175
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (4)
- charts/greptimedb-cluster/Chart.yaml (1 hunks)
- charts/greptimedb-cluster/README.md (5 hunks)
- charts/greptimedb-cluster/templates/cluster.yaml (4 hunks)
- charts/greptimedb-cluster/values.yaml (4 hunks)
Files skipped from review due to trivial changes (2)
- charts/greptimedb-cluster/Chart.yaml
- charts/greptimedb-cluster/README.md
Files skipped from review as they are similar to previous changes (2)
- charts/greptimedb-cluster/templates/cluster.yaml
- charts/greptimedb-cluster/values.yaml
What's changed
Support to add extra toml by using file and raw string data.
Summary by CodeRabbit
New Features
datanode
,flownode
,frontend
, andmeta
components, allowing users to specify either configuration files or inline data for greater flexibility.Documentation
Chores