Skip to content

Commit 9c717f7

Browse files
authored
Merge pull request #171 from port-labs/added-is-oauth-installation-for-integration
added is oauth installation
2 parents cee1af4 + 00b4168 commit 9c717f7

File tree

4 files changed

+10
-1
lines changed

4 files changed

+10
-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.3
5+
version: 0.6.4
66
appVersion: "0.1.0"
77
home: https://getport.io/
88
sources:

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

+3
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ data:
1919
{{- if .Values.integration.identifier }}
2020
OCEAN__INTEGRATION__IDENTIFIER: "{{ .Values.integration.identifier }}"
2121
{{- end }}
22+
{{- if .Values.integration.oauth.enabled }}
23+
OCEAN__OAUTH_ACCESS_TOKEN_FILE_PATH: "{{ .Values.integration.oauth.access_token_file_path }}"
24+
{{- end }}
2225
{{- if .Values.integration.config }}
2326
{{- range $key, $value := .Values.integration.config }}
2427
OCEAN__INTEGRATION__CONFIG__{{ $key | snakecase | upper }}: {{ $value | quote }}

charts/port-ocean/templates/configmap.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ data:
2121
{{- if .Values.integration.identifier }}
2222
OCEAN__INTEGRATION__IDENTIFIER: "{{ .Values.integration.identifier }}"
2323
{{- end }}
24+
{{- if .Values.integration.oauth.enabled }}
25+
OCEAN__OAUTH_ACCESS_TOKEN_FILE_PATH: "{{ .Values.integration.oauth.access_token_file_path }}"
26+
{{- end }}
2427
{{- if .Values.integration.config }}
2528
{{- range $key, $value := .Values.integration.config }}
2629
OCEAN__INTEGRATION__CONFIG__{{ $key | snakecase | upper }}: {{ $value | quote }}

charts/port-ocean/values.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,9 @@ integration:
119119
config: {}
120120
secrets: {}
121121
extraConfig: {}
122+
oauth:
123+
enabled: false
124+
access_token_file_path: "/app/.config/oauth_token"
122125
eventListener:
123126
type: "KAFKA"
124127
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"

0 commit comments

Comments
 (0)