Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add CF client configuration for opensearch job on data nodes #144

Merged
merged 1 commit into from
Dec 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions opensearch-jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ instance_groups:
indices.query.bool.max_clause_count: 2048
jvm_options:
- "-Dlog4j2.formatMsgNoLookups=true"
cf:
client_id: opensearch_client_id
persistent_disk_type: logs_opensearch_os_data
stemcell: default
azs: [z1]
Expand Down
6 changes: 6 additions & 0 deletions opsfiles/cf-development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,9 @@
path: /instance_groups/name=maintenance/jobs/name=upload-dashboards-objects/properties?/cloudfoundry?/system_domain?
value: ((cf-api-development))

- type: replace
path: /instance_groups/name=opensearch_data/jobs/name=opensearch/properties?/opensearch?/cf?/client_password?
value: ((/bosh/cf-development/opensearch_client_secret))
- type: replace
path: /instance_groups/name=opensearch_data/jobs/name=opensearch/properties?/opensearch?/cf?/domain?
value: ((cf-api-development))
9 changes: 8 additions & 1 deletion opsfiles/cf-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,11 @@
value: ((/bosh/cf-production/opensearch_client_secret))
- type: replace
path: /instance_groups/name=maintenance/jobs/name=upload-dashboards-objects/properties?/cloudfoundry?/system_domain?
value: ((cf-api-production))
value: ((cf-api-production))

- type: replace
path: /instance_groups/name=opensearch_data/jobs/name=opensearch/properties?/opensearch?/cf?/client_password?
value: ((/bosh/cf-production/opensearch_client_secret))
- type: replace
path: /instance_groups/name=opensearch_data/jobs/name=opensearch/properties?/opensearch?/cf?/domain?
value: ((cf-api-production))
10 changes: 9 additions & 1 deletion opsfiles/cf-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,12 @@
value: ((/bosh/cf-staging/opensearch_client_secret))
- type: replace
path: /instance_groups/name=maintenance/jobs/name=upload-dashboards-objects/properties?/cloudfoundry?/system_domain?
value: ((cf-api-staging))
value: ((cf-api-staging))

- type: replace
path: /instance_groups/name=opensearch_data/jobs/name=opensearch/properties?/opensearch?/cf?/client_password?
value: ((/bosh/cf-staging/opensearch_client_secret))
- type: replace
path: /instance_groups/name=opensearch_data/jobs/name=opensearch/properties?/opensearch?/cf?/domain?
value: ((cf-api-staging))

Loading