Skip to content

Releases: webmeshproj/webmesh-vdi

v0.1.4

05 Feb 11:31
Compare
Choose a tag to compare

This release contains a few new features and minor bugfixes.

  • #15 - The desktop pods will now only contain a VNC socket volume when the socketAddr is set to a unix:// address.
  • #17 - You can now pass custom rules to the default role created with a VDICluster. See defaultRoleRules in the authConfig.
  • #18 - You can now include custom volumes, volumeMounts, and volumeDevices in DesktopTemplates. See the volumeConfig in the DesktopTemplateSpec.

The simplest example for leveraging volumes would look something like this:

apiVersion: kvdi.io/v1alpha1
kind: DesktopTemplate
metadata:
  name: ubuntu-xfce
spec:
  config:
    allowFileTransfer: true
    allowRoot: true
    init: systemd
  image: 'ghcr.io/tinyzimmer/kvdi:ubuntu-xfce4-latest'
  volumeConfig:
    volumeMounts:
    - mountPath: /data
      name: extra-data
    volumes:
    - emptyDir: {}
      name: extra-data

This release contains changes to the DesktopTemplate and VDICluster APIs. In addition to performing a regular upgrade you will need to update those CRDs:

export KVDI_VERSION=v0.1.4

helm repo update
helm upgrade kvdi tinyzimmer/kvdi --version ${KVDI_VERSION}

kubectl apply \
  -f https://raw.githubusercontent.com/tinyzimmer/kvdi/${KVDI_VERSION}/deploy/charts/kvdi/crds/kvdi.io_desktoptemplates_crd.yaml \
  -f https://raw.githubusercontent.com/tinyzimmer/kvdi/${KVDI_VERSION}/deploy/charts/kvdi/crds/kvdi.io_vdiclusters_crd.yaml