Skip to content

Commit

Permalink
Make it possible to provide pod annotations (#192)
Browse files Browse the repository at this point in the history
Make it possible to provide pod annotations
  • Loading branch information
Alien2150 authored Apr 10, 2023
1 parent 7d8e576 commit 913123f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions moon2/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ spec:
app: {{ .Release.Name }}
template:
metadata:
annotations:
{{- range $key, $value := .Values.deployment.podAnnotations }}
{{ $key }}: {{ $value | quote }}
{{- end }}
labels:
app: {{ .Release.Name }}
spec:
Expand Down
5 changes: 5 additions & 0 deletions moon2/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,11 @@ deployment:
##
annotations: {}

##
## Custom pod annotations.
##
podAnnotations: {}

##
## Total number of Moon pods. Default is 2.
##
Expand Down

0 comments on commit 913123f

Please sign in to comment.