tree: ac305aadfdfec6d9c34b467569f9bff88f157ad4
  1. templates/
  2. tests/
  3. .helmignore
  4. Chart.yaml
  5. DISCLAIMER
  6. LICENSE
  7. NOTICE
  8. README.md
  9. values.yaml
helm/README.md

Fluss Helm Chart

This chart deploys an Apache Fluss cluster on Kubernetes, following Helm best practices.

Development

For how to build your local Fluss image and use it in Minikube refer to the official documentation.

Refer to the official documentation as well for configuration values.

We use the helm-unittest plugin for testing Fluss Helm charts. You can run tests locally via:

# From the /helm folder:
docker run -ti --rm -v $(pwd):/apps helmunittest/helm-unittest .

Validation Checks

The chart runs the validation checks at install or upgrade time using templates in _validate.tpl file.

The warnings are printed to the user, but errors abort the deployment.

To add new validations, for example for a new feature:

  1. Define fluss.<feature>.validateWarning or fluss.<feature>.validateError templates in the feature _<feature>.tpl template file.
  2. Add the corresponding include calls to fluss.validateWarning or fluss.validateError in _validate.tpl template file.

For example, for the security checks, include and update these methods in the _validate.tpl file:

{{- define "fluss.validateWarning" -}}
...

{{- $messages = append $messages (include "fluss.security.validateWarning" .) -}}

...
{{- end -}}

{{- define "fluss.validateError" -}}
...

{{- $messages = append $messages (include "fluss.security.validateError" .) -}}

...
{{- end -}}

Contributing

Follow the development section for local development.

Every contribution should add a unit test to the tests folder.

Whether relevant, update the official documentation.