Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-12076

Ability to define the Cache template in yaml in the operator

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • None
    • Operator
    • 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

            vrigamon@redhat.com Vittorio Rigamonti
            rgordill1@redhat.com Ramon Gordillo Gutierrez
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: