Skip to content

Commit

Permalink
Merge pull request #327 from wongma7/e2e-migration
Browse files Browse the repository at this point in the history
Update helm manifest for 1.15
  • Loading branch information
k8s-ci-robot authored Aug 8, 2019
2 parents f23d7d7 + 0867447 commit 9ffd9dc
Showing 1 changed file with 15 additions and 45 deletions.
60 changes: 15 additions & 45 deletions aws-ebs-csi-driver/templates/manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,35 +81,6 @@ roleRef:
name: ebs-external-attacher-role
apiGroup: rbac.authorization.k8s.io

---

kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: ebs-cluster-driver-registrar-role
rules:
- apiGroups: ["apiextensions.k8s.io"]
resources: ["customresourcedefinitions"]
verbs: ["create", "list", "watch", "delete"]
- apiGroups: ["csi.storage.k8s.io"]
resources: ["csidrivers"]
verbs: ["create", "delete"]

---

kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: ebs-csi-driver-registrar-binding
subjects:
- kind: ServiceAccount
name: ebs-csi-controller-sa
namespace: kube-system
roleRef:
kind: ClusterRole
name: ebs-cluster-driver-registrar-role
apiGroup: rbac.authorization.k8s.io

{{- if .Values.enableVolumeSnapshot }}
---

Expand Down Expand Up @@ -211,7 +182,7 @@ roleRef:
---

kind: StatefulSet
apiVersion: apps/v1beta1
apiVersion: apps/v1
metadata:
name: ebs-csi-controller
namespace: kube-system
Expand All @@ -220,6 +191,7 @@ spec:
replicas: 1
selector:
matchLabels:
app: ebs-csi-controller
app.kubernetes.io/name: {{ include "aws-ebs-csi-driver.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
template:
Expand Down Expand Up @@ -273,20 +245,8 @@ spec:
timeoutSeconds: 3
periodSeconds: 10
failureThreshold: 5
- name: cluster-driver-registrar
image: quay.io/k8scsi/csi-cluster-driver-registrar:v1.0.1
args:
- --csi-address=$(ADDRESS)
- --driver-requires-attachment=true
- --v=5
env:
- name: ADDRESS
value: /csi/csi.sock
volumeMounts:
- name: socket-dir
mountPath: /csi
- name: csi-provisioner
image: quay.io/k8scsi/csi-provisioner:v1.1.0
image: quay.io/k8scsi/csi-provisioner:v1.3.0
args:
- --provisioner=ebs.csi.aws.com
- --csi-address=$(ADDRESS)
Expand All @@ -301,7 +261,7 @@ spec:
- name: socket-dir
mountPath: /var/lib/csi/sockets/pluginproxy/
- name: csi-attacher
image: quay.io/k8scsi/csi-attacher:v1.1.0
image: quay.io/k8scsi/csi-attacher:v1.2.0
args:
- --csi-address=$(ADDRESS)
- --v=5
Expand Down Expand Up @@ -352,7 +312,7 @@ spec:
---
# Node Service
kind: DaemonSet
apiVersion: apps/v1beta2
apiVersion: apps/v1
metadata:
name: ebs-csi-node
namespace: kube-system
Expand Down Expand Up @@ -452,3 +412,13 @@ spec:
hostPath:
path: /dev
type: Directory

---

apiVersion: storage.k8s.io/v1beta1
kind: CSIDriver
metadata:
name: ebs.csi.aws.com
spec:
attachRequired: true
podInfoOnMount: false

0 comments on commit 9ffd9dc

Please sign in to comment.