Skip to content
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

redpanda: configmap refactors #1357

Closed

Conversation

chrisseto
Copy link
Contributor

These two commits encapsulate some of the more difficult checks of Enabled fields and migrates most config generation onto the listener structs. This is in preparation for allowing customization of the truststore_file.

RafalKorepta and others added 3 commits June 13, 2024 18:14
This commits includes the following additions:
* For statement handler in transpiler
* operand handlers in transpiler for
  * modulo
  * great or equal
  * less or equal
* handle until buildin function in AST tree
* add buildin functions to helmette
  * regexReplaceAll
  * toYaml
  * first
  * trimSuffix
  * min
  * semverCompare
* fix tiered storage enabled conditions check
* add validation test that compares Redpanda chart version 5.8.5 with new implementation
This commit encapsulates the oft repeated logic of how to check `.Enabled` into
a collection of `.IsEnabled` methods on their respective structs.

When defaulting is required, `IsEnabled` will "ask for" access to the
appropriate structures via parameters.
This commit refactors the listener (`_api` and `_api_tls` redpanda.yaml
stanzas) into methods on their respective listener structs.
@RafalKorepta RafalKorepta force-pushed the rk/gh-1202/move-configmap-to-go branch 6 times, most recently from 933db92 to 9ef78e3 Compare June 17, 2024 11:35
@RafalKorepta
Copy link
Contributor

I incorporated all improvements from this PR into #1268

@chrisseto chrisseto deleted the chris/p/configmap-refactors branch July 11, 2024 21:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants