Skip to content

Commit

Permalink
update cloud preset to enable telemetry collector
Browse files Browse the repository at this point in the history
  • Loading branch information
nickethier committed May 30, 2023
1 parent 370976f commit d474975
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/consul/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ global:
# Configures the Helm chart’s components to forward envoy metrics for the Consul service mesh to the
# consul-telemetry-collector. This includes gateway metrics and sidecar metrics.
# @type: boolean
enableTelemetryCollector: true
enableTelemetryCollector: false

# The name (and tag) of the consul-dataplane Docker image used for the
# connect-injected sidecar proxies and mesh, terminating, and ingress gateways.
Expand Down
13 changes: 13 additions & 0 deletions cli/preset/cloud_preset.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,8 @@ global:
bootstrapToken:
secretName: %s
secretKey: %s
metrics:
enableTelemetryCollector: true
cloud:
enabled: true
resourceId:
Expand All @@ -215,6 +217,15 @@ global:
%s
%s
%s
telemetryCollector:
enabled: true
cloud:
clientId:
secretName: %s
secretKey: %s
clientSecret:
secretName: %s
secretKey: %s
server:
replicas: %d
affinity: null
Expand All @@ -231,6 +242,8 @@ controller:
secretNameHCPClientID, secretKeyHCPClientID,
secretNameHCPClientSecret, secretKeyHCPClientSecret,
apiHostCfg, authURLCfg, scadaAddressCfg,
secretNameHCPClientID, secretKeyHCPClientID,
secretNameHCPClientSecret, secretKeyHCPClientSecret,
cfg.BootstrapResponse.Cluster.BootstrapExpect, secretNameServerCert)
valuesMap := config.ConvertToMap(values)
return valuesMap
Expand Down

0 comments on commit d474975

Please sign in to comment.