Skip to content

Commit

Permalink
[prometheus-adapter] Add sidecar container support (prometheus-commun…
Browse files Browse the repository at this point in the history
…ity#3737)

Signed-off-by: Priyanshu Raj <[email protected]>
Signed-off-by: Priyanshu Raj <[email protected]>
  • Loading branch information
rpriyanshu9 authored and Matiasmct committed Mar 20, 2024
1 parent 6649e0c commit 26857dc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/prometheus-adapter/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: prometheus-adapter
version: 4.5.0
version: 4.6.0
appVersion: v0.11.1
description: A Helm chart for k8s prometheus adapter
home: https://github.com/kubernetes-sigs/prometheus-adapter
Expand Down
3 changes: 3 additions & 0 deletions charts/prometheus-adapter/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@ spec:
name: volume-serving-cert
readOnly: true
{{- end }}
{{- with .Values.extraContainers }}
{{- toYaml . | nindent 6 }}
{{- end }}
nodeSelector:
{{- toYaml .Values.nodeSelector | nindent 8 }}
affinity:
Expand Down
3 changes: 3 additions & 0 deletions charts/prometheus-adapter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,9 @@ extraArguments: []
# - --tls-private-key-file=/etc/tls/tls.key
# - --tls-cert-file=/etc/tls/tls.crt

# Additional containers to add to the pod
extraContainers: []

# Any extra volumes
extraVolumes: []
# - name: example-name
Expand Down

0 comments on commit 26857dc

Please sign in to comment.