Skip to content

Commit 439f9f4

Browse files
authored
Update configmap.md
Add quotation marks around the value of the key "player_initial_lives" in configuration file of the ConfigMap called "game-demo". Otherwise, kubectl version 1.18 gives the following error with the command "kubectl apply -f game-demo-configMap.yaml" Error from server (BadRequest): error when creating "game-demo-configMap.yaml": ConfigMap in version "v1" cannot be handled as a ConfigMap: v1.ConfigMap.Data: ReadString: expects " or n, but found 3, error found in #10 byte of ...|l_lives":3,"ui_prope|..., bigger context ...|player.maximum-lives=5\n","player_initial_lives":3,"ui_properties_file_name":"user-interface.propert|...
1 parent 38eba18 commit 439f9f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/en/docs/concepts/configuration/configmap.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ metadata:
6060
name: game-demo
6161
data:
6262
# property-like keys; each key maps to a simple value
63-
player_initial_lives: 3
63+
player_initial_lives: "3"
6464
ui_properties_file_name: "user-interface.properties"
6565
#
6666
# file-like keys

0 commit comments

Comments
 (0)