Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( PluginSpecificFields = map[oadpv1alpha1.DefaultPlugin]DefaultPluginFields{ oadpv1alpha1.DefaultPluginAWS: { IsCloudProvider: true, SecretName: "cloud-credentials", MountPath: "/credentials", EnvCredentialsFile: common.AWSSharedCredentialsFileEnvKey, PluginName: common.VeleroPluginForAWS, PluginSecretKey: "cloud", }, oadpv1alpha1.DefaultPluginGCP: { IsCloudProvider: true, SecretName: "cloud-credentials-gcp", MountPath: "/credentials-gcp", EnvCredentialsFile: common.GCPCredentialsEnvKey, PluginName: common.VeleroPluginForGCP, PluginSecretKey: "cloud", }, oadpv1alpha1.DefaultPluginMicrosoftAzure: { IsCloudProvider: true, SecretName: "cloud-credentials-azure", MountPath: "/credentials-azure", EnvCredentialsFile: common.AzureCredentialsFileEnvKey, PluginName: common.VeleroPluginForAzure, PluginSecretKey: "cloud", }, oadpv1alpha1.DefaultPluginOpenShift: { IsCloudProvider: false, PluginName: common.VeleroPluginForOpenshift, }, oadpv1alpha1.DefaultPluginCSI: { IsCloudProvider: false, PluginName: common.VeleroPluginForCSI, }, } )
Functions ¶
func AppendCloudProviderVolumes ¶
func AppendCloudProviderVolumes(dpa *oadpv1alpha1.DataProtectionApplication, ds *appsv1.DaemonSet, providerNeedsDefaultCreds map[string]bool, hasCloudStorage bool) error
func AppendPluginSpecificSpecs ¶
func AppendPluginSpecificSpecs(dpa *oadpv1alpha1.DataProtectionApplication, veleroDeployment *appsv1.Deployment, veleroContainer *corev1.Container, providerNeedsDefaultCreds map[string]bool, hasCloudStorage bool) error
add plugin specific specs to velero deployment
Types ¶
Click to show internal directories.
Click to hide internal directories.