Skip to content

Instantly share code, notes, and snippets.

@agracey
Created April 1, 2024 17:54
Show Gist options
  • Save agracey/1f31031fb1377b9a9d151c5188b71865 to your computer and use it in GitHub Desktop.
Save agracey/1f31031fb1377b9a9d151c5188b71865 to your computer and use it in GitHub Desktop.
Wallboard with Input
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: wallboard
namespace: wallboard
spec:
selector:
matchLabels:
name: test-wallboard
template:
metadata:
labels:
name: test-wallboard
spec:
containers:
- name: wallboard
env:
- name: URL
value: https://google.com
- name: DISPLAY
value: ':0'
image: registry.opensuse.org/home/atgracey/wallboardos/15.5/firefox:latest
imagePullPolicy: Always
securityContext:
runAsUser: 1000
volumeMounts:
- mountPath: /tmp
name: tmp
- mountPath: /home/user/
name: home
- mountPath: /root/
name: root
- name: x11
image: registry.opensuse.org/home/atgracey/wallboardos/15.5/x11test:icewm
imagePullPolicy: Always
securityContext:
allowPrivilegeEscalation: true
privileged: true
readOnlyRootFilesystem: false
volumeMounts:
- mountPath: /tmp
name: tmp
- mountPath: /root
name: root
- mountPath: /run/udev/data/
name: udev-data
dnsPolicy: ClusterFirst
terminationGracePeriodSeconds: 5
volumes:
- name: tmp
emptyDir: {}
- name: home
emptyDir: {}
- name: root
emptyDir: {}
- name: udev-data
hostPath:
path: /run/udev/data/
type: Directory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment