Skip to content
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.

Commit

Permalink
ci: For aws-ebs driver use Delete reclaim_policy
Browse files Browse the repository at this point in the history
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 <suraj@kinvolk.io>
  • Loading branch information
surajssd committed Mar 24, 2021
1 parent cfafac9 commit 1eaf280
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ci/aws/aws-cluster.lokocfg.envsubst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1eaf280

Please sign in to comment.