<@U04S8PLJWMT> can you guide me on helm deployment...
# ask-ai
d
@kapa.ai can you guide me on helm deployment v2, I faced weird error due to bootloader-v2.
Copy code
Environment:
      IDENTITY_PROVIDER_TYPE:                             <set to the key 'IDENTITY_PROVIDER_TYPE' of config map 'airbyte-v2-airbyte-env'>                             Optional: false
      AB_AIRBYTE_AUTH_IDENTITY_PROVIDER_VERIFY_ISSUER:    <set to the key 'AB_AIRBYTE_AUTH_IDENTITY_PROVIDER_VERIFY_ISSUER' of config map 'airbyte-v2-airbyte-env'>    Optional: false
      AB_AIRBYTE_AUTH_IDENTITY_PROVIDER_VERIFY_AUDIENCE:  <set to the key 'AB_AIRBYTE_AUTH_IDENTITY_PROVIDER_VERIFY_AUDIENCE' of config map 'airbyte-v2-airbyte-env'>  Optional: false
      AB_AUTH_SECRET_CREATION_ENABLED:                    <set to the key 'AB_AUTH_SECRET_CREATION_ENABLED' of config map 'airbyte-v2-airbyte-env'>                    Optional: false
      AB_KUBERNETES_SECRET_NAME:                          <set to the key 'AB_KUBERNETES_SECRET_NAME' of config map 'airbyte-v2-airbyte-env'>                          Optional: false
      AB_INSTANCE_ADMIN_PASSWORD:                         <set to the key 'instance-admin-password' in secret 'airbyte-config-secrets'>                                Optional: false
      AB_INSTANCE_ADMIN_PASSWORD_SECRET_KEY:              <set to the key 'AB_INSTANCE_ADMIN_PASSWORD_SECRET_KEY' of config map 'airbyte-v2-airbyte-env'>              Optional: false
      AB_INSTANCE_ADMIN_CLIENT_ID:                        <set to the key 'AB_INSTANCE_ADMIN_CLIENT_ID' in secret 'airbyte-config-secrets'>                            Optional: false
      AB_INSTANCE_ADMIN_CLIENT_ID_SECRET_KEY:             <set to the key 'AB_INSTANCE_ADMIN_CLIENT_ID_SECRET_KEY' of config map 'airbyte-v2-airbyte-env'>             Optional: false
      AB_INSTANCE_ADMIN_CLIENT_SECRET:                    <set to the key 'AB_INSTANCE_ADMIN_CLIENT_SECRET' in secret 'airbyte-config-secrets'>                        Optional: false
      AB_INSTANCE_ADMIN_CLIENT_SECRET_SECRET_KEY:         <set to the key 'AB_INSTANCE_ADMIN_CLIENT_SECRET_SECRET_KEY' of config map 'airbyte-v2-airbyte-env'>         Optional: false
      AB_JWT_SIGNATURE_SECRET:                            <set to the key 'AB_JWT_SIGNATURE_SECRET' in secret 'airbyte-config-secrets'>                                Optional: false
      AB_JWT_SIGNATURE_SECRET_KEY:                        <set to the key 'AB_JWT_SIGNATURE_SECRET_KEY' of config map 'airbyte-v2-airbyte-env'>                        Optional: false
      DATAPLANE_CLIENT_ID_SECRET_KEY:                     <set to the key 'DATAPLANE_CLIENT_ID_SECRET_KEY' of config map 'airbyte-v2-airbyte-env'>                     Optional: false
      DATAPLANE_CLIENT_SECRET_SECRET_KEY:                 <set to the key 'DATAPLANE_CLIENT_SECRET_SECRET_KEY' of config map 'airbyte-v2-airbyte-env'>                 Optional: false
      AIRBYTE_VERSION:                                    <set to the key 'AIRBYTE_VERSION' of config map 'airbyte-v2-airbyte-env'>                                    Optional: false
      CONNECTOR_REGISTRY_SEED_PROVIDER:                   <set to the key 'CONNECTOR_REGISTRY_SEED_PROVIDER' of config map 'airbyte-v2-airbyte-env'>                   Optional: false
      ENTERPRISE_SOURCE_STUBS_URL:                        <set to the key 'ENTERPRISE_SOURCE_STUBS_URL' of config map 'airbyte-v2-airbyte-env'>                        Optional: false
      DATABASE_HOST:                                      <set to the key 'DATABASE_HOST' of config map 'airbyte-v2-airbyte-env'>                                      Optional: false
      DATABASE_PORT:                                      <set to the key 'DATABASE_PORT' of config map 'airbyte-v2-airbyte-env'>                                      Optional: false
      DATABASE_URL:                                       <set to the key 'DATABASE_URL' of config map 'airbyte-v2-airbyte-env'>                                       Optional: false
      DATABASE_USER:                                      <set to the key 'database-user' in secret 'airbyte-config-secrets'>                                          Optional: false
      DATABASE_PASSWORD:                                  <set to the key 'database-password' in secret 'airbyte-config-secrets'>                                      Optional: false
      DATABASE_DB:                                        <set to the key 'DATABASE_DB' of config map 'airbyte-v2-airbyte-env'>                                        Optional: false
      RUN_DATABASE_MIGRATION_ON_STARTUP:                  <set to the key 'RUN_DATABASE_MIGRATION_ON_STARTUP' of config map 'airbyte-v2-airbyte-env'>                  Optional: false
      FEATURE_FLAG_CLIENT:                                <set to the key 'FEATURE_FLAG_CLIENT' of config map 'airbyte-v2-airbyte-env'>                                Optional: false
      FEATURE_FLAG_PATH:                                  <set to the key 'FEATURE_FLAG_PATH' of config map 'airbyte-v2-airbyte-env'>                                  Optional: false
      LOG_LEVEL:                                          <set to the key 'LOG_LEVEL' of config map 'airbyte-v2-airbyte-env'>                                          Optional: false
      MICRONAUT_ENVIRONMENTS:                             <set to the key 'MICRONAUT_ENVIRONMENTS' of config map 'airbyte-v2-airbyte-env'>                             Optional: false
where error is
Warning  Failed     4m (x26 over 9m8s)  kubelet            Error: couldn't find key AB_INSTANCE_ADMIN_CLIENT_ID in Secret airbyte/airbyte-config-secrets
and I don't expect client_id "global.auth.enabled" = "true" "global.auth.instanceAdmin.emailSecretKey" = "instance-admin-email" "global.auth.instanceAdmin.firstName" = "Airbyte" "global.auth.instanceAdmin.lastName" = "Admin" "global.auth.instanceAdmin.passwordSecretKey" = "instance-admin-password" "global.auth.instanceAdmin.secretName" = "airbyte-config-secrets"
k
Based on your error and configuration, it looks like the Airbyte Helm deployment (v2) is expecting certain keys (like
AB_INSTANCE_ADMIN_CLIENT_ID
) to be present in your Kubernetes secret (
airbyte-config-secrets
), but they are missing. This is causing the bootloader to fail. ### Key Points from Documentation - Admin Credentials via Secret: For Helm v2, you can set the admin password (and optionally client ID and client secret) by creating a Kubernetes secret named
airbyte-auth-secrets
(or your custom name if configured). The secret should contain keys like
instance-admin-password
,
instance-admin-client-id
, and
instance-admin-client-secret
if you want to control these values. Example:
Copy code
yaml   apiVersion: v1   kind: Secret   metadata:     name: airbyte-auth-secrets   type: Opaque   stringData:     instance-admin-password: <your-password>     instance-admin-client-id: <your-client-id>     instance-admin-client-secret: <your-client-secret>
Then apply it:
Copy code
kubectl apply -f secret.yaml -n <YOUR_NAMESPACE>
You may need to restart the
airbyte-server
pod for changes to take effect. [Source: Airbyte Authentication Docs](https://docs.airbyte.com/platform/next/deploying-airbyte/integrations/authentication) - values.yaml Configuration: In your
values.yaml
, you should reference the correct secret and keys:
Copy code
yaml   global:     auth:       enabled: true       instanceAdmin:         secretName: airbyte-auth-secrets         emailSecretKey: instance-admin-email         passwordSecretKey: instance-admin-password         clientIdSecretKey: instance-admin-client-id         clientSecretSecretKey: instance-admin-client-secret
[Source: Enterprise Setup Guide](https://docs.airbyte.com/platform/next/enterprise-setup/implementation-guide#step-2-configure-your-deployment) - Common Pitfall: If you only provide the password and not the client ID/secret, but Airbyte expects them (as in your error), you must add those keys to your secret. The error message:
Copy code
Error: couldn't find key AB_INSTANCE_ADMIN_CLIENT_ID in Secret airbyte/airbyte-config-secrets
means the key
instance-admin-client-id
is missing in your secret. ### What You Should Do 1. Update your Kubernetes secret (
airbyte-config-secrets
or
airbyte-auth-secrets
, depending on your config) to include the required keys: -
instance-admin-password
-
instance-admin-client-id
-
instance-admin-client-secret
- (and optionally
instance-admin-email
if referenced) 2. Ensure your
values.yaml
references the correct secret and key names
as shown above. 3. Apply the secret and restart the relevant pods:
Copy code
sh     kubectl apply -f secret.yaml -n <YOUR_NAMESPACE>     kubectl rollout restart deployment airbyte-server -n <YOUR_NAMESPACE>
### Additional Notes - The documentation and issues indicate that the secret must contain all the keys Airbyte expects, even if you don't plan to use some of them. - If you want Airbyte to generate these values, you can omit them, but then you must not reference them in your
values.yaml
. If you follow these steps and ensure all required keys are present in your secret, the bootloader should be able to start without the missing key error. If you still encounter issues, please double-check the secret name and key names for typos, and ensure your
values.yaml
matches the expected structure for Helm v2 deployments. [Reference: Airbyte Authentication Docs](https://docs.airbyte.com/platform/next/deploying-airbyte/integrations/authentication) [Reference: Enterprise Setup Guide](https://docs.airbyte.com/platform/next/enterprise-setup/implementation-guide#step-2-configure-your-deployment)
d
@kapa.ai which requirmenets to client-id and clientsecret key we have?
k
A message from kapa.ai
The knowledge sources do not explicitly mention any specific requirements or constraints (such as format, length, or allowed characters) for the
client-id
and
client-secret
keys used in Airbyte's Kubernetes secrets. The documentation only provides examples of how to set these keys in your secret, such as:
Copy code
yaml apiVersion: v1 kind: Secret metadata:   name: airbyte-config-secrets type: Opaque stringData:   client-id: ## e.g. e83bbc57-1991-417f-8203-3affb47636cf   client-secret: ## e.g. wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
These examples suggest that the
client-id
is typically a UUID-like string, and the
client-secret
is an alphanumeric string, but no strict requirements are documented. You should ensure that these values match what is expected by your identity provider (e.g., OIDC, Okta, Azure Entra ID) if you are integrating with SSO, as those systems may have their own requirements for these fields. If you need to override these values, you can provide them in your Kubernetes secret as shown above. If you do not provide them, Airbyte may generate them for you, but again, no specific requirements are documented in the provided sources. If you need more detailed requirements, you may need to consult your identity provider's documentation or reach out to Airbyte support for further clarification. [Reference: Creating a Kubernetes Secret](https://docs.airbyte.com/platform/next/enterprise-setup/implementation-guide#creating-a-kubernetes-secret) [Reference: SSO OIDC Credentials Example](https://docs.airbyte.com/platform/next/enterprise-setup/implementation-guide#creating-a-kubernetes-secret)
d
@kapa.ai yes, but it's more for OIDC, where I not using it. I believe we can use Google Workspace in future?
k
A message from kapa.ai
If you are not currently using OIDC, then the
client-id
and
client-secret
keys are not required for your current setup. These keys are specifically needed when configuring Single Sign-On (SSO) with OIDC or similar identity providers (such as Okta or Azure Entra ID). The documentation examples for these keys are always in the context of SSO/OIDC configuration. Regarding Google Workspace: the knowledge sources do not explicitly mention support for Google Workspace as an identity provider for SSO. The documentation references OIDC, Okta, and Azure Entra ID as supported providers for SSO, but does not provide details about Google Workspace integration. If you plan to use Google Workspace for SSO in the future, you would need to ensure it supports OIDC or another compatible protocol, and then configure the appropriate
client-id
and
client-secret
as required by that integration. In summary, unless you are enabling SSO with an OIDC-compatible provider, you do not need to set
client-id
and
client-secret
in your Kubernetes secrets. The knowledge sources do not provide information about direct Google Workspace support for SSO in Airbyte.
d
So this kind of missconfig, right @kapa.ai, if I am not using OIDC, why I need AB_INSTANCE_ADMIN_CLIENT_ID?
k
A message from kapa.ai
Yes, you are correct—if you are not using OIDC (or any SSO integration), you should not need to provide
AB_INSTANCE_ADMIN_CLIENT_ID
or related keys such as
AB_INSTANCE_ADMIN_CLIENT_SECRET
. These are only required when configuring Airbyte with an identity provider for SSO, as shown in the documentation for OIDC and similar setups. If your deployment is failing due to missing
AB_INSTANCE_ADMIN_CLIENT_ID
but you are not using OIDC, this suggests a misconfiguration. You should review your
values.yaml
and secret configuration to ensure that SSO/OIDC is not enabled and that these keys are not referenced. For a standard setup without SSO, only the admin password (and possibly email) is required in your secret, not the client ID or client secret. To disable authentication (if you are handling auth elsewhere, e.g., via a proxy), you can set:
Copy code
yaml global:   auth:     enabled: false
[See: Authentication documentation](https://docs.airbyte.com/platform/next/deploying-airbyte/integrations/authentication) If you want authentication but not SSO, just provide the password (and optionally email) in your secret, and do not reference OIDC or client ID/secret fields in your configuration. If you are still being prompted for these keys, double-check that your
values.yaml
and Helm chart version match your intended setup and that no SSO/identity provider configuration is present. If the error persists despite not enabling OIDC, it may be a bug or an issue with the chart version, but the documentation does not provide further details on this scenario.
d
Does global.auth.enabled false disables instanceAdmin trouggh email and password? @kapa.ai
k
A message from kapa.ai
Setting
global.auth.enabled: false
in your
values.yaml
disables Airbyte's built-in authentication, including the use of the
instanceAdmin
email and password for login. This means users will not be prompted for credentials managed by Airbyte, and access control will not be enforced by Airbyte itself. This setting is typically used when you have an external authentication mechanism (such as a proxy or SSO managed outside of Airbyte) and do not want Airbyte to handle authentication at all. From the documentation: > There may be times when your wish to turn off authentication, for instance if you have already configured a proxy that authenticates users with your organization's SSO. In these cases you can turn off Airbyte's authentication by adding the following to your values.yaml file: > >
Copy code
> global:   >   auth:   >     enabled: false   >
> [Source](https://docs.airbyte.com/platform/next/deploying-airbyte/integrations/authentication) So, with
global.auth.enabled: false
, the instance admin email and password are not used for authentication.
d
Is there a way to have any auth on Airbyte Community? @kapa.ai Or I should manage it by myself?
k
A message from kapa.ai
Airbyte Community (Open Source) does not include built-in user management or role-based access controls (RBAC) to prevent unauthorized access to the API or UI. While recent versions do provide a basic authentication mechanism (admin email and password), there is no advanced or multi-user authentication system included out of the box. If you need stronger authentication or access control, you are expected to manage it yourself. The recommended approaches are: - Deploy Airbyte in a private network or use a firewall to restrict access. - Deploy Airbyte behind a reverse proxy (such as NGINX) and handle authentication (e.g., basic auth, SSO) and SSL encryption at the proxy level. The documentation provides an example NGINX config for this purpose. - If deploying on a cloud provider, you can use services like [Google Cloud Identity-Aware Proxy](https://cloud.google.com/iap) or [AWS Systems Manager Session Manager](https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager.html) to restrict access. > Airbyte Open Source currently does not include any user management or role-based access controls (RBAC) to prevent unauthorized access to the API or UI. Controlling who has access to the hardware and network your Airbyte deployment runs on is your responsibility. > You can secure access to Airbyte using the following methods: > - Deploy Airbyte in a private network or use a firewall to filter which IP is allowed to access your host. > - Deploy Airbyte behind a reverse proxy and handle the access control and SSL encryption on the reverse proxy side. > [Source](https://docs.airbyte.com/platform/next/operating-airbyte/security#securing-airbyte-open-source) So, for Airbyte Community, you should manage authentication and access control yourself using network, proxy, or cloud-native security tools.
d
@kapa.ai I noticed that in a base secrets I have { "AB_INSTANCE_ADMIN_CLIENT_ID": "", "AB_INSTANCE_ADMIN_CLIENT_SECRET": "", "AB_INSTANCE_ADMIN_PASSWORD": "", "AB_JWT_SIGNATURE_SECRET": "", "AIRBYTE_DUMMY_SECRET": "dummy", "AIRBYTE_LICENSE_KEY": "", "AWS_ACCESS_KEY_ID": "", "AWS_ASSUME_ROLE_ACCESS_KEY_ID": "", "AWS_ASSUME_ROLE_SECRET_ACCESS_KEY": "", "AWS_SECRET_ACCESS_KEY": "", "AWS_SECRET_MANAGER_ACCESS_KEY_ID": "", "AWS_SECRET_MANAGER_SECRET_ACCESS_KEY": "", "BUILDER_GITHUB_AIRBYTE_PAT_TOKEN": "", "CONNECTOR_ROLLOUT_GITHUB_AIRBYTE_PAT": "", "CUSTOMERIO_API_KEY": "", "DATABASE_PASSWORD": "airbyte", "DATABASE_USER": "airbyte", "DATAPLANE_CLIENT_ID": "", "DATAPLANE_CLIENT_SECRET": "", "INITIAL_USER_PASSWORD": "", "KEYCLOAK_ADMIN_PASSWORD": "airbyte123", "KEYCLOAK_ADMIN_USER": "airbyteAdmin", "KEYCLOAK_DATABASE_PASSWORD": "airbyte", "KEYCLOAK_DATABASE_USERNAME": "airbyte", "OPENAI_API_KEY_PROJ_FAILED_SYNC_ASSISTANT": "", "TEMPORAL_CLI_TLS_CERT": "", "TEMPORAL_CLI_TLS_KEY": "", "TEMPORAL_CLOUD_CLIENT_CERT": "", "TEMPORAL_CLOUD_CLIENT_KEY": "" }
k
A message from kapa.ai
Based on the knowledge sources, the presence of keys like
AB_INSTANCE_ADMIN_CLIENT_ID
,
AB_INSTANCE_ADMIN_CLIENT_SECRET
, and
AB_INSTANCE_ADMIN_PASSWORD
in your base secrets is expected, especially for Airbyte deployments that might use authentication or SSO features. However, if you are not using OIDC or SSO, these keys do not need to be populated with actual values—they can remain empty or be omitted from your configuration, as they are only required when those features are enabled. The documentation does not specify any strict requirements for these keys unless you are enabling authentication features that require them (such as SSO/OIDC). For standard Airbyte Community deployments without SSO, only the admin password (and possibly email) is relevant for authentication, and the other keys can be left empty or ignored. If you enable authentication, ensure the relevant keys are set as needed for your setup. If you are not using features like OIDC, it is safe to leave these fields empty, and Airbyte should not require them unless your configuration or Helm chart specifically references them. If you encounter errors related to missing values for these keys while not using SSO, it may indicate a misconfiguration in your deployment settings, as discussed previously. The knowledge sources do not provide further details or requirements for these keys outside of SSO/OIDC contexts, so if you are not using those features, you do not need to worry about them being empty in your base secrets [Reference: Authentication and Secret Management](https://docs.airbyte.com/platform/next/deploying-airbyte/integrations/authentication)
d
@kapa.ai is abctl can install in remote kubernetes?
k
A message from kapa.ai
Based on the provided knowledge sources, abctl is designed to create and manage local Airbyte instances running in Docker by creating a local Kubernetes cluster using [kind](https://kind.sigs.k8s.io/) inside Docker. It is not intended for installing Airbyte on a remote Kubernetes cluster. The documentation states: > You use abctl to run Airbyte on a machine that isn't running a Kubernetes cluster, but is running Docker. Normally, you don't use abctl to manage enterprise deployments, because they use dedicated Kubernetes infrastructure. However, it's possible to use abctl this way if you want to. abctl sets up a local kind-based Kubernetes cluster and manages Airbyte within that local environment. For remote Kubernetes clusters (such as EKS, GKE, or AKS), the recommended approach is to use Helm directly, not abctl. Therefore, abctl cannot be used to install Airbyte on a remote Kubernetes cluster; it is intended for local development and testing environments only, where Docker is available and kind can create a local cluster inside Docker containers [See: abctl Overview](https://docs.airbyte.com/platform/deploying-airbyte/abctl)