Skip to content

feat: push secret triggers for data as well#47

Merged
gusfcarvalho merged 1 commit into
mainfrom
gc/feat/pushsecret-on-data
Apr 17, 2025
Merged

feat: push secret triggers for data as well#47
gusfcarvalho merged 1 commit into
mainfrom
gc/feat/pushsecret-on-data

Conversation

@gusfcarvalho

Copy link
Copy Markdown
Member

No description provided.

Signed-off-by: Gustavo Carvalho <gustavo@externalsecrets.com>
@gusfcarvalho
gusfcarvalho requested a review from Copilot April 17, 2025 18:13

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR extends the push secret trigger functionality to include secret matching based on data entries, ensuring that both secret selectors and data criteria are considered.

  • Added a loop in the handler to check if any data entry's remote key matches the secret identifier.
  • Updated CRD documentation and API type comments to reflect the new trigger criteria.

Reviewed Changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.

File Description
internal/handler/pushsecret/handler.go Added a loop to verify secret identifier against data entries.
config/crd/bases/reloader.external-secrets.io_configs.yaml Removed outdated description details to align with updated functionality.
api/v1alpha1/destination_pushsecret_types.go Updated comments to document the new matching criteria for secret triggers.
Files not reviewed (1)
  • go.mod: Language not supported

@gusfcarvalho
gusfcarvalho merged commit 9406b43 into main Apr 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants