Skip to content
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
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,7 @@ guestStaticAssetNames:
- prometheus_role.yaml
- storageclass.yaml
- storageclass_reader_resizer_binding.yaml
- volumeattributesclass_reader_provisioner_binding.yaml
- volumeattributesclass_reader_resizer_binding.yaml
- volumesnapshot_reader_provisioner_binding.yaml
- volumesnapshotclass.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Generated file. Do not edit. Update using "make update".
#
# Loaded from base/rbac/volumeattributesclass_reader_provisioner_binding.yaml
# because it's needed by controller sidecar common/sidecars/provisioner.yaml
#
#

apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: azure-disk-csi-volumeattributesclass-reader-provisioner-binding
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: openshift-csi-provisioner-volumeattributesclass-reader-role
subjects:
- kind: ServiceAccount
name: azure-disk-csi-driver-controller-sa
namespace: ${NODE_NAMESPACE}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Generated file. Do not edit. Update using "make update".
#
# Loaded from base/rbac/volumeattributesclass_reader_resizer_binding.yaml
# because it's needed by controller sidecar common/sidecars/resizer.yaml
#
#

apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: azure-disk-csi-volumeattributesclass-reader-resizer-binding
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: openshift-csi-resizer-volumeattributesclass-reader-role
subjects:
- kind: ServiceAccount
name: azure-disk-csi-driver-controller-sa
namespace: ${NODE_NAMESPACE}
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,7 @@ guestStaticAssetNames:
- prometheus_role.yaml
- storageclass.yaml
- storageclass_reader_resizer_binding.yaml
- volumeattributesclass_reader_provisioner_binding.yaml
- volumeattributesclass_reader_resizer_binding.yaml
- volumesnapshot_reader_provisioner_binding.yaml
- volumesnapshotclass.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Generated file. Do not edit. Update using "make update".
#
# Loaded from base/rbac/volumeattributesclass_reader_provisioner_binding.yaml
# because it's needed by controller sidecar common/sidecars/provisioner.yaml
#
#

apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: azure-disk-csi-volumeattributesclass-reader-provisioner-binding
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: openshift-csi-provisioner-volumeattributesclass-reader-role
subjects:
- kind: ServiceAccount
name: azure-disk-csi-driver-controller-sa
namespace: ${NODE_NAMESPACE}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Generated file. Do not edit. Update using "make update".
#
# Loaded from base/rbac/volumeattributesclass_reader_resizer_binding.yaml
# because it's needed by controller sidecar common/sidecars/resizer.yaml
#
#

apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: azure-disk-csi-volumeattributesclass-reader-resizer-binding
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: openshift-csi-resizer-volumeattributesclass-reader-role
subjects:
- kind: ServiceAccount
name: azure-disk-csi-driver-controller-sa
namespace: ${NODE_NAMESPACE}
6 changes: 5 additions & 1 deletion pkg/driver/azure-disk/azure_disk.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"github.com/openshift/library-go/pkg/operator/csi/csidrivercontrollerservicecontroller"
"github.com/openshift/library-go/pkg/operator/csi/csidrivernodeservicecontroller"
"github.com/openshift/library-go/pkg/operator/csi/csistorageclasscontroller"
"github.com/openshift/library-go/pkg/operator/hypershift/deploymentversion"
deploymentversioncontroller "github.com/openshift/library-go/pkg/operator/hypershift/deploymentversion"
"github.com/openshift/library-go/pkg/operator/resourcesynccontroller"

dc "github.com/openshift/library-go/pkg/operator/deploymentcontroller"
Expand Down Expand Up @@ -89,6 +89,8 @@ func GetAzureDiskGeneratorConfig() *generator.CSIDriverGeneratorConfig {
"--worker-threads=100",
"--kube-api-qps=50",
"--kube-api-burst=100",
).WithAdditionalAssets(
"base/rbac/volumeattributesclass_reader_provisioner_binding.yaml",
),
commongenerator.DefaultAttacher.WithExtraArguments(
"--timeout=1200s",
Expand All @@ -99,6 +101,8 @@ func GetAzureDiskGeneratorConfig() *generator.CSIDriverGeneratorConfig {
commongenerator.DefaultResizer.WithExtraArguments(
"--timeout=240s",
"-handle-volume-inuse-error=false",
).WithAdditionalAssets(
"base/rbac/volumeattributesclass_reader_resizer_binding.yaml",
),
commongenerator.DefaultSnapshotter.WithExtraArguments(
"--timeout=600s",
Expand Down