Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete unused secrets in service cluster default namespace #16464

Closed
3 of 4 tasks
fejta opened this issue Feb 25, 2020 · 2 comments
Closed
3 of 4 tasks

Delete unused secrets in service cluster default namespace #16464

fejta opened this issue Feb 25, 2020 · 2 comments
Assignees
Labels
kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt.

Comments

@fejta
Copy link
Contributor

fejta commented Feb 25, 2020

ref #15806

/assign

@fejta
Copy link
Contributor Author

fejta commented Feb 25, 2020

fejta@fejta3:~/src/gh/test-infra$ gsutil ls -l gs://k8s-prow
  12990770  2020-02-25T18:40:54Z  gs://k8s-prow/tide-history.json
      1101  2020-02-25T18:18:09Z  gs://k8s-prow/tide-status-checkpoint.yaml
TOTAL: 2 objects, 12991871 bytes (12.39 MiB)
fejta@fejta3:~/src/gh/test-infra$ kubectl --context=prow delete secrets tide-history-service-account
secret "tide-history-service-account" deleted
fejta@fejta3:~/src/gh/test-infra$ date
Tue 25 Feb 2020 10:42:02 AM PST

@fejta
Copy link
Contributor Author

fejta commented Feb 25, 2020

fejta@fejta3:~/src/gh/test-infra$ grep -R "secretName: service-account" prow/cluster 
prow/cluster/grandmatriarch.yaml:          secretName: service-account
prow/cluster/boskos-janitor.yaml:          secretName: service-account
prow/cluster/boskos-janitor.yaml:          secretName: service-account
fejta@fejta3:~/src/gh/test-infra$ kubectl --context=prow get deployments -o yaml | grep service-account
fejta@fejta3:~/src/gh/test-infra$ kubectl --context=prow delete secrets service-account && date
secret "service-account" deleted
Tue 25 Feb 2020 10:53:50 AM PST

(grandmatriarch and boskos are in the build cluster)

@fejta fejta closed this as completed Apr 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt.
Projects
None yet
Development

No branches or pull requests

1 participant