k8s secrets are not removed after units/application gets removed

Bug #1991854 reported by Yang Kelvin Liu
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Canonical Juju
Triaged
High
Yang Kelvin Liu

Bug Description

The units owned secrets are never removed even the units have gone.

juju scale-application snappass-test 2

juju exec --unit snappass-test/0 "secret-add foo=bar"
secret:ccv1hmuffbahq9l9idv0

juju exec --unit snappass-test/1 "secret-add --owner=unit foo1=bar1"
secret:ccv1jeuffbahq9l9idvg

juju scale-application snappass-test 1

mkubectl -nt1 get secret/ccv1jeuffbahq9l9idvg-1
NAME TYPE DATA AGE
ccv1jeuffbahq9l9idvg-1 Opaque 1 6m27s

Changed in juju:
milestone: none → 2.9.35
importance: Undecided → High
status: New → Triaged
milestone: 2.9.35 → 3.0-beta5
summary: - units' secrets are not removed after units gets removed
+ k8s secrets are not removed after units/application gets removed
Harry Pidcock (hpidcock)
Changed in juju:
milestone: 3.0-beta5 → 3.0-rc2
Changed in juju:
milestone: 3.0-rc2 → 3.0-rc3
Changed in juju:
milestone: 3.0-rc3 → 3.0.1
Changed in juju:
milestone: 3.0.1 → 3.0.2
Changed in juju:
milestone: 3.0.2 → 3.0.3
Changed in juju:
assignee: nobody → Yang Kelvin Liu (kelvin.liu)
Changed in juju:
milestone: 3.0.3 → 3.0.4
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.