Fix auth plugin configuration to match the new SQLAuthPlugin config block (#2844)

Signed-off-by: Alexander Mays <alex@eastside.io>
This commit is contained in:
Alexander Mays
2022-05-13 22:12:22 -05:00
committed by GitHub
parent 208391f717
commit 5acbdd70b1

View File

@@ -73,7 +73,8 @@ persistence:
maxConns: {{ default .Env.SQL_MAX_CONNS "20" }}
maxIdleConns: {{ default .Env.SQL_MAX_IDLE_CONNS "20" }}
maxConnLifetime: {{ default .Env.SQL_MAX_CONN_TIME "1h" }}
authPlugin: {{ default .Env.SQL_AUTH_PLUGIN "" }}
authPlugin:
plugin: {{ default .Env.SQL_AUTH_PLUGIN "" }}
tls:
enabled: {{ default .Env.SQL_TLS_ENABLED "false" }}
caFile: {{ default .Env.SQL_CA "" }}
@@ -104,7 +105,8 @@ persistence:
maxConns: {{ default .Env.SQL_VIS_MAX_CONNS "10" }}
maxIdleConns: {{ default .Env.SQL_VIS_MAX_IDLE_CONNS "10" }}
maxConnLifetime: {{ default .Env.SQL_VIS_MAX_CONN_TIME "1h" }}
authPlugin: {{ default .Env.SQL_VIS_AUTH_PLUGIN "" }}
authPlugin:
plugin: {{ default .Env.SQL_VIS_AUTH_PLUGIN "" }}
tls:
enabled: {{ default .Env.SQL_TLS_ENABLED "false" }}
caFile: {{ default .Env.SQL_CA "" }}
@@ -124,7 +126,8 @@ persistence:
maxConns: {{ default .Env.SQL_MAX_CONNS "20" }}
maxIdleConns: {{ default .Env.SQL_MAX_IDLE_CONNS "20" }}
maxConnLifetime: {{ default .Env.SQL_MAX_CONN_TIME "1h" }}
authPlugin: {{ default .Env.SQL_AUTH_PLUGIN "" }}
authPlugin:
plugin: {{ default .Env.SQL_AUTH_PLUGIN "" }}
tls:
enabled: {{ default .Env.SQL_TLS_ENABLED "false" }}
caFile: {{ default .Env.SQL_CA "" }}
@@ -151,7 +154,8 @@ persistence:
maxConns: {{ default .Env.SQL_VIS_MAX_CONNS "10" }}
maxIdleConns: {{ default .Env.SQL_VIS_MAX_IDLE_CONNS "10" }}
maxConnLifetime: {{ default .Env.SQL_VIS_MAX_CONN_TIME "1h" }}
authPlugin: {{ default .Env.SQL_VIS_AUTH_PLUGIN "" }}
authPlugin:
plugin: {{ default .Env.SQL_VIS_AUTH_PLUGIN "" }}
tls:
enabled: {{ default .Env.SQL_TLS_ENABLED "false" }}
caFile: {{ default .Env.SQL_CA "" }}