Skip to content

Commit f105553

Browse files
committed
feat: Show ArgoCD AppProjects in Details page
Signed-off-by: Atif Ali <atali@redhat.com>
1 parent 49be1c6 commit f105553

22 files changed

Lines changed: 1640 additions & 107 deletions

console-extensions.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -590,6 +590,24 @@
590590
}
591591
}
592592
},
593+
{
594+
"type": "console.page/resource/details",
595+
"flags": {
596+
"required": [
597+
"APPLICATION"
598+
]
599+
},
600+
"properties": {
601+
"model": {
602+
"group": "argoproj.io",
603+
"kind": "AppProject",
604+
"version": "v1alpha1"
605+
},
606+
"component": {
607+
"$codeRef": "ProjectDetailsPage"
608+
}
609+
}
610+
},
593611
{
594612
"type": "console.page/resource/search",
595613
"properties": {

locales/en/plugin__gitops-plugin.json

Lines changed: 65 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -128,10 +128,56 @@
128128
"Argo CD project that this ApplicationSet belongs to.": "Argo CD project that this ApplicationSet belongs to.",
129129
"Git repository URL where the ApplicationSet configuration is stored.": "Git repository URL where the ApplicationSet configuration is stored.",
130130
"Applications": "ArgoCD Applications",
131+
"Server": "Server",
132+
"Deny": "Deny",
133+
"Allow": "Allow",
134+
"No destinations configured": "No destinations configured",
135+
"This AppProject does not have any destinations configured.": "This AppProject does not have any destinations configured.",
131136
"Edit labels": "Edit labels",
132137
"Edit annotations": "Edit annotations",
133138
"Edit AppProject": "Edit AppProject",
134139
"Delete": "Delete",
140+
"Allowed Sources": "Allowed Sources",
141+
"Repositories": "Repositories",
142+
"Namespaces": "Namespaces",
143+
"Allowed Destinations": "Allowed Destinations",
144+
"Resource Allow/Deny Lists": "Resource Allow/Deny Lists",
145+
"Cluster Resource Allow List": "Cluster Resource Allow List",
146+
"Cluster Resource Deny List": "Cluster Resource Deny List",
147+
"Namespace Resource Allow List": "Namespace Resource Allow List",
148+
"Namespace Resource Deny List": "Namespace Resource Deny List",
149+
"AppProject details": "AppProject details",
150+
"Project Type": "Project Type",
151+
"The default project is created automatically and cannot be deleted. It can be modified but is recommended to create dedicated projects for production use.": "The default project is created automatically and cannot be deleted. It can be modified but is recommended to create dedicated projects for production use.",
152+
"Default Project": "Default Project",
153+
"Description": "Description",
154+
"Description of the AppProject.": "Description of the AppProject.",
155+
"Number of applications using this AppProject.": "Number of applications using this AppProject.",
156+
"Destinations": "Destinations",
157+
"Number of allowed destinations (clusters/namespaces) for this AppProject.": "Number of allowed destinations (clusters/namespaces) for this AppProject.",
158+
"destinations": "destinations",
159+
"destination": "destination",
160+
"Source Repositories": "Source Repositories",
161+
"Number of allowed source repositories for this AppProject.": "Number of allowed source repositories for this AppProject.",
162+
"repositories": "repositories",
163+
"repository": "repository",
164+
"Source Namespaces": "Source Namespaces",
165+
"Number of allowed source namespaces for this AppProject.": "Number of allowed source namespaces for this AppProject.",
166+
"namespaces": "namespaces",
167+
"namespace": "namespace",
168+
"Roles": "Roles",
169+
"Number of roles configured in this AppProject.": "Number of roles configured in this AppProject.",
170+
"roles": "roles",
171+
"role": "role",
172+
"Sync Windows": "Sync Windows",
173+
"Number of sync windows configured in this AppProject.": "Number of sync windows configured in this AppProject.",
174+
"sync windows": "sync windows",
175+
"sync window": "sync window",
176+
"Project-Scoped Clusters Only": "Project-Scoped Clusters Only",
177+
"When enabled, applications can only be deployed to clusters that are scoped to this project. This prevents deploying to clusters that are not part of the project.": "When enabled, applications can only be deployed to clusters that are scoped to this project. This prevents deploying to clusters that are not part of the project.",
178+
"Enabled": "Enabled",
179+
"Disabled": "Disabled",
180+
"Conditions": "Conditions",
135181
"No Argo CD App Projects match the search filter": "No Argo CD App Projects match the search filter",
136182
"Try removing the filter or searching for a different term to see more App Projects.": "Try removing the filter or searching for a different term to see more App Projects.",
137183
"There are no Argo CD App Projects in this project.": "There are no Argo CD App Projects in this project.",
@@ -143,23 +189,35 @@
143189
"AppProjects": "AppProjects",
144190
"Create AppProject": "Create AppProject",
145191
"Search by name...": "Search by name...",
146-
"Description": "Description",
147192
"Labels": "Labels",
148193
"Last Updated": "Last Updated",
149-
"No labels": "No labels",
150194
"Has Description": "Has Description",
151195
"No Description": "No Description",
152196
"Has Applications": "Has Applications",
153197
"No Applications": "No Applications",
154-
"Project Type": "Project Type",
155-
"Default Project": "Default Project",
156198
"Custom Projects": "Custom Projects",
157-
"Source Repositories": "Source Repositories",
158199
"Has Source Repos": "Has Source Repos",
159200
"No Source Repos": "No Source Repos",
160-
"Destinations": "Destinations",
161201
"Has Destinations": "Has Destinations",
162202
"No Destinations": "No Destinations",
203+
"Allow/Deny": "Allow/Deny",
204+
"There was an error retrieving the AppProject. Check your connection and reload the page.": "There was an error retrieving the AppProject. Check your connection and reload the page.",
205+
"No roles configured": "No roles configured",
206+
"This AppProject does not have any roles configured.": "This AppProject does not have any roles configured.",
207+
"Groups": "Groups",
208+
"Policies": "Policies",
209+
"No sync windows configured": "No sync windows configured",
210+
"This AppProject does not have any sync windows configured.": "This AppProject does not have any sync windows configured.",
211+
"Schedule": "Schedule",
212+
"Clusters": "Clusters",
213+
"Manual Sync": "Manual Sync",
214+
"Time Zone": "Time Zone",
215+
"All": "All",
216+
"Allowed": "Allowed",
217+
"Denied": "Denied",
218+
"Group": "Group",
219+
"No resources configured": "No resources configured",
220+
"This list does not have any resources configured.": "This list does not have any resources configured.",
163221
"Traffic": "Traffic",
164222
"Ready": "Ready",
165223
"Restarts": "Restarts",
@@ -187,7 +245,6 @@
187245
"The current status of the rollout": "The current status of the rollout",
188246
"Strategy": "Strategy",
189247
"Whether the rollout is using a blue-green or canary strategy": "Whether the rollout is using a blue-green or canary strategy",
190-
"Conditions": "Conditions",
191248
"No Argo Rollouts": "No Argo Rollouts",
192249
"There are no Argo Rollouts in this project.": "There are no Argo Rollouts in this project.",
193250
"There are no Argo Rollouts in all projects.": "There are no Argo Rollouts in all projects.",
@@ -196,11 +253,10 @@
196253
"Create Rollout": "Create Rollout",
197254
"Pods": "Pods",
198255
"Selector": "Selector",
256+
"No labels": "No labels",
199257
"Rollout Status": "Rollout Status",
200258
"Revisions": "Revisions",
201259
"There was an error retrieving the rollout. Check your connection and reload the page.": "There was an error retrieving the rollout. Check your connection and reload the page.",
202-
"There was an error retrieving the rollout revisions. Check your connection and reload the page.": "There was an error retrieving the rollout revisions. Check your connection and reload the page.",
203-
"Rollout Revisions": "Rollout Revisions",
204260
"Active Service": "Active Service",
205261
"The active blue-green service": "The active blue-green service",
206262
"Preview Service": "Preview Service",

locales/ja/plugin__gitops-plugin.json

Lines changed: 65 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -128,10 +128,56 @@
128128
"Argo CD project that this ApplicationSet belongs to.": "Argo CD project that this ApplicationSet belongs to.",
129129
"Git repository URL where the ApplicationSet configuration is stored.": "Git repository URL where the ApplicationSet configuration is stored.",
130130
"Applications": "Applications",
131+
"Server": "Server",
132+
"Deny": "Deny",
133+
"Allow": "Allow",
134+
"No destinations configured": "No destinations configured",
135+
"This AppProject does not have any destinations configured.": "This AppProject does not have any destinations configured.",
131136
"Edit labels": "Edit labels",
132137
"Edit annotations": "Edit annotations",
133138
"Edit AppProject": "Edit AppProject",
134139
"Delete": "Delete",
140+
"Allowed Sources": "Allowed Sources",
141+
"Repositories": "Repositories",
142+
"Namespaces": "Namespaces",
143+
"Allowed Destinations": "Allowed Destinations",
144+
"Resource Allow/Deny Lists": "Resource Allow/Deny Lists",
145+
"Cluster Resource Allow List": "Cluster Resource Allow List",
146+
"Cluster Resource Deny List": "Cluster Resource Deny List",
147+
"Namespace Resource Allow List": "Namespace Resource Allow List",
148+
"Namespace Resource Deny List": "Namespace Resource Deny List",
149+
"AppProject details": "AppProject details",
150+
"Project Type": "Project Type",
151+
"The default project is created automatically and cannot be deleted. It can be modified but is recommended to create dedicated projects for production use.": "The default project is created automatically and cannot be deleted. It can be modified but is recommended to create dedicated projects for production use.",
152+
"Default Project": "Default Project",
153+
"Description": "Description",
154+
"Description of the AppProject.": "Description of the AppProject.",
155+
"Number of applications using this AppProject.": "Number of applications using this AppProject.",
156+
"Destinations": "Destinations",
157+
"Number of allowed destinations (clusters/namespaces) for this AppProject.": "Number of allowed destinations (clusters/namespaces) for this AppProject.",
158+
"destinations": "destinations",
159+
"destination": "destination",
160+
"Source Repositories": "Source Repositories",
161+
"Number of allowed source repositories for this AppProject.": "Number of allowed source repositories for this AppProject.",
162+
"repositories": "repositories",
163+
"repository": "repository",
164+
"Source Namespaces": "Source Namespaces",
165+
"Number of allowed source namespaces for this AppProject.": "Number of allowed source namespaces for this AppProject.",
166+
"namespaces": "namespaces",
167+
"namespace": "namespace",
168+
"Roles": "Roles",
169+
"Number of roles configured in this AppProject.": "Number of roles configured in this AppProject.",
170+
"roles": "roles",
171+
"role": "role",
172+
"Sync Windows": "Sync Windows",
173+
"Number of sync windows configured in this AppProject.": "Number of sync windows configured in this AppProject.",
174+
"sync windows": "sync windows",
175+
"sync window": "sync window",
176+
"Project-Scoped Clusters Only": "Project-Scoped Clusters Only",
177+
"When enabled, applications can only be deployed to clusters that are scoped to this project. This prevents deploying to clusters that are not part of the project.": "When enabled, applications can only be deployed to clusters that are scoped to this project. This prevents deploying to clusters that are not part of the project.",
178+
"Enabled": "Enabled",
179+
"Disabled": "Disabled",
180+
"Conditions": "Conditions",
135181
"No Argo CD App Projects match the search filter": "No Argo CD App Projects match the search filter",
136182
"Try removing the filter or searching for a different term to see more App Projects.": "Try removing the filter or searching for a different term to see more App Projects.",
137183
"There are no Argo CD App Projects in this project.": "There are no Argo CD App Projects in this project.",
@@ -143,23 +189,35 @@
143189
"AppProjects": "AppProjects",
144190
"Create AppProject": "Create AppProject",
145191
"Search by name...": "Search by name...",
146-
"Description": "Description",
147192
"Labels": "Labels",
148193
"Last Updated": "Last Updated",
149-
"No labels": "No labels",
150194
"Has Description": "Has Description",
151195
"No Description": "No Description",
152196
"Has Applications": "Has Applications",
153197
"No Applications": "No Applications",
154-
"Project Type": "Project Type",
155-
"Default Project": "Default Project",
156198
"Custom Projects": "Custom Projects",
157-
"Source Repositories": "Source Repositories",
158199
"Has Source Repos": "Has Source Repos",
159200
"No Source Repos": "No Source Repos",
160-
"Destinations": "Destinations",
161201
"Has Destinations": "Has Destinations",
162202
"No Destinations": "No Destinations",
203+
"Allow/Deny": "Allow/Deny",
204+
"There was an error retrieving the AppProject. Check your connection and reload the page.": "There was an error retrieving the AppProject. Check your connection and reload the page.",
205+
"No roles configured": "No roles configured",
206+
"This AppProject does not have any roles configured.": "This AppProject does not have any roles configured.",
207+
"Groups": "Groups",
208+
"Policies": "Policies",
209+
"No sync windows configured": "No sync windows configured",
210+
"This AppProject does not have any sync windows configured.": "This AppProject does not have any sync windows configured.",
211+
"Schedule": "Schedule",
212+
"Clusters": "Clusters",
213+
"Manual Sync": "Manual Sync",
214+
"Time Zone": "Time Zone",
215+
"All": "All",
216+
"Allowed": "Allowed",
217+
"Denied": "Denied",
218+
"Group": "Group",
219+
"No resources configured": "No resources configured",
220+
"This list does not have any resources configured.": "This list does not have any resources configured.",
163221
"Traffic": "Traffic",
164222
"Ready": "Ready",
165223
"Restarts": "Restarts",
@@ -187,7 +245,6 @@
187245
"The current status of the rollout": "The current status of the rollout",
188246
"Strategy": "Strategy",
189247
"Whether the rollout is using a blue-green or canary strategy": "Whether the rollout is using a blue-green or canary strategy",
190-
"Conditions": "Conditions",
191248
"No Argo Rollouts": "No Argo Rollouts",
192249
"There are no Argo Rollouts in this project.": "There are no Argo Rollouts in this project.",
193250
"There are no Argo Rollouts in all projects.": "There are no Argo Rollouts in all projects.",
@@ -196,11 +253,10 @@
196253
"Create Rollout": "Create Rollout",
197254
"Pods": "Pods",
198255
"Selector": "Selector",
256+
"No labels": "No labels",
199257
"Rollout Status": "Rollout Status",
200258
"Revisions": "Revisions",
201259
"There was an error retrieving the rollout. Check your connection and reload the page.": "There was an error retrieving the rollout. Check your connection and reload the page.",
202-
"There was an error retrieving the rollout revisions. Check your connection and reload the page.": "There was an error retrieving the rollout revisions. Check your connection and reload the page.",
203-
"Rollout Revisions": "Rollout Revisions",
204260
"Active Service": "Active Service",
205261
"The active blue-green service": "The active blue-green service",
206262
"Preview Service": "Preview Service",

0 commit comments

Comments
 (0)