CSPL-4358 Split BusConfiguration CR into 2 CRs - Queue and ObjectStorage#1643
CSPL-4358 Split BusConfiguration CR into 2 CRs - Queue and ObjectStorage#1643kasiakoziol wants to merge 26 commits intoCSPL-3551-ingestion-crfrom
Conversation
Pull Request Test Coverage Report for Build 21815575593Details
💛 - Coveralls |
…PL-4360-secret-ref-ingest-index
| // +optional | ||
| // +kubebuilder:validation:Pattern=`^https?://[^\s/$.?#].[^\s]*$` | ||
| // S3-compatible Service endpoint | ||
| Endpoint string `json:"endpoint"` |
There was a problem hiding this comment.
are we expecting the endpoint to have the region. do we need region separately.
There was a problem hiding this comment.
ObjectStorage doesn't have region field, relies on Path. But if Endpoint is constructed automatically somewhere, same China/GovCloud issue from PR
There was a problem hiding this comment.
The region in ObjectStorage is taken from Queue if it is provided over there
| // +kubebuilder:validation:Required | ||
| // +kubebuilder:validation:Pattern=`^s3://[a-z0-9.-]{3,63}(?:/[^\s]+)?$` | ||
| // S3 bucket path | ||
| Path string `json:"path"` |
There was a problem hiding this comment.
do we need s3:// when we know we are already in S3Spec
There was a problem hiding this comment.
That's sth to consider. I am fine with both. For app repo or smart store, we are not requiring this, so maybe we should make it consistent.
vivekr-splunk
left a comment
There was a problem hiding this comment.
i have approve with comments
vivekr-splunk
left a comment
There was a problem hiding this comment.
approved with comments
|
From Vivek: we should have clear names and mixes concern queue , bucket, access, secret, version. can we try something simple like CredentialSecretVersion |
…est-index Feature/CSPL-4360 Secret reference for Index & Ingestion separation
Depends On
Description
It splits BusConfiguration CR into 2 CRs - Queue and ObjectStorage as per internal documentation.
Key Changes
Testing and Verification
Related Issues
Jira: https://splunk.atlassian.net/browse/CSPL-4358
PR Checklist