Yuvaraj Prem Kumar
08/25/2025, 1:28 PM2025-08-25 13:20:01,087 [main] ERROR i.a.b.ApplicationKt(main):28 - Unable to bootstrap Airbyte environment.
java.lang.IllegalStateException: Upgrade to version AirbyteVersion{version='1.8.1', major='1', minor='8', patch='1'} failed. As of version 1.6 of the Airbyte Platform, we require your Service Account permissions to include access to the "secrets" resource. To learn more, please visit our documentation page at https://docs.airbyte.com/enterprise-setup/upgrade-service-account.
at io.airbyte.bootloader.AuthKubernetesSecretInitializer.checkAccessToSecrets(AuthKubernetesSecretInitializer.kt:58)
at io.airbyte.bootloader.Bootloader.load(Bootloader.kt:75)
at io.airbyte.bootloader.ApplicationKt.main(Application.kt:25)kapa.ai
08/25/2025, 1:28 PMyaml apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: name: airbyte-admin-role namespace: <your-namespace> rules: - apiGroups: ["*"] resources: ["jobs", "pods", "pods/log", "pods/exec", "pods/attach", "secrets"] verbs: ["get", "list", "watch", "create", "update", "patch", "delete"] You can patch the existing role with: sh kubectl -n <namespace> patch role airbyte-admin-role --type='json' -p='[{"op": "replace", "path": "/rules/0/resources", "value": ["jobs", "pods", "pods/log", "pods/exec", "pods/attach", "secrets"]}]' This workaround has been confirmed by users in the community and is necessary for both Community and Enterprise deployments on Kubernetes from version 1.6 onward, despite what the documentation currently states. If you are using a custom service account, ensure it also has the required permissions for "secrets" resources [Update service account for 1.6](https://docs.airbyte.com/platform/enterprise-setup/upgrade-service-account). In summary: Although the documentation says this is only for Enterprise, in practice, Community users on Kubernetes must also update their service account permissions to include "secrets" access starting with Airbyte 1.6.