Я развертываю воздушный поток в Kubernetes, используя: https://github.com/helm/charts/tree/master/stable/airflow
Я пытаюсь подключить свою внешнюю базу данных PostgreSQL, изменив values.yml:
externalDatabase: ## the type of external database: {mysql,postgres} ## type: postgres ## the host of the external database ## host: <HOST> ## the port of the external database ## port: 5432 ## the database/scheme to use within the the external database ## database: airflow ## the user of the external database ## user: <USER> ## the name of a pre-created secret containing the external database password ## passwordSecret: «» ## the key within `externalDatabase.passwordSecret` containing the password string ## passwordSecretKey: «» ## the connection properties for external database, e.g. «?sslmode=require» properties: «?sslmode=require»
Но он запрашивает passwordSecretи passwordSecretKey.
Как я могу создать секретный пароль passwordSecret в Kubernetes?
passwordSecretKey это пароль для пользователя воздушного потока?
Источник: