Uploaded image for project: 'OpenShift Dev Console'
  1. OpenShift Dev Console
  2. ODC-7334

Show all ConsoleSample resources in the samples catalog

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • None
    • ODC Sprint 241, ODC Sprint 242

      Description

      As an operator author, I want to provide additional samples that are tied to an operator version, not an OpenShift release. For that, I want to create a resource to add new samples to the web console.

      Acceptance Criteria

      1. Load all cluster-scoped ConsoleSamples resources and show them in the sample catalog
      2. Filter duplicates based on the localization annotations (see enhancement proposal)
        1. All localization labels are optional
        2. Fallback for the name annotation should be metadata.name
        3. Fallback for the language should be english/no annotation
        4. Create a utils function with some unit tests
      3. Ensure that the Samples Import also works with Serverless functions (func.yaml detection)
      4. Show the new VSCode and IntelliJ extension cards from the "Add Serverless function" when importing a Serverless function sample.
      5. Provide some ConsoleSample YAMLs in the PR description

      Additional Details:

      1. https://github.com/openshift/enhancements/pull/1429
      2. https://github.com/openshift/api/pull/1503

            cjerolim Christoph Jerolimov
            cjerolim Christoph Jerolimov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: