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