Skip to content

Commit

Permalink
Support pod annotations in Helm chart
Browse files Browse the repository at this point in the history
Signed-off-by: Bauer, Johannes <[email protected]>
  • Loading branch information
bauerjs1 committed Oct 26, 2023
1 parent cedc34e commit 1682d39
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/kubechecks/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: kubechecks
description: A Helm chart for kubechecks
version: 0.3.1
version: 0.3.2
appVersion: "1.0.10"
type: application
maintainers:
Expand Down
4 changes: 4 additions & 0 deletions charts/kubechecks/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ spec:
{{- include "kubechecks.selectorLabels" . | nindent 6 }}
template:
metadata:
{{- with .Values.deployment.podAnnotations }}
annotations:
{{- toYaml . | nindent 8 }}
{{- end }}
labels:
{{- if .Values.commonLabels }}
{{- toYaml .Values.commonLabels | nindent 8 }}
Expand Down
2 changes: 2 additions & 0 deletions charts/kubechecks/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ deployment:
annotations: {}
# reloader.stakater.com/auto: "true"

podAnnotations: {}

args: []

# Default values for kubechecks.
Expand Down

0 comments on commit 1682d39

Please sign in to comment.