Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 21 additions & 1 deletion assets/index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -816,6 +816,26 @@ entries:
urls:
- assets/node-driver/openstack-1.0.0.tgz
version: 1.0.0
primetranslationsimages:
- annotations:
catalog.cattle.io/certified: rancher
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.14.0'
catalog.cattle.io/scope: management
catalog.cattle.io/ui-component: plugins
catalog.cattle.io/ui-extensions-version: '>= 3.0.0 < 4.0.0'
apiVersion: v2
appVersion: 0.1.0
created: "2026-03-12T15:32:04.498791979Z"
description: prime-translations-images plugin
digest: da18d1c7bf15773a1d76692e7a529403ef73eab3a762995338e6191ae50e6b21
name: primetranslationsimages
type: application
urls:
- assets/primetranslationsimages/primetranslationsimages-0.1.0.tgz
version: 0.1.0
shell-api-demo:
- annotations:
catalog.cattle.io/certified: rancher
Expand Down Expand Up @@ -1002,4 +1022,4 @@ entries:
urls:
- assets/uk-locale/uk-locale-0.1.1.tgz
version: 0.1.1
generated: "2026-03-10T11:04:07.098093759Z"
generated: "2026-03-12T15:32:04.498064624Z"
Binary file not shown.
15 changes: 15 additions & 0 deletions charts/primetranslationsimages/0.1.0/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
annotations:
catalog.cattle.io/certified: rancher
catalog.cattle.io/namespace: cattle-ui-plugin-system
catalog.cattle.io/os: linux
catalog.cattle.io/permits-os: linux, windows
catalog.cattle.io/scope: management
catalog.cattle.io/ui-component: plugins
catalog.cattle.io/rancher-version: '>= 2.14.0'
catalog.cattle.io/ui-extensions-version: '>= 3.0.0 < 4.0.0'
apiVersion: v2
appVersion: 0.1.0
description: prime-translations-images plugin
name: primetranslationsimages
type: application
version: 0.1.0
63 changes: 63 additions & 0 deletions charts/primetranslationsimages/0.1.0/templates/_helpers.tpl
Original file line number Diff line number Diff line change
@@ -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 | replace "+" "_" | 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 }}
15 changes: 15 additions & 0 deletions charts/primetranslationsimages/0.1.0/templates/cr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
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: {{ .Values.plugin.endpoint | quote }}
compressedEndpoint: {{ .Values.plugin.compressedEndpoint | quote }}
noCache: {{ .Values.plugin.noCache }}
noAuth: {{ .Values.plugin.noAuth }}
metadata: {{ include "extension-server.pluginMetadata" . | indent 6 }}
14 changes: 14 additions & 0 deletions charts/primetranslationsimages/0.1.0/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
nameOverride: ""
fullnameOverride: ""
plugin:
enabled: true
versionOverride: ""
endpoint: >-
https://raw.githubusercontent.com/rancher/ui-plugin-examples/main/extensions/primetranslationsimages/0.1.0
compressedEndpoint: >-
https://raw.githubusercontent.com/rancher/ui-plugin-examples/main/extensions/primetranslationsimages/0.1.0.tgz
noCache: false
noAuth: false
metadata:
catalog.cattle.io/rancher-version: ">= 2.14.0"
catalog.cattle.io/ui-extensions-version: ">= 3.0.0 < 4.0.0"
Binary file added extensions/primetranslationsimages/0.1.0.tgz
Binary file not shown.
11 changes: 11 additions & 0 deletions extensions/primetranslationsimages/0.1.0/files.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
plugin/img/banner.00f803a6.svg
plugin/img/banner.245c572a.svg
plugin/img/banner.e66743c3.svg
plugin/img/banner.ee2db63b.svg
plugin/img/rancher-logo.8dca6972.svg
plugin/img/rancher-logo.af9af640.svg
plugin/img/rancher-logo.d26f6ac6.svg
plugin/img/rancher-logo.db10c962.svg
plugin/package.json
plugin/primetranslationsimages-0.1.0.umd.min.js
plugin/primetranslationsimages-0.1.0.umd.min.js.map
Loading