Skip to content

Commit

Permalink
use storage shim on postres too
Browse files Browse the repository at this point in the history
  • Loading branch information
stavros-k committed Nov 6, 2023
1 parent 21484c6 commit f5f4390
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions library/common/templates/app_functions/_postgres.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -187,9 +187,7 @@ pgBackup (required): Data persistence configuration for backup

postgresdata:
enabled: true
type: {{ $data.type }}
datasetName: {{ $data.datasetName | default "" }}
hostPath: {{ $data.hostPath | default "" }}
{{- include "ix.v1.common.app.storageOptions" (dict "storage" $data) | nindent 2 }}
targetSelector:
postgres:
postgres:
Expand All @@ -198,9 +196,7 @@ postgresdata:
mountPath: /mnt/directories/postgres_data
postgresbackup:
enabled: true
type: {{ $backup.type }}
datasetName: {{ $backup.datasetName | default "" }}
hostPath: {{ $backup.hostPath | default "" }}
{{- include "ix.v1.common.app.storageOptions" (dict "storage" $backup) | nindent 2 }}
targetSelector:
postgresbackup:
postgresbackup:
Expand Down

0 comments on commit f5f4390

Please sign in to comment.