Repository navigation
Add optional AWS web identity token for the worker - #39
Merged
Merged
Conversation
Projects a Kubernetes service account token into the worker pod so it can exchange it for AWS credentials, the way IRSA does on EKS. The cluster's OIDC issuer signs the token and AWS verifies it, so nothing secret is stored. Off by default, and only the worker gets it -- connection validation runs in the engine and the blocks run there too, so the app has no need of it. Pair with OPS_AWS_WEB_IDENTITY_TOKEN_FILE and OPS_AWS_FEDERATION_ROLE_ARN in openopsEnv (openops-cloud/openops#2504). Leave disabled on EKS, where IRSA injects its own token and the AWS SDK finds it unaided. Part of OPS-4267. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
The projected serviceAccountToken source is self-describing; values.yaml documents the feature for chart users. Part of OPS-4267. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
The mount path and OPS_AWS_WEB_IDENTITY_TOKEN_FILE had to be kept in agreement by hand, in two different repos. Changing the mount left the app reading a path that no longer existed, surfacing as an ENOENT inside a credential provider rather than as the misconfiguration it was. The chart now emits the variable from mountPath, so the two cannot disagree. Values files supply only the role ARN. Placed before the openopsEnv block, so an explicit override still wins. Part of OPS-4267. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
ravikiranvm
approved these changes
Sep 16, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of OPS-4267