Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.

Conversation

@dariustehrani
Copy link
Contributor

All,
I would like to make a small suggestion to not blindly destroy all the containers within the default namespace.
This is too intrusive if the Kubernetes Cluster is not only serving for eShop purposes.
Therefore I would like to suggest that the cleanup tasks gets modified as followed:

Current

if ($clean) {
    Write-Host "Cleaning previous helm releases..." -ForegroundColor Green
    helm delete --purge $(helm ls -q) 
    Write-Host "Previous releases deleted" -ForegroundColor Green
}

Proposal:

if ($clean) {
    Write-Host "Cleaning previous helm releases..." -ForegroundColor Green
   helm delete --purge $(helm ls -q eshop)
   Write-Host "Previous releases deleted" -ForegroundColor Green
}

This will filter out only those helm deployments containing the word "eshop".

helm delete --purge $(helm ls -q)

@mvelosop
Copy link
Collaborator

mvelosop commented Apr 3, 2019

Hi @dariustehrani, thanks for this PR, it seems reasonable.

@eiximenis, could you confirm please?

@mvelosop mvelosop requested a review from eiximenis April 3, 2019 20:08
@dariustehrani
Copy link
Contributor Author

any progress here?

@mvelosop
Copy link
Collaborator

Hi, just pinged @eiximenis for confirmation.

@mvelosop
Copy link
Collaborator

@eiximenis just confirmed (on e-mail), so merging now.

Thanks @dariustehrani 😊

@mvelosop mvelosop merged commit 72f68a1 into dotnet-architecture:dev Apr 29, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants