Skip to content

Commit

Permalink
allow setting the security context in values (#71)
Browse files Browse the repository at this point in the history
* allow setting the security context in values
* bump common chart
  • Loading branch information
fishnix authored Feb 16, 2024
1 parent a04248d commit bfa0246
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
6 changes: 3 additions & 3 deletions 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: 2.13.3
digest: sha256:84765e3d41b3348d613e7c9f3e83d624d164936656973572e8b5f7a80c9bf20c
generated: "2023-10-19T12:50:53.34503448Z"
version: 2.16.0
digest: sha256:f6ff68e82dd5c53c8928097594a5127cb737641b84fd19c78def8c685aaad714
generated: "2024-02-16T16:22:11.535309-05:00"
Binary file removed charts/common-2.13.3.tgz
Binary file not shown.
Binary file added charts/common-2.16.0.tgz
Binary file not shown.
4 changes: 4 additions & 0 deletions templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ spec:
containers:
- name: opentelemetry-collector
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
{{- if .Values.securityContext }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
{{- end }}
command:
- "/otelcol-contrib"
- "--config=/conf/opentelemetry-collector-config.yaml"
Expand Down

0 comments on commit bfa0246

Please sign in to comment.