@@ -69,35 +69,36 @@ const (
69
69
70
70
// PerconaServerMongoDBSpec defines the desired state of PerconaServerMongoDB
71
71
type PerconaServerMongoDBSpec struct {
72
- Pause bool `json:"pause,omitempty"`
73
- Unmanaged bool `json:"unmanaged,omitempty"`
74
- CRVersion string `json:"crVersion,omitempty"`
75
- Platform * version.Platform `json:"platform,omitempty"`
76
- Image string `json:"image"`
77
- ImagePullSecrets []corev1.LocalObjectReference `json:"imagePullSecrets,omitempty"`
78
- UnsafeConf bool `json:"allowUnsafeConfigurations,omitempty"`
79
- Unsafe UnsafeFlags `json:"unsafeFlags,omitempty"`
80
- IgnoreLabels []string `json:"ignoreLabels,omitempty"`
81
- IgnoreAnnotations []string `json:"ignoreAnnotations,omitempty"`
82
- Replsets []* ReplsetSpec `json:"replsets,omitempty"`
83
- Secrets * SecretsSpec `json:"secrets,omitempty"`
84
- Backup BackupSpec `json:"backup,omitempty"`
85
- ImagePullPolicy corev1.PullPolicy `json:"imagePullPolicy,omitempty"`
86
- PMM PMMSpec `json:"pmm,omitempty"`
87
- UpdateStrategy appsv1.StatefulSetUpdateStrategyType `json:"updateStrategy,omitempty"`
88
- UpgradeOptions UpgradeOptions `json:"upgradeOptions,omitempty"`
89
- SchedulerName string `json:"schedulerName,omitempty"`
90
- ClusterServiceDNSSuffix string `json:"clusterServiceDNSSuffix,omitempty"`
91
- ClusterServiceDNSMode DNSMode `json:"clusterServiceDNSMode,omitempty"`
92
- Sharding Sharding `json:"sharding,omitempty"`
93
- InitImage string `json:"initImage,omitempty"`
94
- InitContainerSecurityContext * corev1.SecurityContext `json:"initContainerSecurityContext,omitempty"`
95
- MultiCluster MultiCluster `json:"multiCluster,omitempty"`
96
- TLS * TLSSpec `json:"tls,omitempty"`
97
- Users []User `json:"users,omitempty"`
98
- Roles []Role `json:"roles,omitempty"`
99
- VolumeExpansionEnabled bool `json:"enableVolumeExpansion,omitempty"`
100
- LogCollector * LogCollectorSpec `json:"logcollector,omitempty"`
72
+ Pause bool `json:"pause,omitempty"`
73
+ Unmanaged bool `json:"unmanaged,omitempty"`
74
+ CRVersion string `json:"crVersion,omitempty"`
75
+ Platform * version.Platform `json:"platform,omitempty"`
76
+ Image string `json:"image"`
77
+ ImagePullSecrets []corev1.LocalObjectReference `json:"imagePullSecrets,omitempty"`
78
+ UnsafeConf bool `json:"allowUnsafeConfigurations,omitempty"`
79
+ Unsafe UnsafeFlags `json:"unsafeFlags,omitempty"`
80
+ IgnoreLabels []string `json:"ignoreLabels,omitempty"`
81
+ IgnoreAnnotations []string `json:"ignoreAnnotations,omitempty"`
82
+ Replsets []* ReplsetSpec `json:"replsets,omitempty"`
83
+ Secrets * SecretsSpec `json:"secrets,omitempty"`
84
+ Backup BackupSpec `json:"backup,omitempty"`
85
+ ImagePullPolicy corev1.PullPolicy `json:"imagePullPolicy,omitempty"`
86
+ PMM PMMSpec `json:"pmm,omitempty"`
87
+ UpdateStrategy appsv1.StatefulSetUpdateStrategyType `json:"updateStrategy,omitempty"`
88
+ UpgradeOptions UpgradeOptions `json:"upgradeOptions,omitempty"`
89
+ SchedulerName string `json:"schedulerName,omitempty"`
90
+ ClusterServiceDNSSuffix string `json:"clusterServiceDNSSuffix,omitempty"`
91
+ ClusterServiceDNSMode DNSMode `json:"clusterServiceDNSMode,omitempty"`
92
+ Sharding Sharding `json:"sharding,omitempty"`
93
+ InitImage string `json:"initImage,omitempty"`
94
+ InitContainerSecurityContext * corev1.SecurityContext `json:"initContainerSecurityContext,omitempty"`
95
+ MultiCluster MultiCluster `json:"multiCluster,omitempty"`
96
+ TLS * TLSSpec `json:"tls,omitempty"`
97
+ Users []User `json:"users,omitempty"`
98
+ Roles []Role `json:"roles,omitempty"`
99
+ VolumeExpansionEnabled bool `json:"enableVolumeExpansion,omitempty"`
100
+ LogCollector * LogCollectorSpec `json:"logcollector,omitempty"`
101
+ EnableExternalVolumeAutoscaling bool `json:"enableExternalVolumeAutoscaling,omitempty"`
101
102
}
102
103
103
104
type UserRole struct {
0 commit comments