Skip to content

Commit

Permalink
portainer: add multiple k8s storage class support
Browse files Browse the repository at this point in the history
  • Loading branch information
YuryHrytsuk committed Dec 30, 2024
1 parent aec1910 commit 9a0fab3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
4 changes: 4 additions & 0 deletions charts/portainer/values.ebs-pv.yaml.gotmpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
persistence:
enabled: true
size: "1Gi" # minimal size for gp3 is 1Gi
storageClass: "ebs-sc"
4 changes: 4 additions & 0 deletions charts/portainer/values.s3-pv.yaml.gotmpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
persistence:
enabled: true
size: "1Gi"
storageClass: "csi-s3"
7 changes: 1 addition & 6 deletions charts/portainer/values.yaml.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,7 @@ serviceAccount:
# If not set and create is true, a name is generated using the fullname template
name: portainer-sa-clusteradmin

persistence:
enabled: true
size: "1Gi" # minima size for gp3 is 1Gi
annotations: {}
storageClass: "ebs-sc"
existingClaim:
persistence: {}

podAnnotations: {}
podLabels: {}
Expand Down

0 comments on commit 9a0fab3

Please sign in to comment.