I need to install a helm with a dynamic "project_id" flag on deploy time inside the rawConfig multi-line string
Example values.yaml
sinks:
console:
type: "console"
inputs: ["kafka"]
rawConfig: |
target = "stdout"
encoding.codec = "json"
stackdriver:
type: "gcp_stackdriver_logs"
inputs: ["kafka"]
rawConfig: |
healthcheck = true
log_id = "mirth-channels-log"
project_id = "my_project"
resource.type = "k8s_cluster"
How do I override this value of project_id in rawConfig? I'm trying to do this:
helm install vector helm/vector --values helm/vector-agent/values.yaml -n my-namespace --set sinks.stackdriver.rawConfig='\nlog_id\ =\ "mirth-channels-log"\nproject_id\ =\ "my_project_test"\nresource.type\ =\ "k8s_cluster"\n'
But it does not work