Skip to content

Commit 9c8ca8c

Browse files
author
Atanas Chuchev
committed
Add ConfigMap data gatherer to disco-agent Helm chart
- Add ark/configmaps data gatherer with conjur.org label selector - Update Helm chart test snapshots with new ConfigMap configuration
1 parent 775a055 commit 9c8ca8c

2 files changed

Lines changed: 40 additions & 0 deletions

File tree

deploy/charts/disco-agent/templates/configmap.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,14 @@ data:
4040
resource-type:
4141
resource: serviceaccounts
4242
version: v1
43+
- kind: k8s-dynamic
44+
name: ark/configmaps
45+
config:
46+
resource-type:
47+
resource: configmaps
48+
version: v1
49+
label-selectors:
50+
- conjur.org/name=conjur-connect-configmap
4351
- kind: k8s-dynamic
4452
name: ark/roles
4553
config:

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

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,14 @@ custom-cluster-description:
2828
resource-type:
2929
resource: serviceaccounts
3030
version: v1
31+
- kind: k8s-dynamic
32+
name: ark/configmaps
33+
config:
34+
resource-type:
35+
resource: configmaps
36+
version: v1
37+
label-selectors:
38+
- conjur.org/name=conjur-connect-configmap
3139
- kind: k8s-dynamic
3240
name: ark/roles
3341
config:
@@ -137,6 +145,14 @@ custom-cluster-name:
137145
resource-type:
138146
resource: serviceaccounts
139147
version: v1
148+
- kind: k8s-dynamic
149+
name: ark/configmaps
150+
config:
151+
resource-type:
152+
resource: configmaps
153+
version: v1
154+
label-selectors:
155+
- conjur.org/name=conjur-connect-configmap
140156
- kind: k8s-dynamic
141157
name: ark/roles
142158
config:
@@ -246,6 +262,14 @@ custom-period:
246262
resource-type:
247263
resource: serviceaccounts
248264
version: v1
265+
- kind: k8s-dynamic
266+
name: ark/configmaps
267+
config:
268+
resource-type:
269+
resource: configmaps
270+
version: v1
271+
label-selectors:
272+
- conjur.org/name=conjur-connect-configmap
249273
- kind: k8s-dynamic
250274
name: ark/roles
251275
config:
@@ -355,6 +379,14 @@ defaults:
355379
resource-type:
356380
resource: serviceaccounts
357381
version: v1
382+
- kind: k8s-dynamic
383+
name: ark/configmaps
384+
config:
385+
resource-type:
386+
resource: configmaps
387+
version: v1
388+
label-selectors:
389+
- conjur.org/name=conjur-connect-configmap
358390
- kind: k8s-dynamic
359391
name: ark/roles
360392
config:

0 commit comments

Comments
 (0)