Skip to content

Commit

Permalink
add extraLabels to transform agent (#195)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsirianni authored Jan 13, 2025
1 parent 912a4f7 commit 56152c9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/bindplane/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: bindplane
description: BindPlane OP is an observability pipeline.
type: application
# The chart's version
version: 1.26.1
version: 1.26.2
# The BindPlane OP tagged release. If the user does not
# set the `image.tag` values option, this version is used.
appVersion: 1.84.2
Expand Down
3 changes: 2 additions & 1 deletion charts/bindplane/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# bindplane

![Version: 1.26.1](https://img.shields.io/badge/Version-1.26.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.84.2](https://img.shields.io/badge/AppVersion-1.84.2-informational?style=flat-square)
![Version: 1.26.2](https://img.shields.io/badge/Version-1.26.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.84.2](https://img.shields.io/badge/AppVersion-1.84.2-informational?style=flat-square)

BindPlane OP is an observability pipeline.

Expand Down Expand Up @@ -186,6 +186,7 @@ BindPlane OP is an observability pipeline.
| trace.otlp.insecure | bool | `false` | Set to `true` to disable TLS. Set to false if TLS is in use by the OTLP trace receiver. |
| trace.otlp.samplingRate | string | `"1"` | Sampling rate between 0 and 1. 1 being 100% of traces are sent. |
| trace.type | string | `""` | Trace type to use. Valid options include `otlp`. |
| transform_agent.extraPodLabels | object | `{}` | Optional arbitrary labels to add to the Transform Agent pods. |
| transform_agent.name | string | `""` | Transform Agent Image name to be used. Defaults to `ghcr.io/observiq/bindplane-transform-agent`. |
| transform_agent.replicas | int | `1` | Number of replicas to use for the transform agent. |
| transform_agent.tag | string | `""` | Transform Agent Image tag to use. Defaults to latest. |
Expand Down
3 changes: 3 additions & 0 deletions charts/bindplane/templates/transform-agent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ spec:
app.kubernetes.io/stack: bindplane
app.kubernetes.io/component: transform-agent
app.kubernetes.io/instance: {{ .Release.Name }}
{{- if len .Values.transform_agent.extraPodLabels }}
{{- toYaml .Values.transform_agent.extraPodLabels | nindent 8 }}
{{- end }}
spec:
priorityClassName: {{ .Values.priorityClassName.transform_agent }}
{{- if .Values.nodeSelector.transform_agent }}
Expand Down
2 changes: 2 additions & 0 deletions charts/bindplane/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,8 @@ transform_agent:
tag: ""
# -- Number of replicas to use for the transform agent.
replicas: 1
# -- Optional arbitrary labels to add to the Transform Agent pods.
extraPodLabels: {}

# Bindplane configuration options:
# https://github.com/observIQ/bindplane-op/blob/main/docs/configuration.md
Expand Down

0 comments on commit 56152c9

Please sign in to comment.