Skip to content

Commit

Permalink
Add support to set Deployment annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
amuraru committed Jul 27, 2022
1 parent 5425c62 commit af00080
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/kminion/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ metadata:
namespace: {{ .Release.Namespace | quote }}
labels:
{{- include "kminion.labels" . | nindent 4}}
{{- with .Values.annotations}}
annotations:
{{- toYaml . | nindent 4}}
{{- end}}
spec:
{{- if not .Values.autoscaling.enabled}}
replicas: {{.Values.replicaCount}}
Expand Down
1 change: 1 addition & 0 deletions charts/kminion/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ tolerations: []
affinity: {}

customLabels: {}
annotations: {}

serviceMonitor:
create: false
Expand Down

0 comments on commit af00080

Please sign in to comment.