You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -313,4 +330,20 @@ The ConfigMap should be mounted to the agent container and the parameters will b
313
330
- Store sensitive configuration like credentials in Kubernetes Secrets, not ConfigMaps
314
331
- Use mutual TLS (`mtls`) authentication when possible for enhanced security
315
332
- Regularly rotate TLS certificates and authentication credentials
316
-
- Restrict network access to the agent's metrics and health endpoints
333
+
- Restrict network access to the agent's metrics and health endpoints
334
+
- Consider disabling resource proxy (`--enable-resource-proxy=false`) if live resource access is not required for enhanced security isolation
335
+
336
+
## Resource Proxy Considerations
337
+
338
+
When the resource proxy is **enabled** (default):
339
+
- Users can view live resources for applications on this agent cluster through the Argo CD UI
340
+
- The agent processes resource requests from the principal and proxies them to the local Kubernetes API
341
+
- All resource access is limited to resources managed by Argo CD applications
342
+
343
+
When the resource proxy is **disabled**:
344
+
- Live resource viewing will not work for applications on this agent cluster
345
+
- The Argo CD UI will show application status but not allow inspection of individual resources
346
+
- Application synchronization and management operations continue to work normally
347
+
- Reduces attack surface and network communication between principal and agent
348
+
349
+
For detailed information about how the resource proxy works and additional configuration options, see the [Live Resources](../../user-guide/live-resources.md) user guide.
Copy file name to clipboardExpand all lines: docs/user-guide/live-resources.md
+21-1Lines changed: 21 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,7 +68,25 @@ argocd-agent principal \
68
68
69
69
### Agent Configuration
70
70
71
-
**No additional configuration is required on the agent side.** The agent automatically processes resource requests received from the principal through the standard event queue mechanism.
71
+
The resource proxy is **enabled by default** on the agent and requires no additional configuration in most cases. However, it can be disabled if live resource access is not needed.
72
+
73
+
#### Environment Variables
74
+
75
+
| Variable | Default | Description |
76
+
|----------|---------|-------------|
77
+
|`ARGOCD_AGENT_ENABLE_RESOURCE_PROXY`|`true`| Enable/disable resource proxy processing on the agent |
78
+
79
+
#### Command Line Options
80
+
81
+
```bash
82
+
# Disable resource proxy on the agent
83
+
argocd-agent agent --enable-resource-proxy=false
84
+
85
+
# Enable resource proxy (default behavior)
86
+
argocd-agent agent --enable-resource-proxy=true
87
+
```
88
+
89
+
**Note**: When disabled, the agent will not process resource requests from the principal, making live resource viewing unavailable for applications on this agent cluster.
0 commit comments