Troubleshooting secret not found error when starting Airbyte

Summary

The user is facing a ‘secret not found’ error when starting Airbyte despite creating all the secrets on Google Secret Manager. They have provided a setup for local abctl install with secrets.yaml and values.yaml.


Question

Hey guys!

I have this setup for local abctl install.

apiVersion: v1
kind: Secret
metadata:
  name: airbyte-config-secrets
type: Opaque
data:
  airbyte-secret-manager-sa.json: <json service account encoded base64>

— values.yaml
global:
  secretsManager:
    type: googleSecretManager
    storageSecretName: airbyte-config-secrets
    googleSecretManager:
      projectId: bearded-analytics
      credentialsSecretKey: airbyte-secret-manager-sa.json
  database:
    secretName: airbyte-config-secrets
    hostSecretKey: airbyte-database-host
    portSecretKey: airbyte-database-port
    databaseSecretKey: airbyte-database-name
    userSecretKey: airbyte-database-user
    passwordSecretKey: airbyte-database-password
a```
When starting airbyte I get secret not found error, however I have created all the secrets on Google Secret Manager.
Does anyone know what could be the issue?

<br>

---

This topic has been created from a Slack thread to give it more visibility.
It will be on Read-Only mode here. [Click here](https://airbytehq.slack.com/archives/C021JANJ6TY/p1724239251281879) if you want 
to access the original thread.

[Join the conversation on Slack](https://slack.airbyte.com)

<sub>
["troubleshooting", "secret-not-found-error", "airbyte", "google-secret-manager", "abctl"]
</sub>

You will need to kubectl apply -f ./secret.yaml -n <NAMESPACE> to set the secret in your kubernetes cluster.