Skip to content

Commit 2ad96e1

Browse files
authored
revert: Gate Agent CR templates behind enabled flags (#1197) (#1226)
This reverts #1197 which purported to fix #1169 (which I cannot reproduce). Installing with values like the following correctly excludes any agents that are not enabled. ``` yaml agents: k8s-agent: enabled: false kgateway-agent: enabled: false ... ``` Fixes #1225. Signed-off-by: Brian Fox <[email protected]>
1 parent 5633597 commit 2ad96e1

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

helm/kagent/Chart-template.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,40 +23,40 @@ dependencies:
2323
- name: k8s-agent
2424
version: ${VERSION}
2525
repository: file://../agents/k8s
26-
condition: k8s-agent.enabled
26+
condition: agents.k8s-agent.enabled
2727
- name: kgateway-agent
2828
version: ${VERSION}
2929
repository: file://../agents/kgateway
30-
condition: kgateway-agent.enabled
30+
condition: agents.kgateway-agent.enabled
3131
- name: istio-agent
3232
version: ${VERSION}
3333
repository: file://../agents/istio
34-
condition: istio-agent.enabled
34+
condition: agents.istio-agent.enabled
3535
- name: promql-agent
3636
version: ${VERSION}
3737
repository: file://../agents/promql
38-
condition: promql-agent.enabled
38+
condition: agents.promql-agent.enabled
3939
- name: observability-agent
4040
version: ${VERSION}
4141
repository: file://../agents/observability
42-
condition: observability-agent.enabled
42+
condition: agents.observability-agent.enabled
4343
- name: argo-rollouts-agent
4444
version: ${VERSION}
4545
repository: file://../agents/argo-rollouts
46-
condition: argo-rollouts-agent.enabled
46+
condition: agents.argo-rollouts-agent.enabled
4747
- name: helm-agent
4848
version: ${VERSION}
4949
repository: file://../agents/helm
50-
condition: helm-agent.enabled
50+
condition: agents.helm-agent.enabled
5151
- name: cilium-policy-agent
5252
version: ${VERSION}
5353
repository: file://../agents/cilium-policy
54-
condition: cilium-policy-agent.enabled
54+
condition: agents.cilium-policy-agent.enabled
5555
- name: cilium-manager-agent
5656
version: ${VERSION}
5757
repository: file://../agents/cilium-manager
58-
condition: cilium-manager-agent.enabled
58+
condition: agents.cilium-manager-agent.enabled
5959
- name: cilium-debug-agent
6060
version: ${VERSION}
6161
repository: file://../agents/cilium-debug
62-
condition: cilium-debug-agent.enabled
62+
condition: agents.cilium-debug-agent.enabled

0 commit comments

Comments
 (0)