Skip to content

Commit

Permalink
Improve helm template
Browse files Browse the repository at this point in the history
  • Loading branch information
idrissneumann committed Mar 16, 2024
1 parent 93d2806 commit 4bc0c0b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 3 additions & 3 deletions helm/Chart.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
dependencies:
- name: common
repository: https://charts.bitnami.com/bitnami
version: 1.16.0
digest: sha256:f41cb9ff725b7c9fa2725634196a6813566d630342f86a74903ed114b282c8c0
generated: "2022-07-05T08:48:35.856115+01:00"
version: 1.17.1
digest: sha256:dacc73770a5640c011e067ff8840ddf89631fc19016c8d0a9e5ea160e7da8690
generated: "2024-03-16T14:02:07.006006+01:00"
6 changes: 6 additions & 0 deletions helm/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,10 @@ spec:
value: {{ $.Values.log.level | quote }}
- name: LOG_FORMAT
value: {{ $.Values.log.format | quote }}

{{ if $.Values.otlp_endpoint }}
- name: OTEL_COLLECTOR_ENDPOINT
value: {{ $.Values.otlp_endpoint | quote }}
{{ end }}

restartPolicy: {{ $.Values.restartPolicy }}

0 comments on commit 4bc0c0b

Please sign in to comment.