Closed blakepettersson closed 1 year ago
Base: 55.46% // Head: 55.66% // Increases project coverage by +0.19%
:tada:
Coverage data is based on head (
48f686d
) compared to base (98ccd3d
). Patch coverage: 80.00% of modified lines in pull request are covered.:exclamation: Current head 48f686d differs from pull request most recent head 57f0dd2. Consider uploading reports for the commit 57f0dd2 to get more accurate results
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
@blakepettersson Tks for working on this feature! Make sure you sign off all your commits. The DCO job in our CI needs to be green before we are able to merge your PR.
Make sure you sign off all your commits. The DCO job in our CI needs to be green before we are able to merge your PR.
It's been well overdue for me to add the git hook, now I've done that 😄
Kudos, SonarCloud Quality Gate passed!
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
8.6% Duplication
This PR introduces a breaking change in current Argo CD master. To avoid possible build issues this should be merged together with https://github.com/argoproj/argo-cd/pull/10672
Rename
WithNamespaceCreation
toWithNamespaceModifier
, since this method is also used for modifying existing namespaces. This method takes a single argument for the actual updating, and unless this method gets invoked by its caller no updating will take place (fulfilling what thecreateNamespace
argument used to do).Within
autoCreateNamespace
, everywhere where we previously added tasks we'll now need to check whether the namespace should be created (or modified), which is now delegated to theappendNsTask
andappendFailedNsTask
methods.