-
Enhancement
-
Resolution: Obsolete
-
Major
-
None
-
None
-
None
In infinispan operator 2.0, there is a way to define caches with kubernetes CR. However, defining the template for that cache should be done in xml: https://github.com/infinispan/infinispan-operator/blob/master/documentation/asciidoc/topics/proc_creating_caches_xml.adoc
However, it is not ideal to use xml in yaml files. For example, instead of:
name: mycache
template: <infinispan><cache-container><distributed-cache><mode>SYNC</mode><owners>1</owners></distributed-cache></cache-container></infinispan>
It will be better something like:
name: mycache
template:
distributed-cache:
mode: SYNC
owners: 1