Enable ArgoCD UI¶
To make it convenient for users to directly view the details of ArgoCD applications using the native UI of ArgoCD in the Workbench, the DCE Workbench provides the feature of enabling the ArgoCD UI. This document will guide you on how to enable the ArgoCD UI.
Note
The UI only has read-only permission. If you need other operations, please use the Workbench.
Enabling the ArgoCD UI feature requires modifying many configuration items, and these configuration items affect each other. Please strictly follow the steps below for configuration.
Modify ArgoCD Configuration¶
Workbench version >= v0.35.0¶
After the Workbench is upgraded to v0.35.0, we provide a feature switch that can enable/disable the ArgoCD UI feature with one click.
-
Go to Container Management -> Clusters -> kpanda-global-cluster -> ConfigMaps and Secrets -> ConfigMaps
-
Select the namespace where the Workbench is installed (the default is
amamba-system), and selectamamba-configto update. -
Add or modify the following configuration item:
Note that you are adding a key-value pair

Note
After the modification, you still need to modify the Workbench configuration items for the ArgoCD UI to take effect.
Workbench version < v0.35.0¶
The following configurations are all in the kpanda-global-cluster cluster, and it is assumed that your ArgoCD is installed in the argocd namespace.
-
Create a GProductProxy
Go to Container Management -> Clusters -> kpanda-global-cluster -> Custom Resources, search for
gproductproxies.ghippo.io, enter the custom resource details, and then click Create from YAML on the right.apiVersion: ghippo.io/v1alpha1 kind: GProductProxy metadata: name: argocd spec: gproduct: amamba proxies: - authnCheck: false destination: host: amamba-argocd-server.argocd.svc.cluster.local port: 80 match: uri: prefix: /argocd/applications/argocd - authnCheck: false destination: host: amamba-argocd-server.argocd.svc.cluster.local # if the namespace is not argocd, change the svc name port: 80 match: uri: prefix: /argocdThe
amamba-argocd-server.argocd.svc.cluster.localin host needs to be modified according to your ArgoCD service name and namespace. The specific modification path is Container Management -> Clusters -> kpanda-global-cluster -> Container Network. Search for the keywordamamba-argocd-serveraccording to the namespace where ArgoCD is installed to determine it. -
Modify the ArgoCD-related configurations
Go to Container Management -> Clusters -> kpanda-global-cluster -> Workloads -> Deployments, select the namespace where you installed ArgoCD, such as argocd. Find
amamba-argocd-serverand click the Restart button on the right.Modify
argocd-cmd-params-cm:kind: ConfigMap metadata: name: argocd-cmd-params-cm namespace: argocd data: server.basehref: /argocd # add these three lines server.insecure: "true" server.rootpath: /argocdModify
argocd-rbac-cm:apiVersion: v1 kind: ConfigMap metadata: name: argocd-rbac-cm namespace: argocd data: policy.csv: |- g, amamba, role:admin g, amamba-view, role:readonly # add this lineModify
argocd-cm: -
After changing the above options, you need to restart the
amamba-argocd-serverDeployment.Go to Container Management -> Clusters -> kpanda-global-cluster -> Workloads -> Deployments, select the namespace where you installed ArgoCD, such as argocd. Find
amamba-argocd-serverand click the Restart button on the right.
Modify Workbench ConfigMaps¶
After the above steps, you also need to change the Workbench configuration items for the ArgoCD UI to take effect.
-
Go to Container Management -> Clusters -> kpanda-global-cluster -> Helm Applications, select the namespace
amamba-system, modify theamambaapplication, and change the following configuration items in the YAML:configMap: generic: argocd: host: amamba-argocd-server.argocd.svc.cluster.local:443 # change the port to 443 enableUI: true # add this optionKeep the host port as 443. The
amamba-argocd-server.argocd.svc.cluster.localneeds to be modified according to your ArgoCD service name and namespace. The specific modification path is Container Management -> Clusters -> kpanda-global-cluster -> Container Network. Search for the keywordamamba-argocd-serveraccording to the namespace where ArgoCD is installed to determine it. -
After saving, wait for Helm to complete the update.
View Topology¶
-
On the Workbench -> Continuous Deployments page, click an application name to enter the details page.
-
On the details page, click
ArgoCD Topologyto view the topology diagram: