I tried to set up auth enabled in my helm release ...
# ask-ai
t
I tried to set up auth enabled in my helm release (char 0.339) but I get the following error from bootloader:
Copy code
Failure executing: GET at: <https://10.100.0.1:443/api/v1/namespaces/prod/secrets/airbyte-auth-secrets>
I have the secret in place though.
u
The error message you're seeing suggests that the bootloader is unable to retrieve the
airbyte-auth-secrets
secret from your Kubernetes cluster. This could be due to a variety of reasons such as incorrect namespace, secret not existing, or insufficient permissions. Here are a few steps you can take to troubleshoot this issue: 1. Check the Namespace: Ensure that the
airbyte-auth-secrets
secret is in the correct namespace (
prod
in your case). You can check this by running the following command:
Copy code
kubectl get secret airbyte-auth-secrets -n prod
If the secret is not found, you might need to create it or ensure it's in the correct namespace. 2. Check the Secret: If the secret is in the correct namespace, ensure that it contains the necessary keys. According to the [Airbyte documentation](https://docs.airbyte.com/deploying-airbyte/integrations/authentication), the
airbyte-auth-secrets
secret should contain the following keys:
instance-admin-client-id
,
instance-admin-client-secret
, and
instance-admin-password
. You can view the contents of the secret with the following command:
Copy code
kubectl get secret airbyte-auth-secrets -n prod -o yaml
If any of these keys are missing, you'll need to add them to the secret. 3. Check Permissions: If the secret exists and contains the necessary keys, the issue might be related to permissions. Ensure that the service account used by the bootloader has the necessary permissions to read secrets in the
prod
namespace. If you're still facing issues after these steps, it might be helpful to provide more details about your setup or consider opening an issue in the [Airbyte GitHub repository](https://github.com/airbytehq/airbyte/issues).