我正在使用 https://github.com/helm/charts/tree/master/stable/airflow 将 Airflow 部署到 Kubernetes 中。
我尝试通过修改 values.yml 来连接外部的 PostgreSQL 数据库:
我尝试通过修改 values.yml 来连接外部的 PostgreSQL 数据库:
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
。
我如何在Kubernetes中创建 passwordSecret
密钥?
passwordSecretKey
是airflow用户的密码吗?