Skip to content

Commit

Permalink
Revert "apps: base: workstation: Delete web."
Browse files Browse the repository at this point in the history
This reverts commit afa00fc.
  • Loading branch information
wigust committed Dec 23, 2024
1 parent d1a9e73 commit 3eaf5bf
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions apps/base/workstation/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,52 @@ spec:
mountPath: /home/oleg/.bash_history
- name: root-bash-history
mountPath: /root/.bash_history
- name: web99
image: harbor.corp1.majordomo.ru/nixos/web:1fbeb904
command:
- /entrypoint.sh
env:
- name: container
value: docker
securityContext:
capabilities:
add:
- SETUID
- BLOCK_SUSPEND
- NET_ADMIN
- NET_BIND_SERVICE
- NET_RAW
- SYS_ADMIN
- SYS_CHROOT
- SYS_NICE
- SYS_PTRACE
- SYS_RESOURCE
- SYS_TIME
privileged: true
lifecycle:
preStop:
exec:
command:
- /bin/sh
- -c
- |
if /run/current-system/sw/bin/systemctl poweroff
then
:
else
exit 0
fi
tty: true
volumeMounts:
- mountPath: /run
name: web99-run
- mountPath: /mnt/guix/tmp
name: guix-tmp
- mountPath: /mnt/guix/run
name: guix-run
mountPropagation: HostToContainer
- mountPath: /home
name: web99-home
volumes:
- name: dev-dri
hostPath:
Expand Down Expand Up @@ -459,8 +505,14 @@ spec:
medium: Memory
sizeLimit: 512M
name: nixos-run
- emptyDir:
medium: Memory
sizeLimit: 512M
name: web99-run
- emptyDir:
name: nixos-home
- emptyDir:
name: web99-home
- emptyDir:
medium: Memory
sizeLimit: 512M
Expand Down

0 comments on commit 3eaf5bf

Please sign in to comment.