You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
klog.Fatalf("Unable to mark flag cloud-config to be required: %v", err)
69
-
}
85
+
cmd.Flags().StringSliceVar(&cloudConfig, "cloud-config", nil, "CSI driver cloud config. This option can be given multiple times")
70
86
71
87
cmd.PersistentFlags().StringSliceVar(&cloudNames, "cloud-name", []string{""}, "Cloud name to instruct CSI driver to read additional OpenStack cloud credentials from the configuration subsections. This option can be specified multiple times to manage multiple OpenStack clouds.")
72
88
cmd.PersistentFlags().StringToStringVar(&additionalTopologies, "additional-topology", map[string]string{}, "Additional CSI driver topology keys, for example topology.kubernetes.io/region=REGION1. This option can be specified multiple times to add multiple additional topology keys.")
@@ -77,6 +93,7 @@ func main() {
77
93
cmd.PersistentFlags().BoolVar(&provideControllerService, "provide-controller-service", true, "If set to true then the CSI driver does provide the controller service (default: true)")
78
94
cmd.PersistentFlags().BoolVar(&provideNodeService, "provide-node-service", true, "If set to true then the CSI driver does provide the node service (default: true)")
79
95
cmd.PersistentFlags().BoolVar(&noClient, "node-service-no-os-client", false, "If set to true then the CSI driver node service will not use the OpenStack client (default: false)")
96
+
cmd.PersistentFlags().MarkDeprecated("node-service-no-os-client", "This flag is deprecated and will be removed in the future. Node service do not use OpenStack credentials anymore.") //nolint:errcheck
| VolumeSnapshotClass `parameters`|`type`| Empty String |`snapshot` creates a VolumeSnapshot object linked to a Cinder volume snapshot. `backup` creates a VolumeSnapshot object linked to a cinder volume backup. Defaults to `snapshot` if not defined |
278
271
| VolumeSnapshotClass `parameters`|`backup-max-duration-seconds-per-gb`|`20`| Defines the amount of time to wait for a backup to complete in seconds per GB of volume size |
279
272
| VolumeSnapshotClass `parameters`|`availability`| Same as volume | String. Backup Availability Zone |
280
-
| Inline Volume `volumeAttributes`|`capacity`|`1Gi`| volume size for creating inline volumes|
273
+
| Inline Volume `volumeAttributes`|`capacity`|`1Gi`| volume size for creating inline volumes|
281
274
| Inline Volume `VolumeAttributes`|`type`| Empty String | Name/ID of Volume type. Corresponding volume type should exist in cinder |
0 commit comments