Commit Graph

34 Commits

Author SHA1 Message Date
chrislovecnm 7057aaf1bb Enabling the file assets
File assets and the SHA files are uploaded to the new location. Files
when are users uses s3 are upload public read only. The copyfile task
uses only the existing SHA value.

This PR include major refactoring of the use of URLs.  Strings are no
longer categnated, but converted into a URL struct and path.Join is
utlilized.

A new values.go file is included so that we can start refactoring more
code out of the "fi" package.

A
2017-12-17 15:26:57 -07:00
Justin Santa Barbara a09d2fd1fa Guard against nil pointers in tryResourceAsString
Issue #3943
2017-12-01 02:53:04 -05:00
chrislovecnm 8d1ee1fa16 updating files for goimports 2017-11-01 12:51:43 -06:00
Justin Santa Barbara 9d31ed1b08 nodePortAccess, experimental spec override flag
This will allow us to set CIDRs for nodeport access, which in turn will
allow e2e tests that require nodeport access to pass.

Then add a feature-flagged flag to `kops create cluster` to allow
arbitrary setting of spec values; currently the only value supported is
cluster.spec.nodePortAccess
2017-09-04 14:27:31 -04:00
chrislovecnm ee17e6567c starting work on file assets builder 2017-08-18 13:04:12 -06:00
Kubernetes Submit Queue ac887ce290 Merge pull request #3016 from justinsb/upload_taskify_2
Automatic merge from submit-queue

Copy docker images when they are redirected
2017-07-21 12:10:47 -07:00
Justin Santa Barbara 76743e64de Copy docker images when they are redirected 2017-07-20 23:40:46 -04:00
Justin Santa Barbara 3dfe48e5ae Wiring up lifecycle 2017-07-15 22:03:54 -04:00
Justin Santa Barbara 1965a4be49 Updates to fix unit tests 2017-07-08 18:46:01 -04:00
Justin Santa Barbara 973492b678 Start collecting assets 2017-07-08 18:33:00 -04:00
Justin Santa Barbara 5e5e37e2e2 GCE: Allow updating the instance group template
We follow the same pattern as on AWS, where we create a new template,
because the templates are immutable.
2017-05-16 10:49:07 -04:00
Justin Santa Barbara d9331ca674 Sort tasks consistently in dryrun
Fix #1736
2017-01-31 21:49:19 -05:00
Justin Santa Barbara ffc524ced6 Skip deletion processing for terraform
Terraform processes deletions itself

Fix #1515
2017-01-20 11:37:20 -05:00
Justin Santa Barbara fed68310fa Schema v1alpha2
* Zones are now subnets
* Utility subnet is no longer part of Zone
* Bastion InstanceGroup type added instead
* Etcd clusters defined in terms of InstanceGroups, not zones
* AdminAccess split into SSHAccess & APIAccess
* Dropped unused Multizone flag
2016-12-18 21:56:57 -05:00
Chris Love 9cf2826387 Merge pull request #1105 from justinsb/dryrun_use_name
dryrun output: include name instead of id:nil
2016-12-09 16:15:28 -07:00
Justin Santa Barbara 104332108f dryrun output: include name instead of id:nil
When we're creating objects, we tend not to have an id.  Rather than
drop them entirely though, we can print their name (where we have one)
2016-12-08 12:55:15 -05:00
Justin Santa Barbara dd76c0e233 DryRun output: Don't print task type twice
We were printing the task type, and then the task key, which includes
the task type.  So we were printing `TaskName TaskName/TaskKey`

Strip the task type out of the task key: `TaskName/TaskKey`
2016-12-08 10:33:58 -05:00
Justin Santa Barbara c8812ab563 Format resource diffs
Fix #973
2016-12-03 10:26:45 -05:00
Justin Santa Barbara 472c443d1b Avoid concurrent append to slices in DryRunTarget
Issue #600
2016-10-18 00:16:05 -04:00
chrislovecnm 8fa2aac99f fixing more headers 2016-10-15 19:20:56 -06:00
Justin Santa Barbara f23b3f71e5 Format output a little bit better 2016-09-25 12:16:39 -04:00
Justin Santa Barbara f8bbdb1467 Support deletion of items
We don't normally need to delete items, but we do need to purge old
security group rules.
2016-09-17 23:06:15 -04:00
Yissachar Radcliffe 0c3277476c Show the details of what resources will be created 2016-09-06 11:45:46 -04:00
Justin Santa Barbara 5fb39913cc If no changes are needed in an update, don't print a confusing message
Fix #208
2016-08-14 23:40:18 -04:00
Justin Santa Barbara 50159fe47d Cleaner dryrun output 2016-07-21 03:25:57 -04:00
Justin Santa Barbara d427858477 Rename to kops
The upup tool is now called kops, and we have moved repos
2016-06-30 09:25:25 -04:00
Justin Santa Barbara c36607644b Better shared VPC support: more validation 2016-06-27 15:00:51 -04:00
Justin Santa Barbara 90d7fb87ad upup: improved delete; create upup export and upup upgrade 2016-06-23 08:59:20 -04:00
Justin Santa Barbara 1cbcb82fe9 upup: use JSON as fallback in --dryrun printing
Rather than giving up with an error, we can simply use JSON format.
2016-06-10 11:38:21 -04:00
Justin Santa Barbara 1aeea67510 upup: replace parse code with standard json unmarshaller
Instead of reimplementing the unmarshal code, we implement a trick: we
implement an alternative JSON representation of an object: a string.

We unmarshal as normal, and then we reconcile these pointer values to
the primary values, by walking the unmarshalled tree.
2016-05-30 17:46:36 -04:00
Mike Danese 7466c48a75 Merge pull request #25 from justinsb/upup_dryrun_print_interface
upup: fix dryrun spurious printing of interface values
2016-05-17 09:34:17 -07:00
Justin Santa Barbara e90f5c78e1 upup: fix dryrun spurious printing of interface values
We missed the case where the interface changed (this only shows up if
other fields change also)
2016-05-16 10:58:44 -04:00
Justin Santa Barbara 02d980c681 Make reflective walk more logical, use for dryrun change printing
Remove a bunch of inconsistencies so that the reflective walk is not
suprising, and also rename it to ReflectRecursive.

Then use this for dry-run change printing.
2016-05-15 17:41:19 -04:00
Justin Santa Barbara d4c2cfaae7 Initial version of upup: cloudup & nodeup
* GCE support only
* Key and secret generation
* "Direct mode" makes API calls
* "Dry run mode" previews the changes
* Terraform output (though key generation not working for master ip)
* cloud-init output (though debian image does not ship with cloud-init)
2016-05-06 16:01:33 -04:00