Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultStorageClassParameters = map[string]string{
"storageType": "NutanixVolumes",
"csi.storage.k8s.io/fstype": "xfs",
"csi.storage.k8s.io/provisioner-secret-name": defaultCredentialsSecretName,
"csi.storage.k8s.io/provisioner-secret-namespace": defaultHelmReleaseNamespace,
"csi.storage.k8s.io/node-publish-secret-name": defaultCredentialsSecretName,
"csi.storage.k8s.io/node-publish-secret-namespace": defaultHelmReleaseNamespace,
"csi.storage.k8s.io/controller-expand-secret-name": defaultCredentialsSecretName,
"csi.storage.k8s.io/controller-expand-secret-namespace": defaultHelmReleaseNamespace,
}
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { *options.GlobalOptions // contains filtered or unexported fields }
func NewConfig ¶
func NewConfig(globalOptions *options.GlobalOptions) *Config
type NutanixCSI ¶
type NutanixCSI struct {
// contains filtered or unexported fields
}
func New ¶
func New( c ctrlclient.Client, cfg *Config, helmChartInfoGetter *config.HelmChartGetter, ) *NutanixCSI
func (*NutanixCSI) Apply ¶
func (n *NutanixCSI) Apply( ctx context.Context, provider v1alpha1.CSIProvider, defaultStorage v1alpha1.DefaultStorage, cluster *clusterv1.Cluster, log logr.Logger, ) error
Click to show internal directories.
Click to hide internal directories.