-
Notifications
You must be signed in to change notification settings - Fork 603
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(kgo): add Konnect entities documentation #8084
Conversation
2a09335
to
c1077b7
Compare
✅ Deploy Preview for kongdocs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
48c69fe
to
1f00a26
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor nits, but overall this looks solid 👍
app/_src/gateway-operator/guides/konnect-entities/service-and-route.md
Outdated
Show resolved
Hide resolved
app/_src/gateway-operator/guides/konnect-entities/service-and-route.md
Outdated
Show resolved
Hide resolved
app/_src/gateway-operator/guides/konnect-entities/service-and-route.md
Outdated
Show resolved
Hide resolved
app/_src/gateway-operator/guides/konnect-entities/tagging-and-labeling.md
Outdated
Show resolved
Hide resolved
The output should look similar to this: | ||
|
||
```console | ||
{ | ||
"observedGeneration": 1, | ||
"reason": "Programmed", | ||
"status": "True", | ||
"type": "Programmed" | ||
} | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm wondering if this wouldn't make sense to put this into an importable/includable snippet to deduplicate some code
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 d351492
app/_src/gateway-operator/guides/konnect-entities/key-and-keyset.md
Outdated
Show resolved
Hide resolved
app/_src/gateway-operator/guides/konnect-entities/key-and-keyset.md
Outdated
Show resolved
Hide resolved
app/_src/gateway-operator/guides/konnect-entities/key-and-keyset.md
Outdated
Show resolved
Hide resolved
app/_src/gateway-operator/guides/konnect-entities/upstream-and-target.md
Outdated
Show resolved
Hide resolved
app/_src/gateway-operator/guides/konnect-entities/upstream-and-target.md
Outdated
Show resolved
Hide resolved
d60dfd3
to
58b2461
Compare
58b2461
to
2c459b5
Compare
abcf11a
to
df9e6a9
Compare
df9e6a9
to
bca5c37
Compare
You can verify the `KongService` was reconciled successfully by checking its `Programmed` condition. | ||
|
||
```shell | ||
kubectl get kongservice service -o=jsonpath='{.status.conditions}' | jq '.[] | select(.type == "Programmed")' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
kubectl
natively supports filtering:
... -o=jsonpath="{.status.conditions[?(@.type==\"Programmed\")]}"
If we want to pretty print this then we can just pipe it to jq
at the very end.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done in d351492
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Simple copy edits, and terminology things. Let me know if anything doesn't make sense.
app/_src/gateway-operator/guides/konnect-entities/certificate-and-cacertificate.md
Outdated
Show resolved
Hide resolved
to create a `KonnectAPIAuthConfiguration` object that will be used by the {{site.kgo_product_name}} to authenticate | ||
with Konnect APIs. | ||
|
||
### Create a Konnect API Auth Configuration |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
### Create a Konnect API Auth Configuration | |
### Create a {{site.konnect_product_name}} API Auth Configuration |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure about lower casing this. I referred to Writing for Kong guide and it says:
Use title case for titles of pieces and calls to action. Use sentence case for all other headers.
This header is a call to action, so I'd keep it capitalized, WDYT?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, the marketing style guide is different than the docs style guide. We specifically use sentence case for all headers.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in 3100cd5
app/_src/gateway-operator/guides/konnect-entities/upstream-and-target.md
Outdated
Show resolved
Hide resolved
d351492
to
0058b19
Compare
Rebased on |
Co-authored-by: Patryk Małek <[email protected]>
Co-authored-by: Angel <[email protected]>
1246263
to
3f077c5
Compare
Co-authored-by: Angel <[email protected]>
Description
Adds a Konnect entities prerequisites building block (describing the KGO installation and
KonnectAuthConfiguration
creation steps) along with a first guide describingKonnectGatewayControlPlane
usage. It also adds guides for:It's based on #8083 which prepares v1.4.x release nav etc.
Part of Kong/gateway-operator#439.
Testing instructions
Preview links:
Checklist