Skip to content

Commit

Permalink
Adds image pull secrets to node-setup daemonset
Browse files Browse the repository at this point in the history
  • Loading branch information
Eagerod committed Oct 17, 2024
1 parent 83e07d3 commit 9d5b03a
Showing 1 changed file with 19 additions and 17 deletions.
36 changes: 19 additions & 17 deletions infra/cluster/node-setup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,23 @@ spec:
labels:
name: node-setup
spec:
imagePullSecrets:
- name: registry.internal.aleemhaji.com
containers:
- name: node-setup
image: registry.internal.aleemhaji.com/busybox:1.35.0
command:
- sh
- -xefc
- |
sysctl -w fs.inotify.max_user_watches="$INOTIFY_MAX_USER_WATCHES"
cat /proc/sys/fs/inotify/max_user_watches
while true; do
echo >&2 "Still sleeping..."
sleep 3600
done
env:
- name: INOTIFY_MAX_USER_WATCHES
value: "1048576"
securityContext:
privileged: true
- name: node-setup
image: registry.internal.aleemhaji.com/busybox:1.35.0
command:
- sh
- -xefc
- |
sysctl -w fs.inotify.max_user_watches="$INOTIFY_MAX_USER_WATCHES"
cat /proc/sys/fs/inotify/max_user_watches
while true; do
echo >&2 "Still sleeping..."
sleep 3600
done
env:
- name: INOTIFY_MAX_USER_WATCHES
value: "1048576"
securityContext:
privileged: true

0 comments on commit 9d5b03a

Please sign in to comment.