Last active
June 7, 2024 19:34
-
-
Save agracey/f421f7f0adf59c2e42bc18b4a68a0e9c to your computer and use it in GitHub Desktop.
This file contains hidden or 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: v1 | |
kind: ConfigMap | |
metadata: | |
name: pa-config | |
namespace: wallboard | |
data: | |
client.conf: |+ | |
autospawn = no | |
auto-connect-localhost = yes | |
--- | |
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 | |
- name: audio | |
image: registry.opensuse.org/home/atgracey/wallboardos/15.5/pa:latest | |
command: ["pulseaudio"] | |
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 | |
env: | |
- name: DISPLAY | |
value: ':0' | |
- name: XAUTHORITY | |
value: /home/user/xauthority/.xauth | |
containers: | |
- name: wallboard | |
env: | |
- name: URL | |
value: https://google.com | |
- name: DISPLAY | |
value: ':0' | |
- name: XAUTHORITY | |
value: /home/user/xauthority/.xauth | |
- name: PULSE_SERVER | |
value: 127.0.0.1 | |
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 | |
- mountPath: /home/user/.config/pulse/ | |
name: pa-client | |
dnsPolicy: ClusterFirst | |
terminationGracePeriodSeconds: 5 | |
volumes: | |
- name: xauthority | |
emptyDir: {} | |
- name: xsocket | |
emptyDir: {} | |
- name: paconfig | |
emptyDir: {} | |
- name: udev-data | |
hostPath: | |
path: /run/udev/data/ | |
type: Directory | |
- name: pa-client | |
configMap: | |
name: pa-config | |
items: | |
- key: "client.conf" | |
path: "client.conf" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment