Commit 1af8fac0 authored by godog's avatar godog

chaperone: test for yes/true to disable components

More explicity than relying on the environment variable being defined
parent 4c6d3f6a
Pipeline #7677 passed with stages
in 1 minute and 45 seconds
thanos-query.service: {
command: "/usr/sbin/thanos query --http-address=$(QUERY_HTTP_ADDRESS:-0.0.0.0:10904) --grpc-address=$(QUERY_GRPC_ADDRESS:-0.0.0.0:10903) --store.sd-files=/etc/thanos/store-sd/*.yml $(QUERY_FLAGS:-)",
enabled: "$(QUERY_OFF:|false|true)",
enabled: "$(QUERY_OFF:|[yt]*|false|true)",
kill_signal: SIGTERM,
exit_kills: true,
}
thanos-sidecar.service: {
command: "/usr/sbin/thanos sidecar --http-address=$(SIDECAR_HTTP_ADDRESS:-0.0.0.0:10902) --grpc-address=$(SIDECAR_GRPC_ADDRESS:-0.0.0.0:10901) $(SIDECAR_FLAGS:-)",
enabled: "$(SIDECAR_OFF:|false|true)",
enabled: "$(SIDECAR_OFF:|[yt]*|false|true)",
kill_signal: SIGTERM,
exit_kills: true,
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment