use pg flag
This commit is contained in:
1 parent
c54dfeb2be
commit
517ddf24a7
2 files changed
+4
No files matched your search
@@ -51,12 +51,14 @@ spec:
|
||||
<Branch>main</Branch>
|
||||
<SslCertHash></SslCertHash>
|
||||
<SyslogPort>{{ `{{.port}}` }}</SyslogPort>
|
||||
{{ if $v.usePostgres }}
|
||||
<PostgresUser>{{ `{{.username}}` }}</PostgresUser>
|
||||
<PostgresPassword>{{ `{{.password}}` }}</PostgresPassword>
|
||||
<PostgresPort>5432</PostgresPort>
|
||||
<PostgresHost>{{ `{{.host}}` }}</PostgresHost>
|
||||
<PostgresMainDb>{{$k}}</PostgresMainDb>
|
||||
<PostgresLogDb>{{$k}}-log</PostgresLogDb>
|
||||
{{ end }}
|
||||
|
||||
{{- $v.extraConfigXml | nindent 12 }}
|
||||
</Config>
|
||||
|
||||
@@ -23,6 +23,7 @@ arrs:
|
||||
migrateDbFromSqllite:
|
||||
enabled: true
|
||||
claimName: config-sonarr-0
|
||||
usePostgres: false
|
||||
podResources:
|
||||
limits:
|
||||
cpu: 2
|
||||
@@ -46,6 +47,7 @@ arrs:
|
||||
migrateDbFromSqllite:
|
||||
enabled: false
|
||||
claimName: config-radarr-0
|
||||
usePostgres: true
|
||||
podResources:
|
||||
limits:
|
||||
cpu: 2
|
||||
|
||||
Reference in new issue
Block a user