Commit Graph

17 Commits

Author SHA1 Message Date
Ole Markus With ce2e877aeb Remove bazel files from vendor 2022-04-12 13:29:03 +02: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
ZouYu 7d92a17f5c add unit test case for pkg/systemd/escaping_test.go
Signed-off-by: ZouYu <zouy.fnst@cn.fujitsu.com>
2020-04-13 10:23:53 +08:00
Zhou Hao e6727f8bd8 systemd: add UT for EscapeCommand
Signed-off-by: Zhou Hao <zhouhao@cn.fujitsu.com>
2020-04-08 17:36:35 +08:00
mikesplain 9e55b8230a Update copyright notices
Also cleans some white spaces
2019-09-09 14:47:51 -04:00
Justin SB 76d03b3f71
Generated files: glog -> klog 2019-05-06 12:56:03 -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
mooncake 6d9fdab145 Fix typos issues
Signed-off-by: mooncake <xcoder@tenxcloud.com>
2018-10-07 10:11:54 +08:00
Matt Dougherty cc716e3c05 Update hooks to allow all systemd unit file extensions
Previously the hook system would only allow extensions of ".service"
and ".timer". Any other name would have ".service" appended.

Now the hook system allows any suffix listed at
https://www.freedesktop.org/software/systemd/man/systemd.unit.html.
If no suffix is found, ".service" is still added to preserve backwards-
compatibility.

Note that backwards-compatibility may still break for users relying on
the previous behavior in odd ways. For example, a hook with name
"my-hook.slice" would previously have been installed as
"my-hook.slice.service", but it will now be installed as "my-hook.slice",
since ".slice" is a valid systemd unit file extension.
2018-05-16 09:26:17 -07:00
Haoyun 6ffa6e5490
typo fix
typo fix
2018-03-31 14:31:01 +08:00
Mike Splain 45a57915e2 Fix bazel deprecation notice 2018-02-26 09:36:13 -05:00
chrislovecnm 4dd3bb1dea Updating bazel BUILD files with new go_rules version 2017-12-29 15:03:14 -07:00
chrislovecnm 609e268a1d gazelle updates with new bazel version 2017-11-05 17:41:53 -07:00
Justin Santa Barbara 0143be7c4f autogen: BUILD and BUILD.bazel 2017-10-02 14:27:21 -04:00
Rohith 153db84df1 Custom Manifests via Hooks
The present implementation of hooks only perform for docker exec, which isn't that flexible. This PR permits the user to greater customize systemd units on the instances

- cleaned up the manifest code, added tests and permit setting a section raw
- added the ability to filter hooks via master and node roles
- updated the documentation to reflect the changes
- cleaned up some of the vetting issues
2017-08-11 12:40:10 +01:00
Justin Santa Barbara e04fdbd95d PoC of hooks 2017-03-31 22:33:25 -04:00
Justin Santa Barbara b3fd80ac11 Split out systemd package
Part of splitting up the CoreOS PR
2017-01-15 17:52:56 -05:00