Skip to content

Commit

Permalink
feat: allow deployment annotations in Helm Chart
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbueschel committed May 31, 2024
1 parent 3a8013a commit 5dd46ef
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/k8s-aws-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "k8s-aws-operator.fullname" . }}
{{- with .Values.deploymentAnnotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
labels:
{{- include "k8s-aws-operator.labels" . | nindent 4 }}
spec:
Expand Down
2 changes: 2 additions & 0 deletions charts/k8s-aws-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ image:
repository: goto-opensource/k8s-aws-operator
tag: # coming from appVersion

# deploymentAnnotations: {}

resources:
requests:
cpu: 20m
Expand Down

0 comments on commit 5dd46ef

Please sign in to comment.