Commit Graph

10 Commits

Author SHA1 Message Date
Jan Safranek 19a8ae1c15 Add KopsFeatureEnabled to templates
`KopsFeatureEnabled "Foo"` returns true, if a feature "Foo" is enabled in
kops (i.e. KOPS_FEATURE_FLAGS).
2022-11-22 17:27:05 +01:00
Rémy Léone 80d2d53643 fix tenv linter 2022-06-15 18:06:28 +02:00
John Gardiner Myers f6b053de9d Report unknown feature flags as such 2021-07-18 16:24:04 -07: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
mikesplain 9e55b8230a Update copyright notices
Also cleans some white spaces
2019-09-09 14:47:51 -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
mikeweiwei 027d324aaf If don't use formatted output,fix logging calls 2018-10-10 19:19:09 +08:00
chrislovecnm 1e418c3e13 more goimport updates 2017-11-04 10:03:02 -06:00
Justin Santa Barbara 288af117fe Add a glog dependency to the test 2017-01-03 14:17:55 -05:00
Justin Santa Barbara 8d31671252 Add unit test for featureflag parsing 2017-01-03 13:53:15 -05:00