-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
194 additions
and
6 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
annotations: | ||
catalog.cattle.io/certified: rancher | ||
catalog.cattle.io/kube-version: '>= v1.16.0-0 < v1.29.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: '>= v2.7.9' | ||
catalog.cattle.io/scope: management | ||
catalog.cattle.io/ui-component: plugins | ||
catalog.cattle.io/display-name: 'Krum Platform Tools: App Launcher' | ||
apiVersion: v2 | ||
appVersion: 0.1.22 | ||
description: App Launcher plugin for Rancher | ||
name: app-launcher | ||
type: application | ||
version: 0.1.22 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# 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 locally 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 and ingress, 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.* | ||
- Global apps will show at the top as a combination of global apps defined by cluster YAML files and user-selected favorites | ||
*\*note: global apps can be set by modifying the service's `metadata.annotations['extensions.applauncher/global-app']` to 'true'* | ||
- Select different clusters to view the services of. Global Apps perisist across all views. | ||
- The view can be changed with the view buttons from grid to list views. | ||
|
||
## 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! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/gh-pages/extensions/app-launcher/0.1.22 | ||
noCache: {{ .Values.plugin.noCache }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
nameOverride: "" | ||
fullnameOverride: "" | ||
plugin: | ||
enabled: true | ||
versionOverride: "" | ||
noCache: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
plugin/app-launcher-0.1.22.umd.min.1.js | ||
plugin/app-launcher-0.1.22.umd.min.1.js.map | ||
plugin/app-launcher-0.1.22.umd.min.2.js | ||
plugin/app-launcher-0.1.22.umd.min.2.js.map | ||
plugin/app-launcher-0.1.22.umd.min.js | ||
plugin/app-launcher-0.1.22.umd.min.js.map | ||
plugin/fonts/icons.068811ed.ttf | ||
plugin/fonts/icons.e89f53cc.woff | ||
plugin/img/icons.3fcacc81.svg | ||
plugin/package.json |
2 changes: 2 additions & 0 deletions
2
extensions/app-launcher/0.1.22/plugin/app-launcher-0.1.22.umd.min.1.js
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
extensions/app-launcher/0.1.22/plugin/app-launcher-0.1.22.umd.min.1.js.map
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
2 changes: 2 additions & 0 deletions
2
extensions/app-launcher/0.1.22/plugin/app-launcher-0.1.22.umd.min.2.js
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
extensions/app-launcher/0.1.22/plugin/app-launcher-0.1.22.umd.min.2.js.map
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
16 changes: 16 additions & 0 deletions
16
extensions/app-launcher/0.1.22/plugin/app-launcher-0.1.22.umd.min.js
Large diffs are not rendered by default.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
extensions/app-launcher/0.1.22/plugin/app-launcher-0.1.22.umd.min.js.map
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"name": "app-launcher", | ||
"description": "App Launcher plugin for Rancher", | ||
"version": "0.1.22", | ||
"private": false, | ||
"rancher": true, | ||
"engines": { | ||
"node": ">=12" | ||
}, | ||
"devDependencies": { | ||
"@vue/cli-plugin-babel": "4.5.18", | ||
"@vue/cli-service": "4.5.18", | ||
"@vue/cli-plugin-typescript": "4.5.18" | ||
}, | ||
"files": [ | ||
"**/*" | ||
], | ||
"main": "app-launcher-0.1.22.umd.min.js" | ||
} |