-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
K8s PushSecret deletion without properties #5535
Copy link
Copy link
Closed
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.
Description
Describe the bug
Cannot delete a PushSecret which pushes the secret as a whole (ie without specific properties)
To Reproduce
apiVersion: v1
data:
encryption_parameters: xxx
info: xxx
kind: Secret
metadata:
name: my-secret
namespace: default
type: OpaqueapiVersion: external-secrets.io/v1alpha1
kind: PushSecret
metadata:
name: my-secret
namespace: default
spec:
data:
- conversionStrategy: None
match:
remoteRef:
remoteKey: kms-secret-1
deletionPolicy: Delete
refreshInterval: 1h
secretStoreRefs:
- kind: SecretStore
name: k8s-store-1
selector:
secret:
name: my-secret
updatePolicy: ReplaceK8s version: v1.33.1
ESO version: v0.20.4
Expected behavior
Upon deletion, expected pushsecret to be deleted gracefully.
Additional context
On deletion, pushsecret gets stuck in Errored status with the following message: Failed to Delete Secrets from Provider: requires property in RemoteRef to delete secret value
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.
Type
Projects
Status
Done