Skip to content

Commit

Permalink
Document how to delete secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob Percival committed Feb 25, 2019
1 parent 0c431df commit 3ad97fe
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions k8s/trillian/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,17 @@ kubectl delete persistentvolumeclaims \
--selector "app.kubernetes.io/name=${APP_INSTANCE_NAME}"
```

### Delete secrets

Secrets stored in Kubernetes (e.g. database password) are not automatically
deleted. To delete these, run the following `kubectl` command.

```shell
kubectl delete secret \
--namespace "${NAMESPACE}" \
--selector "app.kubernetes.io/name=${APP_INSTANCE_NAME}"
```

### Delete the GKE cluster

Optionally, if you don't need the deployed application or the GKE cluster,
Expand Down

0 comments on commit 3ad97fe

Please sign in to comment.