Skip to content

Commit

Permalink
set k8s namespace, pod and container environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
jsirianni committed Oct 3, 2024
1 parent 4cd2cf2 commit 106443b
Show file tree
Hide file tree
Showing 3 changed files with 12 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.20.0
version: 1.20.1
# The BindPlane OP tagged release. If the user does not
# set the `image.tag` values option, this version is used.
appVersion: 1.75.0
Expand Down
2 changes: 1 addition & 1 deletion charts/bindplane/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# bindplane

![Version: 1.20.0](https://img.shields.io/badge/Version-1.20.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.74.2](https://img.shields.io/badge/AppVersion-1.74.2-informational?style=flat-square)
![Version: 1.20.1](https://img.shields.io/badge/Version-1.20.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.75.0](https://img.shields.io/badge/AppVersion-1.75.0-informational?style=flat-square)

BindPlane OP is an observability pipeline.

Expand Down
10 changes: 10 additions & 0 deletions charts/bindplane/templates/bindplane-nats.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,16 @@ spec:
- containerPort: 8222
name: nats-http
env:
- name: KUBERNETES_NAMESPACE_NAME
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: KUBERNETES_POD_NAME
valueFrom:
fieldRef:
fieldPath: metadata.name
- name: KUBERNETES_CONTAINER_NAME
value: "server"
- name: BINDPLANE_MODE
value: node
- name: BINDPLANE_ANALYTICS_DISABLED
Expand Down

0 comments on commit 106443b

Please sign in to comment.