Skip to content

Commit

Permalink
Merge pull request #575 from dennis-ge/configure-deployment-annotations
Browse files Browse the repository at this point in the history
feat(574): allow configuring annotations for Deployment
  • Loading branch information
MuneebAijaz authored Mar 28, 2024
2 parents 498a272 + 81d0dd4 commit c4fda9c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/ingressmonitorcontroller/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ metadata:
labels:
{{- include "ingress-monitor-controller.labels" . | nindent 4 }}
control-plane: controller-manager
{{- with .Values.deploymentAnnotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
replicas: {{ .Values.replicaCount }}
selector:
Expand Down
2 changes: 2 additions & 0 deletions charts/ingressmonitorcontroller/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ resources:
# cpu: 100m
# memory: 128Mi

deploymentAnnotations: {}

podAnnotations: {}

podSecurityContext:
Expand Down

0 comments on commit c4fda9c

Please sign in to comment.