diff --git a/packages/rke2-runtimeclasses/charts/Chart.yaml b/packages/rke2-runtimeclasses/charts/Chart.yaml new file mode 100644 index 0000000..445da51 --- /dev/null +++ b/packages/rke2-runtimeclasses/charts/Chart.yaml @@ -0,0 +1,12 @@ +apiVersion: v2 +name: rke2-runtimeclasses +description: Add the default runtime classes +version: 0.1.0 +appVersion: 0.1.0 +keywords: + - runtimeclasses +sources: + - https://github.com/rancher/rke2-charts +maintainers: + - name: Rancher Labs + email: charts@rancher.com \ No newline at end of file diff --git a/packages/rke2-runtimeclasses/charts/templates/NOTES.txt b/packages/rke2-runtimeclasses/charts/templates/NOTES.txt new file mode 100644 index 0000000..4317515 --- /dev/null +++ b/packages/rke2-runtimeclasses/charts/templates/NOTES.txt @@ -0,0 +1 @@ +Runtime classes have been installed. diff --git a/packages/rke2-runtimeclasses/charts/templates/runtimeclasses.yaml b/packages/rke2-runtimeclasses/charts/templates/runtimeclasses.yaml new file mode 100644 index 0000000..a8f2809 --- /dev/null +++ b/packages/rke2-runtimeclasses/charts/templates/runtimeclasses.yaml @@ -0,0 +1,8 @@ +{{- range .Values.runtimeClasses }} +apiVersion: node.k8s.io/v1 +kind: RuntimeClass +metadata: + name: {{ .name }} +handler: {{ .handler }} +--- +{{- end }} \ No newline at end of file diff --git a/packages/rke2-runtimeclasses/charts/values.yaml b/packages/rke2-runtimeclasses/charts/values.yaml new file mode 100644 index 0000000..b0b8a86 --- /dev/null +++ b/packages/rke2-runtimeclasses/charts/values.yaml @@ -0,0 +1,7 @@ +runtimeClasses: + - name: nvidia + handler: nvidia + - name: nvidia-experimental + handler: nvidia-experimental + - name: crun + handler: crun \ No newline at end of file diff --git a/packages/rke2-runtimeclasses/package.yaml b/packages/rke2-runtimeclasses/package.yaml new file mode 100644 index 0000000..3aeed30 --- /dev/null +++ b/packages/rke2-runtimeclasses/package.yaml @@ -0,0 +1,2 @@ +url: local +packageVersion: 00 \ No newline at end of file