airbytehq / airbytehq/airbyte

Google application credentials for logging are double base64 encoded in airbyte-secrets

未關閉
#68,178 4 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
area/platform autoteam community needs-triage team/compose team/documentation team/platform-move type/bug
主要語言
Python
星號
22.1k
分支
5.4k
平均合併
5 小時
30 天內合併 PR
671

描述

### Helm Chart Version

2.0.18

### What step the error happened?

None

### Relevant information

The gcs log creds secret loads the credentials json file using the `data` key:

https://github.com/airbytehq/airbyte-platform/blob/4f7d9b0e3ab58c518ea90da473a8934c674a911b/charts/v2/airbyte/templates/gcs-log-creds-secret.yaml#L15-L18

But the main `airbyte-secrets` secret uses `stringData` so the storage credentials are encoded twice. I fixed this with a manual transformation for now. You can probably work around it by making a logging secret yourself and then pass a non-base64'd version into `global.storage.gcs.credentialsJson` but the docs do ask for a base64'd version. Kind of strange.

https://github.com/airbytehq/airbyte-platform/blob/4f7d9b0e3ab58c518ea90da473a8934c674a911b/charts/v2/airbyte/templates/secret.yaml#L10-L28

### Relevant log output

```shell

```

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。