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

40 lines
1.3 KiB
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 = "lb-pool", action = 'apply, skip_if_exists = true },
{ file = "certificates", action = 'apply, skip_if_exists = true },
{ file = "configmap-sozu-config", action = 'apply },
{ file = "deployment", action = 'apply },
{ file = "service", action = 'apply },
{ action = 'wait-ready },
],
update = [
{ file = "certificates", action = 'apply },
{ file = "configmap-sozu-config", action = 'apply },
{ file = "deployment", action = 'apply },
{
file = "deployment",
action = 'rollout-restart,
post = [{ action = 'wait-ready }],
},
],
delete = [
{ file = "service", action = 'delete },
{ file = "deployment", action = 'delete },
{ file = "configmap-sozu-config", action = 'delete },
{ file = "certificates", action = 'delete },
{ file = "lb-pool", action = 'delete },
],
restart = [
{
file = "deployment",
action = 'rollout-restart,
post = [{ action = 'wait-ready }],
},
],
},
}