From 5622b1aa30a6f580fafac2a83df90c848eba5937 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=A4fer?= Date: Wed, 29 May 2019 14:21:47 +0200 Subject: [PATCH] Avoid deletion of entire namespace by accident Yep, that happened to me. I did ``` kubectl delete -f deployment/human-connection ``` and I forgot about the namespace in that folder. Now everything is gone. --- deployment/human-connection/README.md | 2 +- deployment/{human-connection => }/namespace.yaml | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename deployment/{human-connection => }/namespace.yaml (100%) diff --git a/deployment/human-connection/README.md b/deployment/human-connection/README.md index cd49fef33..8b30e98d6 100644 --- a/deployment/human-connection/README.md +++ b/deployment/human-connection/README.md @@ -38,7 +38,7 @@ your deployed kubernetes pods. ## Create a namespace ```bash -# in folder deployment/human-connection/ +# in folder deployment/ $ kubectl apply -f namespace.yaml ``` diff --git a/deployment/human-connection/namespace.yaml b/deployment/namespace.yaml similarity index 100% rename from deployment/human-connection/namespace.yaml rename to deployment/namespace.yaml