provisioning-catalog/components/node_exporter/cluster/manifest_plan.ncl

34 lines
909 B
Text
Raw Permalink Normal View History

let mp = import "schemas/lib/manifest_plan.ncl" in
{
manifest_plan | mp.ManifestPlan = {
init = [
{ file = "namespace", action = 'apply, skip_if_exists = true },
{ file = "serviceaccount", action = 'apply },
{ file = "daemonset", action = 'apply },
{ file = "service", action = 'apply },
{ action = 'wait-ready },
],
update = [
{ file = "daemonset", action = 'apply },
{
file = "daemonset",
action = 'rollout-restart,
post = [{ action = 'wait-ready }],
},
],
delete = [
{ file = "service", action = 'delete },
{ file = "daemonset", action = 'delete },
{ file = "serviceaccount", action = 'delete },
],
restart = [
{
file = "daemonset",
action = 'rollout-restart,
post = [{ action = 'wait-ready }],
},
],
},
}