Skip to content

Commit 42e8e28

Browse files
authored
Merge branch 'main' into improved-proxy-support
2 parents e3d238e + 30ea1c1 commit 42e8e28

File tree

2 files changed

+3
-19
lines changed

2 files changed

+3
-19
lines changed

compose/docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ services:
1515
# Probely's API URL. If not set, the Agent will use the API URLs for all regions.
1616
#
1717
# FARCASTER_FORCE_TCP
18-
# If set to true, the Agent will use TCP to connect to Snyk.
18+
# If set to true, the Agent will use TCP to connect to Probely/Snyk.
1919
#
2020
# FARCASTER_PROXY_NAMES
2121
# If set to true, the Agent will use hostnames in proxy requests when available.
@@ -32,7 +32,7 @@ services:
3232
tmpfs:
3333
- /run
3434
cap_add:
35-
# Required for WireGuard kernel support. If you remove this, the Agent will fall back to a userspace TCP/IP stack.
35+
# Required to use the kernel WireGuard implementation. If you remove this, the Agent will fall back to a userspace implementation.
3636
- NET_ADMIN
3737
restart: unless-stopped
3838

contrib/kubernetes/agent-depl.yml

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,6 @@ spec:
1313
labels:
1414
app: farcaster-agent
1515
spec:
16-
initContainers:
17-
- name: init
18-
image: busybox:stable
19-
command:
20-
- sh
21-
- -c
22-
- sysctl -w net.ipv4.ip_forward=1 && sysctl -w net.ipv4.conf.all.forwarding=1
23-
securityContext:
24-
privileged: true
25-
capabilities:
26-
add:
27-
- NET_ADMIN
2816
containers:
2917
- name: agent
3018
image: probely/farcaster-onprem-agent:v3
@@ -35,16 +23,12 @@ spec:
3523
secretKeyRef:
3624
name: farcaster-secrets
3725
key: token
38-
- name: DISABLE_FIREWALL
39-
value: "0"
4026
resources:
4127
requests:
4228
cpu: "1"
4329
memory: "128Mi"
4430
securityContext:
45-
capabilities:
46-
add:
47-
- SETUID
31+
allowPrivilegeEscalation: false
4832
volumeMounts:
4933
- name: run-tmpfs
5034
mountPath: /run

0 commit comments

Comments
 (0)