Skip to content

Commit

Permalink
chore(env): Set k8s environment variables (#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsirianni authored May 15, 2024
1 parent 97529b4 commit 49fa5d1
Show file tree
Hide file tree
Showing 4 changed files with 22 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.11.1
version: 1.11.2
# The BindPlane OP tagged release. If the user does not
# set the `image.tag` values option, this version is used.
appVersion: 1.57.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.11.1](https://img.shields.io/badge/Version-1.11.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.57.0](https://img.shields.io/badge/AppVersion-1.57.0-informational?style=flat-square)
![Version: 1.11.2](https://img.shields.io/badge/Version-1.11.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.57.0](https://img.shields.io/badge/AppVersion-1.57.0-informational?style=flat-square)

BindPlane OP is an observability pipeline.

Expand Down
10 changes: 10 additions & 0 deletions charts/bindplane/templates/bindplane-jobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,16 @@ spec:
- containerPort: 3001
name: 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: all
- name: BINDPLANE_ANALYTICS_DISABLED
Expand Down
10 changes: 10 additions & 0 deletions charts/bindplane/templates/bindplane.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,16 @@ spec:
- containerPort: 3001
name: 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
{{- if eq (include "bindplane.deployment_type" .) "StatefulSet" }}
value: all
Expand Down

0 comments on commit 49fa5d1

Please sign in to comment.