Skip to content

Commit

Permalink
[prometheus-adapter] Allow configuration of startupProbe
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Mo <[email protected]>
  • Loading branch information
kevinmo13 committed Sep 18, 2023
1 parent c48edfd commit 5d3bc52
Show file tree
Hide file tree
Showing 2 changed files with 5 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.5.1
appVersion: v0.11.1
description: A Helm chart for k8s prometheus adapter
home: https://github.com/kubernetes-sigs/prometheus-adapter
Expand Down
4 changes: 4 additions & 0 deletions charts/prometheus-adapter/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ spec:
readinessProbe:
{{- toYaml . | nindent 10 }}
{{- end }}
{{- with .Values.startupProbe }}
startupProbe:
{{- toYaml . | nindent 10 }}
{{- end }}
{{- if .Values.resources }}
resources:
{{- toYaml .Values.resources | nindent 10 }}
Expand Down

0 comments on commit 5d3bc52

Please sign in to comment.