-
Notifications
You must be signed in to change notification settings - Fork 299
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
Updates for usability of GKE self managed setup script #759
Merged
Commits on Jun 4, 2019
-
- Removed arguments that no longer exist and those that are defaults. - Updated command to not depend on sh (not available by default). Use same pattern as most GKE containers do. - Image URL now ensures that the YAML would be invalid (more obvious if you miss it).
Configuration menu - View commit details
-
Copy full SHA for e4a5a59 - Browse repository at this point
Copy the full SHA e4a5a59View commit details -
All values are overridable in case the generation messes up.
Configuration menu - View commit details
-
Copy full SHA for b7b6b22 - Browse repository at this point
Copy the full SHA b7b6b22View commit details -
GKE self managed script now automated GLBC yaml
We build and push automatically if the user doesn't provide --image-url.
Configuration menu - View commit details
-
Copy full SHA for b7576f2 - Browse repository at this point
Copy the full SHA b7576f2View commit details -
No more winging it with time estimates
Better UX this way, too. Also more output about progress and consistency in file names.
Configuration menu - View commit details
-
Copy full SHA for c64aaf9 - Browse repository at this point
Copy the full SHA c64aaf9View commit details -
Also fixed details on what the script does. It was confusing before and had some order wrong.
Configuration menu - View commit details
-
Copy full SHA for 672cd4f - Browse repository at this point
Copy the full SHA 672cd4fView commit details -
1. Restored confirmation for cluster being ready after disabling the default GLBC. Also made this affected by `--no-confirm`, since the intent of that was to allow non-interactive usage (cause forced interactive scripts are gross). Made that set `--quiet` for gcloud commands while I was at it, since some of those can confirm (and made it a versatile "provide arbitrary extra gcloud flags" thing). Only applied to mutating gcloud commands. 2. Build and push no longer implicit. As a result, either the `--image-url` or `--build-and-push` must be set. This is now validated. 3. Added validation for if CONTAINER_PREFIX is set while I was at it, since it can break build-and-push. I doubt anyone sets it, but better safe than sorry. This just avoids an inevitible error. 4. Placeholder used in GLBC YAML changed. 5. Using `.gen` as extension for generated files. 6. Make command is now logged so user sees what we're doing. 7. Clarified help text.
Configuration menu - View commit details
-
Copy full SHA for ccf623f - Browse repository at this point
Copy the full SHA ccf623fView commit details -
This is very useful for testing. It uses kubectl --dry-run where possible, so we're actually testing the structure of the YAML files (the creation of the key does not use this since it depends on running a real command). This command can also be used to quickly and cleanly get the commands this script would run for manual usage. Fixed bug with --cleanup where it would ignore any args after the --cleanup tag (which could result in running the wrong things!).
Configuration menu - View commit details
-
Copy full SHA for 94d4b30 - Browse repository at this point
Copy the full SHA 94d4b30View commit details -
Cleaner gce.conf + review changes
Also fixed dumb quote bug that wouldn't play nice with eval.
Configuration menu - View commit details
-
Copy full SHA for 147a374 - Browse repository at this point
Copy the full SHA 147a374View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.