-
Notifications
You must be signed in to change notification settings - Fork 13
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
github-actions[bot]
committed
Aug 30, 2024
1 parent
6aada48
commit 0323a9d
Showing
24 changed files
with
209 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
annotations: | ||
catalog.cattle.io/certified: rancher | ||
catalog.cattle.io/kube-version: '>= 1.16.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.9.0 < 2.10.0' | ||
catalog.cattle.io/scope: management | ||
catalog.cattle.io/ui-component: plugins | ||
catalog.cattle.io/ui-extensions-version: '>= 2.0.1' | ||
apiVersion: v2 | ||
appVersion: 0.5.0 | ||
description: Tech Preview - Rancher Prime Observability Extension | ||
name: observability | ||
type: application | ||
version: 0.5.0 | ||
icon: https://raw.githubusercontent.com/rancher/ui-plugin-charts/main/icons/observability/0.5.0-rancher-observability.svg |
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,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 }} |
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,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/rancher/ui-plugin-charts/main/extensions/observability/0.5.0 | ||
noCache: {{ .Values.plugin.noCache }} | ||
noAuth: {{ .Values.plugin.noAuth }} | ||
metadata: {{ include "extension-server.pluginMetadata" . | indent 6 }} |
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,11 @@ | ||
nameOverride: "" | ||
fullnameOverride: "" | ||
plugin: | ||
enabled: true | ||
versionOverride: "" | ||
noCache: false | ||
noAuth: false | ||
metadata: | ||
catalog.cattle.io/kube-version: ">= 1.16.0-0" | ||
catalog.cattle.io/rancher-version: ">= 2.9.0 < 2.10.0" | ||
catalog.cattle.io/ui-extensions-version: ">= 2.0.1" |
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 @@ | ||
plugin/img/rancher-observability.3cc5997d.svg | ||
plugin/observability-0.5.0.umd.min.2.js | ||
plugin/observability-0.5.0.umd.min.2.js.map | ||
plugin/observability-0.5.0.umd.min.3.js | ||
plugin/observability-0.5.0.umd.min.3.js.map | ||
plugin/observability-0.5.0.umd.min.4.js | ||
plugin/observability-0.5.0.umd.min.4.js.map | ||
plugin/observability-0.5.0.umd.min.5.js | ||
plugin/observability-0.5.0.umd.min.5.js.map | ||
plugin/observability-0.5.0.umd.min.6.js | ||
plugin/observability-0.5.0.umd.min.6.js.map | ||
plugin/observability-0.5.0.umd.min.formatters.js | ||
plugin/observability-0.5.0.umd.min.formatters.js.map | ||
plugin/observability-0.5.0.umd.min.js | ||
plugin/observability-0.5.0.umd.min.js.map | ||
plugin/package.json |
4 changes: 4 additions & 0 deletions
4
extensions/observability/0.5.0/plugin/img/rancher-observability.3cc5997d.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions
2
extensions/observability/0.5.0/plugin/observability-0.5.0.umd.min.2.js
Large diffs are not rendered by default.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
extensions/observability/0.5.0/plugin/observability-0.5.0.umd.min.2.js.map
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 2 additions & 0 deletions
2
extensions/observability/0.5.0/plugin/observability-0.5.0.umd.min.3.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/observability/0.5.0/plugin/observability-0.5.0.umd.min.3.js.map
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 2 additions & 0 deletions
2
extensions/observability/0.5.0/plugin/observability-0.5.0.umd.min.4.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/observability/0.5.0/plugin/observability-0.5.0.umd.min.4.js.map
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.