Ciprian Hacman
ea7df00719
Run hack/update-gofmt.sh
2021-12-01 22:39:50 +02:00
justinsb
4f842121d8
Support decoding of non-kOps types
...
We decode into unstructured.Unstructured; this also is a small cleanup
to the existing decode logic.
2021-11-05 08:06:54 -04:00
justinsb
cde8a61567
Add ability to yaml-encode unstructured
...
This is not only cleaner (eliminate a function that panics), but adds
the ability to marshal unstructured.
2021-09-10 09:58:41 -04:00
Peter Rifel
4d9f0128a3
Upgrade to klog2
...
This splits up the kubernetes 1.19 PR to make it easier to keep up to date until we get it sorted out.
2020-08-16 20:56:48 -05:00
John Gardiner Myers
b645dac752
Remove support for v1alpha1 and before
2020-03-24 19:49:15 -07:00
mikesplain
9e55b8230a
Update copyright notices
...
Also cleans some white spaces
2019-09-09 14:47:51 -04:00
Justin SB
25910da0a2
Rename kops API group to be compatible with CRDS: kops.k8s.io
...
We will continue to accept the kops/v1alphaN format, but we rewrite it
(via string manipulation) to kops.k8s.io/v1alphaN.
This allows us to register the kops types as CRDs, which in turn
should enable kops server to work without API aggregation, and also
reduce our dependencies on less-stable API machinery.
2019-05-06 22:26:29 -04:00
Justin SB
3e33ac7682
Change code from glog to klog
...
We don't call klog.InitFlags yet, because that will cause a flag
redefinition error until we get everyone to stop using glog. That
will happen when we update to k8s 1.13.
2019-05-06 12:54:51 -04:00
Justin SB
4aa2498203
Rationalize deserialiation code
...
Put it all through kopscodecs.Decode, so that we can rewrite the API
group more easily in a subsequent PR.
2018-12-21 13:59:50 -05:00
Justin Santa Barbara
62e8e17077
Code fixes for k8s 1.11 API changes
2018-09-28 20:14:45 -04:00
chrislovecnm
4c82a6d5d4
Fixing YAML and JSON output across multiple cli functions. Also
...
Added --dry-run for create_ig and create_cluster
2017-11-04 17:04:44 -06:00
chrislovecnm
1e418c3e13
more goimport updates
2017-11-04 10:03:02 -06:00
Justin Santa Barbara
544990842a
More fixes for 1.8 API changes
2017-10-01 23:02:32 -04:00
Justin Santa Barbara
95d4f3eb59
More code updates for 1.8
2017-10-01 21:13:00 -04:00