Skip to content

Commit

Permalink
Feat: added deployment annotations (#280)
Browse files Browse the repository at this point in the history
* added deployment annotations

* fixed annotations in deployment manifest

* fixed the issue

---------

Co-authored-by: Vatsal <safayavatsal@Vatsals-MacBook-Pro.local>
  • Loading branch information
safayavatsal and Vatsal authored Nov 26, 2024
1 parent 96a78cb commit d291257
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/openmetadata/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ metadata:
name: {{ include "OpenMetadata.fullname" . }}
labels:
{{- include "OpenMetadata.labels" . | indent 4 }}
{{- with .Values.deploymentAnnotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
replicas: {{ .Values.replicaCount }}
selector:
Expand Down
3 changes: 3 additions & 0 deletions charts/openmetadata/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1354,6 +1354,9 @@
"podAnnotations": {
"type": "object"
},
"deploymentAnnotations": {
"type": "object"
},
"networkPolicy": {
"type": "object",
"additionalProperties": false,
Expand Down
1 change: 1 addition & 0 deletions charts/openmetadata/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -512,4 +512,5 @@ podDisruptionBudget:
minAvailable: "1"

commonLabels: {}
deploymentAnnotations: {}
podAnnotations: {}

0 comments on commit d291257

Please sign in to comment.