Skip to content

Commit

Permalink
CI Build Artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
jordojordo committed Jul 6, 2023
1 parent 1c676e8 commit 589cff4
Show file tree
Hide file tree
Showing 33 changed files with 289 additions and 10 deletions.
28 changes: 24 additions & 4 deletions assets/index.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,26 @@
apiVersion: v1
entries:
kubewarden:
- 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: 1.1.0
created: "2023-07-06T19:36:21.596123043Z"
description: Kubewarden extension for Rancher Manager
digest: 5579b822ef0c9784beb7ff577fea9eb330128b3be375d1d96fbe4a978daa6f8f
icon: https://raw.githubusercontent.com/kubewarden/ui/main/pkg/kubewarden/assets/icon-kubewarden.svg
name: kubewarden
type: application
urls:
- kubewarden/kubewarden-1.1.0.tgz
version: 1.1.0
- annotations:
catalog.cattle.io/certified: rancher
catalog.cattle.io/kube-version: '>= 1.16.0-0 < 1.28.0-0'
Expand All @@ -12,14 +32,14 @@ entries:
catalog.cattle.io/ui-component: plugins
apiVersion: v2
appVersion: 1.1.0-rc1
created: "2023-07-06T14:46:51.904328409Z"
created: "2023-07-06T14:47:29.312643834Z"
description: Kubewarden extension for Rancher Manager
digest: c3880d3be28c0af8a8aa8eaa06b7c497dc730a0a01254283a39dda02dc3a6193
digest: 05523ef9a75e2953461695623a8e9b7c8a392538b6fcc6392f0098d1c08327ab
icon: https://raw.githubusercontent.com/kubewarden/ui/main/pkg/kubewarden/assets/icon-kubewarden.svg
name: kubewarden
type: application
urls:
- kubewarden/kubewarden-1.1.0-rc1.tgz
- https://github.com/kubewarden/ui/releases/download/kubewarden-1.1.0-rc1/kubewarden-1.1.0-rc1.tgz
version: 1.1.0-rc1
- annotations:
catalog.cattle.io/certified: rancher
Expand Down Expand Up @@ -881,4 +901,4 @@ entries:
urls:
- assets/kubewarden/kubewarden-0.1.0.tgz
version: 0.1.0
generated: "2023-07-06T14:46:51.903402699Z"
generated: "2023-07-06T19:36:21.595687946Z"
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/kubewarden/ui/main/pkg/kubewarden/assets/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/kubewarden/ui/gh-pages/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.
Loading

0 comments on commit 589cff4

Please sign in to comment.