Skip to content

Conversation

@nahiluhmot
Copy link
Contributor

@adamjt @bfulton @tlunter

Use Docker Container Labels instead of environment variables for setting the IAM_PROFILE.
Labels are specifically meant for external metadata, which is a better fit for this use case.


Context("When a start event is received", func() {
Context("When the container does not have an IAM_PROFILE set", func() {
Context("When the container does not have an com.swipely.iam-docker.iam-profile set", func() {
Copy link

Choose a reason for hiding this comment

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

just for the sake of readability, probably don't need the an here.

@tlunter
Copy link

tlunter commented Mar 18, 2016

👍

@adamjt
Copy link

adamjt commented Mar 18, 2016

Who is this "swipely" you speak of?

@nahiluhmot
Copy link
Contributor Author

Unfortunately still our GitHub name, and therefore go import path :(

@adamjt
Copy link

adamjt commented Mar 18, 2016

👍

nahiluhmot added a commit that referenced this pull request Mar 18, 2016
@nahiluhmot nahiluhmot merged commit bfda2e3 into master Mar 18, 2016
@nahiluhmot nahiluhmot deleted the use-labels-instead-of-env branch July 13, 2016 13:49
iderdik pushed a commit to iderdik/iam-docker that referenced this pull request Mar 29, 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.

4 participants