Skip to content

Commit

Permalink
feat: adding aws config in apps for OpenSearch (#2232)
Browse files Browse the repository at this point in the history
  • Loading branch information
hamza-m-masood authored Sep 5, 2024
1 parent c4add04 commit 9b77ec5
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,9 @@ data:
{{- if .Values.global.opensearch.enabled }}
opensearch:
url: {{ include "camundaPlatform.opensearchURL" . | quote }}
{{- if .Values.global.opensearch.aws.enabled }}
awsEnabled: true
{{- end }}
{{- if .Values.global.opensearch.auth.username }}
username: {{ .Values.global.opensearch.auth.username | quote }}
{{- end }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,10 @@ spec:
- name: OPTIMIZE_ELASTICSEARCH_HTTP_PORT
value: {{ .Values.global.elasticsearch.url.port | quote }}
{{- end }}
{{- if .Values.global.opensearch.aws.enabled }}
- name: CAMUNDA_OPTIMIZE_OPENSEARCH_AWS_ENABLED
value: "true"
{{- end }}
{{- with .Values.optimize.migration.env }}
{{- tpl (toYaml .) $ | nindent 12 }}
{{- end }}
Expand Down Expand Up @@ -200,6 +204,10 @@ spec:
- name: CAMUNDA_OPTIMIZE_CACHES_CLOUD_TENANT_AUTHORIZATIONS_MIN_FETCH_INTERVAL_SECONDS
value: "600000"
{{- end }}
{{- if .Values.global.opensearch.aws.enabled }}
- name: CAMUNDA_OPTIMIZE_OPENSEARCH_AWS_ENABLED
value: "true"
{{- end }}
{{- with .Values.optimize.env }}
{{- tpl (toYaml .) $ | nindent 12 }}
{{- end }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,9 @@ data:
database: opensearch
opensearch:
url: {{ include "camundaPlatform.opensearchURL" . | quote }}
{{- if .Values.global.opensearch.aws.enabled }}
awsEnabled: true
{{- end }}
{{- if .Values.global.opensearch.auth.username }}
username: {{ .Values.global.opensearch.auth.username | quote }}
{{- end }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ data:
{{- if .Values.global.opensearch.enabled }}
opensearch:
url: {{ include "camundaPlatform.opensearchURL" . | quote }}
{{- if .Values.global.opensearch.aws.enabled }}
awsEnabled: true
{{- end }}
{{- if .Values.global.opensearch.auth.username }}
username: {{ .Values.global.opensearch.auth.username | quote }}
{{- end }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,10 @@ spec:
- name: OPTIMIZE_ELASTICSEARCH_HTTP_PORT
value: {{ .Values.global.elasticsearch.url.port | quote }}
{{- end }}
{{- if .Values.global.opensearch.aws.enabled }}
- name: CAMUNDA_OPTIMIZE_OPENSEARCH_AWS_ENABLED
value: "true"
{{- end }}
{{- with .Values.optimize.migration.env }}
{{- tpl (toYaml .) $ | nindent 12 }}
{{- end }}
Expand Down Expand Up @@ -190,6 +194,10 @@ spec:
- name: CAMUNDA_OPTIMIZE_CACHES_CLOUD_TENANT_AUTHORIZATIONS_MIN_FETCH_INTERVAL_SECONDS
value: "600000"
{{- end }}
{{- if .Values.global.opensearch.aws.enabled }}
- name: CAMUNDA_OPTIMIZE_OPENSEARCH_AWS_ENABLED
value: "true"
{{- end }}
{{- with .Values.optimize.env }}
{{- tpl (toYaml .) $ | nindent 12 }}
{{- end }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@ data:
database: opensearch
opensearch:
url: {{ include "camundaPlatform.opensearchURL" . | quote }}
{{- if .Values.global.opensearch.aws.enabled }}
awsEnabled: true
{{- end }}
{{- if .Values.global.opensearch.auth.username }}
username: {{ .Values.global.opensearch.auth.username | quote }}
{{- end }}
Expand Down

0 comments on commit 9b77ec5

Please sign in to comment.