Skip to content

Commit ba77c68

Browse files
author
Andrea Scarpino
committed
openmetadata: allow to define service nodeport
1 parent 7819546 commit ba77c68

File tree

4 files changed

+11
-10
lines changed

4 files changed

+11
-10
lines changed

charts/openmetadata/Chart.yaml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
apiVersion: v2
22
name: openmetadata
33
description: A Helm chart for OpenMetadata on Kubernetes
4-
54
# A chart can be either an 'application' or a 'library' chart.
65
#
76
# Application charts are a collection of templates that can be packaged into versioned archives
@@ -11,24 +10,19 @@ description: A Helm chart for OpenMetadata on Kubernetes
1110
# a dependency of application charts to inject those utilities and functions into the rendering
1211
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
1312
type: application
14-
1513
# This is the chart version. This version number should be incremented each time you make changes
1614
# to the chart and its templates, including the app version.
1715
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 1.12.1
19-
16+
version: 1.12.2
2017
# This is the version number of the application being deployed. This version number should be
2118
# incremented each time you make changes to the application. Versions are not expected to
2219
# follow Semantic Versioning. They should reflect the version the application is using.
2320
# It is recommended to use it with quotes.
2421
appVersion: "1.12.1"
25-
2622
home: https://open-metadata.org/
27-
2823
sources:
2924
- https://github.com/open-metadata/OpenMetadata
3025
- https://github.com/open-metadata/openmetadata-helm-charts
31-
3226
keywords:
3327
- metadata
3428
- data-science
@@ -49,13 +43,10 @@ keywords:
4943
- dataquality
5044
- bigdataanalytics
5145
- datadiscovery
52-
5346
maintainers:
5447
- name: OpenMetadata
5548
email: support@open-metadata.org
56-
5749
icon: https://open-metadata.org/assets/favicon.png
58-
5950
annotations:
6051
artifacthub.io/images: |
6152
- name: openmetadata-server

charts/openmetadata/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,8 +299,10 @@ helm install openmetadata open-metadata/openmetadata --values <<path-to-values-f
299299
| testConnection.resources | object | `{}` |
300300
| securityContext | object | `{}` |
301301
| service.adminPort | string | `8586` |
302+
| service.adminNodePort | int | `` |
302303
| service.annotations | object | `{}` |
303304
| service.port | int | `8585` |
305+
| service.nodePort | int | `` |
304306
| service.type | string | `"ClusterIP"` |
305307
| serviceAccount.annotations | object | `{}` |
306308
| serviceAccount.create | bool | `true` |

charts/openmetadata/templates/service.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,16 @@ spec:
1313
ports:
1414
- port: {{ .Values.service.port }}
1515
targetPort: http
16+
{{- if and (eq "NodePort" .Values.service.type) .Values.service.nodePort }}
17+
nodePort: {{ .Values.service.nodePort }}
18+
{{- end }}
1619
protocol: TCP
1720
name: http
1821
- port: {{ .Values.service.adminPort }}
1922
targetPort: http-admin
23+
{{- if and (eq "NodePort" .Values.service.type) .Values.service.adminNodePort }}
24+
nodePort: {{ .Values.service.adminNodePort }}
25+
{{- end }}
2026
protocol: TCP
2127
name: http-admin
2228
selector:

charts/openmetadata/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,9 @@ securityContext: {}
485485
service:
486486
type: ClusterIP
487487
port: 8585
488+
# nodePort: 32085
488489
adminPort: 8586
490+
# adminNodePort: 32086
489491
annotations: {}
490492

491493
# Service monitor for Prometheus metrics

0 commit comments

Comments
 (0)