Skip to content

Commit 66d9434

Browse files
authored
docs: Update the-hard-way.md (#1581)
1 parent ea315c0 commit 66d9434

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/en/latest/tutorials/the-hard-way.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ Please make sure `etcd.host` matches the headless service we created at first. I
271271

272272
In this config, we defined an access key with the `admin` name under the `apisix.admin_key` section. This key is our API key, will be used to control APISIX later. This key is the default API key for APISIX, and it should be changed in production environments.
273273

274-
Save this as `config.yaml`, then run `kubectl -n apisix create cm apisix-conf --from-file ./config.yaml` to create configmap. Later we will mount this configmap into APISIX deployment.
274+
Save this as `config.yaml`, then run `kubectl -n apisix create -f config.yaml` to create configmap. Later we will mount this configmap into APISIX deployment.
275275

276276
```yaml
277277
apiVersion: apps/v1

0 commit comments

Comments
 (0)