Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-12166

[Operator] What is the use case of some of the configurable properties in CR

    XMLWordPrintable

Details

    • Clarification
    • Resolution: Done
    • Major
    • None
    • None
    • Fuse Online
    • None
    • % %

    Description

      Looking at the configuration options in the CR, some of them makes me wonder if they ever will be changed (and thus if they are necessary to be configurable):

      In which scenarios will be the following variables changed?

      EnvOpenShiftMaster:                ConfigSpec{Value: "https://localhost:8443", Required: true, Description: "Public OpenShift master address"}
      

      used in syndesis-server-config configmap

      EnvOpenShiftConsoleUrl:            ConfigSpec{Value: "https://localhost:8443", Description: "The URL to the OpenShift console"}
      

      used in syndesis-ui-config configmap, in default installation it is just an empty string:

      oc get cm syndesis-ui-config -o yaml | grep consoleUrl        
            "consoleUrl": ""
      
      EnvSarNamespace:                   ConfigSpec{Required: true, Description: "The user needs to have permissions to at least get a list of pods in the given project in order to be granted access to the Syndesis installation"}
      

      set to current namespace if missing:

          if syndesis.Spec.SarNamespace == "" {                                                                                                                                                                           
              syndesis.Spec.SarNamespace = syndesis.Namespace
          }
      

      will that ever be different than current namespace?

      Attachments

        Activity

          People

            Unassigned Unassigned
            avano@redhat.com Andrej Vano
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: