Last active
May 28, 2024 14:47
-
-
Save agracey/2befd54c2ea5260e3ce5cffc0ef882e6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: apps/v1 | |
kind: DaemonSet | |
metadata: | |
name: wallboard | |
namespace: wallboard | |
spec: | |
selector: | |
matchLabels: | |
name: test-wallboard | |
template: | |
metadata: | |
labels: | |
name: test-wallboard | |
spec: | |
initContainers: | |
- name: x11 | |
image: registry.opensuse.org/home/atgracey/wallboardos/15.5/x11:notaskbar | |
imagePullPolicy: Always | |
restartPolicy: Always | |
securityContext: | |
privileged: true | |
readOnlyRootFilesystem: false | |
volumeMounts: | |
- mountPath: /tmp/.X11-unix/ | |
name: xsocket | |
- mountPath: /home/user/xauthority/ | |
name: xauthority | |
- mountPath: /run/udev/data/ | |
name: udev-data | |
containers: | |
- name: wallboard | |
env: | |
- name: URL | |
value: https://google.com | |
- name: DISPLAY | |
value: ':0' | |
- name: XAUTHORITY | |
value: /home/user/xauthority/.xauth | |
image: registry.opensuse.org/home/atgracey/wallboardos/15.5/firefox:latest | |
imagePullPolicy: Always | |
securityContext: | |
runAsUser: 1000 | |
volumeMounts: | |
- mountPath: /tmp/.X11-unix/ | |
name: xsocket | |
- mountPath: /home/user/xauthority/ | |
name: xauthority | |
dnsPolicy: ClusterFirst | |
terminationGracePeriodSeconds: 5 | |
volumes: | |
- name: xauthority | |
emptyDir: {} | |
- name: xsocket | |
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