From cee40eb722507f36509cc7e7088948af6cefec40 Mon Sep 17 00:00:00 2001 From: Tamal Saha Date: Wed, 25 Sep 2024 06:15:16 -0700 Subject: [PATCH] Update resource metadata Signed-off-by: Tamal Saha --- go.mod | 2 +- go.sum | 4 ++-- .../stash.appscode.com/v1alpha1/kubedb/repositories.yaml | 2 +- .../storage.kubestash.com/v1alpha1/repositories.yaml | 4 +++- vendor/modules.txt | 2 +- 5 files changed, 8 insertions(+), 6 deletions(-) diff --git a/go.mod b/go.mod index 73d327f70..19dafe78a 100644 --- a/go.mod +++ b/go.mod @@ -50,7 +50,7 @@ require ( kmodules.xyz/go-containerregistry v0.0.12 kmodules.xyz/monitoring-agent-api v0.30.1-0.20240922035723-c44bae62658a kmodules.xyz/offshoot-api v0.30.1 - kmodules.xyz/resource-metadata v0.18.14-0.20240925020608-73a6d2bd1a4e + kmodules.xyz/resource-metadata v0.18.14-0.20240925131055-7efb243b0bdf kmodules.xyz/resource-metrics v0.30.4 kmodules.xyz/resource-metrics/utils v0.30.4 kmodules.xyz/sets v0.29.0 diff --git a/go.sum b/go.sum index 11bd4f8df..cd0772ead 100644 --- a/go.sum +++ b/go.sum @@ -934,8 +934,8 @@ kmodules.xyz/monitoring-agent-api v0.30.1-0.20240922035723-c44bae62658a h1:R31pY kmodules.xyz/monitoring-agent-api v0.30.1-0.20240922035723-c44bae62658a/go.mod h1:wNJna790BXspkN1ior9J+RI3pr+3B8LFtiumOvh8qKg= kmodules.xyz/offshoot-api v0.30.1 h1:TrulAYO+oBsXe9sZZGTmNWIuI8qD2izMpgcTSPvgAmI= kmodules.xyz/offshoot-api v0.30.1/go.mod h1:T3mpjR6fui0QzOcmQvIuANytW48fe9ytmy/1cgx6D4g= -kmodules.xyz/resource-metadata v0.18.14-0.20240925020608-73a6d2bd1a4e h1:PrZjuFQkFUhvAxQyJcJt5iTN7HDhsmC6WqQaYPOO3nU= -kmodules.xyz/resource-metadata v0.18.14-0.20240925020608-73a6d2bd1a4e/go.mod h1:p9RH0c3G/+hpL7ny1fjWOVGMmMNbqQUTonuMoTT35pg= +kmodules.xyz/resource-metadata v0.18.14-0.20240925131055-7efb243b0bdf h1:6vK5pc17fh8IPoT5OXzr5mO/qXsbM3+yhCBCh0/peNM= +kmodules.xyz/resource-metadata v0.18.14-0.20240925131055-7efb243b0bdf/go.mod h1:p9RH0c3G/+hpL7ny1fjWOVGMmMNbqQUTonuMoTT35pg= kmodules.xyz/resource-metrics v0.30.4 h1:8HBPtYmo9ETY91gsc55JE8Z986+3ZuRq57M0wZ9npqI= kmodules.xyz/resource-metrics v0.30.4/go.mod h1:w9+rz7/s/kGP1GWzYSuRdCn+l7EwpesmESSEHkLBnIQ= kmodules.xyz/resource-metrics/utils v0.30.4 h1:bJS/x0Qr7N1FFdxugFbzZ/Es6HVs4ptsFlhkmgj3jac= diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourcetabledefinitions/stash.appscode.com/v1alpha1/kubedb/repositories.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourcetabledefinitions/stash.appscode.com/v1alpha1/kubedb/repositories.yaml index ce5f4fce5..724f94230 100644 --- a/vendor/kmodules.xyz/resource-metadata/hub/resourcetabledefinitions/stash.appscode.com/v1alpha1/kubedb/repositories.yaml +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourcetabledefinitions/stash.appscode.com/v1alpha1/kubedb/repositories.yaml @@ -50,7 +50,7 @@ spec: {{ end }} {{- printf "%s" $color -}} name: Integrity - pathTemplate: '{{ .status.integrity | upper }}' + pathTemplate: '{{ .status.integrity | toString | upper }}' priority: 3 type: string - name: Age diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourcetabledefinitions/storage.kubestash.com/v1alpha1/repositories.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourcetabledefinitions/storage.kubestash.com/v1alpha1/repositories.yaml index 618d24774..7d26910ce 100644 --- a/vendor/kmodules.xyz/resource-metadata/hub/resourcetabledefinitions/storage.kubestash.com/v1alpha1/repositories.yaml +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourcetabledefinitions/storage.kubestash.com/v1alpha1/repositories.yaml @@ -49,10 +49,12 @@ spec: {{ $color := "gray" }} {{ if $integrity }} {{ $color = "success" }} + {{ else }} + {{ $color = "danger" }} {{ end }} {{- printf "%s" $color -}} name: Integrity - pathTemplate: '{{ .status.integrity | upper }}' + pathTemplate: '{{ .status.integrity | toString | upper }}' priority: 3 type: string - name: Age diff --git a/vendor/modules.txt b/vendor/modules.txt index ac28a6136..14b8ffd4e 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -2035,7 +2035,7 @@ kmodules.xyz/monitoring-agent-api/client ## explicit; go 1.22.0 kmodules.xyz/offshoot-api/api/v1 kmodules.xyz/offshoot-api/api/v2 -# kmodules.xyz/resource-metadata v0.18.14-0.20240925020608-73a6d2bd1a4e +# kmodules.xyz/resource-metadata v0.18.14-0.20240925131055-7efb243b0bdf ## explicit; go 1.22.1 kmodules.xyz/resource-metadata/apis/core/install kmodules.xyz/resource-metadata/apis/core/v1alpha1