Skip to content

Commit

Permalink
api-gateway: add step to upgrade instructions for creating intentions (
Browse files Browse the repository at this point in the history
  • Loading branch information
nathancoleman committed Jun 26, 2023
1 parent e552e3d commit 08c5048
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions website/content/docs/api-gateway/upgrades.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ If you are able to tolerate downtime for your applications, you should delete pr
$ kubectl apply -f apigw-installation.yaml
```

1. Create `ServiceIntentions` allowing `Gateways` to communicate with any backend services that they route to. Refer to [Service intentions configuration entry reference](/consul/docs/connect/config-entries/service-intentions) for additional information.

1. Change any existing `Gateways` to reference the new `GatewayClass` `consul`. Refer to [gatewayClass](/consul/docs/api-gateway/configuration/gateway#gatewayclassname) for additional information.

1. After updating all of your `gateway` configurations to use the new controller, you can complete the upgrade again and completely remove the `apiGateway` block to remove the old controller.
Expand Down Expand Up @@ -99,6 +101,8 @@ If you are unable to tolerate any downtime, you can complete the following steps
$ kubectl apply -f apigw-installation.yaml
```

1. Create `ServiceIntentions` allowing `Gateways` to communicate with any backend services that they route to. Refer to [Service intentions configuration entry reference](/consul/docs/connect/config-entries/service-intentions) for additional information.

1. Change any existing `Gateways` to reference the new `GatewayClass` `consul`. Refer to [gatewayClass](/consul/docs/api-gateway/configuration/gateway#gatewayclassname) for additional information.

1. After updating all of your `gateway` configurations to use the new controller, you can remove the `apiGateway` block from the Helm chart and rerun it. This completely removes the old gateway controller.
Expand Down

0 comments on commit 08c5048

Please sign in to comment.