Do not install ClusterRole and binding used by in-tree volume provider if CSI is used

This commit is contained in:
Ole Markus With 2021-12-20 15:02:29 +01:00
parent 928d15b8b0
commit 397b22b31a
1 changed files with 3 additions and 1 deletions

View File

@ -55,7 +55,7 @@ provisioner: ebs.csi.aws.com
allowVolumeExpansion: true
volumeBindingMode: WaitForFirstConsumer
{{ end }}
{{ end }}
---
apiVersion: rbac.authorization.k8s.io/v1
@ -98,3 +98,5 @@ subjects:
- kind: ServiceAccount
name: aws-cloud-provider
namespace: kube-system
{{ end }}