-
Notifications
You must be signed in to change notification settings - Fork 231
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
Allow the user to select containers when adding a secret to an application #2058
Conversation
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.
@jeff-phillips-18 Looks good. I think we should let users pick containers for env variables, too.
@@ -69,6 +69,23 @@ | |||
</div> | |||
</div> | |||
</div> | |||
<div ng-if="ctrl.addType === 'volume' && ctrl.application.spec.template.spec.containers.length > 1" class="volume-options"> |
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.
We should go ahead do the same for environment variables as well I think
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.
Ah, OK
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.
Done
<a href="" ng-click="ctrl.attachAllContainers = false">select specific containers</a> | ||
instead. | ||
</div> | ||
<div ng-if="!ctrl.attachAllContainers" class="form-group"> |
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.
@jeff-phillips-18 Is there a max-height on the dialog in case there are a lot of containers?
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.
nope, I suppose there ought to be. Thanks!
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.
Set the max height on the list of containers.
baef910
to
8a4bef2
Compare
[merge][severity: bug] |
1 similar comment
[merge][severity: bug] |
Evaluated for origin web console merge up to 8a4bef2 |
Origin Web Console Merge Results: SUCCESS (https://ci.openshift.redhat.com/jenkins/job/merge_pull_request_origin_web_console/186/) (Base Commit: b947915) (PR Branch Commit: 8a4bef2) (Extended Tests: bug) |
Fixes #2024