infinispan / infinispan-images

Infinispan is an open source data grid platform and highly scalable NoSQL cloud data store.
https://infinispan.org
Apache License 2.0
32 stars 21 forks source link

Deprecate the config-generator #152

Closed ryanemerson closed 3 years ago

ryanemerson commented 3 years ago

The config-generator is used by images to transform the Image yaml configuration to a suitable Infinispan server configuration. Originally this was required to:

  1. Provide the operator with a simple mechanism to configure the Infinispan server.
  2. Simplify the Infinispan/JGroups configuration in k8s environments.

As Infinispan has evolved, many improvements have been made to make Infinispan work seamlessly with k8s, making 2 redundant.

Similarly, as the operator has evolved the config-generator has become a pain point when adding new features and will soon be replaced https://github.com/infinispan/infinispan-operator/issues/1253.

Therefore, we should deprecate the config-generator, CONFIG_PATH and IDENTITIES_PATH vars from 13.0.0.Final.

The supported use cases for the image will be:

  1. Basic usage with no custom configuration:

    docker run -p 11222:11222 -e USER="Michael" -e PASS="Bluth" infinispan/server
  2. User provided server configuration:

    docker run -it -v example-vol:/user-config infinispan/server -b SITE_LOCAL -c /user-config/custom-infinispan.xml
ryanemerson commented 3 years ago

Deprecated since 13.0.0.Final