splunk / splunk-operator

Splunk Operator for Kubernetes
Other
210 stars 115 forks source link

CSPL-2598 - Fix app package name extraction logic #1327

Closed akondur closed 6 months ago

akondur commented 6 months ago

Customer is facing an issue while installing an app from Splunk base. Splunk Operator uses the following command to extract the app name:

tar tf <name> |head -1|cut -d/ -f1

In the case of harmless errors, we would want to log an error and continue with the installation. We will log errors with the Splunk Operator in all cases of errors/warnings but return error and fail installation only when the extracted name is empty