Skip to content

Conversation

@ghost
Copy link

@ghost ghost commented Oct 1, 2019

PR o'clock

Description

It looks like someone has accidentally backgrounded the calls to fill out kube_config.yaml and aws_auth_configmap.yaml
Using a single ampersand will run the echo commands in the background and immediately run kubectl (at the same time essentially) so the config files can/will often be empty
I assume, and it makes sense to use double ampersand so that each command runs only if the previous one worked.

Also might be able to remove the 10x loop depending on why that was added.
If it was added because the code randomly worked/not (not surprised) then I have probably fixed that and removed the need for the loop

Checklist

It looks like someone has accidentally backgrounded the calls to fill out kube_config.yaml and aws_auth_configmap.yaml
I assume, and it makes sense to use double ampersand so that each command runs only if the previous one worked.

Also might be able to remove the 10x loop depending on why that was added.
If it was added because the code randomly worked/not then I have probably fixed that and removed the need for the loop
@max-rocket-internet
Copy link
Contributor

Sorry @james-portman-contino I missed this PR 😐

It was addressed in #592 anyway.

@ghost
Copy link
Author

ghost commented Nov 22, 2019

OK brill, thanks

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.

1 participant