Skip to content

Commit

Permalink
Merge pull request #20 from goto-opensource/feat/peterbu/allow-deploy…
Browse files Browse the repository at this point in the history
…ment-annotations

feat: allow deployment annotations in Helm Chart
  • Loading branch information
peterbueschel authored Aug 20, 2024
2 parents ede8c10 + 5dd46ef commit 9f0baa6
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 9f0baa6

Please sign in to comment.