Skip to content

CSPL-2577 - Add an option for path Style URL#1333

Draft
akondur wants to merge 3 commits intodevelopfrom
CSPL-2577
Draft

CSPL-2577 - Add an option for path Style URL#1333
akondur wants to merge 3 commits intodevelopfrom
CSPL-2577

Conversation

@akondur
Copy link
Collaborator

@akondur akondur commented May 22, 2024

Add an option to configure path style URL requests

Example Standalone AppFramework config:

apiVersion: enterprise.splunk.com/v4
kind: Standalone
metadata:
  name: ido
  finalizers:
  - enterprise.splunk.com/delete-pvc
spec:
  replicas: 1
  appRepo:
    appsRepoPollIntervalSeconds: 100
    defaults:
      volumeName: volume_app_repo_us
      scope: local
    appSources:
    - name: dummy
      location: dummy/
      volumeName: volume_app_repo_us
    volumes:
    - name: volume_app_repo_us
      storageType: s3
      provider: aws
      path: <>
      endpoint: https://s3-us-west-2.amazonaws.com
      region: us-west-2
      s3PathUrl: true
      secretRef: s3-secret

Supporting log:

2024-06-06T01:03:17.019639356Z  INFO    InitAWSClientSession    Setting up AWS SDK client       {"controller": "standalone", "controllerGroup": "enterprise.splunk.com", "controllerKind": "Standalone", "Standalone": {"name":"ido","namespace":"splunk-operator"}, "namespace": "splunk-operator", "name": "ido", "reconcileID": "4c684039-fe1b-4bea-b550-ce618f2ef57e", "regionWithEndpoint": "us-west-2|https://s3-us-west-2.amazonaws.com", "pathStyleUrl": true}

Solves Github issue.

@akondur akondur changed the title Add an option for path Style URL CSPL-2577 - Add an option for path Style URL May 22, 2024
@akondur akondur requested a review from vivekr-splunk May 23, 2024 19:22
@akondur akondur marked this pull request as draft October 2, 2024 01:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant