Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Fix incorrect geo code in DNS user guide #1111

Merged
merged 1 commit into from
Jan 16, 2025

Conversation

mikenairn
Copy link
Member

GEO-US -> US

Only the following codes will be accepted with a "GEO-" prefix:

AWS_CONTINENT_CODE_AFRICA        = "AF"
AWS_CONTINENT_CODE_ANTARTICA     = "AN"
AWS_CONTINENT_CODE_ASIA          = "AS"
AWS_CONTINENT_CODE_EUROPE        = "EU"
AWS_CONTINENT_CODE_OCEANIA       = "OC"
AWS_CONTINENT_CODE_NORTH_AMERICA = "NA"
AWS_CONTINENT_CODE_SOUTH_AMERICA = "SA"

@Boomatang
Copy link
Contributor

As well as updating the docs can we add CEL validation to policy, so the user can't apply the a policy to the cluster with invalid codes?

@mikenairn
Copy link
Member Author

mikenairn commented Jan 14, 2025

As well as updating the docs can we add CEL validation to policy, so the user can't apply the a policy to the cluster with invalid codes?

Probably could add a CEL validation for codes with the "GEO-" prefix since we have a provider agnostic list for those that we define. That said, its not something i intend to look into now, or add to this PR. Created an issue for it #1113

GEO-US -> US

Only the following codes will be accepted with a "GEO-" prefix:

```
AWS_CONTINENT_CODE_AFRICA        = "AF"
AWS_CONTINENT_CODE_ANTARTICA     = "AN"
AWS_CONTINENT_CODE_ASIA          = "AS"
AWS_CONTINENT_CODE_EUROPE        = "EU"
AWS_CONTINENT_CODE_OCEANIA       = "OC"
AWS_CONTINENT_CODE_NORTH_AMERICA = "NA"
AWS_CONTINENT_CODE_SOUTH_AMERICA = "SA"
```

Signed-off-by: Michael Nairn <[email protected]>
@mikenairn mikenairn changed the title Fix incorrect geo code in DNS docs docs: Fix incorrect geo code in DNS docs Jan 16, 2025
@mikenairn mikenairn changed the title docs: Fix incorrect geo code in DNS docs docs: Fix incorrect geo code in DNS user guide Jan 16, 2025
@mikenairn mikenairn merged commit 7d212a7 into Kuadrant:main Jan 16, 2025
9 checks passed
@mikenairn mikenairn deleted the fix-dns-docs branch January 16, 2025 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants