Skip to content

Show Argo CD ApplicationSets in list page in Dev Console #98

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

aali309
Copy link
Collaborator

@aali309 aali309 commented Aug 11, 2025

  • Add ApplicationSet list page with full CRUD operations
  • Add ApplicationSet navigation in GitOps section
  • Add ApplicationSet model metadata and feature flag
  • Add ApplicationSet YAML template
  • Add internationalization support for ApplicationSets
  • Add ApplicationSet actions provider
  • Follow same patterns as existing Application support

ApplicationSets view page (main target of this PR)

Screenshot 2025-08-19 at 3 18 45 PM

Applications view page

Screenshot 2025-08-14 at 3 48 41 PM

Steps to test

  1. Ensure you have access to an OpenShift cluster MUST be 4.19.6 or higher
  • Run this command on Cluster Bot rosa create 4.19.6 2h to get a cluster for two hours
  1. On one terminal fork the console repo
  • Once the cluster in step 1 is ready, login to the cluster

  • on the forked console repo run [a]. ./build.sh
    [b]. source ./contrib/oc-environment.sh
    [c]. ./bin/bridge -plugins gitops-plugin=http://localhost:9001/

  • At this point the console UI can be accessed on localhost:9000

  1. On another terminal, checkout to this branch
  • Run yarn install && yarn run start
  1. on the UI after refresh, the GitOps section should appear below Workloads
  2. Install the Openshif GitOps Operator [Ecosystem->OperatorHub-> the install it the default settings]
  3. Under GitOps click on the ApplicationSets and create an ApplicationSet with the provided template or create one on Argo CD cluster (preferred way)
  • To get the argocd credentials to login
    get password: oc get secret --namespace openshift-gitops openshift-gitops-cluster -o yaml
    decode to login: echo "the password from above" | base64 -d
  1. You can create an ApplicationSet using this repo if you dont have one
  1. Once the ApplicationSet is created, run this command to create the missing namespaces oc create ns gitops-test-ns-1 && oc create ns gitops-test-ns-2 && oc create ns gitops-test-ns-3

  2. You should have a similar page as the screnshots above. Make sure everything works well.

- Add ApplicationSet list page with full CRUD operations
- Add ApplicationSet navigation in GitOps section
- Add ApplicationSet model metadata and feature flag
- Add ApplicationSet YAML template
- Add internationalization support for ApplicationSets
- Add ApplicationSet actions provider
- Follow same patterns as existing Application support

Signed-off-by: Atif Ali <[email protected]>
@aali309 aali309 force-pushed the 7265-showArgocdAppsets branch from 7c975c3 to 6eafe17 Compare August 11, 2025 22:55
@aali309 aali309 marked this pull request as ready for review August 14, 2025 12:10
@openshift-ci openshift-ci bot requested review from ciiay and saumeya August 14, 2025 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant