Developer Activity: Update a Component’s Catalog Info

Installing the Argo CD plugin doesn’t automatically make the deployment information visible when viewing Components in the Software Catalog. An argocd/app-selector annotation must be added to the Component’s YAML definition. This annotation instructs the Argo CD plugin to fetch the information related to the Component from the Argo CD instance you configured.

Update your Quarkus application’s catalog-info.yaml with the correct annotation:

  1. Visit the dev1/my-quarkus-app/catalog-info.yaml file in GitLab.

    Login to GitLab in using dev1/{common_password} to view and edit this file.
  2. Select Edit > Edit single file.

  3. Uncomment the following annotation:

    argocd/app-selector: rht-gitops.com/rhdh-gitops=dev1-my-quarkus-app
  4. You can confirm this annotation is correct by visiting the dev1-my-quarkus-app-dev in the rhdh-gitops instance and clicking the Details button to view the applied labels.

    Argo CD Details with Labels

  5. Use the Commit changes button to commit the annotation.

Return to your developer hub instance after committing the change. Use the Schedule entity refresh button to pull this change from Git to Red Hat Developer Hub for your Quarkus application.

Entity Refresh Button

Next, refresh your browser. The CD tab should appear, and you can view build information.

CD Tab in Component :imagesdir: ../assets/images