Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-4453

Kogito operator overwrites user's configmap provided with propertiesConfigMap

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.4.0.Final, 1.8.0.Final
    • 1.2.0.Final, 1.5.0.Final
    • Operator
    • None
    • False
    • False
    • Undefined
    • Workaround Exists
    • Hide

      Deploy the KogitoSupportingService (or the KogitoService) first and then replace the created configmap with 

      oc replace explainability-service-configmap -f explainability-configmap.yaml

      assuming that you have the configmap stored in the file `explainability-configmap.yaml`

      Show
      Deploy the KogitoSupportingService (or the KogitoService) first and then replace the created configmap with  oc replace explainability-service-configmap -f explainability-configmap.yaml assuming that you have the configmap stored in the file `explainability-configmap.yaml`
    • ---
    • ---
    • 2021 Week 07-09 (from Feb 15), 2021 Week 10-12 (from Mar 8), 2021 Week 19-21 (from May 10)

      On OCP 4.6, given the following configmap 

      apiVersion: v1
      kind: ConfigMap
      metadata: 
        name: explainability-service-configmap
      data: 
        application.properties: | 
          kafka.bootstrap-servers=REDACTED 
          kafka.sals.mechanism=PLAIN 
          kafka.security.protocol=SASL_SSL
        kafka.sasl.jaas.config=org.apache.kafka.common.security.plain.PlainLoginModule required username="REDACTED" password="REDACTED";
      

      and the following CR

      apiVersion: app.kiegroup.org/v1beta1
      kind: KogitoSupportingService
      metadata: 
        name: explainability-service
      spec: 
        serviceType: Explainability 
        replicas: 1 
        propertiesConfigMap: explainability-service-configmap
      

      The configmap is overwritten by the kogito operator resulting in a blank configmap

            kevin-mok Kevin Mok (Inactive)
            jrota@redhat.com Jacopo Rota (Inactive)
            Karel Suta Karel Suta
            Karel Suta Karel Suta
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: