File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed
content/en/docs/tasks/configure-pod-container Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -582,9 +582,11 @@ Here is the manifest you will use:
582
582
583
583
Now, the Pod's output includes environment variables ` SPECIAL_LEVEL_KEY=very ` and ` LOG_LEVEL=INFO ` .
584
584
585
- Once you're happy to move on, delete that Pod:
585
+ Once you're happy to move on, delete that Pod and ConfigMap :
586
586
``` shell
587
587
kubectl delete pod dapi-test-pod --now
588
+ kubectl delete configmap special-config
589
+ kubectl delete configmap env-config
588
590
```
589
591
590
592
## Configure all key-value pairs in a ConfigMap as container environment variables
@@ -911,9 +913,19 @@ kubectl delete configmaps/special-config configmaps/env-config
911
913
kubectl delete configmap -l 'game-config in (config-4,config-5)'
912
914
` ` `
913
915
916
+ Remove the `kustomization.yaml` file that you used to generate the ConfigMap :
917
+
918
+ ` ` ` bash
919
+ rm kustomization.yaml
920
+ ` ` `
921
+
914
922
If you created a directory `configure-pod-container` and no longer need it, you should remove that too,
915
923
or move it into the trash can / deleted files location.
916
924
925
+ ` ` ` bash
926
+ rm -r configure-pod-container
927
+ ` ` `
928
+
917
929
# # {{% heading "whatsnext" %}}
918
930
919
931
* Follow a real world example of
You can’t perform that action at this time.
0 commit comments