Skip to content
This repository was archived by the owner on Dec 17, 2025. It is now read-only.

Revert "feat: Ability to create custom labels for namespaces created …#455

Merged
leoluz merged 4 commits intoargoproj:masterfrom
pasha-codefresh:revert-create-ns-hook
Aug 23, 2022
Merged

Revert "feat: Ability to create custom labels for namespaces created …#455
leoluz merged 4 commits intoargoproj:masterfrom
pasha-codefresh:revert-create-ns-hook

Conversation

@pasha-codefresh
Copy link
Copy Markdown
Member

…with syncOptions CreateNamespace (#443)"

This reverts commit a56a803.

@pasha-codefresh pasha-codefresh marked this pull request as ready for review August 23, 2022 16:23
Signed-off-by: pashavictorovich <pavel@codefresh.io>
Signed-off-by: pashavictorovich <pavel@codefresh.io>
@sonarqubecloud
Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@codecov
Copy link
Copy Markdown

codecov bot commented Aug 23, 2022

Codecov Report

Merging #455 (96bc870) into master (9970fab) will decrease coverage by 0.05%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master     #455      +/-   ##
==========================================
- Coverage   55.47%   55.42%   -0.06%     
==========================================
  Files          41       41              
  Lines        4472     4469       -3     
==========================================
- Hits         2481     2477       -4     
- Misses       1802     1803       +1     
  Partials      189      189              
Impacted Files Coverage Δ
pkg/sync/sync_context.go 72.62% <0.00%> (-0.21%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@leoluz leoluz merged commit ce2fb70 into argoproj:master Aug 23, 2022
blakepettersson added a commit to blakepettersson/gitops-engine that referenced this pull request Sep 20, 2022
blakepettersson added a commit to blakepettersson/gitops-engine that referenced this pull request Sep 22, 2022
…created … (argoproj#455)"

This reverts commit ce2fb70.

Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com>
blakepettersson added a commit to blakepettersson/gitops-engine that referenced this pull request Oct 4, 2022
…created … (argoproj#455)"

This reverts commit ce2fb70.

Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com>
leoluz pushed a commit that referenced this pull request Nov 3, 2022
* Revert "Revert "feat: Ability to create custom labels for namespaces created … (#455)"

This reverts commit ce2fb70.

Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com>

* feat: enable namespace to be updated

Rename `WithNamespaceCreation` to `WithNamespaceModifier`, 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
the `createNamespace` 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 the `appendNsTask` and
`appendFailedNsTask` methods.

Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com>

Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants