Skip to content

Commit

Permalink
Docs: Link to SDK Service Account (#3565)
Browse files Browse the repository at this point in the history
"GameServer Pod Service Accounts" didn't provide a reference to what the
SDK service account permissions should be - so this updates the docs to
the point to the relevant Helm yaml file that is the reference for this,
with an accompanying warning on what getting your RBAC permissions
wrong can do.

Closes #3564
  • Loading branch information
markmandel authored Jan 3, 2024
1 parent e7b8738 commit eac649c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions site/content/en/docs/Advanced/service-accounts.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@ of the Kubernetes API.

If needed, you can provide your own service account on the `Pod` specification in the `GameServer` configuration.

{{< alert title="Warning" color="warning" >}}
If you bring your own Service Account, it's your responsibility to ensure it matches all the RBAC permissions
the `GameServer` `Pod` usually acquires from Agones by default, otherwise `GameServers` can fail.

The default RBAC permissions for can be found in the {{< ghlink href="install/helm/agones/templates/serviceaccounts/sdk.yaml" >}}installation
YAML on GitHub{{< /ghlink >}} and can be used for a reference.
{{</ alert >}}

For example:

```yaml
Expand Down

0 comments on commit eac649c

Please sign in to comment.