Skip to content

Commit

Permalink
Revert some bits
Browse files Browse the repository at this point in the history
  • Loading branch information
benashz committed Jun 11, 2024
1 parent fe69075 commit 21e5cb2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 18 deletions.
17 changes: 8 additions & 9 deletions internal/vault/client_factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,15 +128,14 @@ type cachingClientFactory struct {
requestCounterVec *prometheus.CounterVec
requestErrorCounterVec *prometheus.CounterVec
taintedClientGauge *prometheus.GaugeVec
// objRefClientGauge *prometheus.GaugeVec
revokeOnEvict bool
pruneStorageOnEvict bool
ctrlClient ctrlclient.Client
clientCallbacks []ClientCallbackHandler
callbackHandlerCh chan *ClientCallbackHandlerRequest
mu sync.RWMutex
onceDoWatcher sync.Once
callbackHandlerCancel context.CancelFunc
revokeOnEvict bool
pruneStorageOnEvict bool
ctrlClient ctrlclient.Client
clientCallbacks []ClientCallbackHandler
callbackHandlerCh chan *ClientCallbackHandlerRequest
mu sync.RWMutex
onceDoWatcher sync.Once
callbackHandlerCancel context.CancelFunc
// clientLocksLock is a lock for the clientLocks map.
clientLocksLock sync.RWMutex
// clientLocks is a map of cache keys to locks that allow for concurrent access
Expand Down
8 changes: 0 additions & 8 deletions test/integration/modules/vso-helm/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,6 @@ resource "helm_release" "vault-secrets-operator" {
name = "controller.manager.image.tag"
value = var.operator_image_tag
}
set {
name = "controller.manager.resources.limits.cpu"
value = "1000m"
}
set {
name = "controller.manager.resources.limits.memory"
value = "512Mi"
}
set {
name = "controller.manager.clientCache.persistenceModel"
value = var.client_cache_config.persistence_model
Expand Down
2 changes: 1 addition & 1 deletion test/integration/vaultdynamicsecret_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -756,7 +756,7 @@ func TestVaultDynamicSecret_vaultClientCallback(t *testing.T) {
},
{
name: "create-only-vault-auth-update",
create: 1,
create: 25,
triggerFunc: func(t *testing.T, reconciledObjs []*secretsv1beta1.VaultDynamicSecret) {
t.Helper()
for _, obj := range reconciledObjs {
Expand Down

0 comments on commit 21e5cb2

Please sign in to comment.