Skip to content

Commit

Permalink
docs: Update the-hard-way.md (#1581)
Browse files Browse the repository at this point in the history
  • Loading branch information
JichinX committed Jan 3, 2023
1 parent ea315c0 commit 66d9434
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/en/latest/tutorials/the-hard-way.md
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ Please make sure `etcd.host` matches the headless service we created at first. I

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.

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.
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.

```yaml
apiVersion: apps/v1
Expand Down

0 comments on commit 66d9434

Please sign in to comment.