Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions __mocks__/patternfly-react-core.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,26 @@ export const Spinner: React.FC<any> = ({ size, ...rest }) => (
<svg data-testid="spinner" role="progressbar" aria-valuetext="Loading..." data-size={size} {...rest} />
);

export const DescriptionList: React.FC<any> = ({ children, className }) => (
<dl className={className}>{children}</dl>
);

export const DescriptionListGroup: React.FC<any> = ({ children, className }) => (
<div className={className}>{children}</div>
);

export const DescriptionListTermHelpText: React.FC<any> = ({ children, className }) => (
<dt className={className}>{children}</dt>
);

export const DescriptionListTermHelpTextButton: React.FC<any> = ({ children }) => (
<button type="button">{children}</button>
);

export const DescriptionListDescription: React.FC<any> = ({ children }) => (
<dd>{children}</dd>
);

export enum ButtonVariant {
plain = 'plain',
primary = 'primary',
Expand Down
69 changes: 69 additions & 0 deletions console-extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,20 @@
"component": { "$codeRef": "DashboardOverviewPage" }
}
},
{
"type": "console.navigation/resource-ns",
"properties": {
"id": "argocd",
"name": "ArgoCD Instances",
"perspective": "admin",
"section": "gitops-navigation-section",
"model": {
"group": "argoproj.io",
"kind": "ArgoCD",
"version": "v1beta1"
}
}
},
{
"type": "console.navigation/resource-ns",
"properties": {
Expand Down Expand Up @@ -450,6 +464,42 @@
}
}
},
{
"type": "console.page/resource/list",
"flags": {
"required": [
"ARGOCD"
]
},
"properties": {
"model": {
"group": "argoproj.io",
"kind": "ArgoCD",
"version": "v1beta1"
},
"component": {
"$codeRef": "ArgoCDList"
}
}
},
{
"type": "console.page/resource/details",
"flags": {
"required": [
"ARGOCD"
]
},
"properties": {
"model": {
"group": "argoproj.io",
"kind": "ArgoCD",
"version": "v1beta1"
},
"component": {
"$codeRef": "ArgoCDDetails"
}
}
},
{
"type": "console.page/resource/list",
"flags": {
Expand Down Expand Up @@ -576,6 +626,25 @@
}
}
},
{
"type": "console.yaml-template",
"flags": {
"required": [
"ARGOCD"
]
},
"properties": {
"name": "default",
"model": {
"group": "argoproj.io",
"kind": "ArgoCD",
"version": "v1beta1"
},
"template": {
"$codeRef": "yamlTemplates.defaultArgoCDYamlTemplate"
}
}
},
{
"type": "console.yaml-template",
"flags": {
Expand Down
1 change: 1 addition & 0 deletions docs/_sidebar.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
- [ApplicationSets in the GitOps Console](applicationsets.md)
- [AppProjects in the GitOps Console](appprojects-rbac.md)
- [ImageUpdaters in the GitOps Console](image-updaters.md)
- [ArgoCD Instances in the GitOps Console](argocd-instances.md)
- [Rollouts in the GitOps Console](rollouts.md)
- [Graphs and topology views](topology.md)
- [Filter, search, and paginate resources](filter-resources.md)
Expand Down
83 changes: 83 additions & 0 deletions docs/argocd-instances.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
# ArgoCD Instances in the GitOps Console

The GitOps Console plugin provides list and details pages for Argo CD custom resources (ArgoCD instances) in the OpenShift web console. You can search and filter instances, create them from a YAML template, and review component health and SSO configuration.

The **ArgoCD Instances** page is available when the ArgoCD custom resource definition is installed on the cluster.

## Prerequisites

* You have access to the OpenShift web console.
* The GitOps Console plugin is enabled. See [Enable the GitOps Console plugin](admin-enable-plugin.md).
* The ArgoCD CRD is installed on the cluster.
* You can list ArgoCD instances in the selected namespace (or across namespaces, depending on your permissions).

## List page

1. In the **Administrator** or **Core platform** perspective, navigate to **GitOps** → **ArgoCD Instances**.

2. Optional: Use the **Project** dropdown to limit the list to one project (namespace), or choose all projects.

The ArgoCD Instances list page includes:

* **Filtering**: Filter by **Status**: Healthy, Progressing, Degraded, Unknown. Status is derived from the operator-reported lifecycle phase (Available, Pending, Failed, Unknown) of the ArgoCD resource.
* **Search**: Use the search field to match by **Name** or **Label**. Choose the mode from the dropdown next to the field.
* **Create action**: Click **Create ArgoCD** to open the YAML editor with a default ArgoCD template.
* **Pagination**: Browse results in pages of 10, 20, 50, or 100 items (default 50). Search and filters change which rows are included. See [Filter, search, and paginate resources](filter-resources.md).

### Table columns

| Column | Default | Description |
|---------------|--------------------------------------------|-----------------------------------------------------------------------------|
| **Name** | Always shown | ArgoCD instance name, with a link to the details page. |
| **Namespace** | Shown by default when viewing all projects | Namespace of the ArgoCD instance. Available only when viewing all projects. |
| **Status** | Shown by default | Overall health, derived from the resource's lifecycle phase. |
| **Version** | Shown by default | Requested Argo CD version. |
| **Age** | Shown by default | Time since the resource was created. |
| **Actions** | Always shown | Row kebab menu. |

For more details on how to show or hide columns, restore defaults, or reset column widths, see [Manage table columns](manage-columns.md).

### Row actions

From the row kebab, you can:

* **Edit labels**
* **Edit annotations**
* **Edit ArgoCD** (opens the YAML editor)
* **Delete ArgoCD**

## ArgoCD instance details page

1. From the ArgoCD Instances list, click an instance name.

2. Use the page header **Actions** menu for the same edit and delete actions as the list.

The details page includes the following tabs.

### Details tab

**Summary**

* **Name**
* **Namespace**
* **Server**: Link to the Argo CD server host, once provisioned.
* **Version**: Requested Argo CD version.
* **SSO**: Configured provider (**Keycloak**, **Dex**, or **Dex / OpenShift OAuth**), or **SSO degraded** if the SSO component is unhealthy.
* **RBAC**: Link to the `argocd-rbac-cm` ConfigMap.
* **Notifications**: Link to the `argocd-notifications-cm` ConfigMap, when notifications are enabled.
* **Created at**

**Managed components**

Lists the health status (Healthy, Progressing, Degraded, Unknown) of each Argo CD component reported on the resource status (for example server, repo, redis, applicationController, applicationSetController, sso, notificationsController, commitServer). The list is built from whatever components the operator reports, so newly added components show up automatically.

### YAML tab

The **YAML** tab provides a live editor for the ArgoCD manifest. Use it to inspect or update the full resource definition.

## Related information

* [Filter, search, and paginate resources](filter-resources.md)
* [Manage table columns](manage-columns.md)
* [Applications in the GitOps Console](applications.md)
* [Troubleshooting](troubleshooting.md)
52 changes: 40 additions & 12 deletions locales/en/plugin__gitops-plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,48 @@
"Progressive Sync Flow View": "Progressive Sync Flow View",
"Expand or collapse all progressive sync step groups": "Expand or collapse all progressive sync step groups",
"No Applications In This Step": "No Applications In This Step",
"Error: Missing required route parameters": "Error: Missing required route parameters",
"SSO degraded": "SSO degraded",
"Keycloak": "Keycloak",
"Dex / OpenShift OAuth": "Dex / OpenShift OAuth",
"Dex": "Dex",
"The health status of the {{component}} component.": "The health status of the {{component}} component.",
"Namespace defines the space within which each name must be unique.": "Namespace defines the space within which each name must be unique.",
"Server": "Server",
"The hostname of the Argo CD server, once provisioned.": "The hostname of the Argo CD server, once provisioned.",
"Version": "Version",
"The requested Argo CD version to install.": "The requested Argo CD version to install.",
"SSO": "SSO",
"The single sign-on provider configured for Argo CD.": "The single sign-on provider configured for Argo CD.",
"RBAC": "RBAC",
"The ConfigMap that defines the RBAC policy for Argo CD.": "The ConfigMap that defines the RBAC policy for Argo CD.",
"Notifications": "Notifications",
"The ConfigMap that defines the notification templates for Argo CD.": "The ConfigMap that defines the notification templates for Argo CD.",
"Created at": "Created at",
"Time is a wrapper around time. Time which supports correct marshaling to YAML and JSON.": "Time is a wrapper around time. Time which supports correct marshaling to YAML and JSON.",
"Managed components": "Managed components",
"ArgoCD": "ArgoCD",
"No ArgoCD Instances match the search filter": "No ArgoCD Instances match the search filter",
"Try removing the filter or searching for a different term to see more ArgoCD Instances.": "Try removing the filter or searching for a different term to see more ArgoCD Instances.",
"There are no ArgoCD Instances in this namespace.": "There are no ArgoCD Instances in this namespace.",
"There are no ArgoCD Instances in all namespaces.": "There are no ArgoCD Instances in all namespaces.",
"No matching ArgoCD Instances": "No matching ArgoCD Instances",
"No ArgoCD Instances": "No ArgoCD Instances",
"Unable to load data": "Unable to load data",
"There was an error retrieving ArgoCD Instances. Check your connection and reload the page.": "There was an error retrieving ArgoCD Instances. Check your connection and reload the page.",
"ArgoCD Instances": "ArgoCD Instances",
"Create ArgoCD": "Create ArgoCD",
"Age": "Age",
"Actions": "Actions",
"Healthy": "Healthy",
"Degraded": "Degraded",
"Progressing": "Progressing",
"Unknown": "Unknown",
"There was an error retrieving the ArgoCD. Check your connection and reload the page.": "There was an error retrieving the ArgoCD. Check your connection and reload the page.",
"Edit ArgoCD": "Edit ArgoCD",
"Delete ArgoCD": "Delete ArgoCD",
"Edit ImageUpdater": "Edit ImageUpdater",
"Delete ImageUpdater": "Delete ImageUpdater",
"Error: Missing required route parameters": "Error: Missing required route parameters",
"True": "True",
"False": "False",
"ImageUpdater details": "ImageUpdater details",
Expand All @@ -143,7 +182,6 @@
"There are no ImageUpdaters in all namespaces.": "There are no ImageUpdaters in all namespaces.",
"No matching ImageUpdaters": "No matching ImageUpdaters",
"No ImageUpdaters": "No ImageUpdaters",
"Unable to load data": "Unable to load data",
"There was an error retrieving ImageUpdaters. Check your connection and reload the page.": "There was an error retrieving ImageUpdaters. Check your connection and reload the page.",
"ImageUpdaters": "ImageUpdaters",
"Create ImageUpdater": "Create ImageUpdater",
Expand All @@ -170,12 +208,8 @@
"Application Overview": "Application Overview",
"Infrastructure": "Infrastructure",
"GitOps Overview": "GitOps Overview",
"Healthy": "Healthy",
"Progressing": "Progressing",
"Degraded": "Degraded",
"Missing": "Missing",
"Suspended": "Suspended",
"Unknown": "Unknown",
"Health status": "Health status",
"Unable to retrieve applications": "Unable to retrieve applications",
"Error retrieving applications: {{x}}": "Error retrieving applications: {{x}}",
Expand Down Expand Up @@ -270,7 +304,6 @@
"Application sync activity over time": "Application sync activity over time",
"Application model does not exist": "Application model does not exist",
"The Argo CD Application CRD does not exist. Check that the GitOps Operator is installed.": "The Argo CD Application CRD does not exist. Check that the GitOps Operator is installed.",
"Server": "Server",
"Deny": "Deny",
"Allow": "Allow",
"No destinations configured": "No destinations configured",
Expand Down Expand Up @@ -385,7 +418,6 @@
"Retry": "Retry",
"Restart": "Restart",
"Rollback": "Rollback",
"Age": "Age",
"Info": "Info",
"Ready containers": "Ready containers",
"ready": "ready",
Expand Down Expand Up @@ -448,13 +480,10 @@
"No Argo CD ApplicationSets": "No Argo CD ApplicationSets",
"There was an error retrieving applicationsets. Check your connection and reload the page.": "There was an error retrieving applicationsets. Check your connection and reload the page.",
"No labels": "No labels",
"Namespace defines the space within which each name must be unique.": "Namespace defines the space within which each name must be unique.",
"Map of string keys and values that can be used to organize and categorize (scope and select) objects.": "Map of string keys and values that can be used to organize and categorize (scope and select) objects.",
"Edit": "Edit",
"Annotations": "Annotations",
"Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects.": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects.",
"Created at": "Created at",
"Time is a wrapper around time. Time which supports correct marshaling to YAML and JSON.": "Time is a wrapper around time. Time which supports correct marshaling to YAML and JSON.",
"Owner references link this resource to its parent object. For example, Applications generated by an ApplicationSet will have that ApplicationSet as their owner. This relationship enables proper resource lifecycle management and garbage collection.": "Owner references link this resource to its parent object. For example, Applications generated by an ApplicationSet will have that ApplicationSet as their owner. This relationship enables proper resource lifecycle management and garbage collection.",
"Extra": "Extra",
"Manage columns": "Manage columns",
Expand All @@ -481,7 +510,6 @@
"Stop": "Stop",
"Refresh": "Refresh",
"Refresh (Hard)": "Refresh (Hard)",
"Actions": "Actions",
"You don't have permission to perform this action": "You don't have permission to perform this action",
"annotations": "annotations",
"annotation": "annotation",
Expand Down
Loading
Loading