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

33 lines
1.1 KiB
Text

let mp = import "schemas/lib/manifest_plan.ncl" in
{
manifest_plan | mp.ManifestPlan = {
init = [
{ action = 'apply_bundle, params = { source = "download" } },
{ action = 'wait-ready, params = {
kind = "deployment",
namespace = "cert-manager",
name = "cert-manager-webhook",
timeout = "180s",
}},
{ action = 'patch_recursive_dns },
{ file = "cf-token-secret", action = 'apply },
{ file = "cluster-issuer", action = 'apply },
{ file = "tls-backup", action = 'apply },
{ file = "csi-driver", action = 'apply },
],
update = [
{ action = 'patch_recursive_dns },
{ file = "cf-token-secret", action = 'apply },
{ file = "cluster-issuer", action = 'apply },
{ file = "tls-backup", action = 'apply },
{ file = "csi-driver", action = 'apply },
],
delete = [
{ file = "csi-driver", action = 'delete },
{ file = "cluster-issuer", action = 'delete },
{ file = "tls-backup", action = 'delete },
{ file = "cf-token-secret", action = 'delete },
],
},
}