33 lines
909 B
Text
33 lines
909 B
Text
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 }],
|
|
},
|
|
],
|
|
},
|
|
}
|