-
Notifications
You must be signed in to change notification settings - Fork 34
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
openstack: add simple test for the openstack-populator #668
Conversation
b7e57be
to
2ab9534
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! minor comment inside
ah and SonarCloud has a point in the code smell it reports..
2ab9534
to
6653745
Compare
6653745
to
f6c52f5
Compare
@bennyz so what about that tiny part? |
Use envFrom to pass secrets to the populator controller. This simplifies the code, and makes the openstack test introduced in the patch easier to implement. Signed-off-by: Benny Zlotnik <[email protected]>
It uses a fake openstack server, but a real file is created Signed-off-by: Benny Zlotnik <[email protected]>
7a96fc8
to
b7dbf0e
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.
what's the exact benefit? will you see secret in the env of the pod?
b7dbf0e
to
6e86255
Compare
Signed-off-by: Benny Zlotnik <[email protected]>
6e86255
to
c77f297
Compare
Quality Gate passedKudos, no new issues were introduced! 0 New issues |
yeah, it's a cleaner way to get data from a secret in a pod |
envFrom
instead of a file to pass the secret.This will eventually go into the CDI controller PR, but is also useful here for now