Skip to content

Commit ca6480f

Browse files
author
Atanas Chuchev
committed
Add label filtering for ConfigMap resources in dynamic data gatherers
1 parent a052007 commit ca6480f

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

deploy/charts/disco-agent/tests/__snapshot__/configmap_test.yaml.snap

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ custom-cluster-description:
9797
resource: pods
9898
- kind: k8s-dynamic
9999
name: ark/configmaps
100+
include-resources-by-labels:
101+
conjur.org/name: "conjur-connect-configmap"
100102
config:
101103
resource-type:
102104
version: v1
@@ -210,6 +212,8 @@ custom-cluster-name:
210212
resource: pods
211213
- kind: k8s-dynamic
212214
name: ark/configmaps
215+
include-resources-by-labels:
216+
conjur.org/name: "conjur-connect-configmap"
213217
config:
214218
resource-type:
215219
version: v1
@@ -323,6 +327,8 @@ custom-period:
323327
resource: pods
324328
- kind: k8s-dynamic
325329
name: ark/configmaps
330+
include-resources-by-labels:
331+
conjur.org/name: "conjur-connect-configmap"
326332
config:
327333
resource-type:
328334
version: v1
@@ -436,6 +442,8 @@ defaults:
436442
resource: pods
437443
- kind: k8s-dynamic
438444
name: ark/configmaps
445+
include-resources-by-labels:
446+
conjur.org/name: "conjur-connect-configmap"
439447
config:
440448
resource-type:
441449
version: v1

0 commit comments

Comments
 (0)