description "Kubernetes Addon Object Manager"

start on started kube-apiserver
stop on runlevel [!2345]

env TOKEN_DIR={{ kube_token_dir }}
env KUBECTL_BIN=/usr/bin/kubectl
env KUBERNETES_MASTER_NAME={{ groups['masters'][0] }}

exec {{ kube_script_dir }}/kube-addons.sh
