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