Skip to content

Commit

Permalink
examples: update desktop example with manifests
Browse files Browse the repository at this point in the history
  • Loading branch information
tinyzimmer committed Oct 20, 2023
1 parent 470ac7f commit 27772ed
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 27 deletions.
10 changes: 0 additions & 10 deletions examples/webmesh-desktop/deploy/app-secrets.yaml

This file was deleted.

14 changes: 0 additions & 14 deletions examples/webmesh-desktop/deploy/desktop-values.yaml

This file was deleted.

5 changes: 2 additions & 3 deletions examples/webmesh-desktop/deploy/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
# This patches the default Webmesh DaemonSet to enable the
# gRPC API and ID authentication. It mounts in the secret
# from allowed-ids.yaml and watches it for changes.
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: kube-system
resources:
- ../../../deploy
- allowed-ids.yaml
- https://github.com/webmeshproj/webmesh-vdi/raw/main/deploy/bundle.yaml
labels:
- includeSelectors: true
pairs:
Expand Down
28 changes: 28 additions & 0 deletions examples/webmesh-desktop/deploy/vdi-spec.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
apiVersion: v1
kind: Namespace
metadata:
name: desktops
---
apiVersion: app.kvdi.io/v1
kind: VDICluster
metadata:
name: vdi
spec:
appNamespace: desktops
app:
image: "ghcr.io/webmeshproj/vdi-app:latest"
replicas: 1
serviceType: ClusterIP
auth:
adminSecret: kvdi-admin-secret
allowAnonymous: false
webmeshAuth:
metadataURL: http://169.254.169.254
tokenDuration: 8h
desktops:
maxSessionLength: 8h
secrets:
k8sSecret:
secretName: kvdi-app-secrets
userdataSpec: {}

0 comments on commit 27772ed

Please sign in to comment.