External database configuration (#225)
This patch makes all the database settings configurable. fixes: https://github.com/spiffe/helm-charts/issues/37 --------- Signed-off-by: Kevin Fox <[email protected]> Signed-off-by: kfox1111 <[email protected]> Co-authored-by: Faisal Memon <[email protected]> Co-authored-by: Marco Franssen <[email protected]>
This commit is contained in:
co-authored by
Faisal Memon
Marco Franssen
parent
ce78bea121
commit
d3da3eed55
@@ -73,12 +73,33 @@ affinity: {}
|
||||
|
||||
topologySpreadConstraints: []
|
||||
|
||||
dataStorage:
|
||||
persistence:
|
||||
# -- Enable persistence used by sqlite3 for spire-server, by the disk KeyStore, and/or by Tornjak.
|
||||
enabled: true
|
||||
size: 1Gi
|
||||
accessMode: ReadWriteOnce
|
||||
storageClass: null
|
||||
|
||||
dataStore:
|
||||
sql:
|
||||
# -- Other supported databases are "postgres" and "mysql"
|
||||
databaseType: sqlite3
|
||||
# -- Only used by "postgres" or "mysql"
|
||||
databaseName: spire
|
||||
# -- Only used by "postgres" or "mysql"
|
||||
host: ""
|
||||
# -- If 0 (default), it will auto set to 5432 for postgres and 3306 for mysql. Only used by those databases.
|
||||
port: 0
|
||||
# -- Only used by "postgres" or "mysql"
|
||||
username: spire
|
||||
# -- Only used by "postgres" or "mysql"
|
||||
password: ""
|
||||
# -- Only used by "postgres" or "mysql"
|
||||
options: []
|
||||
|
||||
# -- Settings from https://github.com/spiffe/spire/blob/main/doc/plugin_server_datastore_sql.md go in this section
|
||||
plugin_data: {}
|
||||
|
||||
logLevel: info
|
||||
jwtIssuer: oidc-discovery.example.org
|
||||
|
||||
|
||||
Reference in New Issue
Block a user