Uploaded image for project: 'OpenShift Hosted Control Plane'
  1. OpenShift Hosted Control Plane
  2. HOSTEDCP-259

Implement config for components that are available in the guest cluster and affect control plane

    XMLWordPrintable

Details

    • Story
    • Resolution: Done
    • Major
    • None
    • None
    • None
    • Hypershift Sprint 3, Hypershift Sprint 4, Hypershift Sprint 5, Hypershift Sprint 6
    • 0
    • 0
    • 0

    Description

      DoD:
      Adapt API to expose on the config for components that are available in the guest cluster but require changes to the control-plane. The following configuration resources fall into this category (links included to OCP documentation):

      Build 
      Project

      In order to test these configurations, make changes to each configuration resource as described in the documentation and verify that the configuration change takes effect.

      For builds, in order to test that the configuration took effect, you will need to create a new build on the guest cluster:

      1. create a new project (oc new-project blah)
      2. create a build (oc new-build https://github.com/openshift/ruby-hello-world)
      3. inspect the build to ensure that the configured defaults have been applied
        (oc get build ruby-hello-world-1 -o yaml)

      Create a build before applying a configuration change and one after to ensure that the change took effect.

      For projects, make changes to the configuration (such as modifying the project template) and then create a new project to ensure that your template changes took effect

      1. create a new project (oc new-project blah)
      2. inspect resources created for the project (service accounts, secrets, etc) to ensure they match what you have in your project template
      3. disable project self provisioning (as described here ) and set a project request message (as described here). Ensure that you get the message when requesting a project as a non-admin user.

       

      Attachments

        Activity

          People

            cewong@redhat.com Cesar Wong
            agarcial@redhat.com Alberto Garcia Lamela
            Jie Zhao Jie Zhao
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: