Skip to content

Commit

Permalink
Update limitations page to warn users that naming a gateway with the …
Browse files Browse the repository at this point in the history
…same name as a container causes an error (#1039)

* Adding a known limitation for gateway resources

Signed-off-by: jasonviviano <[email protected]>

* Update docs/content/reference/limitations.md

Signed-off-by: jasonviviano <[email protected]>

* Update docs/content/reference/limitations.md

Co-authored-by: Aaron Crawfis <[email protected]>
Signed-off-by: jasonviviano <[email protected]>

* Added the error string for gateway resources sharing names with other resources.

Signed-off-by: jasonviviano <[email protected]>

* Update docs/content/reference/limitations.md

Co-authored-by: Aaron Crawfis <[email protected]>
Signed-off-by: jasonviviano <[email protected]>

---------

Signed-off-by: jasonviviano <[email protected]>
Co-authored-by: Aaron Crawfis <[email protected]>
  • Loading branch information
jasonviviano and AaronCrawfis authored Feb 13, 2024
1 parent 991041a commit ae97e68
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/content/reference/limitations.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,16 @@ As a workaround do not use underscores in resource names. Additional validation

See [app name constraints]({{< ref "resource-schema.md#common-values" >}}) for more information.

### Gateway resources and container resources cannot share names

Deploying a Radius Application that contains a gateway resource and a container resource that share a name will result in an error being thrown during deployment. For example, when attempting to name a container and a gateway something like "foo", you'll get an error messaging similar to:

```
Error - Type: IncludeError, Status: True, Reason: RootIncludesRoot, Message: root httpproxy cannot include another root httpproxy
```

As a workaround make sure to use distinct names for both containers and gateways.

## rad CLI

### Application and resource names are lower-cased after deployment
Expand Down

1 comment on commit ae97e68

@tdeheurles
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @AaronCrawfis :-)

Please sign in to comment.