Skip to content

Commit

Permalink
addon updates
Browse files Browse the repository at this point in the history
update pcidevices controller to v0.3.1
  • Loading branch information
ibrokethecloud authored and bk201 committed Jan 24, 2024
1 parent 3857191 commit 25b4c5a
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 13 deletions.
33 changes: 26 additions & 7 deletions pkg/config/templates/rancherd-22-addons.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ resources:
namespace: harvester-system
spec:
repo: http://harvester-cluster-repo.cattle-system.svc/charts
version: "0.1.5"
version: "0.1.7"
chart: harvester-vm-import-controller
{{- if and .Addons .Addons.harvester_vm_import_controller }}
enabled: {{ .Addons.harvester_vm_import_controller.Enabled }}
Expand All @@ -15,7 +15,7 @@ resources:
{{- end }}
valuesContent: |
image:
tag: v0.1.5
tag: v0.1.7
fullnameOverride: harvester-vm-import-controller
- apiVersion: harvesterhci.io/v1beta1
kind: Addon
Expand All @@ -24,7 +24,7 @@ resources:
namespace: harvester-system
spec:
repo: http://harvester-cluster-repo.cattle-system.svc/charts
version: "0.2.5"
version: "0.3.1"
chart: harvester-pcidevices-controller
{{- if and .Addons .Addons.harvester_pcidevices_controller }}
enabled: {{ .Addons.harvester_pcidevices_controller.Enabled }}
Expand All @@ -33,7 +33,7 @@ resources:
{{- end }}
valuesContent: |
image:
tag: v0.2.5
tag: v0.3.1
fullnameOverride: harvester-pcidevices-controller
- apiVersion: harvesterhci.io/v1beta1
kind: Addon
Expand Down Expand Up @@ -208,7 +208,7 @@ resources:
addon.harvesterhci.io/experimental: "true"
spec:
repo: http://harvester-cluster-repo.cattle-system.svc/charts
version: "0.1.0"
version: "0.1.1"
chart: harvester-seeder
{{- if and .Addons .Addons.harvester_seeder}}
enabled: {{ .Addons.harvester_seeder.Enabled }}
Expand All @@ -217,5 +217,24 @@ resources:
{{- end }}
valuesContent: |
image:
tag: v0.1.0
fullnameOverride: harvester-seeder
tag: v0.1.1
fullnameOverride: harvester-seeder
- apiVersion: harvesterhci.io/v1beta1
kind: Addon
metadata:
name: nvidia-driver-toolkit
namespace: harvester-system
spec:
repo: http://harvester-cluster-repo.cattle-system.svc/charts
version: "0.1.1"
chart: nvidia-driver-runtime
{{- if and .Addons .Addons.nvidia_driver_toolkit}}
enabled: {{ .Addons.nvidia_driver_toolkit.Enabled }}
{{- else }}
enabled: false
{{- end }}
valuesContent: |
image:
tag: sle-micro-head
driverLocation: "HTTPENDPOINT/NVIDIA-Linux-x86_64-vgpu-kvm.run"
fullnameOverride: nvidia-driver-runtime
18 changes: 12 additions & 6 deletions scripts/build-bundle
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,13 @@ CHARTS_DIR="${PACKAGE_HARVESTER_REPO_DIR}/charts"
IMAGES_DIR="${BUNDLE_DIR}/harvester/images"
IMAGES_LISTS_DIR="${BUNDLE_DIR}/harvester/images-lists"
RANCHERD_IMAGES_DIR="${BUNDLE_DIR}/rancherd/images"
VM_IMPORT_CONTROLLER_CHART_VERSION="0.1.5"
VM_IMPORT_CONTROLLER_IMAGE="rancher/harvester-vm-import-controller:v0.1.5"
PCIDEVICES_CONTROLLER_CHART_VERSION="0.2.5"
PCIDEVICES_CONTROLLER_IMAGE="rancher/harvester-pcidevices:v0.2.5"
HARVESTER_SEEDER_CHART_VERSION="0.1.0"
HARVESTER_SEEDER_IMAGE="rancher/harvester-seeder:v0.1.0"
VM_IMPORT_CONTROLLER_CHART_VERSION="0.1.7"
VM_IMPORT_CONTROLLER_IMAGE="rancher/harvester-vm-import-controller:v0.1.7"
PCIDEVICES_CONTROLLER_CHART_VERSION="0.3.1"
PCIDEVICES_CONTROLLER_IMAGE="rancher/harvester-pcidevices:v0.3.1"
HARVESTER_SEEDER_CHART_VERSION="0.1.1"
HARVESTER_SEEDER_IMAGE="rancher/harvester-seeder:v0.1.1"
NVIDIA_DRIVER_RUNTIME_CHART_VERSION="0.1.1"
mkdir -p ${CHARTS_DIR}
mkdir -p ${IMAGES_DIR}
mkdir -p ${IMAGES_LISTS_DIR}
Expand Down Expand Up @@ -108,6 +109,11 @@ helm pull https://github.com/harvester/charts/releases/download/harvester-seeder
# make chart sanity check
tar zxvf ${CHARTS_DIR}/harvester-seeder-${HARVESTER_SEEDER_CHART_VERSION}.tgz >/dev/null --warning=no-timestamp

# Prepare nvidia-driver-toolkit chart
helm pull https://github.com/harvester/charts/releases/download/nvidia-driver-runtime-${NVIDIA_DRIVER_RUNTIME_CHART_VERSION}/nvidia-driver-runtime-${NVIDIA_DRIVER_RUNTIME_CHART_VERSION}.tgz -d ${CHARTS_DIR}
# make chart sanity check
tar zxvf ${CHARTS_DIR}/nvidia-driver-runtime-${NVIDIA_DRIVER_RUNTIME_CHART_VERSION}.tgz >/dev/null --warning=no-timestamp

# Create Helm repo index after charts are ready
helm repo index ${CHARTS_DIR}

Expand Down

0 comments on commit 25b4c5a

Please sign in to comment.