Skip to content

Commit 05c5379

Browse files
authored
Merge pull request #244 from dkarpele/dk-GITOPS-9213
feat: add Image Updater to GitOPS console
2 parents 246fd14 + 09ec65d commit 05c5379

17 files changed

Lines changed: 1412 additions & 26 deletions

console-extensions.json

Lines changed: 104 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
"properties": {
6262
"id": "gitops-rollouts-topology-side-bar-tab-details",
6363
"label": "Details",
64-
"priority": "1000",
64+
"priority": "1000",
6565
"insertBefore": "topology-side-bar-tab-resource"
6666
},
6767
"flags": {
@@ -84,7 +84,7 @@
8484
"id": "gitops-rollouts-topology-sidebar-details-tab-section",
8585
"tab": "gitops-rollouts-topology-side-bar-tab-details",
8686
"provider": { "$codeRef": "topology.useRolloutSideBarDetails" },
87-
"insertBefore": "gitops-rollouts-topology-sidebar-resource-tab-section"
87+
"insertBefore": "gitops-rollouts-topology-sidebar-resource-tab-section"
8888
},
8989
"flags": {
9090
"required": ["ARGO_ROLLOUT", "GITOPS_ENABLE_TOPOLOGY"]
@@ -267,6 +267,23 @@
267267
"required": ["ARGO_ROLLOUT"]
268268
}
269269
},
270+
{
271+
"type": "console.model-metadata",
272+
"properties": {
273+
"model": {
274+
"group": "argocd-image-updater.argoproj.io",
275+
"kind": "ImageUpdater",
276+
"version": "v1alpha1"
277+
},
278+
"color": "#E9654B",
279+
"label": "Argo CD Image Updater",
280+
"labelPlural": "Argo CD Image Updaters",
281+
"abbr": "IU"
282+
},
283+
"flags": {
284+
"required": ["IMAGEUPDATER"]
285+
}
286+
},
270287
{
271288
"type": "console.flag/model",
272289
"properties": {
@@ -289,6 +306,17 @@
289306
}
290307
}
291308
},
309+
{
310+
"type": "console.flag/model",
311+
"properties": {
312+
"flag": "IMAGEUPDATER",
313+
"model": {
314+
"group": "argocd-image-updater.argoproj.io",
315+
"kind": "ImageUpdater",
316+
"version": "v1alpha1"
317+
}
318+
}
319+
},
292320
{
293321
"type": "console.navigation/resource-ns",
294322
"properties": {
@@ -340,6 +368,25 @@
340368
"insertAfter": "appproject"
341369
}
342370
},
371+
{
372+
"type": "console.navigation/resource-ns",
373+
"properties": {
374+
"id": "imageupdater",
375+
"name": "ImageUpdaters",
376+
"perspective": "admin",
377+
"section": "gitops-navigation-section",
378+
"model": {
379+
"group": "argocd-image-updater.argoproj.io",
380+
"kind": "ImageUpdater",
381+
"version": "v1alpha1"
382+
}
383+
},
384+
"flags": {
385+
"required": [
386+
"IMAGEUPDATER"
387+
]
388+
}
389+
},
343390
{
344391
"type": "console.navigation/resource-ns",
345392
"properties": {
@@ -426,6 +473,24 @@
426473
}
427474
}
428475
},
476+
{
477+
"type": "console.page/resource/list",
478+
"flags": {
479+
"required": [
480+
"IMAGEUPDATER"
481+
]
482+
},
483+
"properties": {
484+
"model": {
485+
"group": "argocd-image-updater.argoproj.io",
486+
"kind": "ImageUpdater",
487+
"version": "v1alpha1"
488+
},
489+
"component": {
490+
"$codeRef": "ImageUpdaterList"
491+
}
492+
}
493+
},
429494
{
430495
"type": "console.page/resource/details",
431496
"flags": {
@@ -538,6 +603,25 @@
538603
}
539604
}
540605
},
606+
{
607+
"type": "console.yaml-template",
608+
"flags": {
609+
"required": [
610+
"IMAGEUPDATER"
611+
]
612+
},
613+
"properties": {
614+
"name": "default",
615+
"model": {
616+
"group": "argocd-image-updater.argoproj.io",
617+
"kind": "ImageUpdater",
618+
"version": "v1alpha1"
619+
},
620+
"template": {
621+
"$codeRef": "yamlTemplates.defaultImageUpdaterYamlTemplate"
622+
}
623+
}
624+
},
541625
{
542626
"type": "console.page/resource/details",
543627
"flags": {
@@ -574,6 +658,24 @@
574658
}
575659
}
576660
},
661+
{
662+
"type": "console.page/resource/details",
663+
"flags": {
664+
"required": [
665+
"IMAGEUPDATER"
666+
]
667+
},
668+
"properties": {
669+
"model": {
670+
"group": "argocd-image-updater.argoproj.io",
671+
"kind": "ImageUpdater",
672+
"version": "v1alpha1"
673+
},
674+
"component": {
675+
"$codeRef": "ImageUpdaterDetailsPage"
676+
}
677+
}
678+
},
577679
{
578680
"type": "console.page/resource/search",
579681
"properties": {

locales/en/plugin__gitops-plugin.json

Lines changed: 47 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,53 @@
105105
"Progressive Sync Flow View": "Progressive Sync Flow View",
106106
"Expand or collapse all progressive sync step groups": "Expand or collapse all progressive sync step groups",
107107
"No Applications In This Step": "No Applications In This Step",
108+
"Edit ImageUpdater": "Edit ImageUpdater",
109+
"Delete ImageUpdater": "Delete ImageUpdater",
110+
"Error: Missing required route parameters": "Error: Missing required route parameters",
111+
"ImageUpdater details": "ImageUpdater details",
112+
"Ready": "Ready",
113+
"Whether the last reconciliation completed without errors.": "Whether the last reconciliation completed without errors.",
114+
"True": "True",
115+
"False": "False",
116+
"Applications Matched": "Applications Matched",
117+
"Number of applications matched by this ImageUpdater.": "Number of applications matched by this ImageUpdater.",
118+
"Images Managed": "Images Managed",
119+
"Number of images eligible for update checking.": "Number of images eligible for update checking.",
120+
"Last Checked At": "Last Checked At",
121+
"When the controller last checked for image updates.": "When the controller last checked for image updates.",
122+
"Last Updated At": "Last Updated At",
123+
"When the controller last performed an image update.": "When the controller last performed an image update.",
124+
"Observed Generation": "Observed Generation",
125+
"The generation of the resource that was last reconciled.": "The generation of the resource that was last reconciled.",
126+
"Conditions": "Conditions",
127+
"No ImageUpdaters match the search filter": "No ImageUpdaters match the search filter",
128+
"Try removing the filter or searching for a different term to see more ImageUpdaters.": "Try removing the filter or searching for a different term to see more ImageUpdaters.",
129+
"There are no ImageUpdaters in this namespace.": "There are no ImageUpdaters in this namespace.",
130+
"There are no ImageUpdaters in all namespaces.": "There are no ImageUpdaters in all namespaces.",
131+
"No matching ImageUpdaters": "No matching ImageUpdaters",
132+
"No ImageUpdaters": "No ImageUpdaters",
133+
"Unable to load data": "Unable to load data",
134+
"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.",
135+
"ImageUpdaters": "ImageUpdaters",
136+
"This list page is under tech preview, but not necessarily the resources it represents": "This list page is under tech preview, but not necessarily the resources it represents",
137+
"Create ImageUpdater": "Create ImageUpdater",
138+
"Search by name...": "Search by name...",
139+
"Apps": "Apps",
140+
"Images": "Images",
141+
"Last Checked": "Last Checked",
142+
"Has Apps": "Has Apps",
143+
"No Apps": "No Apps",
144+
"Not Ready": "Not Ready",
145+
"Recent Updates": "Recent Updates",
146+
"ArgoCD ImageUpdater": "ArgoCD ImageUpdater",
147+
"There was an error retrieving the ImageUpdater. Check your connection and reload the page.": "There was an error retrieving the ImageUpdater. Check your connection and reload the page.",
148+
"No recent updates": "No recent updates",
149+
"No image updates have been recorded in the most recent reconciliation cycle.": "No image updates have been recorded in the most recent reconciliation cycle.",
150+
"Alias": "Alias",
151+
"Image": "Image",
152+
"New Version": "New Version",
153+
"Apps Updated": "Apps Updated",
154+
"Updated At": "Updated At",
108155
"Server": "Server",
109156
"Deny": "Deny",
110157
"Allow": "Allow",
@@ -124,7 +171,6 @@
124171
"Cluster Resource Deny List": "Cluster Resource Deny List",
125172
"Namespace Resource Allow List": "Namespace Resource Allow List",
126173
"Namespace Resource Deny List": "Namespace Resource Deny List",
127-
"Error: Missing required route parameters": "Error: Missing required route parameters",
128174
"AppProject details": "AppProject details",
129175
"Project Type": "Project Type",
130176
"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.",
@@ -156,19 +202,15 @@
156202
"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.",
157203
"Enabled": "Enabled",
158204
"Disabled": "Disabled",
159-
"Conditions": "Conditions",
160205
"No Argo CD App Projects match the search filter": "No Argo CD App Projects match the search filter",
161206
"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.",
162207
"There are no Argo CD App Projects in this project.": "There are no Argo CD App Projects in this project.",
163208
"There are no Argo CD App Projects in all projects.": "There are no Argo CD App Projects in all projects.",
164209
"No matching Argo CD App Projects": "No matching Argo CD App Projects",
165210
"No Argo CD App Projects": "No Argo CD App Projects",
166-
"Unable to load data": "Unable to load data",
167211
"There was an error retrieving App Projects. Check your connection and reload the page.": "There was an error retrieving App Projects. Check your connection and reload the page.",
168212
"AppProjects": "AppProjects",
169-
"This list page is under tech preview, but not necessarily the resources it represents": "This list page is under tech preview, but not necessarily the resources it represents",
170213
"Create AppProject": "Create AppProject",
171-
"Search by name...": "Search by name...",
172214
"Labels": "Labels",
173215
"Last Updated": "Last Updated",
174216
"Has Description": "Has Description",
@@ -205,7 +247,6 @@
205247
"No resources configured": "No resources configured",
206248
"This list does not have any resources configured.": "This list does not have any resources configured.",
207249
"Traffic": "Traffic",
208-
"Ready": "Ready",
209250
"Restarts": "Restarts",
210251
"Owner": "Owner",
211252
"Memory": "Memory",

locales/ja/plugin__gitops-plugin.json

Lines changed: 47 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,53 @@
105105
"Progressive Sync Flow View": "Progressive Sync Flow View",
106106
"Expand or collapse all progressive sync step groups": "Expand or collapse all progressive sync step groups",
107107
"No Applications In This Step": "No Applications In This Step",
108+
"Edit ImageUpdater": "Edit ImageUpdater",
109+
"Delete ImageUpdater": "Delete ImageUpdater",
110+
"Error: Missing required route parameters": "Error: Missing required route parameters",
111+
"ImageUpdater details": "ImageUpdater details",
112+
"Ready": "Ready",
113+
"Whether the last reconciliation completed without errors.": "Whether the last reconciliation completed without errors.",
114+
"True": "True",
115+
"False": "False",
116+
"Applications Matched": "Applications Matched",
117+
"Number of applications matched by this ImageUpdater.": "Number of applications matched by this ImageUpdater.",
118+
"Images Managed": "Images Managed",
119+
"Number of images eligible for update checking.": "Number of images eligible for update checking.",
120+
"Last Checked At": "Last Checked At",
121+
"When the controller last checked for image updates.": "When the controller last checked for image updates.",
122+
"Last Updated At": "Last Updated At",
123+
"When the controller last performed an image update.": "When the controller last performed an image update.",
124+
"Observed Generation": "Observed Generation",
125+
"The generation of the resource that was last reconciled.": "The generation of the resource that was last reconciled.",
126+
"Conditions": "Conditions",
127+
"No ImageUpdaters match the search filter": "No ImageUpdaters match the search filter",
128+
"Try removing the filter or searching for a different term to see more ImageUpdaters.": "Try removing the filter or searching for a different term to see more ImageUpdaters.",
129+
"There are no ImageUpdaters in this namespace.": "There are no ImageUpdaters in this namespace.",
130+
"There are no ImageUpdaters in all namespaces.": "There are no ImageUpdaters in all namespaces.",
131+
"No matching ImageUpdaters": "No matching ImageUpdaters",
132+
"No ImageUpdaters": "No ImageUpdaters",
133+
"Unable to load data": "Unable to load data",
134+
"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.",
135+
"ImageUpdaters": "ImageUpdaters",
136+
"This list page is under tech preview, but not necessarily the resources it represents": "This list page is under tech preview, but not necessarily the resources it represents",
137+
"Create ImageUpdater": "Create ImageUpdater",
138+
"Search by name...": "Search by name...",
139+
"Apps": "Apps",
140+
"Images": "Images",
141+
"Last Checked": "Last Checked",
142+
"Has Apps": "Has Apps",
143+
"No Apps": "No Apps",
144+
"Not Ready": "Not Ready",
145+
"Recent Updates": "Recent Updates",
146+
"ArgoCD ImageUpdater": "ArgoCD ImageUpdater",
147+
"There was an error retrieving the ImageUpdater. Check your connection and reload the page.": "There was an error retrieving the ImageUpdater. Check your connection and reload the page.",
148+
"No recent updates": "No recent updates",
149+
"No image updates have been recorded in the most recent reconciliation cycle.": "No image updates have been recorded in the most recent reconciliation cycle.",
150+
"Alias": "Alias",
151+
"Image": "Image",
152+
"New Version": "New Version",
153+
"Apps Updated": "Apps Updated",
154+
"Updated At": "Updated At",
108155
"Server": "Server",
109156
"Deny": "Deny",
110157
"Allow": "Allow",
@@ -124,7 +171,6 @@
124171
"Cluster Resource Deny List": "Cluster Resource Deny List",
125172
"Namespace Resource Allow List": "Namespace Resource Allow List",
126173
"Namespace Resource Deny List": "Namespace Resource Deny List",
127-
"Error: Missing required route parameters": "Error: Missing required route parameters",
128174
"AppProject details": "AppProject details",
129175
"Project Type": "Project Type",
130176
"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.",
@@ -156,19 +202,15 @@
156202
"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.",
157203
"Enabled": "Enabled",
158204
"Disabled": "Disabled",
159-
"Conditions": "Conditions",
160205
"No Argo CD App Projects match the search filter": "No Argo CD App Projects match the search filter",
161206
"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.",
162207
"There are no Argo CD App Projects in this project.": "There are no Argo CD App Projects in this project.",
163208
"There are no Argo CD App Projects in all projects.": "There are no Argo CD App Projects in all projects.",
164209
"No matching Argo CD App Projects": "No matching Argo CD App Projects",
165210
"No Argo CD App Projects": "No Argo CD App Projects",
166-
"Unable to load data": "Unable to load data",
167211
"There was an error retrieving App Projects. Check your connection and reload the page.": "There was an error retrieving App Projects. Check your connection and reload the page.",
168212
"AppProjects": "AppProjects",
169-
"This list page is under tech preview, but not necessarily the resources it represents": "This list page is under tech preview, but not necessarily the resources it represents",
170213
"Create AppProject": "Create AppProject",
171-
"Search by name...": "Search by name...",
172214
"Labels": "Labels",
173215
"Last Updated": "Last Updated",
174216
"Has Description": "Has Description",
@@ -205,7 +247,6 @@
205247
"No resources configured": "No resources configured",
206248
"This list does not have any resources configured.": "This list does not have any resources configured.",
207249
"Traffic": "Traffic",
208-
"Ready": "Ready",
209250
"Restarts": "Restarts",
210251
"Owner": "Owner",
211252
"Memory": "Memory",

0 commit comments

Comments
 (0)