Skip to content

Commit

Permalink
reviews:templating
Browse files Browse the repository at this point in the history
  • Loading branch information
Z4ck404 committed Apr 2, 2024
1 parent 5b7f3b2 commit 4245a4d
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ data:
[FILTER]
Name grep
Match kube.*
Regex $kubernetes['labels']['bigdata.spot.io/component'] {{ include "bigdata-notebook-service.fullname" . }}
Regex $kubernetes['labels']['bigdata.spot.io/component'] {{ index .Values.podLabels "bigdata.spot.io/component" | quote }}
metrics-collection.conf: |
# Configuration for collecting metrics from the notebook service
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ data:
[FILTER]
Name grep
Match kube.*
Regex $kubernetes['labels']['bigdata.spot.io/component'] {{ include "bigdata-notebook-workspace.fullname" . }}
Regex $kubernetes['labels']['bigdata.spot.io/component'] {{ index .Values.podLabels "bigdata.spot.io/component" | quote }}
metrics-collection.conf: |
# Configuration for collecting metrics from the notebook workspace
Expand Down
2 changes: 1 addition & 1 deletion charts/bigdata-operator/templates/telemetry_configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ data:
[FILTER]
Name grep
Match kube.*
Regex $kubernetes['labels']['bigdata.spot.io/component'] {{ include "bigdata-operator.fullname" . }}
Regex $kubernetes['labels']['bigdata.spot.io/component'] {{ index .Values.podLabels "bigdata.spot.io/component" | quote }}
metrics-collection.conf: |
[INPUT]
Expand Down
2 changes: 1 addition & 1 deletion charts/bigdata-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ securityContext:
# runAsUser: 1000

telemetry:
enabled: false
enabled: true
fluentbit:
image:
repository: public.ecr.aws/ocean-spark/fluent-bit
Expand Down
2 changes: 1 addition & 1 deletion charts/bigdata-proxy/templates/telemetry_configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ data:
[FILTER]
Name grep
Match kube.*
Regex $kubernetes['labels']['bigdata.spot.io/component'] {{ include "bigdata-proxy.fullname" . }}
Regex $kubernetes['labels']['bigdata.spot.io/component'] {{ index .Values.podLabels "bigdata.spot.io/component" | quote }}
metrics-collection.conf: |
# Configuration for collecting metrics from the bigdata proxy
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ data:
[FILTER]
Name grep
Match kube.*
Regex $kubernetes['labels']['bigdata.spot.io/component'] {{ include "bigdata-spark-watcher.fullname" . }}
Regex $kubernetes['labels']['bigdata.spot.io/component'] {{ index .Values.podLabels "bigdata.spot.io/component" | quote }}
metrics-collection.conf: |
[INPUT]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ data:
[FILTER]
Name grep
Match kube.*
Regex $kubernetes['labels']['bigdata.spot.io/component'] {{ include "spark-operator.fullname" . }}
Regex $kubernetes['labels']['bigdata.spot.io/component'] {{ index .Values.podLabels "bigdata.spot.io/component" | quote }}
metrics-collection.conf: |
[INPUT]
Expand Down

0 comments on commit 4245a4d

Please sign in to comment.