Hi all, I have a problem configure Airbyte to writ...
# replication-troubleshooting
j
Hi all, I have a problem configure Airbyte to write logs to GCS using existing secrets stored in GCP secret manager. Anyone know how to configure this properly? I have deployed Airbyte through Helm and additionally specify SecretProviderClass like follow:
Copy code
apiVersion: <http://secrets-store.csi.x-k8s.io/v1|secrets-store.csi.x-k8s.io/v1>
kind: SecretProviderClass
metadata:
  name: airbyte-logs-secrets
spec:
  provider: gcp
  parameters:
    secrets: |
      - resourceName: "projects/<id>/secrets/data_airbyte-logs-secrets/versions/latest"
        path: "secrets.json"
And in
values.yaml
I specify the logs section as follow:
Copy code
gcs:
  bucket: "<bucket-name>/logs"
  # If you are mounting an existing secret to extraVolumes on scheduler, server and worker
  # deployments, then set credentials to the path of the mounted JSON file    
  credentials: "secrets.json"
  # If credentialsJson is set then credentials auto resolves (to /secrets/gcs-log-creds/gcp.json)
  credentialsJson: ""
And also mount the volume to worker and server as follow:
Copy code
extraVolumes:
  - name: airbyte-logs-secrets
    csi:
      driver: <http://secrets-store.csi.k8s.io|secrets-store.csi.k8s.io>
      readOnly: true
      volumeAttributes:
        secretProviderClass: airbyte-logs-secrets
However, I’m getting this error
u
Hello JJ Nilbodee, it's been a while without an update from us. Are you still having problems or did you find a solution?