Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
brainfood
/
k8s-postgresql
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
ad565db4
authored
2024-10-18 16:52:40 -0500
by
Adam Heath
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Only set storageClassName if it has a value.
1 parent
725b76e0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
charts/postgresql-rclone/templates/job-backup.yaml
charts/postgresql-rclone/templates/job-restore.yaml
charts/postgresql-rclone/templates/job-backup.yaml
View file @
ad565db
...
...
@@ -4,7 +4,9 @@ kind: PersistentVolumeClaim
metadata
:
name
:
{{
include "postgresql-rclone.fullname" .
}}
-backups
spec
:
{{
- if .Values.backup.pvc.storageClassName
}}
storageClassName
:
{{
.Values.backup.pvc.storageClassName
}}
{{
- end
}}
accessModes
:
-
ReadWriteOnce
resources
:
...
...
charts/postgresql-rclone/templates/job-restore.yaml
View file @
ad565db
...
...
@@ -4,7 +4,9 @@ kind: PersistentVolumeClaim
metadata
:
name
:
{{
include "postgresql-rclone.fullname" .
}}
-restores
spec
:
{{
- if .Values.backup.pvc.storageClassName
}}
storageClassName
:
{{
.Values.restore.pvc.storageClassName
}}
{{
- end
}}
accessModes
:
-
ReadWriteOnce
resources
:
...
...
Please
register
or
sign in
to post a comment