Skip to content

Commit

Permalink
feat(collector-chart): add extraEnvFrom support
Browse files Browse the repository at this point in the history
  • Loading branch information
paologallinaharbur committed Jun 26, 2023
1 parent b8a3fea commit bdec12d
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/opentelemetry-collector/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: opentelemetry-collector
version: 0.61.0
version: 0.61.1
description: OpenTelemetry Collector Helm chart for Kubernetes
type: application
home: https://opentelemetry.io/
Expand Down
4 changes: 4 additions & 0 deletions charts/opentelemetry-collector/templates/_pod.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ containers:
{{- with .Values.extraEnvs }}
{{- . | toYaml | nindent 6 }}
{{- end }}
{{- with .Values.extraEnvsFrom }}
envFrom:
{{- . | toYaml | nindent 6 }}
{{- end }}
{{- if .Values.lifecycleHooks }}
lifecycle:
{{- toYaml .Values.lifecycleHooks | nindent 6 }}
Expand Down
6 changes: 6 additions & 0 deletions charts/opentelemetry-collector/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,12 @@
"type": "object"
}
},
"extraEnvsFrom": {
"type": "array",
"items": {
"type": "object"
}
},
"extraConfigMapMounts": {
"type": "array",
"items": {
Expand Down
1 change: 1 addition & 0 deletions charts/opentelemetry-collector/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ topologySpreadConstraints: []
priorityClassName: ""

extraEnvs: []
extraEnvsFrom: []
extraVolumes: []
extraVolumeMounts: []

Expand Down

0 comments on commit bdec12d

Please sign in to comment.