airbytehq / airbytehq/airbyte

helm chart v2 global.database.user not honored when using secret for db password

Ouverte
#71,065 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
area/platform autoteam community needs-triage team/compose team/platform-move type/bug
Langage dominant
Python
Étoiles
22.1k
Forks
5.3k
Métriques de merge des PR
Métriques de PR en attente

Description

### Helm Chart Version

v2.0.19

### What step the error happened?

On deploy

### Relevant information

documentation on upgrading from v1 to v2 is quite clear about use of `global.database.user` should override the use of a secret key when set.

However I have the situation where I am trying to set my values like this:

```
global:
database:
secretName: psql
user: airbyte_something

```

And my secret `psql` has only a single key with the password

THis worked fine in v1 chart and is a good pattern for us to operate the helm chart, avoiding storing the database user as a secret.

However this fails in v2. It seems that the use of database.secretName is not well documented interaction about setting the database user in the secret.

In the chart, can we not just expose the environment from a config map *if* the global.database.user is provided? Rather than always trying to store it in a secret?

### Relevant log output

```shell

```

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.