Description
Please select the type of request
Enhancement
Tell us more
Current Operator support app extensions with .spl and .tgz extensions, which doesnt match allowed app name extensions used on splunkbase which also include .tar.gz
Even if this is documented in "Splunk apps and add-ons in a .tgz or .spl archive format." at https://github.com/splunk/splunk-operator/blob/main/docs/AppFramework.md
it is very confusing for new users and there is not even error message, apps with tar.gz are just ignored.
It seems pretty straighforward to add a new allowed extension (which will be the same as spl and tgz are tar + gz )
splunk-operator/pkg/splunk/enterprise/util.go
Line 1255 in ada76d5
case "tar.gz":
return true
tar command here
splunk-operator/pkg/splunk/enterprise/util.go
Line 1937 in ada76d5
there is also probably test case to be added (like the existing ones)