Skip to content

[TSOPS-1341] Make get_support_bundle.sh compatible with opensearch#212

Merged
mbreitung merged 5 commits intomasterfrom
TSOPS-1341/adapt-to-opensearch
Nov 15, 2022
Merged

[TSOPS-1341] Make get_support_bundle.sh compatible with opensearch#212
mbreitung merged 5 commits intomasterfrom
TSOPS-1341/adapt-to-opensearch

Conversation

@gmarraff
Copy link
Copy Markdown
Contributor

Jira

Issues

Description

For the newest sysdig installation, opensearch is preferred (default value) to elasticsearch. This make the current implementation of the get_support_bundle.sh script to not work.

Since opensearch is an important part the infrastructure, this PR works on several fronts:

  • Guarss every fetch command with a final || true, to avoid any disruption of the script (as performed for other components)
  • Removes the -it flag from the kubectl exec from elastic search (no interactive operations are required)
  • Adapts the certificate path for the ELASTIC_CURL variable to opensearch

The PR has been tested against a couple of sysdig installation, one with ES6 and one with OpenSearch.

Copy link
Copy Markdown
Contributor

@saltycr3w saltycr3w left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mbreitung mbreitung merged commit 5f57350 into master Nov 15, 2022
@mbreitung mbreitung deleted the TSOPS-1341/adapt-to-opensearch branch November 15, 2022 19:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants