# Copyright (C) 2021 Nicolas Lamirault <nicolas.lamirault@gmail.com>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: aws-efs-csi-driver
namespace: kube-system
spec:
chart:
spec:
# renovate: registryUrl=https://kubernetes-sigs.github.io/aws-efs-csi-driver/
chart: aws-efs-csi-driver
version: 2.2.2
sourceRef:
kind: HelmRepository
name: aws-efs-csi-driver
namespace: flux-system
interval: 5m0s
releaseName: aws-efs-csi-driver
targetNamespace: kube-system
values:
# TODO: CSI Driver for Amazon EFS: Kubernetes recommanded labels and custom labels
# labels: kind/feature, priority/low, lifecycle/frozen, area/kubernetes, cloud/aws
# https://github.com/kubernetes-sigs/aws-efs-csi-driver/pull/583
# customLabels:
# portefaix.xyz/version: v0.25.0
# additionalAnnotations:
# a8r.io/description: CSI Driver for Amazon EFS
# a8r.io/owner: aws
# a8r.io/bugs: https://github.com/kubernetes-sigs/aws-efs-csi-driver/issues
# a8r.io/documentation: https://kubernetes-sigs.github.io/aws-efs-csi-driver
# a8r.io/repository: https://github.com/kubernetes-sigs/aws-efs-csi-driver/
# a8r.io/support: https://github.com/kubernetes-sigs/aws-efs-csi-driver/issues
controller:
serviceAccount:
create: true
name: efs-csi-controller
node:
serviceAccount:
create: true
name: efs-csi-node
storageClasses: []
# - name: efs
# annotations:
# # Use that annotation if you want this to your default storageclass
# storageclass.kubernetes.io/is-default-class: "true"
# mountOptions:
# - tls
# parameters:
# provisioningMode: efs-ap
# fileSystemId: fs-1122aabb
# directoryPerms: "700"
# gidRangeStart: "1000"
# gidRangeEnd: "2000"
# basePath: "/dynamic_provisioning"
# reclaimPolicy: Delete
# # volumeBindingMode: Immediate
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
CSI Driver for Amazon EFS: Kubernetes recommanded labels and custom labels
https://github.com/kubernetes-sigs/aws-efs-csi-driver/pull/583
portefaix.xyz/version: v0.25.0
a8r.io/description: CSI Driver for Amazon EFS
a8r.io/owner: aws
a8r.io/bugs: https://github.com/kubernetes-sigs/aws-efs-csi-driver/issues
a8r.io/documentation: https://kubernetes-sigs.github.io/aws-efs-csi-driver
a8r.io/repository: https://github.com/kubernetes-sigs/aws-efs-csi-driver/
a8r.io/support: https://github.com/kubernetes-sigs/aws-efs-csi-driver/issues
annotations:
Use that annotation if you want this to your default storageclass
storageclass.kubernetes.io/is-default-class: "true"
mountOptions:
parameters:
provisioningMode: efs-ap
fileSystemId: fs-1122aabb
directoryPerms: "700"
gidRangeStart: "1000"
gidRangeEnd: "2000"
basePath: "/dynamic_provisioning"
reclaimPolicy: Delete
volumeBindingMode: Immediate
https://github.com/portefaix/portefaix/blob/163b3a31f2698da5a997f1cfcebd41feff2b26c9/kubernetes/base/kube-system/aws-efs-csi-driver/aws-efs-csi-driver.yaml#L35
24f620a68a0cf54b84f65430682c2f0833eb8cec