From 1eaf28095eb2697eea7f22346be348e404edb7bd Mon Sep 17 00:00:00 2001 From: Suraj Deshmukh Date: Mon, 8 Mar 2021 15:10:03 +0530 Subject: [PATCH] ci: For aws-ebs driver use Delete reclaim_policy The default reclaim policy is set to Retain if the PVs are not deleted explicitly by the user they might remain around costing money. This change is introduced to reduce the proliferation of unused PVs that might be left as a result of multiple CI runs. Signed-off-by: Suraj Deshmukh --- ci/aws/aws-cluster.lokocfg.envsubst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ci/aws/aws-cluster.lokocfg.envsubst b/ci/aws/aws-cluster.lokocfg.envsubst index 1b7ad4663..a3cfdac89 100644 --- a/ci/aws/aws-cluster.lokocfg.envsubst +++ b/ci/aws/aws-cluster.lokocfg.envsubst @@ -275,7 +275,10 @@ component "httpbin" { certmanager_cluster_issuer = "letsencrypt-staging" } -component "aws-ebs-csi-driver" {} +component "aws-ebs-csi-driver" { + // Avoid proliferation of unused PVs. + reclaim_policy = "Delete" +} component "experimental-istio-operator" { enable_monitoring = true