Skip to content

Commit 92da5cd

Browse files
Arta AsadiArta Asadi
Arta Asadi
authored and
Arta Asadi
committed
fix: add kubernetes describer as tasks
1 parent 126788e commit 92da5cd

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

tasks/kubernetes_describer.yaml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
id: "kubernetes-plugin-describer"
2+
name: "Kubernetes Plugin Describer"
3+
description: "Kubernetes Plugin Describer"
4+
is_enabled: true
5+
image_url: "ghcr.io/opengovern/og-describer-kubernetes:local-v0.6.30"
6+
artifacts_url: "https://github.com/opengovern/plugin-kubernetes/releases/download/v0.6.30/kubernetes-plugin.zip"
7+
steampipe_plugin_name: "steampipe-plugin-kubernetes"
8+
command: "/og-describer-kubernetes"
9+
timeout: "120m"
10+
scale_config:
11+
lag_threshold: "1"
12+
min_replica: 0
13+
max_replica: 5
14+
params: ["integrations_query", "resource_types_query"]
15+
configs: []
16+
run_schedule:
17+
- params:
18+
"integrations_query": "SELECT i.*, c.secret FROM platform_integrations AS i LEFT JOIN platform_integrations_credentials AS c ON i.integration_id = c.integration_id WHERE i.integration_type = 'kubernetes' AND c.secret IS NOT NULL;"
19+
"resource_types_query": "SELECT * FROM platform_integration_resource_types WHERE integration_type = 'kubernetes' AND resource_type = 'Kubernetes/Cluster';"
20+
frequency: "1d"

0 commit comments

Comments
 (0)