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
App Framework: Add option to use path style s3 URLs #1291
Comments
i guess this is related: #1030 (comment) |
Hello @yaroslav-nakonechnikov @paheath we will work on this change and get back to you |
Hello @paheath , we are exploring possible solutions to the path style S3 URLs. Meanwhile, can you please provide an example of the working(with the modified Splunk operator image) appFramework configurations for the path style URLs? Also, path style URLs will be discontinued per AWS documentation.
|
This is an excerpt from my helm chart, and the underlying operator image is modified as indicated in the original bug description. I don't think any of the value substitutions necessarily impact the functionality. I've defined it in the yaml as documented here https://splunk.github.io/splunk-operator/AppFramework.html
|
Hi @paheath , thanks for the example above. To further test our solution, are you able to let us know the storage provider being used to test |
I'm testing against an on-prem s3-compatible NAS. I think testing against any s3-compatible storage might be sufficient, as long as you can confirm the outbound request is hitting the path-style endpoint when configured to do so. Maybe even locally block outbound traffic to the virtual endpoint. Testing might be similar to how the smartstore path-style config is tested. |
Please select the type of request
Enhancement
Tell us more
Describe the request
I am deploying the operator in an on-prem environment with a storage solution that only supports path style s3 URLs. As far as I can tell, the operator defaults to using virtual host style s3 URLs to download apps. I propose making the current behavior remain the default, and provide an option in the AppFramework spec to explicitly set the s3 URLs to path style. I rebuilt the operator with
S3ForcePathStyle: aws.Bool(true)
added here and the app framework worked as expected.Smartstore offers a similar option to specify the url version, and defaults to path style. See
remote.s3.url_version
here.Expected behavior
Force the s3 client to use path style URLs when downloading apps, when set as such in the AppFramework spec.
Splunk setup on K8S
SearchHeadCluster, IndexerCluster, ClusterManager, LicenseManager, MonitoringConsole, and Standalone heavy forwarder.
Reproduction/Testing steps
Enable path style s3 URLs via the AppFramework spec. Verify that apps are correctly downloaded and installed.
K8s environment
On-prem k8s cluster with on-prem s3-compatible NAS.
The text was updated successfully, but these errors were encountered: