Skip to content

Commit

Permalink
Merge pull request #18 from tagesjump/fix/17-high-read-requests-rate-…
Browse files Browse the repository at this point in the history
…for-crossplane-provider-bucket-resource

Fix: High Read Requests Rate for Crossplane Provider Bucket Resource
  • Loading branch information
ssch1337 authored Aug 10, 2024
2 parents f8ac551 + 1a11eca commit 63b5375
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apis/storage/v1alpha1/zz_bucket_terraformed.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions config/storage/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ func Configure(p *ujconfig.Provider) {
Type: fmt.Sprintf("%s.%s", iam.ApisPackagePath, "ServiceAccountStaticAccessKey"),
Extractor: common.ExtractPublicKeyFuncPath,
}
r.LateInitializer = ujconfig.LateInitializer{
IgnoredFields: []string{"anonymous_access_flags", "anonymous_access_flags.config_read", "anonymous_access_flags.list", "anonymous_access_flags.read"},
}
})
p.AddResourceConfigurator("yandex_storage_object", func(r *ujconfig.Resource) {
r.UseAsync = true
Expand Down

0 comments on commit 63b5375

Please sign in to comment.