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

Removed default context fallback #90

Merged
merged 4 commits into from
Oct 23, 2019
Merged

Removed default context fallback #90

merged 4 commits into from
Oct 23, 2019

Conversation

jewee
Copy link
Contributor

@jewee jewee commented Oct 22, 2019

Removed default context fallback.

Description

Running directly against default kubernetes configured context has proven to be dangerous.
behaviour has improve after #84 was closed but after internal discusions it has been decided to remove running agains default kubernetes context altogether.

Running against non eks clusters will be added in the future by adding in ops the possibility to explicitly specify the context (#89).

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have signed the Adobe Open Source CLA.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@pep8speaks
Copy link

pep8speaks commented Oct 22, 2019

Hello @jewee! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻

Comment last updated at 2019-10-23 09:20:36 UTC

if answer != "yes":
sys.exit()

logger.info('currently only eks type clusters supported')
Copy link
Contributor

Choose a reason for hiding this comment

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

Perhaps change this log message to warn/error?

@amuraru
Copy link
Contributor

amuraru commented Oct 22, 2019

@jewee can you please sign Adobe CLA Signed? or use @adobe.com account for the PR?

Copy link
Contributor

@amuraru amuraru left a comment

Choose a reason for hiding this comment

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

looks good

@jewee jewee closed this Oct 23, 2019
@jewee jewee reopened this Oct 23, 2019
@jewee jewee merged commit ecb70d9 into adobe:master Oct 23, 2019
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

4 participants