1
0
Fork 0
mirror of https://github.com/external-secrets/external-secrets.git synced 2024-12-14 11:57:59 +00:00

Add StoreKind to Webhook. (#3960)

Signed-off-by: Samuel Wambach <7828075+samwambach@users.noreply.github.com>
This commit is contained in:
Samuel Wambach 2024-09-26 22:44:09 -07:00 committed by GitHub
parent d02f600009
commit 858fe6b53c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -65,6 +65,7 @@ func (p *Provider) NewClient(ctx context.Context, store esv1beta1.GenericStore,
wh := webhook.Webhook{
Kube: kube,
Namespace: namespace,
StoreKind: store.GetObjectKind().GroupVersionKind().Kind,
}
whClient := &WebHook{
store: store,