-
Notifications
You must be signed in to change notification settings - Fork 598
Open
Labels
assignedAssigned the issue to someone.Assigned the issue to someone.
Description
Is your feature request related to a problem? Please describe.
It's annoying to specify the EFS filesystemID to PVs or StorageClasses
Describe the solution you'd like in detail
I would like to be able to populate the filesystemID from a secret or configmap, maybe like:
kind: StorageClass
apiVersion: storage.k8s.io/v1
metadata:
name: efs-sc
provisioner: efs.csi.aws.com
parameters:
provisioningMode: efs-ap
fileSystemIdSecretRef: # <-- this is the ask
name: my-filesystem-secret
namespace: some-namespace
key: idDescribe alternatives you've considered
- None, I guess. We just hard-code the filesystem ID into our PV
Additional context
The ask is similar to #1052 where the OP is creating a resource in terraform with some specific AWS tags. I'm using crossplane and we deploy a filesystem from this custom resource:
apiVersion: efs.aws.upbound.io/v1beta1
kind: FileSystem
metadata:
name: filesystem
spec:
providerConfigRef:
name: crossplane-aws
forProvider:
region: ${AWS_REGION}
creationToken: ${EKS_CLUSTER_NAME}-filesystem
performanceMode: generalPurpose
throughputMode: burstingIt has the ability to write details about the created resource to a secret, so this is an in-cluster discovery mechanism instead of discovering via AWS tags
nitrocode
Metadata
Metadata
Assignees
Labels
assignedAssigned the issue to someone.Assigned the issue to someone.