Skip to content

Commit

Permalink
CI Build Artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
krumware committed Aug 15, 2023
1 parent f43e297 commit 65e0a05
Show file tree
Hide file tree
Showing 29 changed files with 336 additions and 6 deletions.
Binary file added assets/app-launcher/app-launcher-0.1.3.tgz
Binary file not shown.
50 changes: 44 additions & 6 deletions assets/index.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,25 @@
apiVersion: v1
entries:
app-launcher:
- annotations:
catalog.cattle.io/certified: rancher
catalog.cattle.io/kube-version: '>= 1.16.0-0 < 1.28.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.7.0-0 < 2.8.0-0'
catalog.cattle.io/scope: management
catalog.cattle.io/ui-component: plugins
apiVersion: v2
appVersion: 0.1.3
created: "2023-08-15T19:20:19.521045575Z"
description: app-launcher plugin
digest: 226733e2d3ba5f0ee476238653c9be36731f857fb80548e9804f10e9470d7342
name: app-launcher
type: application
urls:
- assets/app-launcher/app-launcher-0.1.3.tgz
version: 0.1.3
- annotations:
catalog.cattle.io/certified: rancher
catalog.cattle.io/kube-version: '>= 1.16.0-0 < 1.28.0-0'
Expand All @@ -12,13 +31,13 @@ entries:
catalog.cattle.io/ui-component: plugins
apiVersion: v2
appVersion: 0.1.2
created: "2023-08-15T17:40:11.522691283Z"
created: "2023-08-15T17:40:33.188258401Z"
description: app-launcher plugin
digest: 640ea319c2f6e3580aa7245079bb38e637da2045240a7d999d5f03f5f8d1f0e7
digest: 51e716a652dc28e36ea05d187e2c5880a4ba5d9c9dab4f3f7bfbce54a07d132a
name: app-launcher
type: application
urls:
- assets/app-launcher/app-launcher-0.1.2.tgz
- https://github.com/krumIO/krum-rancher-extensions-demo/releases/download/app-launcher-0.1.2/app-launcher-0.1.2.tgz
version: 0.1.2
- annotations:
catalog.cattle.io/certified: rancher
Expand All @@ -40,6 +59,25 @@ entries:
- assets/app-launcher/app-launcher-0.1.1.tgz
version: 0.1.1
pirate-locale:
- annotations:
catalog.cattle.io/certified: rancher
catalog.cattle.io/kube-version: '>= 1.16.0-0 < 1.28.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.7.0-0 < 2.8.0-0'
catalog.cattle.io/scope: management
catalog.cattle.io/ui-component: plugins
apiVersion: v2
appVersion: 0.1.2
created: "2023-08-15T19:20:19.521417097Z"
description: pirate-locale plugin
digest: 1bb0ee729676bc7c788aabab18bd7e39953ae881f8b9c778a7a4ce20d0558466
name: pirate-locale
type: application
urls:
- assets/pirate-locale/pirate-locale-0.1.2.tgz
version: 0.1.2
- annotations:
catalog.cattle.io/certified: rancher
catalog.cattle.io/kube-version: '>= 1.16.0-0 < 1.28.0-0'
Expand All @@ -51,12 +89,12 @@ entries:
catalog.cattle.io/ui-component: plugins
apiVersion: v2
appVersion: 0.1.1
created: "2023-08-15T17:40:11.52311049Z"
created: "2023-08-10T20:25:39.468858592Z"
description: pirate-locale plugin
digest: 1cda3a2ba6861989ee77506785d86d8002097b524b151395485fd721ee09e8ed
digest: 70f5d88c2ce29f4860faae25ef7c41fd460c431366cf371e954473fefa156d05
name: pirate-locale
type: application
urls:
- assets/pirate-locale/pirate-locale-0.1.1.tgz
version: 0.1.1
generated: "2023-08-15T17:40:11.521834869Z"
generated: "2023-08-15T19:20:19.516447607Z"
Binary file added assets/pirate-locale/pirate-locale-0.1.2.tgz
Binary file not shown.
15 changes: 15 additions & 0 deletions charts/app-launcher/0.1.3/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
annotations:
catalog.cattle.io/certified: rancher # Any application we are adding as a helm chart
catalog.cattle.io/kube-version: '>= 1.16.0-0 < 1.28.0-0'
catalog.cattle.io/namespace: cattle-ui-plugin-system # Must prefix with cattle- and suffix with -system=
catalog.cattle.io/os: linux
catalog.cattle.io/permits-os: linux, windows
catalog.cattle.io/rancher-version: '>= 2.7.0-0 < 2.8.0-0'
catalog.cattle.io/scope: management
catalog.cattle.io/ui-component: plugins
apiVersion: v2
appVersion: "0.1.3"
description: app-launcher plugin
name: app-launcher
type: application
version: 0.1.3
23 changes: 23 additions & 0 deletions charts/app-launcher/0.1.3/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Rancher App Launcher Extension

Rancher App Launcher Extension is a powerful tool for improved accessibility and resource discovery within the Rancher ecosystem. The extension is designed to extract ingresses from various clusters and consolidate them into a unified global resource page. With neatly organized cards for each discovered service, the tool offers an efficient method of displaying and accessing your Rancher services, making the Rancher experience seamless for both new and experienced users.

## How to Run

1. Clone this repository to your machine.
2. Install the npm dependencies using the command "yarn install".
3. Run the extension with the command "API=<Rancher Backend URL> yarn dev".

## Usage

Once the Rancher App Launcher Extension is installed, you can access a unified resource page from the main dashboard. This page showcases cards for each discovered service, allowing you to conveniently open the service with a simple click. The extension is designed to improve discoverability, and offer a straightforward way to navigate the complexities of multi-cluster environments.

## Contribution

Your contribution matters! If you're looking to enhance the functionalities of this extension or have innovative ideas to improve the discoverability further, we warmly welcome pull requests. Let's make the Rancher environment more user-friendly together!

## Support

If you encounter any issues, have questions or suggestions, please file them in our issue tracker. We're committed to providing a smooth user experience and appreciate your feedback to continually improve.

Rancher App Launcher Extension is here to address the need for effective discoverability within the Rancher platform. Let's make resource navigation simpler and more efficient!
52 changes: 52 additions & 0 deletions charts/app-launcher/0.1.3/templates/_helpers.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{{/*
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 }}
12 changes: 12 additions & 0 deletions charts/app-launcher/0.1.3/templates/cr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
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/krumIO/krum-rancher-extensions-demo/gh-pages/extensions/app-launcher/0.1.3
noCache: {{ .Values.plugin.noCache }}
6 changes: 6 additions & 0 deletions charts/app-launcher/0.1.3/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
nameOverride: ""
fullnameOverride: ""
plugin:
enabled: true
versionOverride: ""
noCache: false
15 changes: 15 additions & 0 deletions charts/pirate-locale/0.1.2/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
annotations:
catalog.cattle.io/certified: rancher # Any application we are adding as a helm chart
catalog.cattle.io/kube-version: '>= 1.16.0-0 < 1.28.0-0'
catalog.cattle.io/namespace: cattle-ui-plugin-system # Must prefix with cattle- and suffix with -system=
catalog.cattle.io/os: linux
catalog.cattle.io/permits-os: linux, windows
catalog.cattle.io/rancher-version: '>= 2.7.0-0 < 2.8.0-0'
catalog.cattle.io/scope: management
catalog.cattle.io/ui-component: plugins
apiVersion: v2
appVersion: "0.1.2"
description: pirate-locale plugin
name: pirate-locale
type: application
version: 0.1.2
29 changes: 29 additions & 0 deletions charts/pirate-locale/0.1.2/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Pirate Locale Extension

Arr matey, if ye be a fan o' the salty seadog life, ye be findin' yerself in the right place. This 'ere be a joke Rancher Extension that adds a new Pirate localization. Yo-ho-ho and a bottle of rum! Shiver me timbers, let's have some fun with our dev-ship!

Note: The localisation in this example be far from the full breadth of pirate lingo and merely illustrates how such a zany idear could be achieved. 'Tis a life full of jollification and japes, we be tellin' ye!

For this and other example plugins, see: https://github.com/rancher/ui-plugin-examples

## How to Run

1. Clone this here repository to yer machine.
2. Install the npm dependencies with a hearty "yarn install".
3. Run the extension with a rowdy "API=<Rancher Backend URL> yarn dev".

## How to Use

With the Pirate Locale Extension installed, ye'll be navigatin' yer Rancher UI in the ol' pirate speak! Just go to yer account settings, find the locale selection dropdown, and select "Pirate". Yer Rancher interface will now be speakin' like a true buccaneer!

## Contribution

All hands on deck! If ye be willin' to add more pirate speak to the extension, feel free to make a pull request. We welcome all old salts and landlubbers alike!

## Support

Got a bone to pick? Ye can raise yer issues in the issue tracker and we'll be sure to take a gander.

Remember, this be a joke extension. Don't take it too seriously. Have fun, let loose, and maybe ye'll find ye got a bit o' the pirate in ye!

Fair winds and followin' seas, me hearties!
52 changes: 52 additions & 0 deletions charts/pirate-locale/0.1.2/templates/_helpers.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{{/*
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 }}
12 changes: 12 additions & 0 deletions charts/pirate-locale/0.1.2/templates/cr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
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/krumIO/krum-rancher-extensions-demo/gh-pages/extensions/pirate-locale/0.1.2
noCache: {{ .Values.plugin.noCache }}
6 changes: 6 additions & 0 deletions charts/pirate-locale/0.1.2/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
nameOverride: ""
fullnameOverride: ""
plugin:
enabled: true
versionOverride: ""
noCache: false
9 changes: 9 additions & 0 deletions extensions/app-launcher/0.1.3/files.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
plugin/app-launcher-0.1.3.umd.min.1.js
plugin/app-launcher-0.1.3.umd.min.1.js.map
plugin/app-launcher-0.1.3.umd.min.2.js
plugin/app-launcher-0.1.3.umd.min.2.js.map
plugin/app-launcher-0.1.3.umd.min.3.js
plugin/app-launcher-0.1.3.umd.min.3.js.map
plugin/app-launcher-0.1.3.umd.min.js
plugin/app-launcher-0.1.3.umd.min.js.map
plugin/package.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 65e0a05

Please sign in to comment.