-
Notifications
You must be signed in to change notification settings - Fork 1k
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
feat(docker): migrate to kork-credentials #5593
feat(docker): migrate to kork-credentials #5593
Conversation
Co-authored-by: Sergio Quintero <sergio.quintero@armory.io> Co-authored-by: Nemesis Osorio <nemesis211_6@hotmail.com>
83da1c2
to
f3420c8
Compare
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.
Thanks for adding kork credentials to docker provider! The changes look good, I only have minor comments.
I think the most important test is that for the same docker configuration, clouddriver behaves the same before and after this change, that is:
- Given two docker accounts with
cacheThreads: 2
:- 4 docker agents should be created that run periodically (you can verify that those docker agents are running because every 30 seconds or so they should print logs like
.d.r.p.a.DockerRegistryImageCachingAgent : Caching 7231 tagged images in {account}/DockerRegistryImageCachingAgent[1/2]
- 2 credentials of type
dockerRegistry
should be returned from/credentials
- 4 docker agents should be created that run periodically (you can verify that those docker agents are running because every 30 seconds or so they should print logs like
clouddriver-docker/src/main/java/com/netflix/spinnaker/config/DockerDefaultConfiguration.java
Outdated
Show resolved
Hide resolved
...aker/clouddriver/docker/registry/security/DockerRegistryCredentialsLifecycleHandlerTest.java
Show resolved
Hide resolved
Co-authored-by: Sergio Quintero <sergio.quintero@armory.io> Co-authored-by: Nemesis Osorio <nemesis211_6@hotmail.com>
ceb0f33
to
399a8bf
Compare
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.
Nice demo videos!
* feat(docker): migrate to kork-credentials Co-authored-by: Sergio Quintero <sergio.quintero@armory.io> Co-authored-by: Nemesis Osorio <nemesis211_6@hotmail.com> * feat(docker): addressing pull request comments Co-authored-by: Sergio Quintero <sergio.quintero@armory.io> Co-authored-by: Nemesis Osorio <nemesis211_6@hotmail.com> Co-authored-by: Sergio Quintero <sergio.quintero@armory.io> Co-authored-by: Nemesis Osorio <nemesis211_6@hotmail.com>
* feat(docker): migrate to kork-credentials Co-authored-by: Sergio Quintero <sergio.quintero@armory.io> Co-authored-by: Nemesis Osorio <nemesis211_6@hotmail.com> * feat(docker): addressing pull request comments Co-authored-by: Sergio Quintero <sergio.quintero@armory.io> Co-authored-by: Nemesis Osorio <nemesis211_6@hotmail.com> Co-authored-by: Sergio Quintero <sergio.quintero@armory.io> Co-authored-by: Nemesis Osorio <nemesis211_6@hotmail.com>
* feat(docker): migrate to kork-credentials Co-authored-by: Sergio Quintero <sergio.quintero@armory.io> Co-authored-by: Nemesis Osorio <nemesis211_6@hotmail.com> * feat(docker): addressing pull request comments Co-authored-by: Sergio Quintero <sergio.quintero@armory.io> Co-authored-by: Nemesis Osorio <nemesis211_6@hotmail.com> Co-authored-by: Sergio Quintero <sergio.quintero@armory.io> Co-authored-by: Nemesis Osorio <nemesis211_6@hotmail.com>
* feat(docker): migrate to kork-credentials Co-authored-by: Sergio Quintero <sergio.quintero@armory.io> Co-authored-by: Nemesis Osorio <nemesis211_6@hotmail.com> * feat(docker): addressing pull request comments Co-authored-by: Sergio Quintero <sergio.quintero@armory.io> Co-authored-by: Nemesis Osorio <nemesis211_6@hotmail.com> Co-authored-by: Sergio Quintero <sergio.quintero@armory.io> Co-authored-by: Nemesis Osorio <nemesis211_6@hotmail.com>
* feat(docker): migrate to kork-credentials Co-authored-by: Sergio Quintero <sergio.quintero@armory.io> Co-authored-by: Nemesis Osorio <nemesis211_6@hotmail.com> * feat(docker): addressing pull request comments Co-authored-by: Sergio Quintero <sergio.quintero@armory.io> Co-authored-by: Nemesis Osorio <nemesis211_6@hotmail.com> Co-authored-by: Sergio Quintero <sergio.quintero@armory.io> Co-authored-by: Nemesis Osorio <nemesis211_6@hotmail.com>
Implementing kork-credentials for docker registry accounts similar to k8s, cloudfoundry, aws, and ecs accounts.
This is the implementation of https://github.com/spinnaker/governance/blob/master/rfc/account-management.md for docker registry provider.