Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

Commit

Permalink
Merge pull request #6 from GoogleCloudPlatform/better-uninstall
Browse files Browse the repository at this point in the history
remove custom resources before uninstalling
  • Loading branch information
MrTrustor authored Feb 23, 2021
2 parents 5572428 + 0e79e75 commit 1d55b03
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,11 +128,13 @@ Follow these instructions to install the FQDNNetworkPolicies controller in your

## Uninstall

To uninstall the FQDNNetworkPolicies controller from your GKE cluster, simply delete the resources.
To uninstall the FQDNNetworkPolicies controller from your GKE cluster, delete the FQDNNetworkPolicies first,
and then remove the resources.
Replace `YOUR_VERSION` by the version you are using.

```
export VERSION=YOUR_VERSION
kubectl delete fqdnnetworkpolicies.networking.gke.io -A --all
kubectl delete -f https://storage.googleapis.com/fqdnnetworkpolicies-manifests/${VERSION}.yaml
```

Expand Down

0 comments on commit 1d55b03

Please sign in to comment.