Skip to content

Commit

Permalink
CI Build Artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed May 10, 2024
1 parent fca55b5 commit d5669cc
Show file tree
Hide file tree
Showing 19 changed files with 252 additions and 32 deletions.
Binary file added assets/app-launcher/app-launcher-0.1.30.tgz
Binary file not shown.
59 changes: 28 additions & 31 deletions assets/index.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,28 @@
apiVersion: v1
entries:
app-launcher:
- annotations:
catalog.cattle.io/certified: rancher
catalog.cattle.io/display-name: 'Krum Platform Tools: App Launcher'
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: '>= 2.8.0-0'
catalog.cattle.io/scope: management
catalog.cattle.io/ui-component: plugins
catalog.cattle.io/ui-version: '>= 2.7.2'
apiVersion: v2
appVersion: 0.1.30
created: "2024-05-10T18:59:50.638594433Z"
description: App Launcher extension for Rancher
digest: e95f9fc721498631a5198c0459a6e403bf4ff5e36e2b5a99272d8722c0d73b6e
icon: https://raw.githubusercontent.com/krumIO/krum-rancher-extensions/main/pkg/app-launcher/icon.svg
name: app-launcher
type: application
urls:
- assets/app-launcher/app-launcher-0.1.30.tgz
version: 0.1.30
- annotations:
catalog.cattle.io/certified: rancher
catalog.cattle.io/display-name: 'Krum Platform Tools: App Launcher'
Expand Down Expand Up @@ -470,50 +492,25 @@ entries:
urls:
- assets/app-launcher/app-launcher-0.1.1.tgz
version: 0.1.1
extension-server:
- annotations:
catalog.cattle.io/certified: rancher
catalog.cattle.io/kube-version: '>= 1.16.0-0 < 1.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: '>= 2.7.0-0 < 2.9.0-0'
catalog.cattle.io/scope: management
catalog.cattle.io/ui-component: plugins
apiVersion: v2
appVersion: 0.1.0
created: "2024-05-10T18:46:36.407380321Z"
description: Extension server
digest: 213a6741cfe06a3e1c9cb003cf4291c80b68b645cd4309819e216fc6d8d3cabe
home: https://rancher.com
icon: https://docs.ranchermanager.rancher.io/img/rancher-logo-horiz-color.svg
keywords:
- applications
- infrastructure
name: extension-server
type: application
urls:
- assets/app-launcher/extension-server-0.1.0.tgz
version: 0.1.0
pirate-locale:
- annotations:
catalog.cattle.io/certified: rancher
catalog.cattle.io/kube-version: '>= 1.16.0-0 < 1.29.0-0'
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.9.0-0'
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: "2024-05-10T18:46:36.407595252Z"
created: "2023-08-15T19:20:59.427284663Z"
description: pirate-locale plugin
digest: d753706bf9492189a4142ec1cdf7e9632967a1e708d8db26805c80d39b98e81e
digest: ea65ac9760e8bae6249a3623972288feeb6d9005c858d6f2f1f0e43ef819b78a
name: pirate-locale
type: application
urls:
- assets/pirate-locale/pirate-locale-0.1.2.tgz
- https://github.com/krumIO/krum-rancher-extensions-demo/releases/download/pirate-locale-0.1.2/pirate-locale-0.1.2.tgz
version: 0.1.2
- annotations:
catalog.cattle.io/certified: rancher
Expand All @@ -534,4 +531,4 @@ entries:
urls:
- assets/pirate-locale/pirate-locale-0.1.1.tgz
version: 0.1.1
generated: "2024-05-10T18:46:36.406843549Z"
generated: "2024-05-10T18:59:50.637523917Z"
19 changes: 19 additions & 0 deletions charts/app-launcher/0.1.30/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
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: '>= 2.8.0-0'
catalog.cattle.io/scope: management
catalog.cattle.io/ui-component: plugins
catalog.cattle.io/display-name: 'Krum Platform Tools: App Launcher'
catalog.cattle.io/ui-version: '>= 2.7.2'
apiVersion: v2
appVersion: 0.1.30
description: App Launcher extension for Rancher
name: app-launcher
type: application
version: 0.1.30
icon: >-
https://raw.githubusercontent.com/krumIO/krum-rancher-extensions/main/pkg/app-launcher/icon.svg
58 changes: 58 additions & 0 deletions charts/app-launcher/0.1.30/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# Rancher App Launcher Extension

Rancher App Launcher Extension is a simple yet powerful tool for improved accessibility and resource discovery within Kubernetes. 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.

The extension intends to improve the discoverability of services and offer a straightforward way to navigate the complexities of multi-cluster environments.

<img src="./docs/images/preview.png" width="50%" alt="App Launcher Extension preview image">

## Features

- Unified resource page for all discovered services and ingresses
- Convenient access to services with a simple click
- Global apps section for user-selected favorites and global apps defined by cluster YAML files
- Grid and list views for easy navigation
- Multi-cluster support for viewing services across different clusters

## 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

### Tag "Global" Apps

Global apps will show at the top of the App Launcher page as a combination of global apps defined by cluster YAML files and user-selected favorites.

- Apps tagged in Yaml will persist for all users.
- (currently) User-selected favorites will only persist for the user who selected them and are stored in the browser's local storage.

To select a Service or Ingress as a Global App, add the following annotation to the Service or Ingress:

```yaml
metadata:
annotations:
extensions.applauncher/global-app: "true"
```
### Filter by Name
### Filter by Cluster
- 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.*
- 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!
52 changes: 52 additions & 0 deletions charts/app-launcher/0.1.30/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.30/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/gh-pages/extensions/app-launcher/0.1.30
noCache: {{ .Values.plugin.noCache }}
6 changes: 6 additions & 0 deletions charts/app-launcher/0.1.30/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
nameOverride: ""
fullnameOverride: ""
plugin:
enabled: true
versionOverride: ""
noCache: false
10 changes: 10 additions & 0 deletions extensions/app-launcher/0.1.30/files.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
plugin/app-launcher-0.1.30.umd.min.1.js
plugin/app-launcher-0.1.30.umd.min.1.js.map
plugin/app-launcher-0.1.30.umd.min.2.js
plugin/app-launcher-0.1.30.umd.min.2.js.map
plugin/app-launcher-0.1.30.umd.min.js
plugin/app-launcher-0.1.30.umd.min.js.map
plugin/fonts/icons.068811ed.ttf
plugin/fonts/icons.e89f53cc.woff
plugin/img/icons.3fcacc81.svg
plugin/package.json

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.

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

Loading

0 comments on commit d5669cc

Please sign in to comment.