Skip to content

Commit

Permalink
[kong] simplify license secret kubectl command
Browse files Browse the repository at this point in the history
Enterprise users frequently run into problems with the current way the
secret is created. The files have extensions which cause problem later
on in the deployment and this has taken up a lot of time in debugging
several support tickets.

The new format makes it clear and avoids problems when the file has an
extension or is present in a different directory.
  • Loading branch information
hbagdi authored and rainest committed May 27, 2020
1 parent 62db80d commit d048de7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions charts/kong/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -467,11 +467,10 @@ configuration can be placed under the `.env` key.

All Kong Enterprise deployments require a license. If you do not have a copy
of yours, please contact Kong Support. Once you have it, you will need to
store it in a Secret. Save your secret in a file named `license` (no extension)
and then create and inspect your secret:
store it in a Secret:

```bash
$ kubectl create secret generic kong-enterprise-license --from-file=./license
$ kubectl create secret generic kong-enterprise-license --from-file=license=./license.json
```

Set the secret name in `values.yaml`, in the `.enterprise.license_secret` key.
Expand Down

0 comments on commit d048de7

Please sign in to comment.