我有一个 amazon cloudfront 发行版,它为我的 CDN 创建了一个“来源”。在我的行为中,我设置了最大 TTL、最小 TTL 和默认 TTL。但是我的响应头不会在重定向的静态文件中返回 Cache-control 头。如何设置缓存控制?我需要这个用于谷歌页面洞察
header cache-control amazon-web-services amazon-cloudfront pagespeed-insights
rawConfig我需要在部署时在多行字符串内安装带有动态“project_id”标志的舵
例子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"
Run Code Online (Sandbox Code Playgroud)
如何覆盖project_idrawConfig 中的这个值?我正在尝试这样做:
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'
Run Code Online (Sandbox Code Playgroud)
但这不起作用