[platform] Service Account missing from workload-launcher spawned pods #48888
Labels
area/platform
issues related to the platform
community
team/deployments
type/bug
Something isn't working
Helm Chart Version
1.3.0
What step the error happened?
During the Sync
Relevant information
The pods that the workload launcher spawns have the service account set to
default
instead of the service account set in Helm values and used by the workload-launcher itself. We need the same service account mapped to the spawned pods so that we can write logs to AWS S3 using the IAM role mapped to the Kubernetes service account. I believe the issue is that the pod factory for the workload launcher does not specify a service account.Perhaps in:
https://github.com/airbytehq/airbyte-platform/blob/2c4dffdd701ee1977c0a56d78fe2b0c3aee7624f/airbyte-workload-launcher/src/main/kotlin/pods/factories/InitContainerFactory.kt#L44C25-L44C26
The container builder should be modified to:
The service account should probably be added to the other container and pod factories as well, if set in Helm values.
Relevant log output
The text was updated successfully, but these errors were encountered: