Skip to content

Commit fe17cfc

Browse files
authored
Merge pull request #168 from port-labs/adding-live-events-uuid-for-chart
Adding live events context
2 parents b9f88cb + b55e4bd commit fe17cfc

File tree

4 files changed

+13
-1
lines changed

4 files changed

+13
-1
lines changed

charts/port-ocean/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: port-ocean
33
description: A Helm chart for Port Ocean integrations
44
type: application
5-
version: 0.6.1
5+
version: 0.6.2
66
appVersion: "0.1.0"
77
home: https://getport.io/
88
sources:

charts/port-ocean/templates/configmap-live-events.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,9 @@ data:
2424
OCEAN__INTEGRATION__CONFIG__{{ $key | snakecase | upper }}: {{ $value | quote }}
2525
{{- end }}
2626
{{- end }}
27+
{{- if .Values.liveEvents.extraConfig }}
28+
{{- range $key, $value := .Values.integration.extraConfig }}
29+
{{ $key | snakecase | upper }}: {{ $value | quote }}
30+
{{- end }}
31+
{{- end }}
2732
{{- end }}

charts/port-ocean/templates/configmap.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,8 @@ data:
2626
OCEAN__INTEGRATION__CONFIG__{{ $key | snakecase | upper }}: {{ $value | quote }}
2727
{{- end }}
2828
{{- end }}
29+
{{- if .Values.integration.extraConfig }}
30+
{{- range $key, $value := .Values.integration.extraConfig }}
31+
{{ $key | snakecase | upper }}: {{ $value | quote }}
32+
{{- end }}
33+
{{- end }}

charts/port-ocean/values.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ integration:
118118
type: ""
119119
config: {}
120120
secrets: {}
121+
extraConfig: {}
121122
eventListener:
122123
type: "KAFKA"
123124
brokers: "b-1-public.publicclusterprod.t9rw6w.c1.kafka.eu-west-1.amazonaws.com:9196,b-2-public.publicclusterprod.t9rw6w.c1.kafka.eu-west-1.amazonaws.com:9196,b-3-public.publicclusterprod.t9rw6w.c1.kafka.eu-west-1.amazonaws.com:9196"
@@ -160,6 +161,7 @@ liveEvents:
160161
# hosts:
161162
# - "my-host.my-domain.com"
162163
extraLabels: {}
164+
extraConfig: {}
163165

164166
livenessProbe:
165167
enabled: true

0 commit comments

Comments
 (0)