diff --git a/charts/internal/shoot-system-components/charts/csi-driver-efs/templates/controller-deployment.yaml b/charts/internal/shoot-system-components/charts/csi-driver-efs/templates/controller-deployment.yaml index 10807cede..e61ee2ac5 100644 --- a/charts/internal/shoot-system-components/charts/csi-driver-efs/templates/controller-deployment.yaml +++ b/charts/internal/shoot-system-components/charts/csi-driver-efs/templates/controller-deployment.yaml @@ -73,8 +73,6 @@ spec: valueFrom: fieldRef: fieldPath: spec.nodeName - - name: AWS_REGION - value: {{ .Values.region }} volumeMounts: - name: socket-dir mountPath: /var/lib/csi/sockets/pluginproxy/ diff --git a/charts/internal/shoot-system-components/charts/csi-driver-efs/templates/storageclass.yaml b/charts/internal/shoot-system-components/charts/csi-driver-efs/templates/storageclass.yaml index 52cba1a3f..adb598127 100644 --- a/charts/internal/shoot-system-components/charts/csi-driver-efs/templates/storageclass.yaml +++ b/charts/internal/shoot-system-components/charts/csi-driver-efs/templates/storageclass.yaml @@ -1,26 +1,9 @@ -{{- range .Values.storageClasses }} kind: StorageClass apiVersion: storage.k8s.io/v1 metadata: - name: {{ .name }} - {{- with .annotations }} - annotations: - {{ toYaml . | indent 4 }} - {{- end }} + name: efs-sc provisioner: efs.csi.aws.com - {{- with .mountOptions }} -mountOptions: - {{ toYaml . }} - {{- end }} - {{- with .parameters }} parameters: - {{ toYaml . | indent 2 }} - {{- end }} - {{- with .reclaimPolicy }} -reclaimPolicy: {{ . }} - {{- end }} - {{- with .volumeBindingMode }} -volumeBindingMode: {{ . }} - {{- end }} ---- -{{- end }} \ No newline at end of file + provisioningMode: efs-ap # only one currently available + fileSystemId: {{ .Values.fileSystemID }} + directoryPerms: "700" \ No newline at end of file diff --git a/charts/internal/shoot-system-components/charts/csi-driver-efs/values.yaml b/charts/internal/shoot-system-components/charts/csi-driver-efs/values.yaml index 2f2096e46..d7df986e8 100644 --- a/charts/internal/shoot-system-components/charts/csi-driver-efs/values.yaml +++ b/charts/internal/shoot-system-components/charts/csi-driver-efs/values.yaml @@ -1,6 +1,4 @@ -# Default values for aws-efs-csi-driver. -# This is a YAML-formatted file. -# Declare variables to be passed into your templates. +fileSystemID: "" nameOverride: "" fullnameOverride: "" diff --git a/hack/api-reference/api.md b/hack/api-reference/api.md index 112e70f70..ef8cc0c35 100644 --- a/hack/api-reference/api.md +++ b/hack/api-reference/api.md @@ -408,6 +408,36 @@ reconciliation is possible.
++(Appears on: +InfrastructureStatus) +
++
CSI contains information about the created AWS CSI related resources.
+ +Field | +Description | +
---|---|
+efsFileSystemID
+
+string
+
+ |
+
+ EfsSystemID contains the efsFileSystem. + |
+
@@ -829,6 +859,19 @@ VPCStatus
VPC contains information about the created AWS VPC and some related resources.
+csi
+
+
+CSI
+
+
+CSI contains information about the created AWS CSI related resources.
+