-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added secret update function #55
Conversation
Added process logic for secret update Signed-off-by: Gao Pan <gao_pan@intuit.com>
… for review, fixed some typos and 404 link for helm install
* Tests for creating controllers Signed-off-by: Joe Peacock <joe_peacock@intuit.com> * Additional pod test - found/fixed a bug Signed-off-by: Joe Peacock <joe_peacock@intuit.com> * One more test Signed-off-by: Joe Peacock <joe_peacock@intuit.com> Signed-off-by: Madeline <madeline_li@intuit.com>
Signed-off-by: Madeline <madeline_li@intuit.com>
Added process logic for secret update Signed-off-by: Gao Pan <gao_pan@intuit.com> Signed-off-by: Madeline <madeline_li@intuit.com>
Signed-off-by: Madeline <madeline_li@intuit.com>
Signed-off-by: Madeline <madeline_li@intuit.com>
Fixes #28 Signed-off-by: Madeline <madeline_li@intuit.com>
Signed-off-by: Madeline <madeline_li@intuit.com>
Signed-off-by: Madeline <madeline_li@intuit.com>
* Fixing rbac issues reported in #64 Signed-off-by: Joe Peacock <joe_peacock@intuit.com> * improving logging for SE address generation Signed-off-by: Joe Peacock <joe_peacock@intuit.com> Signed-off-by: Madeline <madeline_li@intuit.com>
#68) * formalizing the behavior to fall back to annotation if label isn't present Signed-off-by: Joe Peacock <joe_peacock@intuit.com> * Removing the hardcoded references to a default identity label Signed-off-by: Joe Peacock <joe_peacock@intuit.com> * Nil check Signed-off-by: Joe Peacock <joe_peacock@intuit.com> * Refactoring to add the rest of the admiral params to the singleton (and to enforce singleton-ness Signed-off-by: Joe Peacock <joe_peacock@intuit.com> * Another test Signed-off-by: Joe Peacock <joe_peacock@intuit.com> * coverage bump Signed-off-by: Joe Peacock <joe_peacock@intuit.com> * Whoops broke a test Signed-off-by: Joe Peacock <joe_peacock@intuit.com> Signed-off-by: Madeline <madeline_li@intuit.com>
* Bootstrapping admiral * Add circle ci config * Fix the working directory for builds * Bootstrapping admiral Signed-off-by: aattuluri <anil_attuluri@intuit.com> * Add circle ci config Signed-off-by: aattuluri <anil_attuluri@intuit.com> * Fix the working directory for builds Signed-off-by: aattuluri <anil_attuluri@intuit.com> * Add build status badge. Signed-off-by: aattuluri <anil_attuluri@intuit.com> * Revert "Add build status badge." This reverts commit a9fa409. * Publish images: i) latest from master, ii) TAG if its set and iii) commit sha if neither i) or ii) * Revert "Formalizing the behavior to fall back to annotation if label isn't pr… (#68)" This reverts commit 802de17. Signed-off-by: Madeline <madeline_li@intuit.com>
* Overriding defaults for basic example Signed-off-by: Joe Peacock <joe_peacock@intuit.com> Signed-off-by: Madeline <madeline_li@intuit.com>
* Bootstrapping admiral * Add circle ci config * Fix the working directory for builds * Bootstrapping admiral Signed-off-by: aattuluri <anil_attuluri@intuit.com> * Add circle ci config Signed-off-by: aattuluri <anil_attuluri@intuit.com> * Fix the working directory for builds Signed-off-by: aattuluri <anil_attuluri@intuit.com> * Add build status badge. Signed-off-by: aattuluri <anil_attuluri@intuit.com> * Revert "Add build status badge." This reverts commit a9fa409. * Working version after major refactor. * Fix test files. * Use global traffic policy to update destination rule. * Minor fixes. * Update image for admiral * Add outlier detection for locality load balancing to work * Undo tag change * Sample files for demo * Remove/comment some tests * Add the needed method * Commenting out few more tests. * Remove unwanted files. * Adding back missing tests. * Create an alias for logrus. * Fixing tests. Signed-off-by: Madeline <madeline_li@intuit.com>
* formalizing the behavior to fall back to annotation if label isn't present Signed-off-by: Joe Peacock <joe_peacock@intuit.com> * Removing the hardcoded references to a default identity label Signed-off-by: Joe Peacock <joe_peacock@intuit.com> * Nil check Signed-off-by: Joe Peacock <joe_peacock@intuit.com> * Refactoring to add the rest of the admiral params to the singleton (and to enforce singleton-ness Signed-off-by: Joe Peacock <joe_peacock@intuit.com> * Another test Signed-off-by: Joe Peacock <joe_peacock@intuit.com> * coverage bump Signed-off-by: Joe Peacock <joe_peacock@intuit.com> * Whoops broke a test Signed-off-by: Joe Peacock <joe_peacock@intuit.com> * Adding warning for config re-initialization Signed-off-by: Joe Peacock <joe_peacock@intuit.com> * Fixed rebase-related issues Signed-off-by: Joe Peacock <joe_peacock@intuit.com> Signed-off-by: Madeline <madeline_li@intuit.com>
Signed-off-by: Madeline <madeline_li@intuit.com>
Signed-off-by: Madeline <madeline_li@intuit.com>
Signed-off-by: Martin Baillie <martin@baillie.email> Signed-off-by: Madeline <madeline_li@intuit.com>
Signed-off-by: Madeline <madeline_li@intuit.com>
Signed-off-by: Madeline <madeline_li@intuit.com>
Signed-off-by: Madeline <madeline_li@intuit.com>
Signed-off-by: Madeline <madeline_li@intuit.com>
* Update sidecar resource in workload namespace Signed-off-by: vjoshi3 <vrushali_joshi@intuit.com> * Updating review comments Signed-off-by: vjoshi3 <vrushali_joshi@intuit.com> * Adding tests for sidecar update code Signed-off-by: vjoshi3 <vrushali_joshi@intuit.com> * updating tests for sidecar update code Signed-off-by: vjoshi3 <vrushali_joshi@intuit.com> Co-authored-by: vjoshi3 <vrushali_joshi@intuit.com> Signed-off-by: Madeline <madeline_li@intuit.com>
Signed-off-by: vjoshi3 <vrushali_joshi@intuit.com> Co-authored-by: vjoshi3 <vrushali_joshi@intuit.com> Signed-off-by: Madeline <madeline_li@intuit.com>
Fixes #87 Signed-off-by: Madeline <madeline_li@intuit.com>
* Added tests for destination rule creation Signed-off-by: Joe Peacock <joe_peacock@intuit.com> * Uncommented/fixed a bunch of SE tests Signed-off-by: Joe Peacock <joe_peacock@intuit.com> * Uncommented/fixed more se tests Signed-off-by: Joe Peacock <joe_peacock@intuit.com> Co-authored-by: Joe Peacock <joe_peacock@intuit.com> Signed-off-by: Madeline <madeline_li@intuit.com>
Signed-off-by: Madeline <madeline_li@intuit.com>
… for review, fixed some typos and 404 link for helm install Signed-off-by: Madeline <madeline_li@intuit.com>
* finished first draft for recognizing admiral ignore annotation, ready for review, fixed some typos and 404 link for helm install Signed-off-by: Madeline <madeline_li@intuit.com> * added new fake client to pass CI Signed-off-by: Madeline <madeline_li@intuit.com> * added two tests for testing new annotation restriction Signed-off-by: Madeline <madeline_li@intuit.com> Co-authored-by: Madeline <madeline_li@intuit.com> Signed-off-by: Madeline <madeline_li@intuit.com>
Signed-off-by: Madeline <madeline_li@intuit.com>
Signed-off-by: Madeline <madeline_li@intuit.com>
Signed-off-by: Madeline <madeline_li@intuit.com>
Codecov Report
@@ Coverage Diff @@
## master #55 +/- ##
=======================================
Coverage 69.86% 69.86%
=======================================
Files 23 23
Lines 1782 1782
=======================================
Hits 1245 1245
Misses 434 434
Partials 103 103 Continue to review full report at Codecov.
|
Signed-off-by: Madeline <madeline_li@intuit.com>
Signed-off-by: Madeline <madeline_li@intuit.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. One minor comment.
@@ -139,6 +145,13 @@ func NewController( | |||
queue.Add(key) | |||
} | |||
}, | |||
UpdateFunc: func(oldObj interface{}, newObj interface{}) { | |||
key, err := cache.MetaNamespaceKeyFunc(newObj) | |||
log.Infof("Processing update: %s", key) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change the log line to "Processing secret update for cluster: %s" for better readability.
Signed-off-by: sa <sushanth_a@intuit.com>
MESH-000 Upgrade argo rollouts version
Added secret update function
Modified logic when secret exists: secrets will always be reloaded