Skip to content

Commit

Permalink
Update systemd unit to allow for systemd enable to work
Browse files Browse the repository at this point in the history
  • Loading branch information
thecubed authored Sep 28, 2021
1 parent cf97770 commit 5e9c1f0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions deploy/cloud-lifecycle-controller.service
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
[Unit]
Description=cloud-lifecycle-controller: remove nodes from Kubernetes when they don't exist in the cloud provider
Documentation=https://github.com/nxtlytics/cloud-lifecycle-controller
Wants=network-online.target
After=network-online.target
[Install]
WantedBy=multi-user.target
[Service]
User=kubernetes
Expand All @@ -12,4 +13,4 @@ EnvironmentFile=/etc/sysconfig/kube-common
# For CA certs and keys
EnvironmentFile=/etc/sysconfig/kube-pki
EnvironmentFile=/etc/sysconfig/cloud-lifecycle-controller
ExecStart=/usr/bin/cloud-lifecycle-controller -kubeconfig $KUBECONFIG -leader-elect -cloud $CLOUD
ExecStart=/usr/bin/cloud-lifecycle-controller -kubeconfig $KUBECONFIG -leader-elect -cloud $CLOUD

0 comments on commit 5e9c1f0

Please sign in to comment.