Skip to content

Commit

Permalink
archive 2.6 and 2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
lena-larionova committed Oct 9, 2024
1 parent 22d2c4a commit a788ea8
Show file tree
Hide file tree
Showing 324 changed files with 83,342 additions and 59 deletions.
461 changes: 461 additions & 0 deletions app/_data/docs_nav_gateway_2.6.x.yml

Large diffs are not rendered by default.

473 changes: 473 additions & 0 deletions app/_data/docs_nav_gateway_2.7.x.yml

Large diffs are not rendered by default.

57 changes: 8 additions & 49 deletions app/_data/kong_versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -452,56 +452,15 @@
lua_doc: true

-
release: "2.6.x"
ee-version: "2.6.1.0"
ce-version: "2.6.1"
edition: "gateway"
-
release: "2.7.x"
ee-version: "2.7.2.0"
ce-version: "2.7.2"
edition: "gateway"
# -
# # Combined Gateway docs (single-sourced)
# release: "2.6.x"
# ee-version: "2.6.1.0"
# ce-version: "2.6.1"
# edition: "gateway"
# luarocks_version: "2.5.1-0"
# dependencies:
# luajit: "2.1.0-beta3"
# luarocks: "3.8.0"
# cassandra: "3.x.x"
# postgres: "9.5+"
# openresty: "1.19.9.1"
# openssl: "1.1.1n"
# libyaml: "0.2.5"
# pcre: "8.44"
# lua_doc: true
# -
# release: "2.7.x"
# ee-version: "2.7.2.0"
# ce-version: "2.7.2"
# edition: "gateway"
# luarocks_version: "2.5.1-0"
# dependencies:
# luajit: "2.1.0-beta3"
# luarocks: "3.8.0"
# cassandra: "3.x.x"
# postgres: "9.5+"
# openresty: "1.19.9.1"
# openssl: "1.1.1n"
# libyaml: "0.2.5"
# pcre: "8.45"
# lua_doc: true
# -
# release: "2.8.x"
# ee-version: "2.8.1.0"
# ce-version: "2.8.1"
# edition: "gateway"
# luarocks_version: "2.5.1-0"
# dependencies:
# luajit: "2.1.0-beta3"
# luarocks: "3.8.0"
# cassandra: "3.x.x"
# postgres: "9.5+"
# openresty: "1.19.9.1"
# openssl: "1.1.1n"
# libyaml: "0.2.5"
# pcre: "8.45"
# lua_doc: true
-
release: "3.0.x"
ee-version: "3.0.0.0"
Expand Down
20 changes: 11 additions & 9 deletions app/enterprise/changelog.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,26 @@
---
title: Kong Gateway Changelog Archive
title: Kong Gateway Enterprise Changelog Archive
no_version: true
---

<!-- vale off -->

This changelog covers Kong Gateway versions that have reached end of sunset support.
This changelog covers Kong Gateway Enterprise versions that have reached end of sunset support.
For the archives of the combined Kong Gateway Enterprise and Kong Gateway OSS changelog, see the [Kong Gateway changelog for 2.6 onward](/gateway/changelog/).

Looking for recent releases? See [https://docs.konghq.com/gateway/changelog/](https://docs.konghq.com/gateway/changelog/) for the latest changes.

Archives:
- [Kong Gateway 2.x](#kong-gateway-2x)
- [Kong Gateway 1.x](#kong-gateway-1x)
- [Kong Gateway 0.x](#kong-gateway-0x)
- [Kong Gateway Enterprise 2.x](#kong-gateway-enterprise-2x)
- [Kong Gateway Enterprise 1.x](#kong-gateway-enterprise-1x)
- [Kong Gateway Enterprise 0.x](#kong-gateway-enterprise-0x)

---

## Kong Gateway 2.x
## Kong Gateway Enterprise 2.x

Archived Kong Gateway versions in the 2.x series.
Archived Kong Gateway Enterprise versions in the 2.x series from 2.5 and earlier.
For 2.x versions later than 2.5, see the merged [Kong Gateway changelog](/gateway/changelog/).

## 2.5.1.2
**Release Date:** 2021/11/18
Expand Down Expand Up @@ -2433,7 +2435,7 @@ Kong Enterprise 2.1.3.0 version includes 2.1.0.0 (beta) features, fixes, known i

* The ability to share an entity between Workspaces is no longer supported. The new method requires a copy of the entity to be created in the other Workspaces.

## Kong Gateway 1.x
## Kong Gateway Enterprise 1.x

Archived Kong Gateway versions in the 1.x series.

Expand Down Expand Up @@ -3351,7 +3353,7 @@ repository will allow you to do both easily.
- Fixes: centos and alpine images did not work on some OpenShift setups with relaxed anyuid SCC settings.


## Kong Gateway 0.x
## Kong Gateway Enterprise 0.x

Archived Kong Gateway versions in the 0.x series.

Expand Down
57 changes: 57 additions & 0 deletions app/gateway/2.6.x/admin-api/admins/examples.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
---
title: Admins Examples
badge: enterprise
---

## How to Invite and Register an Admin

### Introduction

Can be used for automation

### Prerequisites

```bash
export USERNAME=<username>
export EMAIL=<email>
export WORKSPACE=<workspace>
export HOST=<admin_api_host>
export TOKEN=Kong-Admin-Token:<super_admin_token>
```

for example:
```bash
export USERNAME=drogon
export [email protected]
export WORKSPACE=default
export HOST=127.0.0.1:8001
export ADMIN_TOKEN=Kong-Admin-Token:hunter2
```

May benefit from HTTPie and jq.

## Step 1
Extract and store the token from the registration URL, either by manually creating an environment variable or by echoing and piping with `jq`:

#### Manual method example:

1. Send a request to the registration URL
```bash
http $HOST/$WORKSPACE/admins/$USERNAME?generate_register_url=true $TOKEN
```

2. Copy the response and export as an environment variable, for example:
```bash
export REGISTER_TOKEN=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE1NDUwNjc0NjUsImlkIjoiM2IyNzY3MzEtNjIxZC00ZjA3LTk3YTQtZjU1NTg0NmJkZjJjIn0.gujRDi2pX_E7u2zuhYBWD4MoPFKe3axMAq-AUcORg2g
```

#### Programmatic method (requires `jq`):
```bash
REGISTER_TOKEN=$(http $HOST/$WORKSPACE/admins/$USERNAME?generate_register_url=true $TOKEN | jq .token -r)
```

## Step 2

```bash
http $HOST/$WORKSPACE/admins/register token=$REGISTER_TOKEN username=$USERNAME email=$EMAIL password="<new_password>"
```
Loading

0 comments on commit a788ea8

Please sign in to comment.