Skip to content

feat(chart): support AWS IRSA / EKS Pod Identity for S3, RDS, ElastiCache, and ephemeral executor - #325

Open
Macbet wants to merge 1 commit into
mainfrom
feat/aws-irsa-iam-auth
Open

Macbet wants to merge 1 commit into
mainfrom
feat/aws-irsa-iam-auth

Conversation

@Macbet

@Macbet Macbet commented Nov 29, 2026

Copy link
Copy Markdown
Contributor

Companion Helm chart changes for terrakube-io/terrakube#4062 and terrakube-io/terrakube#4063.

Add Helm chart values, schema, templates, and docs for AWS workload identity (IRSA and EKS Pod Identity) without static AWS keys or DB/Redis passwords:

  • storage.aws: add enableRoleAuthentication, endpoint, and endpointRegion; allow omitting static keys and region (falling back to AWS_REGION); omit static AWS keys from Secrets and set AwsIncludeBackendKeys=false in executor when role auth is enabled or keys are blank.
  • api.properties (RDS): add databaseAwsIamAuth and databaseAwsRegion; omit static DatasourcePassword from Secret when IAM auth is enabled.
  • api.properties (Redis/ElastiCache): add redisUsername, redisSsl, redisClusterNodes, redisAwsIamAuth, redisAwsCacheName, redisAwsRegion, and redisAwsServerless; force TLS and omit static TerrakubeRedisPassword when IAM auth is enabled.
  • api.ephemeralExecution: add serviceAccountName (defaulting to executor.serviceAccountName) mapped to ExecutorEphemeralServiceAccount.
  • api, executor, registry: support optional ServiceAccount creation (createServiceAccount, serviceAccountAnnotations, automountServiceAccountToken).
  • Add aws-irsa-iam CI values profile, update docs/storage.md, and regenerate charts/terrakube/README.md via helm-docs.

…ache, and ephemeral executor

Add Helm chart values, schema, templates, and docs for AWS workload identity (IRSA and EKS Pod Identity) without static AWS keys or DB/Redis passwords.

- storage.aws: add enableRoleAuthentication, endpoint, and endpointRegion; allow omitting static keys and region (falling back to AWS_REGION); omit static AWS keys from Secrets and set AwsIncludeBackendKeys=false in executor when role auth is enabled or keys are blank.
- api.properties (RDS): add databaseAwsIamAuth and databaseAwsRegion; omit static DatasourcePassword from Secret when IAM auth is enabled.
- api.properties (Redis/ElastiCache): add redisUsername, redisSsl, redisClusterNodes, redisAwsIamAuth, redisAwsCacheName, redisAwsRegion, and redisAwsServerless; force TLS and omit static TerrakubeRedisPassword when IAM auth is enabled.
- api.ephemeralExecution: add serviceAccountName (defaulting to executor.serviceAccountName) mapped to ExecutorEphemeralServiceAccount.
- api, executor, registry: support optional ServiceAccount creation (createServiceAccount, serviceAccountAnnotations, automountServiceAccountToken).
- Add aws-irsa-iam CI values profile, update docs/storage.md, and regenerate README.md via helm-docs.
@github-actions github-actions Bot added area/chart Chart templates and Chart.yaml area/docs README, examples and contributor docs area/executor Terrakube executor component area/values values.yaml and values.schema.json area/ci Workflows, tooling, dependency updates area/api Terrakube API component area/registry Terrakube registry component labels Nov 29, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/api Terrakube API component area/chart Chart templates and Chart.yaml area/ci Workflows, tooling, dependency updates area/docs README, examples and contributor docs area/executor Terrakube executor component area/registry Terrakube registry component area/values values.yaml and values.schema.json

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant