Skip to content

Commit f5b404b

Browse files
authored
Merge pull request #856 from krmichel/master
Cleanup helm chart
2 parents 627682b + 5d0cd1b commit f5b404b

File tree

50 files changed

+539
-548
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+539
-548
lines changed

Makefile

Lines changed: 23 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -140,25 +140,26 @@ verify-vendor:
140140

141141
.PHONY: generate-kustomize
142142
generate-kustomize: bin/helm
143-
cd charts/aws-ebs-csi-driver && ../../bin/helm template kustomize . -n kube-system -s templates/clusterrole-attacher.yaml > ../../deploy/kubernetes/base/clusterrole-attacher.yaml
144-
cd charts/aws-ebs-csi-driver && ../../bin/helm template kustomize . -n kube-system -s templates/clusterrole-provisioner.yaml > ../../deploy/kubernetes/base/clusterrole-provisioner.yaml
145-
cd charts/aws-ebs-csi-driver && ../../bin/helm template kustomize . -n kube-system -s templates/clusterrole-csi-node.yaml > ../../deploy/kubernetes/base/clusterrole-csi-node.yaml
146-
cd charts/aws-ebs-csi-driver && ../../bin/helm template kustomize . -n kube-system -s templates/clusterrolebinding-attacher.yaml > ../../deploy/kubernetes/base/clusterrolebinding-attacher.yaml
147-
cd charts/aws-ebs-csi-driver && ../../bin/helm template kustomize . -n kube-system -s templates/clusterrolebinding-provisioner.yaml > ../../deploy/kubernetes/base/clusterrolebinding-provisioner.yaml
148-
cd charts/aws-ebs-csi-driver && ../../bin/helm template kustomize . -n kube-system -s templates/clusterrolebinding-csi-node.yaml > ../../deploy/kubernetes/base/clusterrolebinding-csi-node.yaml
149-
cd charts/aws-ebs-csi-driver && ../../bin/helm template kustomize . -n kube-system -s templates/controller.yaml -f ../../deploy/kubernetes/values/controller.yaml > ../../deploy/kubernetes/base/controller.yaml
150-
cd charts/aws-ebs-csi-driver && ../../bin/helm template kustomize . -n kube-system -s templates/csidriver.yaml > ../../deploy/kubernetes/base/csidriver.yaml
151-
cd charts/aws-ebs-csi-driver && ../../bin/helm template kustomize . -n kube-system -s templates/node.yaml -f ../../deploy/kubernetes/values/controller.yaml > ../../deploy/kubernetes/base/node.yaml
152-
cd charts/aws-ebs-csi-driver && ../../bin/helm template kustomize . -n kube-system -s templates/serviceaccount-csi-controller.yaml > ../../deploy/kubernetes/base/serviceaccount-csi-controller.yaml
153-
cd charts/aws-ebs-csi-driver && ../../bin/helm template kustomize . -n kube-system -s templates/clusterrole-resizer.yaml -f ../../deploy/kubernetes/values/resizer.yaml > ../../deploy/kubernetes/overlays/alpha/rbac_add_resizer_clusterrole.yaml
154-
cd charts/aws-ebs-csi-driver && ../../bin/helm template kustomize . -n kube-system -s templates/clusterrole-snapshot-controller.yaml -f ../../deploy/kubernetes/values/snapshotter.yaml > ../../deploy/kubernetes/overlays/alpha/rbac_add_snapshot_controller_clusterrole.yaml
155-
cd charts/aws-ebs-csi-driver && ../../bin/helm template kustomize . -n kube-system -s templates/clusterrole-snapshotter.yaml -f ../../deploy/kubernetes/values/snapshotter.yaml > ../../deploy/kubernetes/overlays/alpha/rbac_add_snapshotter_clusterrole.yaml
156-
cd charts/aws-ebs-csi-driver && ../../bin/helm template kustomize . -n kube-system -s templates/clusterrolebinding-resizer.yaml -f ../../deploy/kubernetes/values/resizer.yaml > ../../deploy/kubernetes/overlays/alpha/rbac_add_resizer_clusterrolebinding.yaml
157-
cd charts/aws-ebs-csi-driver && ../../bin/helm template kustomize . -n kube-system -s templates/clusterrolebinding-snapshot-controller.yaml -f ../../deploy/kubernetes/values/snapshotter.yaml > ../../deploy/kubernetes/overlays/alpha/rbac_add_snapshot_controller_clusterrolebinding.yaml
158-
cd charts/aws-ebs-csi-driver && ../../bin/helm template kustomize . -n kube-system -s templates/clusterrolebinding-snapshotter.yaml -f ../../deploy/kubernetes/values/snapshotter.yaml > ../../deploy/kubernetes/overlays/alpha/rbac_add_snapshotter_clusterrolebinding.yaml
159-
cd charts/aws-ebs-csi-driver && ../../bin/helm template kustomize . -n kube-system -s templates/role-snapshot-controller-leaderelection.yaml -f ../../deploy/kubernetes/values/snapshotter.yaml > ../../deploy/kubernetes/overlays/alpha/rbac_add_snapshot_controller_leaderelection_role.yaml
160-
cd charts/aws-ebs-csi-driver && ../../bin/helm template kustomize . -n kube-system -s templates/rolebinding-snapshot-controller-leaderelection.yaml -f ../../deploy/kubernetes/values/snapshotter.yaml > ../../deploy/kubernetes/overlays/alpha/rbac_add_snapshot_controller_leaderelection_rolebinding.yaml
161-
cd charts/aws-ebs-csi-driver && ../../bin/helm template kustomize . -n kube-system -s templates/serviceaccount-snapshot-controller.yaml -f ../../deploy/kubernetes/values/snapshotter.yaml > ../../deploy/kubernetes/overlays/alpha/serviceaccount-snapshot-controller.yaml
162-
cd charts/aws-ebs-csi-driver && ../../bin/helm template kustomize . -n kube-system -s templates/snapshot-controller.yaml -f ../../deploy/kubernetes/values/snapshotter.yaml > ../../deploy/kubernetes/overlays/alpha/snapshot_controller.yaml
163-
cd charts/aws-ebs-csi-driver && ../../bin/helm template kustomize . -n kube-system -s templates/serviceaccount-csi-node.yaml > ../../deploy/kubernetes/base/serviceaccount-csi-node.yaml
164-
cd charts/aws-ebs-csi-driver && ../../bin/helm template kustomize . -n kube-system -s templates/controller-poddisruptionbudget.yaml > ../../deploy/kubernetes/base/controller-poddisruptionbudget.yaml
143+
cd charts/aws-ebs-csi-driver && ../../bin/helm template kustomize . -s templates/clusterrole-attacher.yaml > ../../deploy/kubernetes/base/clusterrole-attacher.yaml
144+
cd charts/aws-ebs-csi-driver && ../../bin/helm template kustomize . -s templates/clusterrole-csi-node.yaml > ../../deploy/kubernetes/base/clusterrole-csi-node.yaml
145+
cd charts/aws-ebs-csi-driver && ../../bin/helm template kustomize . -s templates/clusterrole-provisioner.yaml > ../../deploy/kubernetes/base/clusterrole-provisioner.yaml
146+
cd charts/aws-ebs-csi-driver && ../../bin/helm template kustomize . -s templates/clusterrole-resizer.yaml > ../../deploy/kubernetes/base/clusterrole-resizer.yaml
147+
cd charts/aws-ebs-csi-driver && ../../bin/helm template kustomize . -s templates/clusterrole-snapshot-controller.yaml > ../../deploy/kubernetes/base/clusterrole-snapshot-controller.yaml
148+
cd charts/aws-ebs-csi-driver && ../../bin/helm template kustomize . -s templates/clusterrole-snapshotter.yaml > ../../deploy/kubernetes/base/clusterrole-snapshotter.yaml
149+
cd charts/aws-ebs-csi-driver && ../../bin/helm template kustomize . -s templates/clusterrolebinding-attacher.yaml -n kube-system > ../../deploy/kubernetes/base/clusterrolebinding-attacher.yaml
150+
cd charts/aws-ebs-csi-driver && ../../bin/helm template kustomize . -s templates/clusterrolebinding-csi-node.yaml -n kube-system > ../../deploy/kubernetes/base/clusterrolebinding-csi-node.yaml
151+
cd charts/aws-ebs-csi-driver && ../../bin/helm template kustomize . -s templates/clusterrolebinding-provisioner.yaml -n kube-system > ../../deploy/kubernetes/base/clusterrolebinding-provisioner.yaml
152+
cd charts/aws-ebs-csi-driver && ../../bin/helm template kustomize . -s templates/clusterrolebinding-resizer.yaml -n kube-system > ../../deploy/kubernetes/base/clusterrolebinding-resizer.yaml
153+
cd charts/aws-ebs-csi-driver && ../../bin/helm template kustomize . -s templates/clusterrolebinding-snapshot-controller.yaml -n kube-system > ../../deploy/kubernetes/base/clusterrolebinding-snapshot-controller.yaml
154+
cd charts/aws-ebs-csi-driver && ../../bin/helm template kustomize . -s templates/clusterrolebinding-snapshotter.yaml -n kube-system > ../../deploy/kubernetes/base/clusterrolebinding-snapshotter.yaml
155+
cd charts/aws-ebs-csi-driver && ../../bin/helm template kustomize . -s templates/controller.yaml > ../../deploy/kubernetes/base/controller.yaml
156+
cd charts/aws-ebs-csi-driver && ../../bin/helm template kustomize . -s templates/csidriver.yaml > ../../deploy/kubernetes/base/csidriver.yaml
157+
cd charts/aws-ebs-csi-driver && ../../bin/helm template kustomize . -s templates/node.yaml > ../../deploy/kubernetes/base/node.yaml
158+
cd charts/aws-ebs-csi-driver && ../../bin/helm template kustomize . -s templates/poddisruptionbudget-controller.yaml > ../../deploy/kubernetes/base/poddisruptionbudget-controller.yaml
159+
cd charts/aws-ebs-csi-driver && ../../bin/helm template kustomize . -s templates/poddisruptionbudget-snapshot-controller.yaml -f ../../deploy/kubernetes/values/snapshotter.yaml > ../../deploy/kubernetes/base/poddisruptionbudget-snapshot-controller.yaml
160+
cd charts/aws-ebs-csi-driver && ../../bin/helm template kustomize . -s templates/role-snapshot-controller-leaderelection.yaml -n kube-system > ../../deploy/kubernetes/base/role-snapshot-controller-leaderelection.yaml
161+
cd charts/aws-ebs-csi-driver && ../../bin/helm template kustomize . -s templates/rolebinding-snapshot-controller-leaderelection.yaml -n kube-system > ../../deploy/kubernetes/base/rolebinding-snapshot-controller-leaderelection.yaml
162+
cd charts/aws-ebs-csi-driver && ../../bin/helm template kustomize . -s templates/serviceaccount-csi-controller.yaml > ../../deploy/kubernetes/base/serviceaccount-csi-controller.yaml
163+
cd charts/aws-ebs-csi-driver && ../../bin/helm template kustomize . -s templates/serviceaccount-csi-node.yaml > ../../deploy/kubernetes/base/serviceaccount-csi-node.yaml
164+
cd charts/aws-ebs-csi-driver && ../../bin/helm template kustomize . -s templates/serviceaccount-snapshot-controller.yaml > ../../deploy/kubernetes/base/serviceaccount-snapshot-controller.yaml
165+
cd charts/aws-ebs-csi-driver && ../../bin/helm template kustomize . -s templates/snapshot-controller.yaml -f ../../deploy/kubernetes/values/snapshotter.yaml > ../../deploy/kubernetes/base/snapshot_controller.yaml

charts/aws-ebs-csi-driver/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v1
22
appVersion: "1.0.0"
33
name: aws-ebs-csi-driver
44
description: A Helm chart for AWS EBS CSI Driver
5-
version: 1.0.3
5+
version: 1.1.0
66
kubeVersion: ">=1.17.0-0"
77
home: https://github.com/kubernetes-sigs/aws-ebs-csi-driver
88
sources:
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,39 @@
11
To verify that aws-ebs-csi-driver has started, run:
22

33
kubectl get pod -n {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "aws-ebs-csi-driver.name" . }},app.kubernetes.io/instance={{ .Release.Name }}"
4+
5+
6+
WARNING: The following values have been deprecated in favor of moving them into the controller or node groups. They will be removed in a subsequent release.
7+
8+
affinity:
9+
extraCreateMetadata:
10+
extraVolumeTags:
11+
k8sTagClusterId:
12+
nodeSelector:
13+
podAnnotations:
14+
priorityClassName:
15+
region:
16+
replicaCount:
17+
resources:
18+
tolerations:
19+
topologySpreadConstraints:
20+
volumeAttachLimit:
21+
22+
are moving to
23+
24+
controller:
25+
affinity:
26+
extraCreateMetadata:
27+
extraVolumeTags:
28+
k8sTagClusterId:
29+
nodeSelector:
30+
podAnnotations:
31+
priorityClassName:
32+
region:
33+
replicaCount:
34+
resources:
35+
tolerations:
36+
topologySpreadConstraints:
37+
38+
node:
39+
volumeAttachLimit:

charts/aws-ebs-csi-driver/templates/_helpers.tpl

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,24 @@ app.kubernetes.io/instance: {{ .Release.Name }}
5959
Convert the `--extra-volume-tags` command line arg from a map.
6060
*/}}
6161
{{- define "aws-ebs-csi-driver.extra-volume-tags" -}}
62+
{{- $evt := default .Values.extraVolumeTags .Values.controller.extraVolumeTags }}
6263
{{- $result := dict "pairs" (list) -}}
63-
{{- range $key, $value := .Values.extraVolumeTags -}}
64+
{{- range $key, $value := $evt -}}
6465
{{- $noop := printf "%s=%s" $key $value | append $result.pairs | set $result "pairs" -}}
6566
{{- end -}}
6667
{{- if gt (len $result.pairs) 0 -}}
6768
{{- printf "%s=%s" "- --extra-volume-tags" (join "," $result.pairs) -}}
6869
{{- end -}}
6970
{{- end -}}
71+
72+
{{/*
73+
Handle http proxy env vars
74+
*/}}
75+
{{- define "aws-ebs-csi-driver.http-proxy" -}}
76+
- name: HTTP_PROXY
77+
value: {{ .Values.proxy.http_proxy | quote }}
78+
- name: HTTPS_PROXY
79+
value: {{ .Values.proxy.http_proxy | quote }}
80+
- name: NO_PROXY
81+
value: {{ .Values.proxy.no_proxy | quote }}
82+
{{- end -}}

charts/aws-ebs-csi-driver/templates/clusterrole-attacher.yaml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,18 @@ metadata:
66
labels:
77
{{- include "aws-ebs-csi-driver.labels" . | nindent 4 }}
88
rules:
9-
- apiGroups: [""]
10-
resources: ["persistentvolumes"]
11-
verbs: ["get", "list", "watch", "update", "patch"]
12-
- apiGroups: [""]
13-
resources: ["nodes"]
14-
verbs: ["get", "list", "watch"]
15-
- apiGroups: ["csi.storage.k8s.io"]
16-
resources: ["csinodeinfos"]
17-
verbs: ["get", "list", "watch"]
18-
- apiGroups: ["storage.k8s.io"]
19-
resources: ["volumeattachments"]
20-
verbs: ["get", "list", "watch", "update", "patch"]
9+
- apiGroups: [ "" ]
10+
resources: [ "persistentvolumes" ]
11+
verbs: [ "get", "list", "watch", "update", "patch" ]
12+
- apiGroups: [ "" ]
13+
resources: [ "nodes" ]
14+
verbs: [ "get", "list", "watch" ]
15+
- apiGroups: [ "csi.storage.k8s.io" ]
16+
resources: [ "csinodeinfos" ]
17+
verbs: [ "get", "list", "watch" ]
18+
- apiGroups: [ "storage.k8s.io" ]
19+
resources: [ "volumeattachments" ]
20+
verbs: [ "get", "list", "watch", "update", "patch" ]
2121
- apiGroups: [ "storage.k8s.io" ]
2222
resources: [ "volumeattachments/status" ]
2323
verbs: [ "patch" ]
Lines changed: 18 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
{{- if .Values.enableVolumeResizing }}
21
---
32
kind: ClusterRole
43
apiVersion: rbac.authorization.k8s.io/v1
@@ -12,22 +11,21 @@ rules:
1211
# - apiGroups: [""]
1312
# resources: ["secrets"]
1413
# verbs: ["get", "list", "watch"]
15-
- apiGroups: [""]
16-
resources: ["persistentvolumes"]
17-
verbs: ["get", "list", "watch", "update", "patch"]
18-
- apiGroups: [""]
19-
resources: ["persistentvolumeclaims"]
20-
verbs: ["get", "list", "watch"]
21-
- apiGroups: [""]
22-
resources: ["persistentvolumeclaims/status"]
23-
verbs: ["update", "patch"]
24-
- apiGroups: ["storage.k8s.io"]
25-
resources: ["storageclasses"]
26-
verbs: ["get", "list", "watch"]
27-
- apiGroups: [""]
28-
resources: ["events"]
29-
verbs: ["list", "watch", "create", "update", "patch"]
30-
- apiGroups: [""]
31-
resources: ["pods"]
32-
verbs: ["get", "list", "watch"]
33-
{{- end}}
14+
- apiGroups: [ "" ]
15+
resources: [ "persistentvolumes" ]
16+
verbs: [ "get", "list", "watch", "update", "patch" ]
17+
- apiGroups: [ "" ]
18+
resources: [ "persistentvolumeclaims" ]
19+
verbs: [ "get", "list", "watch" ]
20+
- apiGroups: [ "" ]
21+
resources: [ "persistentvolumeclaims/status" ]
22+
verbs: [ "update", "patch" ]
23+
- apiGroups: [ "storage.k8s.io" ]
24+
resources: [ "storageclasses" ]
25+
verbs: [ "get", "list", "watch" ]
26+
- apiGroups: [ "" ]
27+
resources: [ "events" ]
28+
verbs: [ "list", "watch", "create", "update", "patch" ]
29+
- apiGroups: [ "" ]
30+
resources: [ "pods" ]
31+
verbs: [ "get", "list", "watch" ]
Lines changed: 24 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
{{- if .Values.enableVolumeSnapshot }}
21
---
32
kind: ClusterRole
43
apiVersion: rbac.authorization.k8s.io/v1
@@ -7,29 +6,27 @@ metadata:
76
labels:
87
{{- include "aws-ebs-csi-driver.labels" . | nindent 4 }}
98
rules:
10-
- apiGroups: [""]
11-
resources: ["persistentvolumes"]
12-
verbs: ["get", "list", "watch"]
13-
- apiGroups: [""]
14-
resources: ["persistentvolumeclaims"]
15-
verbs: ["get", "list", "watch", "update"]
16-
- apiGroups: ["storage.k8s.io"]
17-
resources: ["storageclasses"]
18-
verbs: ["get", "list", "watch"]
19-
- apiGroups: [""]
20-
resources: ["events"]
21-
verbs: ["list", "watch", "create", "update", "patch"]
22-
- apiGroups: ["snapshot.storage.k8s.io"]
23-
resources: ["volumesnapshotclasses"]
24-
verbs: ["get", "list", "watch"]
25-
- apiGroups: ["snapshot.storage.k8s.io"]
26-
resources: ["volumesnapshotcontents"]
27-
verbs: ["create", "get", "list", "watch", "update", "delete"]
28-
- apiGroups: ["snapshot.storage.k8s.io"]
29-
resources: ["volumesnapshots"]
30-
verbs: ["get", "list", "watch", "update"]
31-
- apiGroups: ["snapshot.storage.k8s.io"]
32-
resources: ["volumesnapshots/status"]
33-
verbs: ["update"]
34-
35-
{{- end }}
9+
- apiGroups: [ "" ]
10+
resources: [ "persistentvolumes" ]
11+
verbs: [ "get", "list", "watch" ]
12+
- apiGroups: [ "" ]
13+
resources: [ "persistentvolumeclaims" ]
14+
verbs: [ "get", "list", "watch", "update" ]
15+
- apiGroups: [ "storage.k8s.io" ]
16+
resources: [ "storageclasses" ]
17+
verbs: [ "get", "list", "watch" ]
18+
- apiGroups: [ "" ]
19+
resources: [ "events" ]
20+
verbs: [ "list", "watch", "create", "update", "patch" ]
21+
- apiGroups: [ "snapshot.storage.k8s.io" ]
22+
resources: [ "volumesnapshotclasses" ]
23+
verbs: [ "get", "list", "watch" ]
24+
- apiGroups: [ "snapshot.storage.k8s.io" ]
25+
resources: [ "volumesnapshotcontents" ]
26+
verbs: [ "create", "get", "list", "watch", "update", "delete" ]
27+
- apiGroups: [ "snapshot.storage.k8s.io" ]
28+
resources: [ "volumesnapshots" ]
29+
verbs: [ "get", "list", "watch", "update" ]
30+
- apiGroups: [ "snapshot.storage.k8s.io" ]
31+
resources: [ "volumesnapshots/status" ]
32+
verbs: [ "update" ]
Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
{{- if .Values.enableVolumeSnapshot }}
21
---
32
kind: ClusterRole
43
apiVersion: rbac.authorization.k8s.io/v1
@@ -7,19 +6,18 @@ metadata:
76
labels:
87
{{- include "aws-ebs-csi-driver.labels" . | nindent 4 }}
98
rules:
10-
- apiGroups: [""]
11-
resources: ["events"]
12-
verbs: ["list", "watch", "create", "update", "patch"]
13-
- apiGroups: [""]
14-
resources: ["secrets"]
15-
verbs: ["get", "list"]
16-
- apiGroups: ["snapshot.storage.k8s.io"]
17-
resources: ["volumesnapshotclasses"]
18-
verbs: ["get", "list", "watch"]
19-
- apiGroups: ["snapshot.storage.k8s.io"]
20-
resources: ["volumesnapshotcontents"]
21-
verbs: ["create", "get", "list", "watch", "update", "delete"]
22-
- apiGroups: ["snapshot.storage.k8s.io"]
23-
resources: ["volumesnapshotcontents/status"]
24-
verbs: ["update"]
25-
{{- end }}
9+
- apiGroups: [ "" ]
10+
resources: [ "events" ]
11+
verbs: [ "list", "watch", "create", "update", "patch" ]
12+
- apiGroups: [ "" ]
13+
resources: [ "secrets" ]
14+
verbs: [ "get", "list" ]
15+
- apiGroups: [ "snapshot.storage.k8s.io" ]
16+
resources: [ "volumesnapshotclasses" ]
17+
verbs: [ "get", "list", "watch" ]
18+
- apiGroups: [ "snapshot.storage.k8s.io" ]
19+
resources: [ "volumesnapshotcontents" ]
20+
verbs: [ "create", "get", "list", "watch", "update", "delete" ]
21+
- apiGroups: [ "snapshot.storage.k8s.io" ]
22+
resources: [ "volumesnapshotcontents/status" ]
23+
verbs: [ "update" ]

charts/aws-ebs-csi-driver/templates/clusterrolebinding-resizer.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
{{- if .Values.enableVolumeResizing }}
21
---
32
kind: ClusterRoleBinding
43
apiVersion: rbac.authorization.k8s.io/v1
@@ -14,5 +13,3 @@ roleRef:
1413
kind: ClusterRole
1514
name: ebs-external-resizer-role
1615
apiGroup: rbac.authorization.k8s.io
17-
18-
{{- end}}

charts/aws-ebs-csi-driver/templates/clusterrolebinding-snapshot-controller.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
{{- if .Values.enableVolumeSnapshot }}
21
---
32
kind: ClusterRoleBinding
43
apiVersion: rbac.authorization.k8s.io/v1
@@ -14,5 +13,3 @@ roleRef:
1413
kind: ClusterRole
1514
name: ebs-snapshot-controller-role
1615
apiGroup: rbac.authorization.k8s.io
17-
18-
{{- end }}

0 commit comments

Comments
 (0)