• Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • None
    • None
    • None

      Right now, in order to be able to run the Gingko Windows test cases we need to pass the location of the private key used to install WMCO. However, if we want to move to Prow, the key used for its installation is in a different location.

      Instead of adding another condion (if Prow use this location, else this other) it might make more sense to retrieve the cloud-private-key secret value from openshift-windows-machine-config-operator namespace's secrets:

      oc get secret cloud-private-key -o=jsonpath="{.data.private-key\.pem}" -n openshift-windows-machine-config-operator | base64 -d  

      Store the output of such a command in a key (which will be destroyed at the end of the test suite) and use that key during all the test cases.

      This will allow us to isolate from the location of the key, we don't need to know which key was used to install WMCO ,we just grab it and use it from the secret.

              rrasouli Aharon Rasouli
              rhn-engineering-jfrancoa Jose Luis Franco Arza (Inactive)
              None
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: