mirror of https://github.com/artifacthub/hub.git
Some minor improvements for Kagent agents (#4400)
Signed-off-by: Cintia Sánchez García <cynthiasg@icloud.com>
This commit is contained in:
parent
9d6e03d0ee
commit
63d4f1b1a1
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -605,7 +605,6 @@ const RepositoryModal = (props: Props) => {
|
|||
case RepositoryKind.OpenCost:
|
||||
case RepositoryKind.RadiusRecipe:
|
||||
case RepositoryKind.Bootc:
|
||||
case RepositoryKind.Kagent:
|
||||
return (
|
||||
<>
|
||||
<p
|
||||
|
|
|
|||
|
|
@ -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 &&
|
||||
|
|
|
|||
Loading…
Reference in New Issue