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

45 lines
1.5 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 = "serviceaccount", action = 'apply },
{ file = "rbac", action = 'apply },
{ file = "configmap-setup-proxy", action = 'apply },
{ action = 'create-panel-config },
{ file = "deployment", action = 'apply },
{ file = "service", action = 'apply },
{ file = "httproute", action = 'apply },
{ action = 'wait-ready },
],
update = [
{ file = "rbac", action = 'apply },
{ file = "configmap-setup-proxy", action = 'apply },
{ action = 'create-panel-config },
{ file = "deployment", action = 'apply },
{ file = "service", action = 'apply },
{ file = "httproute", action = 'apply },
{
file = "deployment",
action = 'rollout-restart,
post = [{ action = 'wait-ready }],
},
],
delete = [
{ file = "httproute", action = 'delete },
{ file = "service", action = 'delete },
{ file = "deployment", action = 'delete },
{ file = "rbac", action = 'delete },
{ file = "serviceaccount", action = 'delete },
],
restart = [
{
file = "deployment",
action = 'rollout-restart,
post = [{ action = 'wait-ready }],
},
],
},
}