Hi Team,
I am currently using CloudQuery along with the k8s
source plugin to ingest Kubernetes data into my destination. By default, the tables are created with the naming pattern k8s_<table_name>
.
For our internal data organization and clarity, especially when managing multiple environments, I would like to know if it is possible to customize or override the table naming format to something like on_prem_k8s_<table_name>
.
Docs:- Kubernetes Plugin documentation | CloudQuery
Hello @satish_thandra and welcome to the CloudQuery community! 
Yes, that should indeed be possible using our basic transformer. I’ll link you to the docs, the configuration should be pretty straightforward and could look like this
kind: transformer
spec:
name: "basic"
path: "cloudquery/basic"
version: v2.5.0
spec:
transformations:
- kind: change_table_names
tables: ["*"]
new_table_name_template: "on_prem_{{.OldName}}"
1 Like