Skip to content

Commit

Permalink
Merge pull request #40 from aalves08/bump-release-elemental-1.3.0
Browse files Browse the repository at this point in the history
Bump and release Elemental 1.3.0
  • Loading branch information
aalves08 committed Feb 8, 2024
2 parents 6c20b66 + 3083263 commit 6cb28af
Show file tree
Hide file tree
Showing 29 changed files with 324 additions and 2 deletions.
Binary file added assets/elemental/elemental-1.3.0.tgz
Binary file not shown.
18 changes: 18 additions & 0 deletions charts/elemental/1.3.0/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.7.0-0'
catalog.cattle.io/scope: management
catalog.cattle.io/ui-component: plugins
catalog.cattle.io/ui-version: '>= 2.7.2'
apiVersion: v2
appVersion: 1.3.0
description: OS Management extension
name: elemental
type: application
version: 1.3.0
icon: >-
https://raw.githubusercontent.com/rancher/ui-plugin-charts/main/icons/elemental/1.3.0-icon-v2.svg
15 changes: 15 additions & 0 deletions charts/elemental/1.3.0/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# OS Management Extension

Adds support for OS Management to Rancher Manager through Elemental.


Elemental is a software stack enabling a centralized, full cloud-native OS management with Kubernetes.

Cluster Node OSes are built and maintained via container images through the Elemental Toolkit and installed on new hosts using the Elemental CLI.

The Elemental Operator and the Rancher System Agent enable Rancher Manager to fully control Elemental clusters, from the installation and management of the OS on the Nodes to the provisioning of new K3s or RKE2 clusters in a centralized way.

For more details take a look at the documentation regarding [Elemental](https://elemental.docs.rancher.com/).


**IMPORTANT NOTE**: In order to have access to OS Management in Rancher Manager, installation of the Elemental Operator is required. Instructions for installing it can be found [here](https://elemental.docs.rancher.com/quickstart-cli#install-elemental-operator).
52 changes: 52 additions & 0 deletions charts/elemental/1.3.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/elemental/1.3.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/elemental/1.3.0
noCache: {{ .Values.plugin.noCache }}
6 changes: 6 additions & 0 deletions charts/elemental/1.3.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
19 changes: 19 additions & 0 deletions extensions/elemental/1.3.0/files.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
plugin/elemental-1.3.0.umd.min.7.js
plugin/elemental-1.3.0.umd.min.7.js.map
plugin/elemental-1.3.0.umd.min.8.js
plugin/elemental-1.3.0.umd.min.8.js.map
plugin/elemental-1.3.0.umd.min.detail.js
plugin/elemental-1.3.0.umd.min.detail.js.map
plugin/elemental-1.3.0.umd.min.edit.js
plugin/elemental-1.3.0.umd.min.edit.js.map
plugin/elemental-1.3.0.umd.min.js
plugin/elemental-1.3.0.umd.min.js.map
plugin/elemental-1.3.0.umd.min.machine-config.js
plugin/elemental-1.3.0.umd.min.machine-config.js.map
plugin/elemental-1.3.0.umd.min.vendors~detail~edit.js
plugin/elemental-1.3.0.umd.min.vendors~detail~edit.js.map
plugin/elemental-1.3.0.umd.min.vendors~edit.js
plugin/elemental-1.3.0.umd.min.vendors~edit.js.map
plugin/elemental-1.3.0.umd.min.vendors~machine-config.js
plugin/elemental-1.3.0.umd.min.vendors~machine-config.js.map
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.

Loading

0 comments on commit 6cb28af

Please sign in to comment.