Skip to content

install --upgrade delete namespace at end of previous version install #198

@n0rad

Description

@n0rad

Hi there,

I'm trying to use install --upgrade to validate that a chart is upgradable from one version to another.
At the end of the previous version installation, the namespace is deleted and a new one is created to install current version

I'm testing with CT latest container (2.4.0) against a private repository with changes on a branch.
from the logs changes are well detected :

Testing upgrades of chart 'maxscale => (version: "0.1.1", path: "maxscale")' relative to previous revision 'maxscale => (version: "0.1.0", path: "ct_previous_revision535151147/maxscale")'...

But at the end of the previous install :

...
Deleting release 'maxscale-2semyflfvv'...
>>> helm delete --purge maxscale-2semyflfvv
release "maxscale-2semyflfvv" deleted
Deleting namespace 'maxscale-2semyflfvv'...
>>> kubectl delete namespace maxscale-2semyflfvv --timeout 180s
namespace "maxscale-2semyflfvv" deleted
>>> kubectl get namespace maxscale-2semyflfvv
Namespace 'maxscale-2semyflfvv' terminated.
Testing upgrades of chart 'maxscale => (version: "0.1.1", path: "maxscale")' relative to previous revision 'maxscale => (version: "0.1.1", path: "maxscale")'...
>>> helm install maxscale --name maxscale-mgmh215ffh --namespace maxscale-mgmh215ffh --wait
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions