Fixes Delete Bug in Delete Script
Previously, federated config types were not being deleted by
the delete sript because a namespace was not being provided. This
commit adds the ns to the kubectl delete command to properly
delete the federated config type resources.
Fixes Issue:
@@ -42,7 +42,7 @@ ${KCD} namespace ${PUBLIC_NS}
# Disable available types
for filename in ./config/federatedtypes/*.yaml; do
- ${KCD} -f "${filename}"
+ ${KCD} -f "${filename}" -n ${NS}
done
# Remove federation CRDs, namespace, RBAC and deployment resources.
