Update netclient-template.yaml

This commit is contained in:
Alex 2021-07-15 15:36:37 -04:00 committed by GitHub
parent 69279b9b42
commit 660fd12935
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,8 +16,8 @@ spec:
hostNetwork: true
containers:
- name: netclient
image: gravitl/netclient:v0.5.8
command: ['bash', '-c', "/root/netclient join -t $ACCESS_TOKEN --daemon off --name $(echo $NODE_NAME| sed -e s/.$NETWORK//); while true; do /root/netclient checkin -n $NETWORK; sleep $SLEEP; done"]
image: gravitl/netclient:v0.5.11
command: ['bash', '-c', "/root/netclient join -t $ACCESS_TOKEN --daemon off --name $(echo $NODE_NAME| sed -e s/.$NETWORK//); while true; do /root/netclient checkin --dns on -n $NETWORK; sleep $SLEEP; done"]
env:
- name: ACCESS_TOKEN
value: "ACCESS_TOKEN_VALUE"
@ -38,9 +38,6 @@ spec:
name: systemd-bus-socket
securityContext:
privileged: true
#capabilities:
# add:
# - ["NET_ADMIN","SYS_ADMIN","SYS_MODULE"]
volumes:
- hostPath:
path: /etc/netclient
@ -58,5 +55,3 @@ spec:
path: /var/run/dbus/system_bus_socket
type: ""
name: systemd-bus-socket