azuredisk-csi-driver
azuredisk-csi-driver copied to clipboard
[V2] DriverV2 should use AzDiskDriverConfiguration instead of duplicating config fields
Is your feature request related to a problem?/Why is this needed
Describe the solution you'd like in detail
Now that the V2 driver supports configuration from the AzDiskDriverConfiguration
struct, it should reference and use the struct rather than copy the config values into individual fields. Some of these duplicate fields are defined in the DriverCore
struct which is shared between the Driver
and DriverV2
structs. These fields should be moved to Driver
to avoid the duplication. The DriverV2
struct should replace the config fields usage with a single config
field that points to the AzDiskDriverConfiguration
object.
Describe alternatives you've considered
Additional context
/assign