From d06ef9d81bc928dccf891bd175e932ff22160f68 Mon Sep 17 00:00:00 2001 From: Jiri Tomasek Date: Fri, 15 Nov 2024 12:33:06 +0100 Subject: [PATCH] Add akri-dashboard-extension v1.2.0 --- .../akri-dashboard-extension-1.2.0.tgz | Bin 0 -> 1524 bytes .../akri-dashboard-extension/1.2.0/Chart.yaml | 18 +++++ .../akri-dashboard-extension/1.2.0/README.md | 6 ++ .../1.2.0/templates/_helpers.tpl | 63 ++++++++++++++++++ .../1.2.0/templates/cr.yaml | 14 ++++ .../1.2.0/values.yaml | 12 ++++ index.html | 4 +- index.yaml | 22 ++++++ .../akri-dashboard-extension/package.yaml | 2 +- 9 files changed, 138 insertions(+), 3 deletions(-) create mode 100644 assets/akri-dashboard-extension/akri-dashboard-extension-1.2.0.tgz create mode 100644 charts/akri-dashboard-extension/1.2.0/Chart.yaml create mode 100644 charts/akri-dashboard-extension/1.2.0/README.md create mode 100644 charts/akri-dashboard-extension/1.2.0/templates/_helpers.tpl create mode 100644 charts/akri-dashboard-extension/1.2.0/templates/cr.yaml create mode 100644 charts/akri-dashboard-extension/1.2.0/values.yaml diff --git a/assets/akri-dashboard-extension/akri-dashboard-extension-1.2.0.tgz b/assets/akri-dashboard-extension/akri-dashboard-extension-1.2.0.tgz new file mode 100644 index 0000000000000000000000000000000000000000..20ca8c997d0e22475a03cb5f10a51d09d57905a8 GIT binary patch literal 1524 zcmVDc zVQyr3R8em|NM&qo0PIk2E}G# zJ&`3(l9L8$zxxAOwv%{Ho2?JJr$G27woFkZCH_b%bgo#CP@PUBRY`zX28Cu)gl|%+ z3|Y~PpWK(CD2hhIVfhO0NQep{4K+*(J@x=%YABa85>sP15+=hKm0?qc$ruzBaf+&wEnzz6bQK7i;TX>6 zigmKhiwOn`RQ8CC;q+gxVbLS~5s8B6v~z-$r*j(P7~Eh`upsBfjEO+6w85-%n$%<9 zOcYn0UvpF$GdgIvUc!=zL@sqFdu8{o-hI-G_N%R9nd2BTD(DO|6sD7_U_mUiT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N=f7ae?8r!Dtci^W+tEDI a>%1c!=}1R9nEng^0RR8wnm4BaA^-pi_x;rX literal 0 HcmV?d00001 diff --git a/charts/akri-dashboard-extension/1.2.0/Chart.yaml b/charts/akri-dashboard-extension/1.2.0/Chart.yaml new file mode 100644 index 00000000..c4515ec4 --- /dev/null +++ b/charts/akri-dashboard-extension/1.2.0/Chart.yaml @@ -0,0 +1,18 @@ +annotations: + catalog.cattle.io/certified: rancher + catalog.cattle.io/display-name: Akri + catalog.cattle.io/kube-version: '>= v1.26.0-0' + catalog.cattle.io/namespace: cattle-ui-plugin-system + catalog.cattle.io/os: linux + catalog.cattle.io/permits-os: linux, windows + catalog.cattle.io/rancher-version: '>= 2.10.0-0' + catalog.cattle.io/scope: management + catalog.cattle.io/ui-component: plugins + catalog.cattle.io/ui-extensions-version: '>= 3.0.0' +apiVersion: v2 +appVersion: 1.2.0 +description: 'SUSE Edge: Akri extension for Rancher Dashboard' +icon: https://raw.githubusercontent.com/cncf/artwork/main/projects/akri/icon/color/akri-icon-color.svg +name: akri-dashboard-extension +type: application +version: 1.2.0 diff --git a/charts/akri-dashboard-extension/1.2.0/README.md b/charts/akri-dashboard-extension/1.2.0/README.md new file mode 100644 index 00000000..8d3dcc1d --- /dev/null +++ b/charts/akri-dashboard-extension/1.2.0/README.md @@ -0,0 +1,6 @@ +# SUSE Edge: Akri extension for Rancher Dashboard + +An extension for Rancher Dashboard allowing to manage heterogenous leaf devices and their workloads. + +For more information on SUSE Edge see https://suse-edge.github.io/ \ +For more information on Kubevirt see https://docs.akri.sh/ diff --git a/charts/akri-dashboard-extension/1.2.0/templates/_helpers.tpl b/charts/akri-dashboard-extension/1.2.0/templates/_helpers.tpl new file mode 100644 index 00000000..170f9419 --- /dev/null +++ b/charts/akri-dashboard-extension/1.2.0/templates/_helpers.tpl @@ -0,0 +1,63 @@ +{{/* +Expand the name of the chart. +*/}} +{{- define "extension-server.name" -}} +{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }} +{{- end }} + +{{/* +Create a default fully qualified app name. +We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). +If release name contains chart name it will be used as a full name. +*/}} +{{- define "extension-server.fullname" -}} +{{- if .Values.fullnameOverride }} +{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }} +{{- else }} +{{- $name := default .Chart.Name .Values.nameOverride }} +{{- if contains $name .Release.Name }} +{{- .Release.Name | trunc 63 | trimSuffix "-" }} +{{- else }} +{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }} +{{- end }} +{{- end }} +{{- end }} + + +{{/* +Create chart name and version as used by the chart label. +*/}} +{{- define "extension-server.chart" -}} +{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }} +{{- end }} + +{{/* +Common labels +*/}} +{{- define "extension-server.labels" -}} +helm.sh/chart: {{ include "extension-server.chart" . }} +{{ include "extension-server.selectorLabels" . }} +{{- if .Chart.AppVersion }} +app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} +{{- end }} +app.kubernetes.io/managed-by: {{ .Release.Service }} +{{- end }} + +{{/* +Selector labels +*/}} +{{- define "extension-server.selectorLabels" -}} +app.kubernetes.io/name: {{ include "extension-server.name" . }} +app.kubernetes.io/instance: {{ .Release.Name }} +{{- end }} + +{{/* +Pkg annotations +*/}} +{{- define "extension-server.pluginMetadata" -}} +{{- with .Values.plugin.metadata }} +{{- range $key, $value := . }} +{{ $key }}: {{ $value | quote }} +{{- end }} +{{- end }} +{{- end }} \ No newline at end of file diff --git a/charts/akri-dashboard-extension/1.2.0/templates/cr.yaml b/charts/akri-dashboard-extension/1.2.0/templates/cr.yaml new file mode 100644 index 00000000..b6f874b8 --- /dev/null +++ b/charts/akri-dashboard-extension/1.2.0/templates/cr.yaml @@ -0,0 +1,14 @@ +apiVersion: catalog.cattle.io/v1 +kind: UIPlugin +metadata: + name: {{ include "extension-server.fullname" . }} + namespace: {{ .Release.Namespace }} + labels: {{ include "extension-server.labels" . | nindent 4 }} +spec: + plugin: + name: {{ include "extension-server.fullname" . }} + version: {{ (semver (default .Chart.AppVersion .Values.plugin.versionOverride)).Original }} + endpoint: https://raw.githubusercontent.com/suse-edge/dashboard-extensions/gh-pages/extensions/akri-dashboard-extension/1.2.0 + noCache: {{ .Values.plugin.noCache }} + noAuth: {{ .Values.plugin.noAuth }} + metadata: {{ include "extension-server.pluginMetadata" . | indent 6 }} \ No newline at end of file diff --git a/charts/akri-dashboard-extension/1.2.0/values.yaml b/charts/akri-dashboard-extension/1.2.0/values.yaml new file mode 100644 index 00000000..99a1309f --- /dev/null +++ b/charts/akri-dashboard-extension/1.2.0/values.yaml @@ -0,0 +1,12 @@ +nameOverride: "" +fullnameOverride: "" +plugin: + enabled: true + versionOverride: "" + noCache: false + noAuth: false + metadata: + catalog.cattle.io/display-name: Akri + catalog.cattle.io/rancher-version: ">= 2.10.0-0" + catalog.cattle.io/ui-extensions-version: ">= 3.0.0" + catalog.cattle.io/kube-version: ">= v1.26.0-0" diff --git a/index.html b/index.html index 5a9edfb2..ef5bf097 100755 --- a/index.html +++ b/index.html @@ -157,14 +157,14 @@

Charts

- +

akri-dashboard-extension - (1.1.0@1.1.0) + (1.2.0@1.2.0) github link diff --git a/index.yaml b/index.yaml index b56350a5..5df0ff29 100755 --- a/index.yaml +++ b/index.yaml @@ -27,6 +27,28 @@ entries: - assets/akri/akri-0.10.4.tgz version: 0.10.4 akri-dashboard-extension: + - annotations: + catalog.cattle.io/certified: rancher + catalog.cattle.io/display-name: Akri + catalog.cattle.io/kube-version: '>= v1.26.0-0' + catalog.cattle.io/namespace: cattle-ui-plugin-system + catalog.cattle.io/os: linux + catalog.cattle.io/permits-os: linux, windows + catalog.cattle.io/rancher-version: '>= 2.10.0-0' + catalog.cattle.io/scope: management + catalog.cattle.io/ui-component: plugins + catalog.cattle.io/ui-extensions-version: '>= 3.0.0' + apiVersion: v2 + appVersion: 1.2.0 + created: "2024-11-15T12:31:57.799324+01:00" + description: 'SUSE Edge: Akri extension for Rancher Dashboard' + digest: e04fd8820a574e1b1a7c5b6f86d5de53d94e73e2cfc2daaaa81400ad4660a710 + icon: https://raw.githubusercontent.com/cncf/artwork/main/projects/akri/icon/color/akri-icon-color.svg + name: akri-dashboard-extension + type: application + urls: + - assets/akri-dashboard-extension/akri-dashboard-extension-1.2.0.tgz + version: 1.2.0 - annotations: catalog.cattle.io/certified: rancher catalog.cattle.io/display-name: Akri diff --git a/packages/akri-dashboard-extension/package.yaml b/packages/akri-dashboard-extension/package.yaml index 81113db3..aa5e3bc6 100644 --- a/packages/akri-dashboard-extension/package.yaml +++ b/packages/akri-dashboard-extension/package.yaml @@ -1 +1 @@ -url: https://github.com/suse-edge/dashboard-extensions/raw/gh-pages/assets/akri-dashboard-extension/akri-dashboard-extension-1.1.0.tgz +url: https://github.com/suse-edge/dashboard-extensions/raw/gh-pages/assets/akri-dashboard-extension/akri-dashboard-extension-1.2.0.tgz