# 1.42.0 - Added Kubernetes Security contexts, bug fixes and more!

LLMS index: [llms.txt](/site/llms.txt)

---

This is the 1.42.0 release of Agones.

In this release we’ve added support for <a href="https://kubernetes.io/docs/tasks/configure-pod-container/security-context/" >Kubernetes Security Contexts</a> for all Agones containers, updated our documentation, and moved work forward on <a href="https://github.com/agones-dev/agones/issues/3771" >In-place Agones Upgrades</a>  and <a href="https://github.com/agones-dev/agones/issues/3008" >Scheduled Autoscalers</a>.

**Note**: In this release we also removed the ConnectAsync method from the C# SDK, since it wasn’t providing any functionality for several releases. There’s no need to upgrade SDK’s at this time, but be aware that if you do, this function call will need to be removed from your code.

- **Enhanced Security Context in Agones Containers**:
Security enhancements have been implemented in the Agones Helm chart to support configuring runAsUser, runAsGroup, and allowPrivilegeEscalation for core components (controller, extensions, ping, allocator), ensuring secure container operations. Additionally, default security configurations have been hardcoded into the game server sidecar template, enhancing overall container security.

- **Documentation Enhancements**:
We updated the client sdk page to include that  Counters and Lists have been implemented in the Node.js SDK. Additionally, clarification has been provided that the UpdateList REST documentation, specifically for how this pertains to the Local SDK Server.

Check the <a href="https://github.com/agones-dev/agones/tree/release-1.42.0" >README</a> for details on features, installation and usage.

**Breaking changes:**
- Update csharp.md to indicate ConnectAsync is deprecated by @aallbrig in https://github.com/agones-dev/agones/pull/3866

**Implemented enhancements:**
- Add security context to Agones containers by @peterzhongyi in https://github.com/agones-dev/agones/pull/3856
- Add Security Context to game server sidecar by @peterzhongyi in https://github.com/agones-dev/agones/pull/3869
- Drop CountsAndLists Data from the Fleet and Game Server Set When the Flag is False by @igooch in https://github.com/agones-dev/agones/pull/3881
- Adds tests to confirm that Fleet, Fleet Autoscaler, and Fleet Allocation apply defaults code is idempotent by @igooch in https://github.com/agones-dev/agones/pull/3888
- feat: Add CRD Changes and Feature Flag for chain policy by @indexjoseph in https://github.com/agones-dev/agones/pull/3880

**Security fixes:**
- Bump @grpc/grpc-js from 1.10.7 to 1.10.9 in /sdks/nodejs by @dependabot in https://github.com/agones-dev/agones/pull/3863

See <a href="https://github.com/agones-dev/agones/blob/release-1.42.0/CHANGELOG.md" >CHANGELOG</a> for more details on changes.

Images available with this release:

- [us-docker.pkg.dev/agones-images/release/agones-controller:1.42.0](https://us-docker.pkg.dev/agones-images/release/agones-controller:1.42.0)
- [us-docker.pkg.dev/agones-images/release/agones-sdk:1.42.0](https://us-docker.pkg.dev/agones-images/release/agones-sdk:1.42.0)
- [us-docker.pkg.dev/agones-images/release/agones-ping:1.42.0](https://us-docker.pkg.dev/agones-images/release/agones-ping:1.42.0)
- [us-docker.pkg.dev/agones-images/release/agones-allocator:1.42.0](https://us-docker.pkg.dev/agones-images/release/agones-allocator:1.42.0)
- [us-docker.pkg.dev/agones-images/examples/allocation-endpoint-proxy:0.9](https://us-docker.pkg.dev/agones-images/examples/allocation-endpoint-proxy:0.9)
- [us-docker.pkg.dev/agones-images/examples/autoscaler-webhook:0.14](https://us-docker.pkg.dev/agones-images/examples/autoscaler-webhook:0.14)
- [us-docker.pkg.dev/agones-images/examples/cpp-simple-server:0.17](https://us-docker.pkg.dev/agones-images/examples/cpp-simple-server:0.17)
- [us-docker.pkg.dev/agones-images/examples/crd-client:0.17](https://us-docker.pkg.dev/agones-images/examples/crd-client:0.17)
- [us-docker.pkg.dev/agones-images/examples/nodejs-simple-server:0.10](https://us-docker.pkg.dev/agones-images/examples/nodejs-simple-server:0.10)
- [us-docker.pkg.dev/agones-images/examples/rust-simple-server:0.13](https://us-docker.pkg.dev/agones-images/examples/rust-simple-server:0.13)
- [us-docker.pkg.dev/agones-images/examples/simple-game-server:0.34](https://us-docker.pkg.dev/agones-images/examples/simple-game-server:0.34)
- [us-docker.pkg.dev/agones-images/examples/supertuxkart-example:0.14](https://us-docker.pkg.dev/agones-images/examples/supertuxkart-example:0.14)
- [us-docker.pkg.dev/agones-images/examples/unity-simple-server:0.3](https://us-docker.pkg.dev/agones-images/examples/unity-simple-server:0.3)
- [us-docker.pkg.dev/agones-images/examples/xonotic-example:2.0](https://us-docker.pkg.dev/agones-images/examples/xonotic-example:2.0)

Helm chart available with this release:

- <a href="https://agones.dev/chart/stable/agones-1.42.0.tgz" >
  <code>helm install agones agones/agones --version 1.42.0</code></a>

> Make sure to add our stable helm repository using `helm repo add agones https://agones.dev/chart/stable`
