Skip to content

Commit

Permalink
Merge pull request #10 from doitintl/feat/balazs/support-additional-e…
Browse files Browse the repository at this point in the history
…nv-variables

support additional env variables like GOMEMLIMIT
  • Loading branch information
hobord authored Oct 15, 2024
2 parents 4fcbdd6 + bb25108 commit 9eba55b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/doit-eks-lens/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: doit-eks-lens
description: A Helm chart for DoiT EKS lens
type: application
version: 1.0.3
version: 1.0.4
appVersion: "0.0.1"
4 changes: 4 additions & 0 deletions charts/doit-eks-lens/templates/doit-otelcol.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,10 @@ spec:
fieldPath: metadata.namespace
- name: KUBERNETES_CLUSTER_DOMAIN
value: "cluster.local"
{{- range .Values.collector.otelcol.env }}
- name: {{ .name }}
value: {{ .value }}
{{- end }}
image: {{ .Values.collector.otelcol.image.repository }}:{{ .Values.collector.otelcol.image.tag }}
imagePullPolicy: IfNotPresent
livenessProbe:
Expand Down
3 changes: 3 additions & 0 deletions charts/doit-eks-lens/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ collector:
tag: 0.83.0
kubeStateMetrics:
endpoint: "kube-state-metrics:8080"
env:
# - name: "GOMEMLIMIT"
# value: "2750MiB"
## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
tolerations: []
## Ref: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
Expand Down

0 comments on commit 9eba55b

Please sign in to comment.