Skip to content

Commit 405a6e2

Browse files
authored
Add marquez.podAnnotations (#1945)
* Add pod annotation support for Marquez Signed-off-by: wslulciuc <willy@datakin.com> * Update changelog Signed-off-by: wslulciuc <willy@datakin.com>
1 parent 6d6b440 commit 405a6e2

4 files changed

Lines changed: 32 additions & 22 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44

55
### Added
66

7-
* Add support for `LifecycleStateChangeFacet` with an ability to softly delete datasets.
7+
* Add support for `LifecycleStateChangeFacet` with an ability to softly delete datasets [@pawel-big-lebowski](https://github.com/pawel-big-lebowski)
8+
* Enable pod specific annotations in Marquez Helm Chart via `marquez.podAnnotations` [@wslulciuc](https://github.com/wslulciuc)
89

910
## [0.21.0](https://github.com/MarquezProject/marquez/compare/0.20.0...0.21.0) - 2022-03-03
1011

chart/README.md

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -45,25 +45,26 @@ helm delete marquez
4545

4646
### [Marquez](https://github.com/MarquezProject/marquez) **parameters**
4747

48-
| Parameter | Description | Default |
49-
|------------------------------|----------------------------------|--------------------------|
50-
| `marquez.replicaCount` | Number of desired replicas | `1` |
51-
| `marquez.image.registry` | Marquez image registry | `docker.io` |
52-
| `marquez.image.repository` | Marquez image repository | `marquezproject/marquez` |
53-
| `marquez.image.tag` | Marquez image tag | `0.15.0` |
54-
| `marquez.image.pullPolicy` | Image pull policy | `IfNotPresent` |
48+
| Parameter | Description | Default |
49+
|------------------------------|----------------------------------------|--------------------------|
50+
| `marquez.replicaCount` | Number of desired replicas | `1` |
51+
| `marquez.image.registry` | Marquez image registry | `docker.io` |
52+
| `marquez.image.repository` | Marquez image repository | `marquezproject/marquez` |
53+
| `marquez.image.tag` | Marquez image tag | `0.15.0` |
54+
| `marquez.image.pullPolicy` | Image pull policy | `IfNotPresent` |
5555
| `marquez.existingSecretName` | Name of an existing secret containing db password ('marquez-db-password' key) | `nil` |
56-
| `marquez.db.host` | PostgreSQL host | `localhost` |
57-
| `marquez.db.port` | PostgreSQL port | `5432` |
58-
| `marquez.db.name` | PostgreSQL database | `marquez` |
59-
| `marquez.db.user` | PostgreSQL user | `buendia` |
60-
| `marquez.db.password` | PostgreSQL password | `macondo` |
61-
| `marquez.migrateOnStartup` | Execute Flyway migration | `true` |
62-
| `marquez.hostname` | Marquez hostname | `localhost` |
63-
| `marquez.port` | API host port | `5000` |
64-
| `marquez.adminPort` | Heath/Liveness host port | `5001` |
65-
| `marquez.resources.limits` | K8s resource limit overrides | `nil` |
66-
| `marquez.resources.requests` | K8s resource requests overrides | `nil` |
56+
| `marquez.db.host` | PostgreSQL host | `localhost` |
57+
| `marquez.db.port` | PostgreSQL port | `5432` |
58+
| `marquez.db.name` | PostgreSQL database | `marquez` |
59+
| `marquez.db.user` | PostgreSQL user | `buendia` |
60+
| `marquez.db.password` | PostgreSQL password | `macondo` |
61+
| `marquez.migrateOnStartup` | Execute Flyway migration | `true` |
62+
| `marquez.hostname` | Marquez hostname | `localhost` |
63+
| `marquez.port` | API host port | `5000` |
64+
| `marquez.adminPort` | Heath/Liveness host port | `5001` |
65+
| `marquez.resources.limits` | K8s resource limit overrides | `nil` |
66+
| `marquez.resources.requests` | K8s resource requests overrides | `nil` |
67+
| `marquez.podAnnotations` | Additional pod annotations for Marquez | `{}` |
6768

6869
### [Marquez Web UI](https://github.com/MarquezProject/marquez-web) **parameters**
6970

chart/templates/marquez/deployment.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,13 @@ metadata:
77
{{- include "common.tplvalues.render" (dict "value" .Values.commonLabels "context" $) | nindent 4 }}
88
{{- end }}
99
app.kubernetes.io/component: marquez
10-
{{- if .Values.commonAnnotations }}
11-
annotations: {{- include "common.tplvalues.render" (dict "value" .Values.commonAnnotations "context" $) | nindent 4 }}
12-
{{- end }}
10+
annotations:
11+
{{- if .Values.commonAnnotations }}
12+
{{- include "common.tplvalues.render" (dict "value" .Values.commonAnnotations "context" $) | nindent 4 }}
13+
{{- end }}
14+
{{- range $key, $value := .Values.marquez.podAnnotations }}
15+
{{ $key }}: {{ include "common.tplvalues.render" (dict "value" $value "context" $) | quote }}
16+
{{- end }}
1317
spec:
1418
selector:
1519
matchLabels: {{- include "common.labels.matchLabels" . | nindent 6 }}

chart/values.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ marquez:
5555
requests: {}
5656
# memory: 256Mi
5757
# cpu: 250m
58+
podAnnotations: {}
59+
## - name:
60+
## value:
61+
##
5862

5963
## Properties related to Marquez frontend functionality
6064
##

0 commit comments

Comments
 (0)