Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

secret created through acorn CLI not included in the list of resources to keep during uninstall #361

Open
cjellick opened this issue Jul 28, 2022 · 0 comments
Labels
kind/bug Something isn't working
Milestone

Comments

@cjellick
Copy link
Member

I created an acorn secret using the CLI that looks like this k8s:

apiVersion: v1
data:
  access-key: aaa=
  secret-key: aaa==
kind: Secret
metadata:
  creationTimestamp: "2022-07-26T21:17:07Z"
  name: my-creds
  namespace: acorn
  resourceVersion: "48827"
  uid: 49d8ee9a-dada-4155-83e6-65537e5cfeb4
type: secrets.acorn.io/opaque

When I did acorn uninstall, it did not show up in the list of resources either being kept or destroyed. It was kept after the uninstall

Action | Namespace                      | Name                           | Kind                     | API Version
keep   |                                | acorn                          | Namespace                | v1
keep   | acorn                          | db-user-credentials-tff5j      | Secret                   | v1
keep   | acorn                          | ghcr.io                        | Secret                   | v1
keep   | acorn                          | root-credentials-gd5td         | Secret                   | v1
keep   | acorn                          | root-credentials-rqqg6         | Secret                   | v1
delete |                                | acorn-system                   | Namespace                | v1

I guess you're just listing the resources that have the managed annotation, but this feels like it should be listed as part of the uninstall.

@cjellick cjellick added the kind/bug Something isn't working label Jul 28, 2022
@cjellick cjellick modified the milestone: OSS-MVP Jul 28, 2022
@cjellick cjellick modified the milestones: OSS-MVP, OSS-POST-MVP Aug 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant