Skip to content

Commit

Permalink
Release Kubewarden 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jordojordo committed Jul 6, 2023
1 parent 05e6b76 commit 91532e8
Show file tree
Hide file tree
Showing 34 changed files with 283 additions and 2 deletions.
Binary file added assets/kubewarden/kubewarden-1.1.0.tgz
Binary file not shown.
16 changes: 16 additions & 0 deletions charts/kubewarden/1.1.0/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
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: "1.1.0"
description: Kubewarden extension for Rancher Manager
name: kubewarden
type: application
version: 1.1.0
icon: https://raw.githubusercontent.com/rancher/ui-plugin-charts/main/icons/kubewarden/1.1.0-icon-kubewarden.svg
7 changes: 7 additions & 0 deletions charts/kubewarden/1.1.0/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Kubewarden Extension for Rancher Manager

An extension for Rancher Manager (v2.7.0) which allows you to interact with Kubewarden.

After installation, go to a cluster and you will see a new side navigation entry 'Kubewarden'. This will allow you to install Kubewarden into the cluster and manage Kubewarden resources and configuration.

For more information see https://www.kubewarden.io/
52 changes: 52 additions & 0 deletions charts/kubewarden/1.1.0/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/kubewarden/1.1.0/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/rancher/ui-plugin-charts/main/extensions/kubewarden/1.1.0
noCache: {{ .Values.plugin.noCache }}
6 changes: 6 additions & 0 deletions charts/kubewarden/1.1.0/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
nameOverride: ""
fullnameOverride: ""
plugin:
enabled: true
versionOverride: ""
noCache: false
24 changes: 24 additions & 0 deletions extensions/kubewarden/1.1.0/files.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
plugin/img/icon-kubewarden.3c183b75.svg
plugin/kubewarden-1.1.0.umd.min.10.js
plugin/kubewarden-1.1.0.umd.min.10.js.map
plugin/kubewarden-1.1.0.umd.min.9.js
plugin/kubewarden-1.1.0.umd.min.9.js.map
plugin/kubewarden-1.1.0.umd.min.detail.js
plugin/kubewarden-1.1.0.umd.min.detail.js.map
plugin/kubewarden-1.1.0.umd.min.dialog.js
plugin/kubewarden-1.1.0.umd.min.dialog.js.map
plugin/kubewarden-1.1.0.umd.min.edit.js
plugin/kubewarden-1.1.0.umd.min.edit.js.map
plugin/kubewarden-1.1.0.umd.min.formatters.js
plugin/kubewarden-1.1.0.umd.min.formatters.js.map
plugin/kubewarden-1.1.0.umd.min.js
plugin/kubewarden-1.1.0.umd.min.js.map
plugin/kubewarden-1.1.0.umd.min.list.js
plugin/kubewarden-1.1.0.umd.min.list.js.map
plugin/kubewarden-1.1.0.umd.min.vendors~detail.js
plugin/kubewarden-1.1.0.umd.min.vendors~detail.js.map
plugin/kubewarden-1.1.0.umd.min.vendors~edit.js
plugin/kubewarden-1.1.0.umd.min.vendors~edit.js.map
plugin/kubewarden-1.1.0.umd.min.vendors~markdown.js
plugin/kubewarden-1.1.0.umd.min.vendors~markdown.js.map
plugin/package.json
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

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

Large diffs are not rendered by default.

Loading

0 comments on commit 91532e8

Please sign in to comment.