Skip to content

Commit b8c2abb

Browse files
committed
added parameters
1 parent 840bba4 commit b8c2abb

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ data:
1919
{{- if .Values.integration.identifier }}
2020
OCEAN__INTEGRATION__IDENTIFIER: "{{ .Values.integration.identifier }}"
2121
{{- end }}
22-
{{- if .Values.integration.isOAuthInstallationType }}
23-
OCEAN__OAUTH_ACCESS_TOKEN_FILE_PATH: "/app/.config/oauth_token"
22+
{{- if .Values.integration.oauth.enabled }}
23+
OCEAN__OAUTH_ACCESS_TOKEN_FILE_PATH: "{{ .Values.integration.oauth.access_token_file_path }}"
2424
{{- end }}
2525
{{- if .Values.integration.config }}
2626
{{- range $key, $value := .Values.integration.config }}

charts/port-ocean/templates/configmap.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ data:
2121
{{- if .Values.integration.identifier }}
2222
OCEAN__INTEGRATION__IDENTIFIER: "{{ .Values.integration.identifier }}"
2323
{{- end }}
24-
{{- if .Values.integration.isOAuthInstallationType }}
25-
OCEAN__OAUTH_ACCESS_TOKEN_FILE_PATH: "/app/.config/oauth_token"
24+
{{- if .Values.integration.oauth.enabled }}
25+
OCEAN__OAUTH_ACCESS_TOKEN_FILE_PATH: "{{ .Values.integration.oauth.access_token_file_path }}"
2626
{{- end }}
2727
{{- if .Values.integration.config }}
2828
{{- range $key, $value := .Values.integration.config }}

charts/port-ocean/values.yaml

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