-
Notifications
You must be signed in to change notification settings - Fork 324
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Backport of Add telemetry collector deployment to consul-k8s into rel…
…ease/1.1.x (#2141) * backport of commit 5cbf487 * backport of commit 6234911 * backport of commit 2c492ee * backport of commit f052485 * backport of commit f173262 * backport of commit 81eb6b5 * backport of commit 3a41804 * backport of commit f2f7c14 * backport of commit f0b49fd * backport of commit 8e8cd50 * backport of commit 4617b86 * backport of commit 87d689a * backport of commit 2ed835a * backport of commit ea8b0b0 * backport of commit b91ddc3 * backport of commit 29f3457 * backport of commit 30bb4f0 * backport of commit 3eb4c75 * backport of commit cd27116 * backport of commit 2f0d475 * backport of commit e746310 * backport of commit 53e24f8 * backport of commit aa4fff8 * backport of commit 0d10cb4 * backport of commit 3434020 * backport of commit 07e9213 * backport of commit f62ab8a * backport of commit a4af066 * backport of commit bba8c0c * backport of commit 5676c38 * backport of commit af72763 * backport of commit e6a01a2 * backport of commit 53df345 * backport of commit 9d1ccde * backport of commit 2e686ad * backport of commit f2e6891 * backport of commit eb80f7f --------- Co-authored-by: Connor Kelly <connor.kelly@hashicorp.com>
- Loading branch information
1 parent
f1bd549
commit f078a77
Showing
17 changed files
with
1,865 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
```release-note:feature | ||
Add support for consul-telemetry-collector to forward envoy metrics to an otelhttp compatible receiver or HCP | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
charts/consul/templates/telemetry-collector-configmap.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{{- if (and .Values.telemetryCollector.enabled .Values.telemetryCollector.customExporterConfig) }} | ||
# Immutable ConfigMap which saves the partition name. Attempting to update this configmap | ||
# with a new Admin Partition name will cause the helm upgrade to fail | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: {{ template "consul.fullname" . }}-telemetry-collector | ||
namespace: {{ .Release.Namespace }} | ||
labels: | ||
app: {{ template "consul.name" . }} | ||
chart: {{ template "consul.chart" . }} | ||
heritage: {{ .Release.Service }} | ||
release: {{ .Release.Name }} | ||
component: consul-telemetry-collector | ||
data: | ||
config.json: |- | ||
{{ tpl .Values.telemetryCollector.customExporterConfig . | trimAll "\"" | indent 4 }} | ||
{{- end }} |
Oops, something went wrong.