This message was deleted.
# general
s
This message was deleted.
1
e
I'm trying to template
helm.Chart(...)
to give it a custom
queries.sql
file for this particular helm chart: https://github.com/confluentinc/cp-helm-charts/blob/master/charts/cp-ksql-server/templates/ksql-queries-configmap.yaml
I've hacked my way around by applying a transformation
Copy code
def set_headless_queries(obj):
    if not isinstance(obj, dict) or "data" not in obj or "queries.sql" not in obj["data"]:
        return
    obj["data"]["queries.sql"] = ....
Copy code
helm.ChartOpts(... , transformations=[set_headless_queries], ...)