Skip to content

Commit 10b4553

Browse files
committed
plugins: Filter plugin-catalog to AKS Desktop optimized plugins
Replace the "only official/verified" filter with an "AKS Desktop optimized" filter driven by a curated allowlist shipped in src/aks-optimized-plugins.json. The full catalog is fetched and the allowlist is applied client-side, so curated plugins show regardless of their ArtifactHub official/verified status. Add resolveJsonModule and jsx to tsconfig.json to support importing the allowlist JSON. Signed-off-by: yolossn <sannagaraj@microsoft.com>
1 parent 34d03cd commit 10b4553

24 files changed

Lines changed: 157 additions & 146 deletions

plugins/plugin-catalog/locales/cs/translation.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626
"Other Plugins": "",
2727
"Unknown": "",
2828
"No plugins installed": "",
29-
"Only Official": "",
30-
"Do you want to show non-official plugins?": "",
31-
"Important: Non-official plugins may not be published by the actual projects they are related to, nor by Headlamp's maintainers. Are you sure you want to show them?": "",
29+
"AKS optimized": "",
30+
"Do you want to show plugins that are not AKS optimized?": "",
31+
"Important: Plugins that are not AKS optimized are published by third parties and have not been validated for use with AKS Desktop. Are you sure you want to show them?": "",
3232
"Plugins": "",
3333
"Search": "",
3434
"No plugins found": "",
@@ -38,6 +38,5 @@
3838
"Official Chart": "",
3939
"Verified Publisher": "",
4040
"Update available": "",
41-
"Display only Official Plugins": "",
42-
"Display only Verified Plugins": ""
41+
"Display only AKS optimized Plugins": ""
4342
}

plugins/plugin-catalog/locales/de/translation.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626
"Other Plugins": "",
2727
"Unknown": "",
2828
"No plugins installed": "",
29-
"Only Official": "",
30-
"Do you want to show non-official plugins?": "",
31-
"Important: Non-official plugins may not be published by the actual projects they are related to, nor by Headlamp's maintainers. Are you sure you want to show them?": "",
29+
"AKS optimized": "",
30+
"Do you want to show plugins that are not AKS optimized?": "",
31+
"Important: Plugins that are not AKS optimized are published by third parties and have not been validated for use with AKS Desktop. Are you sure you want to show them?": "",
3232
"Plugins": "",
3333
"Search": "",
3434
"No plugins found": "",
@@ -38,6 +38,5 @@
3838
"Official Chart": "",
3939
"Verified Publisher": "",
4040
"Update available": "",
41-
"Display only Official Plugins": "",
42-
"Display only Verified Plugins": ""
41+
"Display only AKS optimized Plugins": ""
4342
}

plugins/plugin-catalog/locales/en/translation.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626
"Other Plugins": "Other Plugins",
2727
"Unknown": "Unknown",
2828
"No plugins installed": "No plugins installed",
29-
"Only Official": "Only Official",
30-
"Do you want to show non-official plugins?": "Do you want to show non-official plugins?",
31-
"Important: Non-official plugins may not be published by the actual projects they are related to, nor by Headlamp's maintainers. Are you sure you want to show them?": "Important: Non-official plugins may not be published by the actual projects they are related to, nor by Headlamp's maintainers. Are you sure you want to show them?",
29+
"AKS optimized": "AKS optimized",
30+
"Do you want to show plugins that are not AKS optimized?": "Do you want to show plugins that are not AKS optimized?",
31+
"Important: Plugins that are not AKS optimized are published by third parties and have not been validated for use with AKS Desktop. Are you sure you want to show them?": "Important: Plugins that are not AKS optimized are published by third parties and have not been validated for use with AKS Desktop. Are you sure you want to show them?",
3232
"Plugins": "Plugins",
3333
"Search": "Search",
3434
"No plugins found": "No plugins found",
@@ -38,6 +38,5 @@
3838
"Official Chart": "Official Chart",
3939
"Verified Publisher": "Verified Publisher",
4040
"Update available": "Update available",
41-
"Display only Official Plugins": "Display only Official Plugins",
42-
"Display only Verified Plugins": "Display only Verified Plugins"
41+
"Display only AKS optimized Plugins": "Display only AKS optimized Plugins"
4342
}

plugins/plugin-catalog/locales/es/translation.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626
"Other Plugins": "",
2727
"Unknown": "",
2828
"No plugins installed": "",
29-
"Only Official": "",
30-
"Do you want to show non-official plugins?": "",
31-
"Important: Non-official plugins may not be published by the actual projects they are related to, nor by Headlamp's maintainers. Are you sure you want to show them?": "",
29+
"AKS optimized": "",
30+
"Do you want to show plugins that are not AKS optimized?": "",
31+
"Important: Plugins that are not AKS optimized are published by third parties and have not been validated for use with AKS Desktop. Are you sure you want to show them?": "",
3232
"Plugins": "",
3333
"Search": "",
3434
"No plugins found": "",
@@ -38,6 +38,5 @@
3838
"Official Chart": "",
3939
"Verified Publisher": "",
4040
"Update available": "",
41-
"Display only Official Plugins": "",
42-
"Display only Verified Plugins": ""
41+
"Display only AKS optimized Plugins": ""
4342
}

plugins/plugin-catalog/locales/fr/translation.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626
"Other Plugins": "",
2727
"Unknown": "",
2828
"No plugins installed": "",
29-
"Only Official": "",
30-
"Do you want to show non-official plugins?": "",
31-
"Important: Non-official plugins may not be published by the actual projects they are related to, nor by Headlamp's maintainers. Are you sure you want to show them?": "",
29+
"AKS optimized": "",
30+
"Do you want to show plugins that are not AKS optimized?": "",
31+
"Important: Plugins that are not AKS optimized are published by third parties and have not been validated for use with AKS Desktop. Are you sure you want to show them?": "",
3232
"Plugins": "",
3333
"Search": "",
3434
"No plugins found": "",
@@ -38,6 +38,5 @@
3838
"Official Chart": "",
3939
"Verified Publisher": "",
4040
"Update available": "",
41-
"Display only Official Plugins": "",
42-
"Display only Verified Plugins": ""
41+
"Display only AKS optimized Plugins": ""
4342
}

plugins/plugin-catalog/locales/hu/translation.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626
"Other Plugins": "",
2727
"Unknown": "",
2828
"No plugins installed": "",
29-
"Only Official": "",
30-
"Do you want to show non-official plugins?": "",
31-
"Important: Non-official plugins may not be published by the actual projects they are related to, nor by Headlamp's maintainers. Are you sure you want to show them?": "",
29+
"AKS optimized": "",
30+
"Do you want to show plugins that are not AKS optimized?": "",
31+
"Important: Plugins that are not AKS optimized are published by third parties and have not been validated for use with AKS Desktop. Are you sure you want to show them?": "",
3232
"Plugins": "",
3333
"Search": "",
3434
"No plugins found": "",
@@ -38,6 +38,5 @@
3838
"Official Chart": "",
3939
"Verified Publisher": "",
4040
"Update available": "",
41-
"Display only Official Plugins": "",
42-
"Display only Verified Plugins": ""
41+
"Display only AKS optimized Plugins": ""
4342
}

plugins/plugin-catalog/locales/id/translation.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626
"Other Plugins": "",
2727
"Unknown": "",
2828
"No plugins installed": "",
29-
"Only Official": "",
30-
"Do you want to show non-official plugins?": "",
31-
"Important: Non-official plugins may not be published by the actual projects they are related to, nor by Headlamp's maintainers. Are you sure you want to show them?": "",
29+
"AKS optimized": "",
30+
"Do you want to show plugins that are not AKS optimized?": "",
31+
"Important: Plugins that are not AKS optimized are published by third parties and have not been validated for use with AKS Desktop. Are you sure you want to show them?": "",
3232
"Plugins": "",
3333
"Search": "",
3434
"No plugins found": "",
@@ -38,6 +38,5 @@
3838
"Official Chart": "",
3939
"Verified Publisher": "",
4040
"Update available": "",
41-
"Display only Official Plugins": "",
42-
"Display only Verified Plugins": ""
41+
"Display only AKS optimized Plugins": ""
4342
}

plugins/plugin-catalog/locales/it/translation.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626
"Other Plugins": "",
2727
"Unknown": "",
2828
"No plugins installed": "",
29-
"Only Official": "",
30-
"Do you want to show non-official plugins?": "",
31-
"Important: Non-official plugins may not be published by the actual projects they are related to, nor by Headlamp's maintainers. Are you sure you want to show them?": "",
29+
"AKS optimized": "",
30+
"Do you want to show plugins that are not AKS optimized?": "",
31+
"Important: Plugins that are not AKS optimized are published by third parties and have not been validated for use with AKS Desktop. Are you sure you want to show them?": "",
3232
"Plugins": "",
3333
"Search": "",
3434
"No plugins found": "",
@@ -38,6 +38,5 @@
3838
"Official Chart": "",
3939
"Verified Publisher": "",
4040
"Update available": "",
41-
"Display only Official Plugins": "",
42-
"Display only Verified Plugins": ""
41+
"Display only AKS optimized Plugins": ""
4342
}

plugins/plugin-catalog/locales/ja/translation.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626
"Other Plugins": "",
2727
"Unknown": "",
2828
"No plugins installed": "",
29-
"Only Official": "",
30-
"Do you want to show non-official plugins?": "",
31-
"Important: Non-official plugins may not be published by the actual projects they are related to, nor by Headlamp's maintainers. Are you sure you want to show them?": "",
29+
"AKS optimized": "",
30+
"Do you want to show plugins that are not AKS optimized?": "",
31+
"Important: Plugins that are not AKS optimized are published by third parties and have not been validated for use with AKS Desktop. Are you sure you want to show them?": "",
3232
"Plugins": "",
3333
"Search": "",
3434
"No plugins found": "",
@@ -38,6 +38,5 @@
3838
"Official Chart": "",
3939
"Verified Publisher": "",
4040
"Update available": "",
41-
"Display only Official Plugins": "",
42-
"Display only Verified Plugins": ""
41+
"Display only AKS optimized Plugins": ""
4342
}

plugins/plugin-catalog/locales/ko/translation.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626
"Other Plugins": "",
2727
"Unknown": "",
2828
"No plugins installed": "",
29-
"Only Official": "",
30-
"Do you want to show non-official plugins?": "",
31-
"Important: Non-official plugins may not be published by the actual projects they are related to, nor by Headlamp's maintainers. Are you sure you want to show them?": "",
29+
"AKS optimized": "",
30+
"Do you want to show plugins that are not AKS optimized?": "",
31+
"Important: Plugins that are not AKS optimized are published by third parties and have not been validated for use with AKS Desktop. Are you sure you want to show them?": "",
3232
"Plugins": "",
3333
"Search": "",
3434
"No plugins found": "",
@@ -38,6 +38,5 @@
3838
"Official Chart": "",
3939
"Verified Publisher": "",
4040
"Update available": "",
41-
"Display only Official Plugins": "",
42-
"Display only Verified Plugins": ""
41+
"Display only AKS optimized Plugins": ""
4342
}

0 commit comments

Comments
 (0)