Skip to content

Commit 227b8a6

Browse files
committed
add support for provider-specific resources: aws gp3 sc
1 parent 542c77e commit 227b8a6

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{{- if and (eq .Values.provider "aws") (empty .Values.global.defaultStorageClass) }}
2+
apiVersion: storage.k8s.io/v1
3+
kind: StorageClass
4+
metadata:
5+
name: gp3
6+
annotations:
7+
storageclass.kubernetes.io/is-default-class: "true"
8+
provisioner: ebs.csi.aws.com
9+
parameters:
10+
type: gp3
11+
# fsType: ext4
12+
# encrypted: "true"
13+
# iops: "3000"
14+
# throughput: "125" # MiB/s
15+
reclaimPolicy: Delete
16+
volumeBindingMode: WaitForFirstConsumer
17+
allowVolumeExpansion: true
18+
{{- end }}

0 commit comments

Comments
 (0)