Skip to content

Commit

Permalink
add --all flag to uninstall step (#73)
Browse files Browse the repository at this point in the history
* add --all flag to uninstall step

* remove another unsupported field from pre 1.15 yaml
  • Loading branch information
sandoichi authored May 5, 2020
1 parent 8d77647 commit c9d8520
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ Kubernetes distribution you're using to do so.

Delete your CassandraDatacenters first, otherwise Kubernetes will block deletion because we use a finalizer.
```
kubectl delete cassdcs --all-namespaces
kubectl delete cassdcs --all-namespaces --all
```

Remove the operator Deployment, CRD, etc.
Expand Down
1 change: 0 additions & 1 deletion docs/user/cass-operator-manifests-pre-1.15.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,6 @@ webhooks:
namespace: cass-operator
path: /validate-cassandra-datastax-com-v1beta1-cassandradatacenter
failurePolicy: Ignore
matchPolicy: Equivalent
name: cassandradatacenter-webhook.cassandra.datastax.com
rules:
- apiGroups:
Expand Down
2 changes: 1 addition & 1 deletion hack/release/make-yaml-bundle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ cat operator/deploy/namespace.yaml | yq r - >> "$bundle"
echo '---' >> "$bundle"
helm template ./charts/cass-operator-chart/ -n cass-operator | kubectl create --dry-run=client -o yaml -n cass-operator -f - >> "$bundle"

grep -v x-kubernetes-preserve-unknown-fields < "$bundle" > docs/user/cass-operator-manifests-pre-1.15.yaml
grep -v "x-kubernetes-preserve-unknown-fields\|matchPolicy" < "$bundle" > docs/user/cass-operator-manifests-pre-1.15.yaml
mv "$bundle" docs/user/cass-operator-manifests.yaml

0 comments on commit c9d8520

Please sign in to comment.