EFS - Grant 'endpoints' access (#9127)

* EFS ClusterRole - Grant access to 'endpoint' resources

Signed-off-by: Kevin Pullin <kevin.pullin@gmail.com>

* Do not create EFS deployment if default EFS id set

Signed-off-by: Kevin Pullin <kevin.pullin@gmail.com>

* Bump efs-provisioner chart version

Signed-off-by: Kevin Pullin <kevin.pullin@gmail.com>

* Fix indentation from github UI conflict edit

Signed-off-by: Kevin Pullin <kevin.pullin@gmail.com>
This commit is contained in:
Kevin Pullin
2019-01-22 22:33:32 -08:00
committed by Kubernetes Prow Robot
parent cf701595fc
commit f6c1f9924f
4 changed files with 14 additions and 11 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
apiVersion: v1
name: efs-provisioner
description: A Helm chart for the AWS EFS external storage provisioner
version: 0.1.3
appVersion: v0.1.2
version: 0.1.4
appVersion: v2.1.0-k8s1.11
home: https://github.com/kubernetes-incubator/external-storage/tree/master/aws/efs
sources:
- https://github.com/kubernetes-incubator/external-storage/tree/master/aws/efs
@@ -24,4 +24,7 @@ rules:
- apiGroups: [""]
resources: ["events"]
verbs: ["list", "watch", "create", "update", "patch"]
- apiGroups: [""]
resources: ["endpoints"]
verbs: ["get", "list", "watch", "create", "update", "patch"]
{{- end }}
@@ -1,13 +1,13 @@
{{- if ne .Values.efsProvisioner.efsFileSystemId "fs-12345678" }}
{{/*
The `efsFileSystemId` value must be set.
{{- if ne .Values.efsProvisioner.efsFileSystemId "fs-12345678" }}
{{/*
The `efsFileSystemId` value must be set.
The above `if` condition also prevents the helm integration tests from failing.
Given that the helm test infrastructure does not have access to valid
AWS EFS resources, a deployment that references the example `fs-12345678`
creates pods that will never enter a clean, running state.
The above `if` condition also prevents the helm integration tests from failing.
Given that the helm test infrastructure does not have access to valid
AWS EFS resources, a deployment that references the example `fs-12345678`
creates pods that will never enter a clean, running state.
Omitting the deployment hacks around this limitation.
Omitting the deployment hacks around this limitation.
*/}}
kind: Deployment
apiVersion: apps/v1beta2
+1 -1
View File
@@ -14,7 +14,7 @@ replicaCount: 1
revisionHistoryLimit: 10
image:
repository: quay.io/external_storage/efs-provisioner
tag: v0.1.2
tag: v2.1.0-k8s1.11
pullPolicy: IfNotPresent
busyboxImage: