pipe-cd / pipecd

The One CD for All {applications, platforms, operations}
https://pipecd.dev
Apache License 2.0
1.09k stars 153 forks source link

Add function to find ConfigMaps and Secrets in manifests #5319

Closed Warashi closed 3 days ago

Warashi commented 1 week ago

What this PR does:

This PR adds the function findConfigs to find ConfigMaps and Secrets in manifests.

Why we need it:

To determine sync strategies, we need to find updated ConfigMaps or Secrets. This PR adds functionalities for finding these candidates.

Which issue(s) this PR fixes:

Part of #4980

Does this PR introduce a user-facing change?: No

codecov[bot] commented 1 week ago

Codecov Report

Attention: Patch coverage is 55.55556% with 8 lines in your changes missing coverage. Please review.

Project coverage is 25.28%. Comparing base (b5089af) to head (dedd8fc). Report is 5 commits behind head on master.

Files with missing lines Patch % Lines
...app/pipedv1/plugin/kubernetes/provider/resource.go 0.00% 8 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #5319 +/- ## ======================================= Coverage 25.28% 25.28% ======================================= Files 444 444 Lines 47554 47572 +18 ======================================= + Hits 12022 12028 +6 - Misses 34590 34601 +11 - Partials 942 943 +1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.