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 Nov 25, 2024
1 parent 16af90f commit 8395ef2
Show file tree
Hide file tree
Showing 9 changed files with 173 additions and 2 deletions.
Binary file added assets/capi/capi-0.8.1.tgz
Binary file not shown.
24 changes: 23 additions & 1 deletion assets/index.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,28 @@
apiVersion: v1
entries:
capi:
- annotations:
catalog.cattle.io/certified: rancher
catalog.cattle.io/display-name: CAPI UI
catalog.cattle.io/experimental: "true"
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.10.0-0'
catalog.cattle.io/scope: management
catalog.cattle.io/ui-component: plugins
catalog.cattle.io/ui-extensions-version: '>= 3.0.0'
apiVersion: v2
appVersion: 0.8.1
created: "2024-11-25T20:36:17.791497923Z"
description: UI for CAPI cluster provisioning
digest: 8183904153e9d3092ac43422a3459904ddfab436ce417fccdac3f403a251bb72
name: capi
type: application
urls:
- assets/capi/capi-0.8.1.tgz
version: 0.8.1
- annotations:
catalog.cattle.io/certified: rancher
catalog.cattle.io/display-name: CAPI UI
Expand Down Expand Up @@ -248,4 +270,4 @@ entries:
urls:
- assets/capi/capi-0.1.0.tgz
version: 0.1.0
generated: "2024-11-25T20:14:22.09833689Z"
generated: "2024-11-25T20:36:17.791141989Z"
18 changes: 18 additions & 0 deletions charts/capi/0.8.1/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
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.10.0-0'
catalog.cattle.io/scope: management
catalog.cattle.io/ui-component: plugins
catalog.cattle.io/display-name: CAPI UI
catalog.cattle.io/experimental: 'true'
catalog.cattle.io/ui-extensions-version: '>= 3.0.0'
apiVersion: v2
appVersion: 0.8.1
description: UI for CAPI cluster provisioning
name: capi
type: application
version: 0.8.1
63 changes: 63 additions & 0 deletions charts/capi/0.8.1/templates/_helpers.tpl
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 }}
14 changes: 14 additions & 0 deletions charts/capi/0.8.1/templates/cr.yaml
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/capi-ui-extension/gh-pages/extensions/capi/0.8.1
noCache: {{ .Values.plugin.noCache }}
noAuth: {{ .Values.plugin.noAuth }}
metadata: {{ include "extension-server.pluginMetadata" . | indent 6 }}
12 changes: 12 additions & 0 deletions charts/capi/0.8.1/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
nameOverride: ""
fullnameOverride: ""
plugin:
enabled: true
versionOverride: ""
noCache: false
noAuth: false
metadata:
catalog.cattle.io/rancher-version: ">= 2.10.0-0"
catalog.cattle.io/display-name: CAPI UI
catalog.cattle.io/experimental: "true"
catalog.cattle.io/ui-extensions-version: ">= 3.0.0"
1 change: 1 addition & 0 deletions extensions/capi/0.8.1/files.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
plugin/package.json
19 changes: 19 additions & 0 deletions extensions/capi/0.8.1/plugin/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"name": "capi",
"description": "UI for CAPI cluster provisioning",
"version": "0.8.1",
"private": false,
"rancher": true,
"engines": {
"node": ">=20"
},
"devDependencies": {
"@vue/cli-plugin-babel": "5.0.8",
"@vue/cli-service": "5.0.8",
"@vue/cli-plugin-typescript": "5.0.8"
},
"files": [
"**/*"
],
"main": "capi-0.8.1.umd.min.js"
}
24 changes: 23 additions & 1 deletion index.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,28 @@
apiVersion: v1
entries:
capi:
- annotations:
catalog.cattle.io/certified: rancher
catalog.cattle.io/display-name: CAPI UI
catalog.cattle.io/experimental: "true"
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.10.0-0'
catalog.cattle.io/scope: management
catalog.cattle.io/ui-component: plugins
catalog.cattle.io/ui-extensions-version: '>= 3.0.0'
apiVersion: v2
appVersion: 0.8.1
created: "2024-11-25T20:36:17.791497923Z"
description: UI for CAPI cluster provisioning
digest: 8183904153e9d3092ac43422a3459904ddfab436ce417fccdac3f403a251bb72
name: capi
type: application
urls:
- assets/capi/capi-0.8.1.tgz
version: 0.8.1
- annotations:
catalog.cattle.io/certified: rancher
catalog.cattle.io/display-name: CAPI UI
Expand Down Expand Up @@ -248,4 +270,4 @@ entries:
urls:
- assets/capi/capi-0.1.0.tgz
version: 0.1.0
generated: "2024-11-25T20:14:22.09833689Z"
generated: "2024-11-25T20:36:17.791141989Z"

0 comments on commit 8395ef2

Please sign in to comment.