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

Amazon Docker Creds Visibility Based on Setting #2666

Merged
merged 2 commits into from
Nov 9, 2017

Conversation

jerryk55
Copy link
Member

@jerryk55 jerryk55 commented Nov 8, 2017

The visibility of the Amazon Docker Creds tab will be based on a true
Settings value. The setting used is Settings.ems.ems_amazon.agent_coordinator.docker_login_required.
If the value is false no tab is presented.

This feature is implemented based on offline discussions around the original PR implementing
the tab - #2525 with @Fryguy.
This is the original desired functionality but it was not implemented in time for the 4.6 cutoff.

@AparnaKarve @h-kataria please review and merge this simple change. Thanks.

Steps for Testing/QA

In the UI go to Configuration -> Advanced and search for "docker_login_required".
Set it to false if it is not already set to that. Save.
Add an Amazon Cloud Provider. You should see the form to enter Default Credentials but
nothing for the Docker Credentials.

Now go to the Configuration and change "docker_login_required" to true and save.
Add an Amazon Cloud Provider. In addition to the Default Credentials tab you should see the
"SmartState Docker" tab.

The visibility of the Amazon Docker Creds tab will be based on a true
Settings value. The setting used is Settings.ems.ems_amazon.agent_coordinator.docker_login_required.
If the value is false no tab is presented.

This feature is implemented based on offline discussions around the original PR implementing
the tab - ManageIQ#2525 with @Fryguy.
This is the original desired functionality but it was not implemented in time for the 4.6 cutoff.
Remove redundant curly braces around hash parameter per Rubocop.
@miq-bot
Copy link
Member

miq-bot commented Nov 8, 2017

Checked commits jerryk55/manageiq-ui-classic@83e58f3~...c7242ea with ruby 2.3.3, rubocop 0.47.1, and haml-lint 0.20.0
1 file checked, 0 offenses detected
Everything looks fine. 🍪

@mzazrivec mzazrivec added this to the Sprint 73 Ending Nov 13, 2017 milestone Nov 9, 2017
@mzazrivec mzazrivec self-assigned this Nov 9, 2017
@mzazrivec mzazrivec merged commit f8e876b into ManageIQ:master Nov 9, 2017
@jerryk55
Copy link
Member Author

jerryk55 commented Nov 9, 2017

@mzazrivec this is not a bug - it was an unimplemented feature. Removing the bug label.

@jerryk55
Copy link
Member Author

jerryk55 commented Nov 9, 2017

@miq-bot remove_label bug

@miq-bot miq-bot removed the bug label Nov 9, 2017
@Fryguy
Copy link
Member

Fryguy commented Nov 13, 2017

Gah, please don't @mention me in future commits...thanks!

@jerryk55
Copy link
Member Author

jerryk55 commented Nov 13, 2017 via email

simaishi pushed a commit that referenced this pull request Nov 15, 2017
Amazon Docker Creds Visibility Based on Setting
(cherry picked from commit f8e876b)
@simaishi
Copy link
Contributor

Gaprindashvili backport details:

$ git log -1
commit 7e2be5a6907004e0b0d97a3aa695c9d7b93fb9d1
Author: Milan Zázrivec <[email protected]>
Date:   Thu Nov 9 10:46:33 2017 +0100

    Merge pull request #2666 from jerryk55/docker_creds_tab_setting
    
    Amazon Docker Creds Visibility Based on Setting
    (cherry picked from commit f8e876bbbcf56042bd948436a1acde163b68bc75)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants