Some minor improvements for Kagent agents (#4400)

Signed-off-by: Cintia Sánchez García <cynthiasg@icloud.com>
This commit is contained in:
Cintia Sánchez García 2025-05-20 17:15:55 +02:00 committed by GitHub
parent 9d6e03d0ee
commit 63d4f1b1a1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 15 additions and 3 deletions

View File

@ -1,3 +1,3 @@
## Kagent agents repositories
Kagent agents are expected to be hosted in Helm chart repositories. Please see the Helm chart repositories section for more details about how to add your repository to Artifact Hub.
Kagent agents are expected to be hosted in [Helm chart repositories](/docs/topics/repositories/helm-charts). Please see the Helm chart repositories section for more details about how to add your repository to Artifact Hub.

View File

@ -605,7 +605,6 @@ const RepositoryModal = (props: Props) => {
case RepositoryKind.OpenCost:
case RepositoryKind.RadiusRecipe:
case RepositoryKind.Bootc:
case RepositoryKind.Kagent:
return (
<>
<p

View File

@ -157,7 +157,6 @@ const Details = (props: Props) => {
switch (props.package.repository.kind) {
case RepositoryKind.Helm:
case RepositoryKind.Kagent:
return (
<>
{props.package.data && (
@ -185,6 +184,20 @@ const Details = (props: Props) => {
</>
);
case RepositoryKind.Kagent:
return (
<>
{props.package.data && props.package.data.kubeVersion && (
<div>
<SmallTitle text="Kubernetes version" />
<p data-testid="kubeVersion" className={`text-truncate ${styles.text}`}>
{props.package.data.kubeVersion}
</p>
</div>
)}
</>
);
case RepositoryKind.Kyverno:
content =
props.package.data &&