Skip to content

Commit 9a0fab3

Browse files
committed
portainer: add multiple k8s storage class support
1 parent aec1910 commit 9a0fab3

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
persistence:
2+
enabled: true
3+
size: "1Gi" # minimal size for gp3 is 1Gi
4+
storageClass: "ebs-sc"
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
persistence:
2+
enabled: true
3+
size: "1Gi"
4+
storageClass: "csi-s3"

charts/portainer/values.yaml.gotmpl

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,7 @@ serviceAccount:
1919
# If not set and create is true, a name is generated using the fullname template
2020
name: portainer-sa-clusteradmin
2121

22-
persistence:
23-
enabled: true
24-
size: "1Gi" # minima size for gp3 is 1Gi
25-
annotations: {}
26-
storageClass: "ebs-sc"
27-
existingClaim:
22+
persistence: {}
2823

2924
podAnnotations: {}
3025
podLabels: {}

0 commit comments

Comments
 (0)