Skip to content

App Framework: AWS S3 region extraction logic does not handle us-gov-west-1 #1567

@chancepants

Description

@chancepants

Please select the type of request

Bug

Tell us more

Describe the request
Update the awss3client to support us-gov-west-1. The region regex expects regions with 3 parts e.g. us-west-2 and fails to parse regions with 4 parts us-gov-west-1 https://github.com/splunk/splunk-operator/blob/main/pkg/splunk/client/awss3client.go#L64

Expected behavior
The app framework behaviors work as intended in us-gov-west-1

Splunk setup on K8S
A cluster configured with app repo endpoint: https://s3.us-gov-west-1.amazonaws.com

Reproduction/Testing steps
Attempt to install an app using a repo in us-gov-west-1

K8s environment
EKS version 1.28

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions