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

[Operator] PodSpec is not taking account podtemplate

XMLWordPrintable

    • 2023 Week 36-38 (from Sep 4)

      If one tries to override the podTemplate, those changes are not taken into account because of how the Types are defined in the SonataFlow CR .spec.podSpec attribute.

      For example, you set .spec.podSpec.initContainers the Kubernetes API does not set these given the nature of how the struct has been defined.

      Error logs:

      I0930 10:10:56.526360       1 warning_handler.go:65] sonataflow-manager/KubeAPIWarningLogger "msg"="unknown field \"spec.podTemplate.PodSpec\"" 
      

            rhn-support-zanini Ricardo Zanini Fernandes
            rhn-support-zanini Ricardo Zanini Fernandes
            Dominik Hanak Dominik Hanak
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: