Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

EFS - Grant 'endpoints' access #9127

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions stable/efs-provisioner/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 3 additions & 0 deletions stable/efs-provisioner/templates/clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
16 changes: 8 additions & 8 deletions stable/efs-provisioner/templates/deployment.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion stable/efs-provisioner/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down