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 28, 2022
1 parent 5425c62 commit c3d9ae6
Show file tree
Hide file tree
Showing 2 changed files with 6 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.deployment.annotations}}
annotations:
{{- toYaml . | nindent 4}}
{{- end}}
spec:
{{- if not .Values.autoscaling.enabled}}
replicas: {{.Values.replicaCount}}
Expand Down
2 changes: 2 additions & 0 deletions charts/kminion/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ daemonset:
enabled: false

deployment:
# Annotations to add to the Deployment resource
annotations: {}
volumes:
# Mount files from Kubernetes secrets into the container
secrets: []
Expand Down

0 comments on commit c3d9ae6

Please sign in to comment.