Skip to content
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

Merged
merged 1 commit into from Sep 13, 2017

Conversation

jeff-phillips-18
Copy link
Member

Fixes #2024

image

image

Copy link
Member

@spadgett spadgett left a 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">
Copy link
Member

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

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, OK

Copy link
Member Author

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">
Copy link
Member

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?

Copy link
Member Author

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!

Copy link
Member Author

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.

@jeff-phillips-18
Copy link
Member Author

Updates to allow container selection for both Environment Variables and Volume

image

with scrolling containers:

image

@spadgett
Copy link
Member

[merge][severity: bug]

1 similar comment
@spadgett
Copy link
Member

[merge][severity: bug]

@openshift-bot
Copy link

Evaluated for origin web console merge up to 8a4bef2

@openshift-bot
Copy link

openshift-bot commented Sep 13, 2017

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)

@openshift-bot openshift-bot merged commit f3fcba9 into openshift:master Sep 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants