Skip to content

App Framework: #1479

Open
Open
@araman-m

Description

@araman-m

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 )

case "tar.gz":
	return true

tar command here

cmdArr = []string{"tar", "-xf", "-"}
dont seem to depend on extension name

there is also probably test case to be added (like the existing ones)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions