diff --git a/apis/wizards/v1alpha1/kubedbcom_druid_editor_options_types.go b/apis/wizards/v1alpha1/kubedbcom_druid_editor_options_types.go index d3c4a5fb66..e3695665e7 100644 --- a/apis/wizards/v1alpha1/kubedbcom_druid_editor_options_types.go +++ b/apis/wizards/v1alpha1/kubedbcom_druid_editor_options_types.go @@ -23,7 +23,7 @@ import ( api "x-helm.dev/apimachinery/apis/releases/v1alpha1" ) -// KubedbcomDruidEditorOptions defines the schama for MongoDB Editor UI Options. +// KubedbcomDruidEditorOptions defines the schama for Druid Editor UI Options. // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object @@ -35,7 +35,7 @@ type KubedbcomDruidEditorOptions struct { Spec KubedbcomDruidEditorOptionsSpec `json:"spec,omitempty"` } -// KubedbcomDruidEditorOptionsSpec is the schema for MongoDB profile values file +// KubedbcomDruidEditorOptionsSpec is the schema for Druid profile values file type KubedbcomDruidEditorOptionsSpec struct { api.Metadata `json:"metadata,omitempty"` Spec KubedbcomDruidEditorOptionsSpecSpec `json:"spec"` @@ -48,11 +48,11 @@ type KubedbcomDruidEditorOptionsSpecSpec struct { // +optional Labels map[string]string `json:"labels"` Version string `json:"version"` - Mode MongoDBMode `json:"mode"` - ReplicaSet MongoDBReplicaSet `json:"replicaSet"` - ShardTopology MongoDBShardTopology `json:"shardTopology"` - ClusterAuthMode MongoDBClusterAuthMode `json:"clusterAuthMode"` - SslMode MongoDBSSLMode `json:"sslMode"` + Mode DruidMode `json:"mode"` + ReplicaSet DruidReplicaSet `json:"replicaSet"` + ShardTopology DruidShardTopology `json:"shardTopology"` + ClusterAuthMode DruidClusterAuthMode `json:"clusterAuthMode"` + SslMode DruidSSLMode `json:"sslMode"` TerminationPolicy TerminationPolicy `json:"terminationPolicy"` StorageClass StorageClass `json:"storageClass"` Persistence Persistence `json:"persistence"` @@ -64,43 +64,38 @@ type KubedbcomDruidEditorOptionsSpecSpec struct { } // +kubebuilder:validation:Enum=Standalone;Replicaset;Sharded -type MongoDBMode string +type DruidMode string // +kubebuilder:validation:Enum=keyFile;sendKeyFile;sendX509;x509 -type MongoDBClusterAuthMode string +type DruidClusterAuthMode string // +kubebuilder:validation:Enum=disabled;allowSSL;preferSSL;requireSSL -type MongoDBSSLMode string +type DruidSSLMode string -type MongoDBReplicaSet struct { +type DruidReplicaSet struct { Name string `json:"name"` Replicas int `json:"replicas"` } -type MongoDBShard struct { +type DruidShard struct { Replicas int `json:"replicas"` Shards int `json:"shards"` Persistence Persistence `json:"persistence"` } -type MongoDBConfigServer struct { +type DruidConfigServer struct { Replicas int `json:"replicas"` Persistence Persistence `json:"persistence"` } -type MongoDBMongos struct { - Replicas int `json:"replicas"` -} - -type MongoDBShardTopology struct { - Shard MongoDBShard `json:"shard"` - ConfigServer MongoDBConfigServer `json:"configServer"` - Mongos MongoDBMongos `json:"mongos"` +type DruidShardTopology struct { + Shard DruidShard `json:"shard"` + ConfigServer DruidConfigServer `json:"configServer"` } type DruidAlertsSpecForm struct { - Alert alerts.MongoDBAlert `json:"alert"` - CAPI CAPIFormSpec `json:"capi"` + Alert alerts.DruidAlert `json:"alert"` + CAPI CAPIFormSpec `json:"capi"` } // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object diff --git a/apis/wizards/v1alpha1/kubedbcom_ferretdb_editor_options_types.go b/apis/wizards/v1alpha1/kubedbcom_ferretdb_editor_options_types.go index 3812564558..5123ddba9c 100644 --- a/apis/wizards/v1alpha1/kubedbcom_ferretdb_editor_options_types.go +++ b/apis/wizards/v1alpha1/kubedbcom_ferretdb_editor_options_types.go @@ -17,13 +17,12 @@ limitations under the License. package v1alpha1 import ( - alerts "go.appscode.dev/alerts/apis/alerts/v1alpha1" core "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" api "x-helm.dev/apimachinery/apis/releases/v1alpha1" ) -// KubedbcomFerretdbEditorOptions defines the schama for MongoDB Editor UI Options. +// KubedbcomFerretdbEditorOptions defines the schama for FerretDB Editor UI Options. // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object @@ -35,7 +34,7 @@ type KubedbcomFerretdbEditorOptions struct { Spec KubedbcomFerretdbEditorOptionsSpec `json:"spec,omitempty"` } -// KubedbcomFerretdbEditorOptionsSpec is the schema for MongoDB profile values file +// KubedbcomFerretdbEditorOptionsSpec is the schema for FerretDB profile values file type KubedbcomFerretdbEditorOptionsSpec struct { api.Metadata `json:"metadata,omitempty"` Spec KubedbcomFerretdbEditorOptionsSpecSpec `json:"spec"` @@ -48,11 +47,11 @@ type KubedbcomFerretdbEditorOptionsSpecSpec struct { // +optional Labels map[string]string `json:"labels"` Version string `json:"version"` - Mode MongoDBMode `json:"mode"` - ReplicaSet MongoDBReplicaSet `json:"replicaSet"` - ShardTopology MongoDBShardTopology `json:"shardTopology"` - ClusterAuthMode MongoDBClusterAuthMode `json:"clusterAuthMode"` - SslMode MongoDBSSLMode `json:"sslMode"` + Mode FerretDBMode `json:"mode"` + ReplicaSet FerretDBReplicaSet `json:"replicaSet"` + ShardTopology FerretDBShardTopology `json:"shardTopology"` + ClusterAuthMode FerretDBClusterAuthMode `json:"clusterAuthMode"` + SslMode FerretDBSSLMode `json:"sslMode"` TerminationPolicy TerminationPolicy `json:"terminationPolicy"` StorageClass StorageClass `json:"storageClass"` Persistence Persistence `json:"persistence"` @@ -64,43 +63,43 @@ type KubedbcomFerretdbEditorOptionsSpecSpec struct { } // +kubebuilder:validation:Enum=Standalone;Replicaset;Sharded -type MongoDBMode string +type FerretDBMode string // +kubebuilder:validation:Enum=keyFile;sendKeyFile;sendX509;x509 -type MongoDBClusterAuthMode string +type FerretDBClusterAuthMode string // +kubebuilder:validation:Enum=disabled;allowSSL;preferSSL;requireSSL -type MongoDBSSLMode string +type FerretDBSSLMode string -type MongoDBReplicaSet struct { +type FerretDBReplicaSet struct { Name string `json:"name"` Replicas int `json:"replicas"` } -type MongoDBShard struct { +type FerretDBShard struct { Replicas int `json:"replicas"` Shards int `json:"shards"` Persistence Persistence `json:"persistence"` } -type MongoDBConfigServer struct { +type FerretDBConfigServer struct { Replicas int `json:"replicas"` Persistence Persistence `json:"persistence"` } -type MongoDBMongos struct { +type FerretDBMongos struct { Replicas int `json:"replicas"` } -type MongoDBShardTopology struct { - Shard MongoDBShard `json:"shard"` - ConfigServer MongoDBConfigServer `json:"configServer"` - Mongos MongoDBMongos `json:"mongos"` +type FerretDBShardTopology struct { + Shard FerretDBShard `json:"shard"` + ConfigServer FerretDBConfigServer `json:"configServer"` + Mongos FerretDBMongos `json:"mongos"` } type FerretdbAlertsSpecForm struct { - Alert alerts.MongoDBAlert `json:"alert"` - CAPI CAPIFormSpec `json:"capi"` + // Alert alerts.FerretDBAlert `json:"alert"` + CAPI CAPIFormSpec `json:"capi"` } // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object diff --git a/apis/wizards/v1alpha1/kubedbcom_mssqlserver_editor_options_types.go b/apis/wizards/v1alpha1/kubedbcom_mssqlserver_editor_options_types.go index ba8bf54e85..4f21b72ab4 100644 --- a/apis/wizards/v1alpha1/kubedbcom_mssqlserver_editor_options_types.go +++ b/apis/wizards/v1alpha1/kubedbcom_mssqlserver_editor_options_types.go @@ -17,13 +17,12 @@ limitations under the License. package v1alpha1 import ( - alerts "go.appscode.dev/alerts/apis/alerts/v1alpha1" core "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" api "x-helm.dev/apimachinery/apis/releases/v1alpha1" ) -// KubedbcomMssqlserverEditorOptions defines the schama for MongoDB Editor UI Options. +// KubedbcomMssqlserverEditorOptions defines the schama for Mssqlserver Editor UI Options. // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object @@ -35,7 +34,7 @@ type KubedbcomMssqlserverEditorOptions struct { Spec KubedbcomMssqlserverEditorOptionsSpec `json:"spec,omitempty"` } -// KubedbcomMssqlserverEditorOptionsSpec is the schema for MongoDB profile values file +// KubedbcomMssqlserverEditorOptionsSpec is the schema for Mssqlserver profile values file type KubedbcomMssqlserverEditorOptionsSpec struct { api.Metadata `json:"metadata,omitempty"` Spec KubedbcomMssqlserverEditorOptionsSpecSpec `json:"spec"` @@ -46,61 +45,61 @@ type KubedbcomMssqlserverEditorOptionsSpecSpec struct { // +optional Annotations map[string]string `json:"annotations"` // +optional - Labels map[string]string `json:"labels"` - Version string `json:"version"` - Mode MongoDBMode `json:"mode"` - ReplicaSet MongoDBReplicaSet `json:"replicaSet"` - ShardTopology MongoDBShardTopology `json:"shardTopology"` - ClusterAuthMode MongoDBClusterAuthMode `json:"clusterAuthMode"` - SslMode MongoDBSSLMode `json:"sslMode"` - TerminationPolicy TerminationPolicy `json:"terminationPolicy"` - StorageClass StorageClass `json:"storageClass"` - Persistence Persistence `json:"persistence"` - Machine MachineType `json:"machine"` - Resources core.ResourceRequirements `json:"resources"` - AuthSecret AuthSecret `json:"authSecret"` - Monitoring Monitoring `json:"monitoring"` - Backup BackupToolSpec `json:"backup"` + Labels map[string]string `json:"labels"` + Version string `json:"version"` + Mode MssqlserverMode `json:"mode"` + ReplicaSet MssqlserverReplicaSet `json:"replicaSet"` + ShardTopology MssqlserverShardTopology `json:"shardTopology"` + ClusterAuthMode MssqlserverClusterAuthMode `json:"clusterAuthMode"` + SslMode MssqlserverSSLMode `json:"sslMode"` + TerminationPolicy TerminationPolicy `json:"terminationPolicy"` + StorageClass StorageClass `json:"storageClass"` + Persistence Persistence `json:"persistence"` + Machine MachineType `json:"machine"` + Resources core.ResourceRequirements `json:"resources"` + AuthSecret AuthSecret `json:"authSecret"` + Monitoring Monitoring `json:"monitoring"` + Backup BackupToolSpec `json:"backup"` } // +kubebuilder:validation:Enum=Standalone;Replicaset;Sharded -type MongoDBMode string +type MssqlserverMode string // +kubebuilder:validation:Enum=keyFile;sendKeyFile;sendX509;x509 -type MongoDBClusterAuthMode string +type MssqlserverClusterAuthMode string // +kubebuilder:validation:Enum=disabled;allowSSL;preferSSL;requireSSL -type MongoDBSSLMode string +type MssqlserverSSLMode string -type MongoDBReplicaSet struct { +type MssqlserverReplicaSet struct { Name string `json:"name"` Replicas int `json:"replicas"` } -type MongoDBShard struct { +type MssqlserverShard struct { Replicas int `json:"replicas"` Shards int `json:"shards"` Persistence Persistence `json:"persistence"` } -type MongoDBConfigServer struct { +type MssqlserverConfigServer struct { Replicas int `json:"replicas"` Persistence Persistence `json:"persistence"` } -type MongoDBMongos struct { +type MssqlserverMongos struct { Replicas int `json:"replicas"` } -type MongoDBShardTopology struct { - Shard MongoDBShard `json:"shard"` - ConfigServer MongoDBConfigServer `json:"configServer"` - Mongos MongoDBMongos `json:"mongos"` +type MssqlserverShardTopology struct { + Shard MssqlserverShard `json:"shard"` + ConfigServer MssqlserverConfigServer `json:"configServer"` + Mongos MssqlserverMongos `json:"mongos"` } type MssqlserverAlertsSpecForm struct { - Alert alerts.MongoDBAlert `json:"alert"` - CAPI CAPIFormSpec `json:"capi"` + // Alert alerts.MssqlserverAlert `json:"alert"` + CAPI CAPIFormSpec `json:"capi"` } // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object diff --git a/apis/wizards/v1alpha1/kubedbcom_pgpool_editor_options_types.go b/apis/wizards/v1alpha1/kubedbcom_pgpool_editor_options_types.go index 06dbc67b44..ae2106bf6f 100644 --- a/apis/wizards/v1alpha1/kubedbcom_pgpool_editor_options_types.go +++ b/apis/wizards/v1alpha1/kubedbcom_pgpool_editor_options_types.go @@ -48,11 +48,11 @@ type KubedbcomPgpoolEditorOptionsSpecSpec struct { // +optional Labels map[string]string `json:"labels"` Version string `json:"version"` - Mode MongoDBMode `json:"mode"` - ReplicaSet MongoDBReplicaSet `json:"replicaSet"` - ShardTopology MongoDBShardTopology `json:"shardTopology"` - ClusterAuthMode MongoDBClusterAuthMode `json:"clusterAuthMode"` - SslMode MongoDBSSLMode `json:"sslMode"` + Mode PgpoolMode `json:"mode"` + ReplicaSet PgpoolReplicaSet `json:"replicaSet"` + ShardTopology PgpoolShardTopology `json:"shardTopology"` + ClusterAuthMode PgpoolClusterAuthMode `json:"clusterAuthMode"` + SslMode PgpoolSSLMode `json:"sslMode"` TerminationPolicy TerminationPolicy `json:"terminationPolicy"` StorageClass StorageClass `json:"storageClass"` Persistence Persistence `json:"persistence"` @@ -64,42 +64,42 @@ type KubedbcomPgpoolEditorOptionsSpecSpec struct { } // +kubebuilder:validation:Enum=Standalone;Replicaset;Sharded -type MongoDBMode string +type PgpoolMode string // +kubebuilder:validation:Enum=keyFile;sendKeyFile;sendX509;x509 -type MongoDBClusterAuthMode string +type PgpoolClusterAuthMode string // +kubebuilder:validation:Enum=disabled;allowSSL;preferSSL;requireSSL -type MongoDBSSLMode string +type PgpoolSSLMode string -type MongoDBReplicaSet struct { +type PgpoolReplicaSet struct { Name string `json:"name"` Replicas int `json:"replicas"` } -type MongoDBShard struct { +type PgpoolShard struct { Replicas int `json:"replicas"` Shards int `json:"shards"` Persistence Persistence `json:"persistence"` } -type MongoDBConfigServer struct { +type PgpoolConfigServer struct { Replicas int `json:"replicas"` Persistence Persistence `json:"persistence"` } -type MongoDBMongos struct { +type PgpoolMongos struct { Replicas int `json:"replicas"` } -type MongoDBShardTopology struct { - Shard MongoDBShard `json:"shard"` - ConfigServer MongoDBConfigServer `json:"configServer"` - Mongos MongoDBMongos `json:"mongos"` +type PgpoolShardTopology struct { + Shard PgpoolShard `json:"shard"` + ConfigServer PgpoolConfigServer `json:"configServer"` + Mongos PgpoolMongos `json:"mongos"` } type PgpoolAlertsSpecForm struct { - Alert alerts.MongoDBAlert `json:"alert"` + Alert alerts.PgpoolAlerts `json:"alert"` CAPI CAPIFormSpec `json:"capi"` } diff --git a/apis/wizards/v1alpha1/kubedbcom_rabbitmq_editor_options_types.go b/apis/wizards/v1alpha1/kubedbcom_rabbitmq_editor_options_types.go new file mode 100644 index 0000000000..b8dd141860 --- /dev/null +++ b/apis/wizards/v1alpha1/kubedbcom_rabbitmq_editor_options_types.go @@ -0,0 +1,80 @@ +/* +Copyright AppsCode Inc. and Contributors + +Licensed under the PolyForm Noncommercial License 1.0.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://github.com/appscode/licenses/raw/1.0.0/PolyForm-Noncommercial-1.0.0.md + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package v1alpha1 + +import ( + alerts "go.appscode.dev/alerts/apis/alerts/v1alpha1" + core "k8s.io/api/core/v1" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + api "x-helm.dev/apimachinery/apis/releases/v1alpha1" +) + +// KubedbcomRabbitMQEditorOptions defines the schama for RabbitMQ Editor UI Options. + +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object + +// +kubebuilder:object:root=true +// +kubebuilder:resource:path=kubedbcomrabbitmqeditoroptionss,singular=kubedbcomrabbitmqeditoroptions +type KubedbcomRabbitMQEditorOptions struct { + metav1.TypeMeta `json:",inline,omitempty"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec KubedbcomRabbitMQEditorOptionsSpec `json:"spec,omitempty"` +} + +// KubedbcomRabbitMQEditorOptionsSpec is the schema for RabbitMQ profile values file +type KubedbcomRabbitMQEditorOptionsSpec struct { + api.Metadata `json:"metadata,omitempty"` + Spec KubedbcomRabbitMQEditorOptionsSpecSpec `json:"spec"` + Form RabbitMQAlertsSpecForm `json:"form"` +} + +type KubedbcomRabbitMQEditorOptionsSpecSpec struct { + // +optional + Annotations map[string]string `json:"annotations"` + // +optional + Labels map[string]string `json:"labels"` + // +optional + Replicas int `json:"replicas,omitempty"` + // +optional + Version string `json:"version"` + Mode RabbitMQMode `json:"mode"` + TerminationPolicy TerminationPolicy `json:"terminationPolicy"` + StorageClass StorageClass `json:"storageClass"` + Persistence Persistence `json:"persistence"` + Machine MachineType `json:"machine"` + Resources core.ResourceRequirements `json:"resources"` + AuthSecret AuthSecret `json:"authSecret"` + Monitoring Monitoring `json:"monitoring"` +} + +// +kubebuilder:validation:Enum=Standalone;Cluster +type RabbitMQMode string + +type RabbitMQAlertsSpecForm struct { + Alert alerts.RabbitmqAlert `json:"alert"` + CAPI CAPIFormSpec `json:"capi"` +} + +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object + +// KubedbcomRabbitMQEditorOptionsList is a list of KubedbcomRabbitMQEditorOptionss +type KubedbcomRabbitMQEditorOptionsList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + // Items is a list of KubedbcomRabbitMQEditorOptions CRD objects + Items []KubedbcomRabbitMQEditorOptions `json:"items,omitempty"` +} diff --git a/apis/wizards/v1alpha1/kubedbcom_singlestore_editor_options_types.go b/apis/wizards/v1alpha1/kubedbcom_singlestore_editor_options_types.go index 4c62bfdc0e..ba05ab0142 100644 --- a/apis/wizards/v1alpha1/kubedbcom_singlestore_editor_options_types.go +++ b/apis/wizards/v1alpha1/kubedbcom_singlestore_editor_options_types.go @@ -23,36 +23,36 @@ import ( api "x-helm.dev/apimachinery/apis/releases/v1alpha1" ) -// KubedbcomMysqlEditorOptions defines the schama for MySQL Editor UI Options. +// KubedbcomSingleStoreEditorOptions defines the schama for SingleStore Editor UI Options. // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object // +kubebuilder:object:root=true // +kubebuilder:resource:path=kubedbcomsinglestoreeditoroptionss,singular=kubedbcomsinglestoreeditoroptions -type KubedbcomMysqlEditorOptions struct { +type KubedbcomSingleStoreEditorOptions struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` - Spec KubedbcomMysqlEditorOptionsSpec `json:"spec,omitempty"` + Spec KubedbcomSingleStoreEditorOptionsSpec `json:"spec,omitempty"` } -// KubedbcomMysqlEditorOptionsSpec is the schema for MySQL profile values file -type KubedbcomMysqlEditorOptionsSpec struct { +// KubedbcomSingleStoreEditorOptionsSpec is the schema for SingleStore profile values file +type KubedbcomSingleStoreEditorOptionsSpec struct { api.Metadata `json:"metadata,omitempty"` - Spec KubedbcomMysqlEditorOptionsSpecSpec `json:"spec"` - Form MysqlAlertsSpecForm `json:"form"` + Spec KubedbcomSingleStoreEditorOptionsSpecSpec `json:"spec"` + Form SingleStoreAlertsSpecForm `json:"form"` } -type KubedbcomMysqlEditorOptionsSpecSpec struct { +type KubedbcomSingleStoreEditorOptionsSpecSpec struct { Version string `json:"version"` // +optional Annotations map[string]string `json:"annotations"` // +optional Labels map[string]string `json:"labels"` - Mode MysqlMode `json:"mode"` + Mode SingleStoreMode `json:"mode"` // +optional Replicas int `json:"replicas,omitempty"` // +optional - InnoDBCluster MySQLInnoDBCluster `json:"innoDBCluster,omitempty"` + InnoDBCluster SingleStoreInnoDBCluster `json:"innoDBCluster,omitempty"` TerminationPolicy TerminationPolicy `json:"terminationPolicy"` StorageClass StorageClass `json:"storageClass"` Persistence Persistence `json:"persistence"` @@ -63,28 +63,28 @@ type KubedbcomMysqlEditorOptionsSpecSpec struct { Backup BackupToolSpec `json:"backup"` } -type MySQLInnoDBCluster struct { - Router MySQLRouter `json:"router"` +type SingleStoreInnoDBCluster struct { + Router SingleStoreRouter `json:"router"` } -type MySQLRouter struct { +type SingleStoreRouter struct { Replicas int `json:"replicas"` } // +kubebuilder:validation:Enum=Standalone;GroupReplication;InnoDBCluster -type MysqlMode string +type SingleStoreMode string -type MysqlAlertsSpecForm struct { - Alert alerts.MySQLAlert `json:"alert"` - CAPI CAPIFormSpec `json:"capi"` +type SingleStoreAlertsSpecForm struct { + Alert alerts.SinglestoreAlert `json:"alert"` + CAPI CAPIFormSpec `json:"capi"` } // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object -// KubedbcomMysqlEditorOptionsList is a list of KubedbcomMysqlEditorOptionss -type KubedbcomMysqlEditorOptionsList struct { +// KubedbcomSingleStoreEditorOptionsList is a list of KubedbcomSingleStoreEditorOptionss +type KubedbcomSingleStoreEditorOptionsList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` - // Items is a list of KubedbcomMysqlEditorOptions CRD objects - Items []KubedbcomMysqlEditorOptions `json:"items,omitempty"` + // Items is a list of KubedbcomSingleStoreEditorOptions CRD objects + Items []KubedbcomSingleStoreEditorOptions `json:"items,omitempty"` } diff --git a/apis/wizards/v1alpha1/kubedbcom_solr_editor_options_types.go b/apis/wizards/v1alpha1/kubedbcom_solr_editor_options_types.go index 4355c84807..c172ff9f7f 100644 --- a/apis/wizards/v1alpha1/kubedbcom_solr_editor_options_types.go +++ b/apis/wizards/v1alpha1/kubedbcom_solr_editor_options_types.go @@ -23,7 +23,7 @@ import ( api "x-helm.dev/apimachinery/apis/releases/v1alpha1" ) -// KubedbcomSolrEditorOptions defines the schama for MongoDB Editor UI Options. +// KubedbcomSolrEditorOptions defines the schama for Solr Editor UI Options. // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object @@ -35,7 +35,7 @@ type KubedbcomSolrEditorOptions struct { Spec KubedbcomSolrEditorOptionsSpec `json:"spec,omitempty"` } -// KubedbcomSolrEditorOptionsSpec is the schema for MongoDB profile values file +// KubedbcomSolrEditorOptionsSpec is the schema for Solr profile values file type KubedbcomSolrEditorOptionsSpec struct { api.Metadata `json:"metadata,omitempty"` Spec KubedbcomSolrEditorOptionsSpecSpec `json:"spec"` @@ -48,11 +48,11 @@ type KubedbcomSolrEditorOptionsSpecSpec struct { // +optional Labels map[string]string `json:"labels"` Version string `json:"version"` - Mode MongoDBMode `json:"mode"` - ReplicaSet MongoDBReplicaSet `json:"replicaSet"` - ShardTopology MongoDBShardTopology `json:"shardTopology"` - ClusterAuthMode MongoDBClusterAuthMode `json:"clusterAuthMode"` - SslMode MongoDBSSLMode `json:"sslMode"` + Mode SolrMode `json:"mode"` + ReplicaSet SolrReplicaSet `json:"replicaSet"` + ShardTopology SolrShardTopology `json:"shardTopology"` + ClusterAuthMode SolrClusterAuthMode `json:"clusterAuthMode"` + SslMode SolrSSLMode `json:"sslMode"` TerminationPolicy TerminationPolicy `json:"terminationPolicy"` StorageClass StorageClass `json:"storageClass"` Persistence Persistence `json:"persistence"` @@ -64,43 +64,38 @@ type KubedbcomSolrEditorOptionsSpecSpec struct { } // +kubebuilder:validation:Enum=Standalone;Replicaset;Sharded -type MongoDBMode string +type SolrMode string // +kubebuilder:validation:Enum=keyFile;sendKeyFile;sendX509;x509 -type MongoDBClusterAuthMode string +type SolrClusterAuthMode string // +kubebuilder:validation:Enum=disabled;allowSSL;preferSSL;requireSSL -type MongoDBSSLMode string +type SolrSSLMode string -type MongoDBReplicaSet struct { +type SolrReplicaSet struct { Name string `json:"name"` Replicas int `json:"replicas"` } -type MongoDBShard struct { +type SolrShard struct { Replicas int `json:"replicas"` Shards int `json:"shards"` Persistence Persistence `json:"persistence"` } -type MongoDBConfigServer struct { +type SolrConfigServer struct { Replicas int `json:"replicas"` Persistence Persistence `json:"persistence"` } -type MongoDBMongos struct { - Replicas int `json:"replicas"` -} - -type MongoDBShardTopology struct { - Shard MongoDBShard `json:"shard"` - ConfigServer MongoDBConfigServer `json:"configServer"` - Mongos MongoDBMongos `json:"mongos"` +type SolrShardTopology struct { + Shard SolrShard `json:"shard"` + ConfigServer SolrConfigServer `json:"configServer"` } type SolrAlertsSpecForm struct { - Alert alerts.MongoDBAlert `json:"alert"` - CAPI CAPIFormSpec `json:"capi"` + Alert alerts.SolrAlert `json:"alert"` + CAPI CAPIFormSpec `json:"capi"` } // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object diff --git a/apis/wizards/v1alpha1/kubedbcom_zookeeper_editor_options_types.go b/apis/wizards/v1alpha1/kubedbcom_zookeeper_editor_options_types.go index 63c94b72ef..6ce99d8627 100644 --- a/apis/wizards/v1alpha1/kubedbcom_zookeeper_editor_options_types.go +++ b/apis/wizards/v1alpha1/kubedbcom_zookeeper_editor_options_types.go @@ -17,13 +17,12 @@ limitations under the License. package v1alpha1 import ( - alerts "go.appscode.dev/alerts/apis/alerts/v1alpha1" core "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" api "x-helm.dev/apimachinery/apis/releases/v1alpha1" ) -// KubedbcomZookeeperEditorOptions defines the schama for MongoDB Editor UI Options. +// KubedbcomZookeeperEditorOptions defines the schama for ZooKeeper Editor UI Options. // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object @@ -35,7 +34,7 @@ type KubedbcomZookeeperEditorOptions struct { Spec KubedbcomZookeeperEditorOptionsSpec `json:"spec,omitempty"` } -// KubedbcomZookeeperEditorOptionsSpec is the schema for MongoDB profile values file +// KubedbcomZookeeperEditorOptionsSpec is the schema for ZooKeeper profile values file type KubedbcomZookeeperEditorOptionsSpec struct { api.Metadata `json:"metadata,omitempty"` Spec KubedbcomZookeeperEditorOptionsSpecSpec `json:"spec"` @@ -48,11 +47,11 @@ type KubedbcomZookeeperEditorOptionsSpecSpec struct { // +optional Labels map[string]string `json:"labels"` Version string `json:"version"` - Mode MongoDBMode `json:"mode"` - ReplicaSet MongoDBReplicaSet `json:"replicaSet"` - ShardTopology MongoDBShardTopology `json:"shardTopology"` - ClusterAuthMode MongoDBClusterAuthMode `json:"clusterAuthMode"` - SslMode MongoDBSSLMode `json:"sslMode"` + Mode ZooKeeperMode `json:"mode"` + ReplicaSet ZooKeeperReplicaSet `json:"replicaSet"` + ShardTopology ZooKeeperShardTopology `json:"shardTopology"` + ClusterAuthMode ZooKeeperClusterAuthMode `json:"clusterAuthMode"` + SslMode ZooKeeperSSLMode `json:"sslMode"` TerminationPolicy TerminationPolicy `json:"terminationPolicy"` StorageClass StorageClass `json:"storageClass"` Persistence Persistence `json:"persistence"` @@ -64,43 +63,42 @@ type KubedbcomZookeeperEditorOptionsSpecSpec struct { } // +kubebuilder:validation:Enum=Standalone;Replicaset;Sharded -type MongoDBMode string +type ZooKeeperMode string // +kubebuilder:validation:Enum=keyFile;sendKeyFile;sendX509;x509 -type MongoDBClusterAuthMode string +type ZooKeeperClusterAuthMode string // +kubebuilder:validation:Enum=disabled;allowSSL;preferSSL;requireSSL -type MongoDBSSLMode string +type ZooKeeperSSLMode string -type MongoDBReplicaSet struct { +type ZooKeeperReplicaSet struct { Name string `json:"name"` Replicas int `json:"replicas"` } -type MongoDBShard struct { +type ZooKeeperShard struct { Replicas int `json:"replicas"` Shards int `json:"shards"` Persistence Persistence `json:"persistence"` } -type MongoDBConfigServer struct { +type ZooKeeperConfigServer struct { Replicas int `json:"replicas"` Persistence Persistence `json:"persistence"` } -type MongoDBMongos struct { +type ZooKeeperMongos struct { Replicas int `json:"replicas"` } -type MongoDBShardTopology struct { - Shard MongoDBShard `json:"shard"` - ConfigServer MongoDBConfigServer `json:"configServer"` - Mongos MongoDBMongos `json:"mongos"` +type ZooKeeperShardTopology struct { + Shard ZooKeeperShard `json:"shard"` + ConfigServer ZooKeeperConfigServer `json:"configServer"` } type ZookeeperAlertsSpecForm struct { - Alert alerts.MongoDBAlert `json:"alert"` - CAPI CAPIFormSpec `json:"capi"` + // Alert alerts.ZooKeeperAlert `json:"alert"` + CAPI CAPIFormSpec `json:"capi"` } // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object diff --git a/apis/wizards/v1alpha1/register.go b/apis/wizards/v1alpha1/register.go index f09b5af6cd..40e15d1861 100644 --- a/apis/wizards/v1alpha1/register.go +++ b/apis/wizards/v1alpha1/register.go @@ -82,8 +82,8 @@ func addKnownTypes(scheme *runtime.Scheme) error { &KubedbcomProxysqlEditorOptionsList{}, &KubedbcomRedisEditorOptions{}, &KubedbcomRedisEditorOptionsList{}, - &KubedbcomSinglestoreEditorOptions{}, - &KubedbcomSinglestoreEditorOptionsList{}, + &KubedbcomSingleStoreEditorOptions{}, + &KubedbcomSingleStoreEditorOptionsList{}, &KubedbcomSolrEditorOptions{}, &KubedbcomSolrEditorOptionsList{}, &KubedbcomZookeeperEditorOptions{}, diff --git a/apis/wizards/v1alpha1/zz_generated.deepcopy.go b/apis/wizards/v1alpha1/zz_generated.deepcopy.go index 823740a4a3..0c7c19f2d0 100644 --- a/apis/wizards/v1alpha1/zz_generated.deepcopy.go +++ b/apis/wizards/v1alpha1/zz_generated.deepcopy.go @@ -204,6 +204,74 @@ func (in *DruidAlertsSpecForm) DeepCopy() *DruidAlertsSpecForm { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DruidConfigServer) DeepCopyInto(out *DruidConfigServer) { + *out = *in + out.Persistence = in.Persistence + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DruidConfigServer. +func (in *DruidConfigServer) DeepCopy() *DruidConfigServer { + if in == nil { + return nil + } + out := new(DruidConfigServer) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DruidReplicaSet) DeepCopyInto(out *DruidReplicaSet) { + *out = *in + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DruidReplicaSet. +func (in *DruidReplicaSet) DeepCopy() *DruidReplicaSet { + if in == nil { + return nil + } + out := new(DruidReplicaSet) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DruidShard) DeepCopyInto(out *DruidShard) { + *out = *in + out.Persistence = in.Persistence + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DruidShard. +func (in *DruidShard) DeepCopy() *DruidShard { + if in == nil { + return nil + } + out := new(DruidShard) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DruidShardTopology) DeepCopyInto(out *DruidShardTopology) { + *out = *in + out.Shard = in.Shard + out.ConfigServer = in.ConfigServer + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DruidShardTopology. +func (in *DruidShardTopology) DeepCopy() *DruidShardTopology { + if in == nil { + return nil + } + out := new(DruidShardTopology) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ElasticsearchAlertsSpecForm) DeepCopyInto(out *ElasticsearchAlertsSpecForm) { *out = *in @@ -258,10 +326,94 @@ func (in *ElasticsearchTopology) DeepCopy() *ElasticsearchTopology { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FerretDBConfigServer) DeepCopyInto(out *FerretDBConfigServer) { + *out = *in + out.Persistence = in.Persistence + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FerretDBConfigServer. +func (in *FerretDBConfigServer) DeepCopy() *FerretDBConfigServer { + if in == nil { + return nil + } + out := new(FerretDBConfigServer) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FerretDBMongos) DeepCopyInto(out *FerretDBMongos) { + *out = *in + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FerretDBMongos. +func (in *FerretDBMongos) DeepCopy() *FerretDBMongos { + if in == nil { + return nil + } + out := new(FerretDBMongos) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FerretDBReplicaSet) DeepCopyInto(out *FerretDBReplicaSet) { + *out = *in + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FerretDBReplicaSet. +func (in *FerretDBReplicaSet) DeepCopy() *FerretDBReplicaSet { + if in == nil { + return nil + } + out := new(FerretDBReplicaSet) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FerretDBShard) DeepCopyInto(out *FerretDBShard) { + *out = *in + out.Persistence = in.Persistence + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FerretDBShard. +func (in *FerretDBShard) DeepCopy() *FerretDBShard { + if in == nil { + return nil + } + out := new(FerretDBShard) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FerretDBShardTopology) DeepCopyInto(out *FerretDBShardTopology) { + *out = *in + out.Shard = in.Shard + out.ConfigServer = in.ConfigServer + out.Mongos = in.Mongos + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FerretDBShardTopology. +func (in *FerretDBShardTopology) DeepCopy() *FerretDBShardTopology { + if in == nil { + return nil + } + out := new(FerretDBShardTopology) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *FerretdbAlertsSpecForm) DeepCopyInto(out *FerretdbAlertsSpecForm) { *out = *in - in.Alert.DeepCopyInto(&out.Alert) in.CAPI.DeepCopyInto(&out.CAPI) return } @@ -1943,7 +2095,7 @@ func (in *KubedbcomProxysqlEditorOptionsSpecSpec) DeepCopy() *KubedbcomProxysqlE } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *KubedbcomRedisEditorOptions) DeepCopyInto(out *KubedbcomRedisEditorOptions) { +func (in *KubedbcomRabbitMQEditorOptions) DeepCopyInto(out *KubedbcomRabbitMQEditorOptions) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) @@ -1951,18 +2103,18 @@ func (in *KubedbcomRedisEditorOptions) DeepCopyInto(out *KubedbcomRedisEditorOpt return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubedbcomRedisEditorOptions. -func (in *KubedbcomRedisEditorOptions) DeepCopy() *KubedbcomRedisEditorOptions { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubedbcomRabbitMQEditorOptions. +func (in *KubedbcomRabbitMQEditorOptions) DeepCopy() *KubedbcomRabbitMQEditorOptions { if in == nil { return nil } - out := new(KubedbcomRedisEditorOptions) + out := new(KubedbcomRabbitMQEditorOptions) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *KubedbcomRedisEditorOptions) DeepCopyObject() runtime.Object { +func (in *KubedbcomRabbitMQEditorOptions) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -1970,13 +2122,13 @@ func (in *KubedbcomRedisEditorOptions) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *KubedbcomRedisEditorOptionsList) DeepCopyInto(out *KubedbcomRedisEditorOptionsList) { +func (in *KubedbcomRabbitMQEditorOptionsList) DeepCopyInto(out *KubedbcomRabbitMQEditorOptionsList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]KubedbcomRedisEditorOptions, len(*in)) + *out = make([]KubedbcomRabbitMQEditorOptions, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -1984,18 +2136,18 @@ func (in *KubedbcomRedisEditorOptionsList) DeepCopyInto(out *KubedbcomRedisEdito return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubedbcomRedisEditorOptionsList. -func (in *KubedbcomRedisEditorOptionsList) DeepCopy() *KubedbcomRedisEditorOptionsList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubedbcomRabbitMQEditorOptionsList. +func (in *KubedbcomRabbitMQEditorOptionsList) DeepCopy() *KubedbcomRabbitMQEditorOptionsList { if in == nil { return nil } - out := new(KubedbcomRedisEditorOptionsList) + out := new(KubedbcomRabbitMQEditorOptionsList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *KubedbcomRedisEditorOptionsList) DeepCopyObject() runtime.Object { +func (in *KubedbcomRabbitMQEditorOptionsList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -2003,7 +2155,7 @@ func (in *KubedbcomRedisEditorOptionsList) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *KubedbcomRedisEditorOptionsSpec) DeepCopyInto(out *KubedbcomRedisEditorOptionsSpec) { +func (in *KubedbcomRabbitMQEditorOptionsSpec) DeepCopyInto(out *KubedbcomRabbitMQEditorOptionsSpec) { *out = *in out.Metadata = in.Metadata in.Spec.DeepCopyInto(&out.Spec) @@ -2011,18 +2163,18 @@ func (in *KubedbcomRedisEditorOptionsSpec) DeepCopyInto(out *KubedbcomRedisEdito return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubedbcomRedisEditorOptionsSpec. -func (in *KubedbcomRedisEditorOptionsSpec) DeepCopy() *KubedbcomRedisEditorOptionsSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubedbcomRabbitMQEditorOptionsSpec. +func (in *KubedbcomRabbitMQEditorOptionsSpec) DeepCopy() *KubedbcomRabbitMQEditorOptionsSpec { if in == nil { return nil } - out := new(KubedbcomRedisEditorOptionsSpec) + out := new(KubedbcomRabbitMQEditorOptionsSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *KubedbcomRedisEditorOptionsSpecSpec) DeepCopyInto(out *KubedbcomRedisEditorOptionsSpecSpec) { +func (in *KubedbcomRabbitMQEditorOptionsSpecSpec) DeepCopyInto(out *KubedbcomRabbitMQEditorOptionsSpecSpec) { *out = *in if in.Annotations != nil { in, out := &in.Annotations, &out.Annotations @@ -2038,29 +2190,26 @@ func (in *KubedbcomRedisEditorOptionsSpecSpec) DeepCopyInto(out *KubedbcomRedisE (*out)[key] = val } } - out.Cluster = in.Cluster - out.SentinelRef = in.SentinelRef out.StorageClass = in.StorageClass out.Persistence = in.Persistence in.Resources.DeepCopyInto(&out.Resources) out.AuthSecret = in.AuthSecret in.Monitoring.DeepCopyInto(&out.Monitoring) - in.Backup.DeepCopyInto(&out.Backup) return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubedbcomRedisEditorOptionsSpecSpec. -func (in *KubedbcomRedisEditorOptionsSpecSpec) DeepCopy() *KubedbcomRedisEditorOptionsSpecSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubedbcomRabbitMQEditorOptionsSpecSpec. +func (in *KubedbcomRabbitMQEditorOptionsSpecSpec) DeepCopy() *KubedbcomRabbitMQEditorOptionsSpecSpec { if in == nil { return nil } - out := new(KubedbcomRedisEditorOptionsSpecSpec) + out := new(KubedbcomRabbitMQEditorOptionsSpecSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *KubedbcomSolrEditorOptions) DeepCopyInto(out *KubedbcomSolrEditorOptions) { +func (in *KubedbcomRedisEditorOptions) DeepCopyInto(out *KubedbcomRedisEditorOptions) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) @@ -2068,18 +2217,18 @@ func (in *KubedbcomSolrEditorOptions) DeepCopyInto(out *KubedbcomSolrEditorOptio return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubedbcomSolrEditorOptions. -func (in *KubedbcomSolrEditorOptions) DeepCopy() *KubedbcomSolrEditorOptions { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubedbcomRedisEditorOptions. +func (in *KubedbcomRedisEditorOptions) DeepCopy() *KubedbcomRedisEditorOptions { if in == nil { return nil } - out := new(KubedbcomSolrEditorOptions) + out := new(KubedbcomRedisEditorOptions) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *KubedbcomSolrEditorOptions) DeepCopyObject() runtime.Object { +func (in *KubedbcomRedisEditorOptions) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -2087,13 +2236,13 @@ func (in *KubedbcomSolrEditorOptions) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *KubedbcomSolrEditorOptionsList) DeepCopyInto(out *KubedbcomSolrEditorOptionsList) { +func (in *KubedbcomRedisEditorOptionsList) DeepCopyInto(out *KubedbcomRedisEditorOptionsList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]KubedbcomSolrEditorOptions, len(*in)) + *out = make([]KubedbcomRedisEditorOptions, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -2101,18 +2250,18 @@ func (in *KubedbcomSolrEditorOptionsList) DeepCopyInto(out *KubedbcomSolrEditorO return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubedbcomSolrEditorOptionsList. -func (in *KubedbcomSolrEditorOptionsList) DeepCopy() *KubedbcomSolrEditorOptionsList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubedbcomRedisEditorOptionsList. +func (in *KubedbcomRedisEditorOptionsList) DeepCopy() *KubedbcomRedisEditorOptionsList { if in == nil { return nil } - out := new(KubedbcomSolrEditorOptionsList) + out := new(KubedbcomRedisEditorOptionsList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *KubedbcomSolrEditorOptionsList) DeepCopyObject() runtime.Object { +func (in *KubedbcomRedisEditorOptionsList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -2120,7 +2269,7 @@ func (in *KubedbcomSolrEditorOptionsList) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *KubedbcomSolrEditorOptionsSpec) DeepCopyInto(out *KubedbcomSolrEditorOptionsSpec) { +func (in *KubedbcomRedisEditorOptionsSpec) DeepCopyInto(out *KubedbcomRedisEditorOptionsSpec) { *out = *in out.Metadata = in.Metadata in.Spec.DeepCopyInto(&out.Spec) @@ -2128,18 +2277,18 @@ func (in *KubedbcomSolrEditorOptionsSpec) DeepCopyInto(out *KubedbcomSolrEditorO return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubedbcomSolrEditorOptionsSpec. -func (in *KubedbcomSolrEditorOptionsSpec) DeepCopy() *KubedbcomSolrEditorOptionsSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubedbcomRedisEditorOptionsSpec. +func (in *KubedbcomRedisEditorOptionsSpec) DeepCopy() *KubedbcomRedisEditorOptionsSpec { if in == nil { return nil } - out := new(KubedbcomSolrEditorOptionsSpec) + out := new(KubedbcomRedisEditorOptionsSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *KubedbcomSolrEditorOptionsSpecSpec) DeepCopyInto(out *KubedbcomSolrEditorOptionsSpecSpec) { +func (in *KubedbcomRedisEditorOptionsSpecSpec) DeepCopyInto(out *KubedbcomRedisEditorOptionsSpecSpec) { *out = *in if in.Annotations != nil { in, out := &in.Annotations, &out.Annotations @@ -2155,8 +2304,8 @@ func (in *KubedbcomSolrEditorOptionsSpecSpec) DeepCopyInto(out *KubedbcomSolrEdi (*out)[key] = val } } - out.ReplicaSet = in.ReplicaSet - out.ShardTopology = in.ShardTopology + out.Cluster = in.Cluster + out.SentinelRef = in.SentinelRef out.StorageClass = in.StorageClass out.Persistence = in.Persistence in.Resources.DeepCopyInto(&out.Resources) @@ -2166,18 +2315,18 @@ func (in *KubedbcomSolrEditorOptionsSpecSpec) DeepCopyInto(out *KubedbcomSolrEdi return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubedbcomSolrEditorOptionsSpecSpec. -func (in *KubedbcomSolrEditorOptionsSpecSpec) DeepCopy() *KubedbcomSolrEditorOptionsSpecSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubedbcomRedisEditorOptionsSpecSpec. +func (in *KubedbcomRedisEditorOptionsSpecSpec) DeepCopy() *KubedbcomRedisEditorOptionsSpecSpec { if in == nil { return nil } - out := new(KubedbcomSolrEditorOptionsSpecSpec) + out := new(KubedbcomRedisEditorOptionsSpecSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *KubedbcomZookeeperEditorOptions) DeepCopyInto(out *KubedbcomZookeeperEditorOptions) { +func (in *KubedbcomSingleStoreEditorOptions) DeepCopyInto(out *KubedbcomSingleStoreEditorOptions) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) @@ -2185,18 +2334,18 @@ func (in *KubedbcomZookeeperEditorOptions) DeepCopyInto(out *KubedbcomZookeeperE return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubedbcomZookeeperEditorOptions. -func (in *KubedbcomZookeeperEditorOptions) DeepCopy() *KubedbcomZookeeperEditorOptions { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubedbcomSingleStoreEditorOptions. +func (in *KubedbcomSingleStoreEditorOptions) DeepCopy() *KubedbcomSingleStoreEditorOptions { if in == nil { return nil } - out := new(KubedbcomZookeeperEditorOptions) + out := new(KubedbcomSingleStoreEditorOptions) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *KubedbcomZookeeperEditorOptions) DeepCopyObject() runtime.Object { +func (in *KubedbcomSingleStoreEditorOptions) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -2204,13 +2353,13 @@ func (in *KubedbcomZookeeperEditorOptions) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *KubedbcomZookeeperEditorOptionsList) DeepCopyInto(out *KubedbcomZookeeperEditorOptionsList) { +func (in *KubedbcomSingleStoreEditorOptionsList) DeepCopyInto(out *KubedbcomSingleStoreEditorOptionsList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]KubedbcomZookeeperEditorOptions, len(*in)) + *out = make([]KubedbcomSingleStoreEditorOptions, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -2218,18 +2367,18 @@ func (in *KubedbcomZookeeperEditorOptionsList) DeepCopyInto(out *KubedbcomZookee return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubedbcomZookeeperEditorOptionsList. -func (in *KubedbcomZookeeperEditorOptionsList) DeepCopy() *KubedbcomZookeeperEditorOptionsList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubedbcomSingleStoreEditorOptionsList. +func (in *KubedbcomSingleStoreEditorOptionsList) DeepCopy() *KubedbcomSingleStoreEditorOptionsList { if in == nil { return nil } - out := new(KubedbcomZookeeperEditorOptionsList) + out := new(KubedbcomSingleStoreEditorOptionsList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *KubedbcomZookeeperEditorOptionsList) DeepCopyObject() runtime.Object { +func (in *KubedbcomSingleStoreEditorOptionsList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -2237,7 +2386,7 @@ func (in *KubedbcomZookeeperEditorOptionsList) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *KubedbcomZookeeperEditorOptionsSpec) DeepCopyInto(out *KubedbcomZookeeperEditorOptionsSpec) { +func (in *KubedbcomSingleStoreEditorOptionsSpec) DeepCopyInto(out *KubedbcomSingleStoreEditorOptionsSpec) { *out = *in out.Metadata = in.Metadata in.Spec.DeepCopyInto(&out.Spec) @@ -2245,18 +2394,18 @@ func (in *KubedbcomZookeeperEditorOptionsSpec) DeepCopyInto(out *KubedbcomZookee return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubedbcomZookeeperEditorOptionsSpec. -func (in *KubedbcomZookeeperEditorOptionsSpec) DeepCopy() *KubedbcomZookeeperEditorOptionsSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubedbcomSingleStoreEditorOptionsSpec. +func (in *KubedbcomSingleStoreEditorOptionsSpec) DeepCopy() *KubedbcomSingleStoreEditorOptionsSpec { if in == nil { return nil } - out := new(KubedbcomZookeeperEditorOptionsSpec) + out := new(KubedbcomSingleStoreEditorOptionsSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *KubedbcomZookeeperEditorOptionsSpecSpec) DeepCopyInto(out *KubedbcomZookeeperEditorOptionsSpecSpec) { +func (in *KubedbcomSingleStoreEditorOptionsSpecSpec) DeepCopyInto(out *KubedbcomSingleStoreEditorOptionsSpecSpec) { *out = *in if in.Annotations != nil { in, out := &in.Annotations, &out.Annotations @@ -2272,8 +2421,7 @@ func (in *KubedbcomZookeeperEditorOptionsSpecSpec) DeepCopyInto(out *KubedbcomZo (*out)[key] = val } } - out.ReplicaSet = in.ReplicaSet - out.ShardTopology = in.ShardTopology + out.InnoDBCluster = in.InnoDBCluster out.StorageClass = in.StorageClass out.Persistence = in.Persistence in.Resources.DeepCopyInto(&out.Resources) @@ -2283,18 +2431,18 @@ func (in *KubedbcomZookeeperEditorOptionsSpecSpec) DeepCopyInto(out *KubedbcomZo return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubedbcomZookeeperEditorOptionsSpecSpec. -func (in *KubedbcomZookeeperEditorOptionsSpecSpec) DeepCopy() *KubedbcomZookeeperEditorOptionsSpecSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubedbcomSingleStoreEditorOptionsSpecSpec. +func (in *KubedbcomSingleStoreEditorOptionsSpecSpec) DeepCopy() *KubedbcomSingleStoreEditorOptionsSpecSpec { if in == nil { return nil } - out := new(KubedbcomZookeeperEditorOptionsSpecSpec) + out := new(KubedbcomSingleStoreEditorOptionsSpecSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *KubevaultcomVaultserverEditorOptions) DeepCopyInto(out *KubevaultcomVaultserverEditorOptions) { +func (in *KubedbcomSolrEditorOptions) DeepCopyInto(out *KubedbcomSolrEditorOptions) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) @@ -2302,18 +2450,18 @@ func (in *KubevaultcomVaultserverEditorOptions) DeepCopyInto(out *KubevaultcomVa return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubevaultcomVaultserverEditorOptions. -func (in *KubevaultcomVaultserverEditorOptions) DeepCopy() *KubevaultcomVaultserverEditorOptions { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubedbcomSolrEditorOptions. +func (in *KubedbcomSolrEditorOptions) DeepCopy() *KubedbcomSolrEditorOptions { if in == nil { return nil } - out := new(KubevaultcomVaultserverEditorOptions) + out := new(KubedbcomSolrEditorOptions) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *KubevaultcomVaultserverEditorOptions) DeepCopyObject() runtime.Object { +func (in *KubedbcomSolrEditorOptions) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -2321,13 +2469,13 @@ func (in *KubevaultcomVaultserverEditorOptions) DeepCopyObject() runtime.Object } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *KubevaultcomVaultserverEditorOptionsList) DeepCopyInto(out *KubevaultcomVaultserverEditorOptionsList) { +func (in *KubedbcomSolrEditorOptionsList) DeepCopyInto(out *KubedbcomSolrEditorOptionsList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]KubevaultcomVaultserverEditorOptions, len(*in)) + *out = make([]KubedbcomSolrEditorOptions, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -2335,18 +2483,18 @@ func (in *KubevaultcomVaultserverEditorOptionsList) DeepCopyInto(out *Kubevaultc return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubevaultcomVaultserverEditorOptionsList. -func (in *KubevaultcomVaultserverEditorOptionsList) DeepCopy() *KubevaultcomVaultserverEditorOptionsList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubedbcomSolrEditorOptionsList. +func (in *KubedbcomSolrEditorOptionsList) DeepCopy() *KubedbcomSolrEditorOptionsList { if in == nil { return nil } - out := new(KubevaultcomVaultserverEditorOptionsList) + out := new(KubedbcomSolrEditorOptionsList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *KubevaultcomVaultserverEditorOptionsList) DeepCopyObject() runtime.Object { +func (in *KubedbcomSolrEditorOptionsList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -2354,7 +2502,7 @@ func (in *KubevaultcomVaultserverEditorOptionsList) DeepCopyObject() runtime.Obj } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *KubevaultcomVaultserverEditorOptionsSpec) DeepCopyInto(out *KubevaultcomVaultserverEditorOptionsSpec) { +func (in *KubedbcomSolrEditorOptionsSpec) DeepCopyInto(out *KubedbcomSolrEditorOptionsSpec) { *out = *in out.Metadata = in.Metadata in.Spec.DeepCopyInto(&out.Spec) @@ -2362,18 +2510,18 @@ func (in *KubevaultcomVaultserverEditorOptionsSpec) DeepCopyInto(out *Kubevaultc return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubevaultcomVaultserverEditorOptionsSpec. -func (in *KubevaultcomVaultserverEditorOptionsSpec) DeepCopy() *KubevaultcomVaultserverEditorOptionsSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubedbcomSolrEditorOptionsSpec. +func (in *KubedbcomSolrEditorOptionsSpec) DeepCopy() *KubedbcomSolrEditorOptionsSpec { if in == nil { return nil } - out := new(KubevaultcomVaultserverEditorOptionsSpec) + out := new(KubedbcomSolrEditorOptionsSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *KubevaultcomVaultserverEditorOptionsSpecSpec) DeepCopyInto(out *KubevaultcomVaultserverEditorOptionsSpecSpec) { +func (in *KubedbcomSolrEditorOptionsSpecSpec) DeepCopyInto(out *KubedbcomSolrEditorOptionsSpecSpec) { *out = *in if in.Annotations != nil { in, out := &in.Annotations, &out.Annotations @@ -2389,29 +2537,263 @@ func (in *KubevaultcomVaultserverEditorOptionsSpecSpec) DeepCopyInto(out *Kubeva (*out)[key] = val } } + out.ReplicaSet = in.ReplicaSet + out.ShardTopology = in.ShardTopology + out.StorageClass = in.StorageClass + out.Persistence = in.Persistence in.Resources.DeepCopyInto(&out.Resources) - out.Backend = in.Backend - out.Unsealer = in.Unsealer + out.AuthSecret = in.AuthSecret in.Monitoring.DeepCopyInto(&out.Monitoring) in.Backup.DeepCopyInto(&out.Backup) return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubevaultcomVaultserverEditorOptionsSpecSpec. -func (in *KubevaultcomVaultserverEditorOptionsSpecSpec) DeepCopy() *KubevaultcomVaultserverEditorOptionsSpecSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubedbcomSolrEditorOptionsSpecSpec. +func (in *KubedbcomSolrEditorOptionsSpecSpec) DeepCopy() *KubedbcomSolrEditorOptionsSpecSpec { if in == nil { return nil } - out := new(KubevaultcomVaultserverEditorOptionsSpecSpec) + out := new(KubedbcomSolrEditorOptionsSpecSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MariadbAlertsSpecForm) DeepCopyInto(out *MariadbAlertsSpecForm) { +func (in *KubedbcomZookeeperEditorOptions) DeepCopyInto(out *KubedbcomZookeeperEditorOptions) { *out = *in - in.Alert.DeepCopyInto(&out.Alert) - in.CAPI.DeepCopyInto(&out.CAPI) + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubedbcomZookeeperEditorOptions. +func (in *KubedbcomZookeeperEditorOptions) DeepCopy() *KubedbcomZookeeperEditorOptions { + if in == nil { + return nil + } + out := new(KubedbcomZookeeperEditorOptions) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *KubedbcomZookeeperEditorOptions) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KubedbcomZookeeperEditorOptionsList) DeepCopyInto(out *KubedbcomZookeeperEditorOptionsList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]KubedbcomZookeeperEditorOptions, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubedbcomZookeeperEditorOptionsList. +func (in *KubedbcomZookeeperEditorOptionsList) DeepCopy() *KubedbcomZookeeperEditorOptionsList { + if in == nil { + return nil + } + out := new(KubedbcomZookeeperEditorOptionsList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *KubedbcomZookeeperEditorOptionsList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KubedbcomZookeeperEditorOptionsSpec) DeepCopyInto(out *KubedbcomZookeeperEditorOptionsSpec) { + *out = *in + out.Metadata = in.Metadata + in.Spec.DeepCopyInto(&out.Spec) + in.Form.DeepCopyInto(&out.Form) + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubedbcomZookeeperEditorOptionsSpec. +func (in *KubedbcomZookeeperEditorOptionsSpec) DeepCopy() *KubedbcomZookeeperEditorOptionsSpec { + if in == nil { + return nil + } + out := new(KubedbcomZookeeperEditorOptionsSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KubedbcomZookeeperEditorOptionsSpecSpec) DeepCopyInto(out *KubedbcomZookeeperEditorOptionsSpecSpec) { + *out = *in + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make(map[string]string, len(*in)) + for key, val := range *in { + (*out)[key] = val + } + } + if in.Labels != nil { + in, out := &in.Labels, &out.Labels + *out = make(map[string]string, len(*in)) + for key, val := range *in { + (*out)[key] = val + } + } + out.ReplicaSet = in.ReplicaSet + out.ShardTopology = in.ShardTopology + out.StorageClass = in.StorageClass + out.Persistence = in.Persistence + in.Resources.DeepCopyInto(&out.Resources) + out.AuthSecret = in.AuthSecret + in.Monitoring.DeepCopyInto(&out.Monitoring) + in.Backup.DeepCopyInto(&out.Backup) + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubedbcomZookeeperEditorOptionsSpecSpec. +func (in *KubedbcomZookeeperEditorOptionsSpecSpec) DeepCopy() *KubedbcomZookeeperEditorOptionsSpecSpec { + if in == nil { + return nil + } + out := new(KubedbcomZookeeperEditorOptionsSpecSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KubevaultcomVaultserverEditorOptions) DeepCopyInto(out *KubevaultcomVaultserverEditorOptions) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubevaultcomVaultserverEditorOptions. +func (in *KubevaultcomVaultserverEditorOptions) DeepCopy() *KubevaultcomVaultserverEditorOptions { + if in == nil { + return nil + } + out := new(KubevaultcomVaultserverEditorOptions) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *KubevaultcomVaultserverEditorOptions) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KubevaultcomVaultserverEditorOptionsList) DeepCopyInto(out *KubevaultcomVaultserverEditorOptionsList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]KubevaultcomVaultserverEditorOptions, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubevaultcomVaultserverEditorOptionsList. +func (in *KubevaultcomVaultserverEditorOptionsList) DeepCopy() *KubevaultcomVaultserverEditorOptionsList { + if in == nil { + return nil + } + out := new(KubevaultcomVaultserverEditorOptionsList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *KubevaultcomVaultserverEditorOptionsList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KubevaultcomVaultserverEditorOptionsSpec) DeepCopyInto(out *KubevaultcomVaultserverEditorOptionsSpec) { + *out = *in + out.Metadata = in.Metadata + in.Spec.DeepCopyInto(&out.Spec) + in.Form.DeepCopyInto(&out.Form) + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubevaultcomVaultserverEditorOptionsSpec. +func (in *KubevaultcomVaultserverEditorOptionsSpec) DeepCopy() *KubevaultcomVaultserverEditorOptionsSpec { + if in == nil { + return nil + } + out := new(KubevaultcomVaultserverEditorOptionsSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KubevaultcomVaultserverEditorOptionsSpecSpec) DeepCopyInto(out *KubevaultcomVaultserverEditorOptionsSpecSpec) { + *out = *in + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make(map[string]string, len(*in)) + for key, val := range *in { + (*out)[key] = val + } + } + if in.Labels != nil { + in, out := &in.Labels, &out.Labels + *out = make(map[string]string, len(*in)) + for key, val := range *in { + (*out)[key] = val + } + } + in.Resources.DeepCopyInto(&out.Resources) + out.Backend = in.Backend + out.Unsealer = in.Unsealer + in.Monitoring.DeepCopyInto(&out.Monitoring) + in.Backup.DeepCopyInto(&out.Backup) + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubevaultcomVaultserverEditorOptionsSpecSpec. +func (in *KubevaultcomVaultserverEditorOptionsSpecSpec) DeepCopy() *KubevaultcomVaultserverEditorOptionsSpecSpec { + if in == nil { + return nil + } + out := new(KubevaultcomVaultserverEditorOptionsSpecSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MariadbAlertsSpecForm) DeepCopyInto(out *MariadbAlertsSpecForm) { + *out = *in + in.Alert.DeepCopyInto(&out.Alert) + in.CAPI.DeepCopyInto(&out.CAPI) return } @@ -2523,47 +2905,131 @@ func (in *MongodbAlertsSpecForm) DeepCopy() *MongodbAlertsSpecForm { if in == nil { return nil } - out := new(MongodbAlertsSpecForm) + out := new(MongodbAlertsSpecForm) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Monitoring) DeepCopyInto(out *Monitoring) { + *out = *in + in.Exporter.DeepCopyInto(&out.Exporter) + if in.ServiceMonitor != nil { + in, out := &in.ServiceMonitor, &out.ServiceMonitor + *out = new(v1.ServiceMonitorLabels) + (*in).DeepCopyInto(*out) + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Monitoring. +func (in *Monitoring) DeepCopy() *Monitoring { + if in == nil { + return nil + } + out := new(Monitoring) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MssqlserverAlertsSpecForm) DeepCopyInto(out *MssqlserverAlertsSpecForm) { + *out = *in + in.CAPI.DeepCopyInto(&out.CAPI) + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MssqlserverAlertsSpecForm. +func (in *MssqlserverAlertsSpecForm) DeepCopy() *MssqlserverAlertsSpecForm { + if in == nil { + return nil + } + out := new(MssqlserverAlertsSpecForm) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MssqlserverConfigServer) DeepCopyInto(out *MssqlserverConfigServer) { + *out = *in + out.Persistence = in.Persistence + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MssqlserverConfigServer. +func (in *MssqlserverConfigServer) DeepCopy() *MssqlserverConfigServer { + if in == nil { + return nil + } + out := new(MssqlserverConfigServer) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MssqlserverMongos) DeepCopyInto(out *MssqlserverMongos) { + *out = *in + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MssqlserverMongos. +func (in *MssqlserverMongos) DeepCopy() *MssqlserverMongos { + if in == nil { + return nil + } + out := new(MssqlserverMongos) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MssqlserverReplicaSet) DeepCopyInto(out *MssqlserverReplicaSet) { + *out = *in + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MssqlserverReplicaSet. +func (in *MssqlserverReplicaSet) DeepCopy() *MssqlserverReplicaSet { + if in == nil { + return nil + } + out := new(MssqlserverReplicaSet) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Monitoring) DeepCopyInto(out *Monitoring) { +func (in *MssqlserverShard) DeepCopyInto(out *MssqlserverShard) { *out = *in - in.Exporter.DeepCopyInto(&out.Exporter) - if in.ServiceMonitor != nil { - in, out := &in.ServiceMonitor, &out.ServiceMonitor - *out = new(v1.ServiceMonitorLabels) - (*in).DeepCopyInto(*out) - } + out.Persistence = in.Persistence return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Monitoring. -func (in *Monitoring) DeepCopy() *Monitoring { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MssqlserverShard. +func (in *MssqlserverShard) DeepCopy() *MssqlserverShard { if in == nil { return nil } - out := new(Monitoring) + out := new(MssqlserverShard) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MssqlserverAlertsSpecForm) DeepCopyInto(out *MssqlserverAlertsSpecForm) { +func (in *MssqlserverShardTopology) DeepCopyInto(out *MssqlserverShardTopology) { *out = *in - in.Alert.DeepCopyInto(&out.Alert) - in.CAPI.DeepCopyInto(&out.CAPI) + out.Shard = in.Shard + out.ConfigServer = in.ConfigServer + out.Mongos = in.Mongos return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MssqlserverAlertsSpecForm. -func (in *MssqlserverAlertsSpecForm) DeepCopy() *MssqlserverAlertsSpecForm { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MssqlserverShardTopology. +func (in *MssqlserverShardTopology) DeepCopy() *MssqlserverShardTopology { if in == nil { return nil } - out := new(MssqlserverAlertsSpecForm) + out := new(MssqlserverShardTopology) in.DeepCopyInto(out) return out } @@ -2701,6 +3167,91 @@ func (in *PgpoolAlertsSpecForm) DeepCopy() *PgpoolAlertsSpecForm { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PgpoolConfigServer) DeepCopyInto(out *PgpoolConfigServer) { + *out = *in + out.Persistence = in.Persistence + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PgpoolConfigServer. +func (in *PgpoolConfigServer) DeepCopy() *PgpoolConfigServer { + if in == nil { + return nil + } + out := new(PgpoolConfigServer) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PgpoolMongos) DeepCopyInto(out *PgpoolMongos) { + *out = *in + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PgpoolMongos. +func (in *PgpoolMongos) DeepCopy() *PgpoolMongos { + if in == nil { + return nil + } + out := new(PgpoolMongos) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PgpoolReplicaSet) DeepCopyInto(out *PgpoolReplicaSet) { + *out = *in + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PgpoolReplicaSet. +func (in *PgpoolReplicaSet) DeepCopy() *PgpoolReplicaSet { + if in == nil { + return nil + } + out := new(PgpoolReplicaSet) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PgpoolShard) DeepCopyInto(out *PgpoolShard) { + *out = *in + out.Persistence = in.Persistence + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PgpoolShard. +func (in *PgpoolShard) DeepCopy() *PgpoolShard { + if in == nil { + return nil + } + out := new(PgpoolShard) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PgpoolShardTopology) DeepCopyInto(out *PgpoolShardTopology) { + *out = *in + out.Shard = in.Shard + out.ConfigServer = in.ConfigServer + out.Mongos = in.Mongos + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PgpoolShardTopology. +func (in *PgpoolShardTopology) DeepCopy() *PgpoolShardTopology { + if in == nil { + return nil + } + out := new(PgpoolShardTopology) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *PostgresAlertsSpecForm) DeepCopyInto(out *PostgresAlertsSpecForm) { *out = *in @@ -2754,6 +3305,24 @@ func (in *ProxysqlAlertsSpecForm) DeepCopy() *ProxysqlAlertsSpecForm { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RabbitMQAlertsSpecForm) DeepCopyInto(out *RabbitMQAlertsSpecForm) { + *out = *in + in.Alert.DeepCopyInto(&out.Alert) + in.CAPI.DeepCopyInto(&out.CAPI) + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RabbitMQAlertsSpecForm. +func (in *RabbitMQAlertsSpecForm) DeepCopy() *RabbitMQAlertsSpecForm { + if in == nil { + return nil + } + out := new(RabbitMQAlertsSpecForm) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *RedisAlertsSpecForm) DeepCopyInto(out *RedisAlertsSpecForm) { *out = *in @@ -2847,6 +3416,57 @@ func (in *S3Auth) DeepCopy() *S3Auth { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SingleStoreAlertsSpecForm) DeepCopyInto(out *SingleStoreAlertsSpecForm) { + *out = *in + in.Alert.DeepCopyInto(&out.Alert) + in.CAPI.DeepCopyInto(&out.CAPI) + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SingleStoreAlertsSpecForm. +func (in *SingleStoreAlertsSpecForm) DeepCopy() *SingleStoreAlertsSpecForm { + if in == nil { + return nil + } + out := new(SingleStoreAlertsSpecForm) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SingleStoreInnoDBCluster) DeepCopyInto(out *SingleStoreInnoDBCluster) { + *out = *in + out.Router = in.Router + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SingleStoreInnoDBCluster. +func (in *SingleStoreInnoDBCluster) DeepCopy() *SingleStoreInnoDBCluster { + if in == nil { + return nil + } + out := new(SingleStoreInnoDBCluster) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SingleStoreRouter) DeepCopyInto(out *SingleStoreRouter) { + *out = *in + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SingleStoreRouter. +func (in *SingleStoreRouter) DeepCopy() *SingleStoreRouter { + if in == nil { + return nil + } + out := new(SingleStoreRouter) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *SolrAlertsSpecForm) DeepCopyInto(out *SolrAlertsSpecForm) { *out = *in @@ -2865,6 +3485,74 @@ func (in *SolrAlertsSpecForm) DeepCopy() *SolrAlertsSpecForm { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SolrConfigServer) DeepCopyInto(out *SolrConfigServer) { + *out = *in + out.Persistence = in.Persistence + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SolrConfigServer. +func (in *SolrConfigServer) DeepCopy() *SolrConfigServer { + if in == nil { + return nil + } + out := new(SolrConfigServer) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SolrReplicaSet) DeepCopyInto(out *SolrReplicaSet) { + *out = *in + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SolrReplicaSet. +func (in *SolrReplicaSet) DeepCopy() *SolrReplicaSet { + if in == nil { + return nil + } + out := new(SolrReplicaSet) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SolrShard) DeepCopyInto(out *SolrShard) { + *out = *in + out.Persistence = in.Persistence + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SolrShard. +func (in *SolrShard) DeepCopy() *SolrShard { + if in == nil { + return nil + } + out := new(SolrShard) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *SolrShardTopology) DeepCopyInto(out *SolrShardTopology) { + *out = *in + out.Shard = in.Shard + out.ConfigServer = in.ConfigServer + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SolrShardTopology. +func (in *SolrShardTopology) DeepCopy() *SolrShardTopology { + if in == nil { + return nil + } + out := new(SolrShardTopology) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *StashInfo) DeepCopyInto(out *StashInfo) { *out = *in @@ -3853,10 +4541,93 @@ func (in *VaultserverUnsealerModeGoogleKmsGcs) DeepCopy() *VaultserverUnsealerMo return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ZooKeeperConfigServer) DeepCopyInto(out *ZooKeeperConfigServer) { + *out = *in + out.Persistence = in.Persistence + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ZooKeeperConfigServer. +func (in *ZooKeeperConfigServer) DeepCopy() *ZooKeeperConfigServer { + if in == nil { + return nil + } + out := new(ZooKeeperConfigServer) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ZooKeeperMongos) DeepCopyInto(out *ZooKeeperMongos) { + *out = *in + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ZooKeeperMongos. +func (in *ZooKeeperMongos) DeepCopy() *ZooKeeperMongos { + if in == nil { + return nil + } + out := new(ZooKeeperMongos) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ZooKeeperReplicaSet) DeepCopyInto(out *ZooKeeperReplicaSet) { + *out = *in + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ZooKeeperReplicaSet. +func (in *ZooKeeperReplicaSet) DeepCopy() *ZooKeeperReplicaSet { + if in == nil { + return nil + } + out := new(ZooKeeperReplicaSet) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ZooKeeperShard) DeepCopyInto(out *ZooKeeperShard) { + *out = *in + out.Persistence = in.Persistence + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ZooKeeperShard. +func (in *ZooKeeperShard) DeepCopy() *ZooKeeperShard { + if in == nil { + return nil + } + out := new(ZooKeeperShard) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ZooKeeperShardTopology) DeepCopyInto(out *ZooKeeperShardTopology) { + *out = *in + out.Shard = in.Shard + out.ConfigServer = in.ConfigServer + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ZooKeeperShardTopology. +func (in *ZooKeeperShardTopology) DeepCopy() *ZooKeeperShardTopology { + if in == nil { + return nil + } + out := new(ZooKeeperShardTopology) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ZookeeperAlertsSpecForm) DeepCopyInto(out *ZookeeperAlertsSpecForm) { *out = *in - in.Alert.DeepCopyInto(&out.Alert) in.CAPI.DeepCopyInto(&out.CAPI) return } diff --git a/charts/kubedbcom-druid-editor-options/README.md b/charts/kubedbcom-druid-editor-options/README.md index 45b9242ecb..7fb06c1976 100644 --- a/charts/kubedbcom-druid-editor-options/README.md +++ b/charts/kubedbcom-druid-editor-options/README.md @@ -65,7 +65,6 @@ The following table lists the configurable parameters of the `kubedbcom-druid-ed | spec.shardTopology.shard.persistence.size | | 10Gi | | spec.shardTopology.configServer.replicas | | 3 | | spec.shardTopology.configServer.persistence.size | | 2Gi | -| spec.shardTopology.mongos.replicas | | 3 | | spec.clusterAuthMode | "keyFile", "sendKeyFile", "sendX509", "x509" | keyFile | | spec.sslMode | "disabled", "allowSSL", "preferSSL", "requireSSL" | disabled | | spec.terminationPolicy | | WipeOut | diff --git a/charts/kubedbcom-druid-editor-options/values.openapiv3_schema.yaml b/charts/kubedbcom-druid-editor-options/values.openapiv3_schema.yaml index 7e3f07c2c8..508350fad5 100644 --- a/charts/kubedbcom-druid-editor-options/values.openapiv3_schema.yaml +++ b/charts/kubedbcom-druid-editor-options/values.openapiv3_schema.yaml @@ -31,7 +31,7 @@ properties: type: string rules: properties: - mongoDBDown: + druidDown: properties: duration: type: string @@ -48,24 +48,7 @@ properties: - enabled - severity type: object - mongoDBPhaseCritical: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - mongodbCursorsTimeouts: + highJVMMemoryUsage: properties: duration: type: string @@ -78,14 +61,15 @@ properties: - info type: string val: - type: integer + format: double + type: number required: - duration - enabled - severity - val type: object - mongodbHighLatency: + highJVMPoolUsage: properties: duration: type: string @@ -98,14 +82,15 @@ properties: - info type: string val: - type: integer + format: double + type: number required: - duration - enabled - severity - val type: object - mongodbHighTicketUtilization: + highQueryTime: properties: duration: type: string @@ -117,15 +102,12 @@ properties: - warning - info type: string - val: - type: integer required: - duration - enabled - severity - - val type: object - mongodbNumberCursorsOpen: + highQueryWaitTime: properties: duration: type: string @@ -137,15 +119,12 @@ properties: - warning - info type: string - val: - type: integer required: - duration - enabled - severity - - val type: object - mongodbRecurrentCursorTimeout: + highSegmentScanPending: properties: duration: type: string @@ -165,7 +144,7 @@ properties: - severity - val type: object - mongodbRecurrentMemoryPageFaults: + highSegmentUsage: properties: duration: type: string @@ -178,136 +157,15 @@ properties: - info type: string val: - type: integer + format: double + type: number required: - duration - enabled - severity - val type: object - mongodbReplicationLag: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object - mongodbTooManyConnections: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object - mongodbVirtualMemoryUsage: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object - required: - - mongoDBDown - - mongoDBPhaseCritical - - mongodbCursorsTimeouts - - mongodbHighLatency - - mongodbHighTicketUtilization - - mongodbNumberCursorsOpen - - mongodbRecurrentCursorTimeout - - mongodbRecurrentMemoryPageFaults - - mongodbReplicationLag - - mongodbTooManyConnections - - mongodbVirtualMemoryUsage - type: object - required: - - enabled - - rules - type: object - opsManager: - properties: - enabled: - enum: - - none - - critical - - warning - - info - type: string - rules: - properties: - opsRequestFailed: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - opsRequestOnProgress: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - opsRequestStatusProgressingToLong: + zkDisconnected: properties: duration: type: string @@ -325,9 +183,14 @@ properties: - severity type: object required: - - opsRequestFailed - - opsRequestOnProgress - - opsRequestStatusProgressingToLong + - druidDown + - highJVMMemoryUsage + - highJVMPoolUsage + - highQueryTime + - highQueryWaitTime + - highSegmentScanPending + - highSegmentUsage + - zkDisconnected type: object required: - enabled @@ -386,274 +249,9 @@ properties: - enabled - rules type: object - schemaManager: - properties: - enabled: - enum: - - none - - critical - - warning - - info - type: string - rules: - properties: - schemaExpired: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - schemaFailed: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - schemaInProgressForTooLong: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - schemaPendingForTooLong: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - schemaTerminatingForTooLong: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - required: - - schemaExpired - - schemaFailed - - schemaInProgressForTooLong - - schemaPendingForTooLong - - schemaTerminatingForTooLong - type: object - required: - - enabled - - rules - type: object - stash: - properties: - enabled: - enum: - - none - - critical - - warning - - info - type: string - rules: - properties: - backupSessionFailed: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - backupSessionPeriodTooLong: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object - noBackupSessionForTooLong: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object - repositoryCorrupted: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - repositoryStorageRunningLow: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object - restoreSessionFailed: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - restoreSessionPeriodTooLong: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object - required: - - backupSessionFailed - - backupSessionPeriodTooLong - - noBackupSessionForTooLong - - repositoryCorrupted - - repositoryStorageRunningLow - - restoreSessionFailed - - restoreSessionPeriodTooLong - type: object - required: - - enabled - - rules - type: object required: - database - - opsManager - provisioner - - schemaManager - - stash type: object labels: additionalProperties: @@ -1250,13 +848,6 @@ properties: - persistence - replicas type: object - mongos: - properties: - replicas: - type: integer - required: - - replicas - type: object shard: properties: persistence: @@ -1277,7 +868,6 @@ properties: type: object required: - configServer - - mongos - shard type: object sslMode: diff --git a/charts/kubedbcom-druid-editor-options/values.yaml b/charts/kubedbcom-druid-editor-options/values.yaml index 8d4e7bbe8c..e3574a66c7 100644 --- a/charts/kubedbcom-druid-editor-options/values.yaml +++ b/charts/kubedbcom-druid-editor-options/values.yaml @@ -40,8 +40,6 @@ spec: replicas: 3 persistence: size: 2Gi - mongos: - replicas: 3 # "keyFile", "sendKeyFile", "sendX509", "x509" clusterAuthMode: keyFile diff --git a/charts/kubedbcom-elasticsearch-editor-options/values.openapiv3_schema.yaml b/charts/kubedbcom-elasticsearch-editor-options/values.openapiv3_schema.yaml index 6ed68c808c..b3e5fde14e 100644 --- a/charts/kubedbcom-elasticsearch-editor-options/values.openapiv3_schema.yaml +++ b/charts/kubedbcom-elasticsearch-editor-options/values.openapiv3_schema.yaml @@ -31,6 +31,46 @@ properties: type: string rules: properties: + diskAlmostFull: + properties: + duration: + type: string + enabled: + type: boolean + severity: + enum: + - critical + - warning + - info + type: string + val: + type: integer + required: + - duration + - enabled + - severity + - val + type: object + diskUsageHigh: + properties: + duration: + type: string + enabled: + type: boolean + severity: + enum: + - critical + - warning + - info + type: string + val: + type: integer + required: + - duration + - enabled + - severity + - val + type: object elasticsearchClusterRed: properties: duration: @@ -271,6 +311,8 @@ properties: - severity type: object required: + - diskAlmostFull + - diskUsageHigh - elasticsearchClusterRed - elasticsearchClusterYellow - elasticsearchDiskOutOfSpace @@ -289,6 +331,161 @@ properties: - enabled - rules type: object + kubeStash: + properties: + enabled: + enum: + - none + - critical + - warning + - info + type: string + rules: + properties: + backupSessionFailed: + properties: + duration: + type: string + enabled: + type: boolean + severity: + enum: + - critical + - warning + - info + type: string + required: + - duration + - enabled + - severity + type: object + backupSessionPeriodTooLong: + properties: + duration: + type: string + enabled: + type: boolean + severity: + enum: + - critical + - warning + - info + type: string + val: + type: integer + required: + - duration + - enabled + - severity + - val + type: object + noBackupSessionForTooLong: + properties: + duration: + type: string + enabled: + type: boolean + severity: + enum: + - critical + - warning + - info + type: string + val: + type: integer + required: + - duration + - enabled + - severity + - val + type: object + repositoryCorrupted: + properties: + duration: + type: string + enabled: + type: boolean + severity: + enum: + - critical + - warning + - info + type: string + required: + - duration + - enabled + - severity + type: object + repositoryStorageRunningLow: + properties: + duration: + type: string + enabled: + type: boolean + severity: + enum: + - critical + - warning + - info + type: string + val: + type: integer + required: + - duration + - enabled + - severity + - val + type: object + restoreSessionFailed: + properties: + duration: + type: string + enabled: + type: boolean + severity: + enum: + - critical + - warning + - info + type: string + required: + - duration + - enabled + - severity + type: object + restoreSessionPeriodTooLong: + properties: + duration: + type: string + enabled: + type: boolean + severity: + enum: + - critical + - warning + - info + type: string + val: + type: integer + required: + - duration + - enabled + - severity + - val + type: object + required: + - backupSessionFailed + - backupSessionPeriodTooLong + - noBackupSessionForTooLong + - repositoryCorrupted + - repositoryStorageRunningLow + - restoreSessionFailed + - restoreSessionPeriodTooLong + type: object + required: + - enabled + - rules + type: object opsManager: properties: enabled: @@ -570,6 +767,7 @@ properties: type: object required: - database + - kubeStash - opsManager - provisioner - stash diff --git a/charts/kubedbcom-ferretdb-editor-options/values.openapiv3_schema.yaml b/charts/kubedbcom-ferretdb-editor-options/values.openapiv3_schema.yaml index 7e3f07c2c8..e6fbcef4f3 100644 --- a/charts/kubedbcom-ferretdb-editor-options/values.openapiv3_schema.yaml +++ b/charts/kubedbcom-ferretdb-editor-options/values.openapiv3_schema.yaml @@ -1,670 +1,8 @@ properties: form: properties: - alert: - properties: - additionalRuleLabels: - additionalProperties: - type: string - type: object - annotations: - additionalProperties: - type: string - type: object - enabled: - enum: - - none - - critical - - warning - - info - type: string - groups: - properties: - database: - properties: - enabled: - enum: - - none - - critical - - warning - - info - type: string - rules: - properties: - mongoDBDown: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - mongoDBPhaseCritical: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - mongodbCursorsTimeouts: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object - mongodbHighLatency: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object - mongodbHighTicketUtilization: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object - mongodbNumberCursorsOpen: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object - mongodbRecurrentCursorTimeout: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object - mongodbRecurrentMemoryPageFaults: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object - mongodbReplicationLag: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object - mongodbTooManyConnections: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object - mongodbVirtualMemoryUsage: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object - required: - - mongoDBDown - - mongoDBPhaseCritical - - mongodbCursorsTimeouts - - mongodbHighLatency - - mongodbHighTicketUtilization - - mongodbNumberCursorsOpen - - mongodbRecurrentCursorTimeout - - mongodbRecurrentMemoryPageFaults - - mongodbReplicationLag - - mongodbTooManyConnections - - mongodbVirtualMemoryUsage - type: object - required: - - enabled - - rules - type: object - opsManager: - properties: - enabled: - enum: - - none - - critical - - warning - - info - type: string - rules: - properties: - opsRequestFailed: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - opsRequestOnProgress: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - opsRequestStatusProgressingToLong: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - required: - - opsRequestFailed - - opsRequestOnProgress - - opsRequestStatusProgressingToLong - type: object - required: - - enabled - - rules - type: object - provisioner: - properties: - enabled: - enum: - - none - - critical - - warning - - info - type: string - rules: - properties: - appPhaseCritical: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - appPhaseNotReady: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - required: - - appPhaseCritical - - appPhaseNotReady - type: object - required: - - enabled - - rules - type: object - schemaManager: - properties: - enabled: - enum: - - none - - critical - - warning - - info - type: string - rules: - properties: - schemaExpired: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - schemaFailed: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - schemaInProgressForTooLong: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - schemaPendingForTooLong: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - schemaTerminatingForTooLong: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - required: - - schemaExpired - - schemaFailed - - schemaInProgressForTooLong - - schemaPendingForTooLong - - schemaTerminatingForTooLong - type: object - required: - - enabled - - rules - type: object - stash: - properties: - enabled: - enum: - - none - - critical - - warning - - info - type: string - rules: - properties: - backupSessionFailed: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - backupSessionPeriodTooLong: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object - noBackupSessionForTooLong: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object - repositoryCorrupted: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - repositoryStorageRunningLow: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object - restoreSessionFailed: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - restoreSessionPeriodTooLong: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object - required: - - backupSessionFailed - - backupSessionPeriodTooLong - - noBackupSessionForTooLong - - repositoryCorrupted - - repositoryStorageRunningLow - - restoreSessionFailed - - restoreSessionPeriodTooLong - type: object - required: - - enabled - - rules - type: object - required: - - database - - opsManager - - provisioner - - schemaManager - - stash - type: object - labels: - additionalProperties: - type: string - type: object - required: - - enabled - - groups - - labels - type: object capi: + description: Alert alerts.FerretDBAlert `json:"alert"` properties: clusterName: type: string @@ -695,7 +33,6 @@ properties: - zones type: object required: - - alert - capi type: object metadata: diff --git a/charts/kubedbcom-mariadb-editor-options/values.openapiv3_schema.yaml b/charts/kubedbcom-mariadb-editor-options/values.openapiv3_schema.yaml index b4afd7946b..43bbccaf30 100644 --- a/charts/kubedbcom-mariadb-editor-options/values.openapiv3_schema.yaml +++ b/charts/kubedbcom-mariadb-editor-options/values.openapiv3_schema.yaml @@ -70,6 +70,46 @@ properties: type: string rules: properties: + diskAlmostFull: + properties: + duration: + type: string + enabled: + type: boolean + severity: + enum: + - critical + - warning + - info + type: string + val: + type: integer + required: + - duration + - enabled + - severity + - val + type: object + diskUsageHigh: + properties: + duration: + type: string + enabled: + type: boolean + severity: + enum: + - critical + - warning + - info + type: string + val: + type: integer + required: + - duration + - enabled + - severity + - val + type: object mysqlHighIncomingBytes: properties: duration: @@ -282,6 +322,8 @@ properties: - val type: object required: + - diskAlmostFull + - diskUsageHigh - mysqlHighIncomingBytes - mysqlHighOutgoingBytes - mysqlHighQPS @@ -298,6 +340,161 @@ properties: - enabled - rules type: object + kubeStash: + properties: + enabled: + enum: + - none + - critical + - warning + - info + type: string + rules: + properties: + backupSessionFailed: + properties: + duration: + type: string + enabled: + type: boolean + severity: + enum: + - critical + - warning + - info + type: string + required: + - duration + - enabled + - severity + type: object + backupSessionPeriodTooLong: + properties: + duration: + type: string + enabled: + type: boolean + severity: + enum: + - critical + - warning + - info + type: string + val: + type: integer + required: + - duration + - enabled + - severity + - val + type: object + noBackupSessionForTooLong: + properties: + duration: + type: string + enabled: + type: boolean + severity: + enum: + - critical + - warning + - info + type: string + val: + type: integer + required: + - duration + - enabled + - severity + - val + type: object + repositoryCorrupted: + properties: + duration: + type: string + enabled: + type: boolean + severity: + enum: + - critical + - warning + - info + type: string + required: + - duration + - enabled + - severity + type: object + repositoryStorageRunningLow: + properties: + duration: + type: string + enabled: + type: boolean + severity: + enum: + - critical + - warning + - info + type: string + val: + type: integer + required: + - duration + - enabled + - severity + - val + type: object + restoreSessionFailed: + properties: + duration: + type: string + enabled: + type: boolean + severity: + enum: + - critical + - warning + - info + type: string + required: + - duration + - enabled + - severity + type: object + restoreSessionPeriodTooLong: + properties: + duration: + type: string + enabled: + type: boolean + severity: + enum: + - critical + - warning + - info + type: string + val: + type: integer + required: + - duration + - enabled + - severity + - val + type: object + required: + - backupSessionFailed + - backupSessionPeriodTooLong + - noBackupSessionForTooLong + - repositoryCorrupted + - repositoryStorageRunningLow + - restoreSessionFailed + - restoreSessionPeriodTooLong + type: object + required: + - enabled + - rules + type: object opsManager: properties: enabled: @@ -687,6 +884,7 @@ properties: required: - cluster - database + - kubeStash - opsManager - provisioner - schemaManager diff --git a/charts/kubedbcom-mongodb-editor-options/values.openapiv3_schema.yaml b/charts/kubedbcom-mongodb-editor-options/values.openapiv3_schema.yaml index 7e3f07c2c8..9eb2e623a9 100644 --- a/charts/kubedbcom-mongodb-editor-options/values.openapiv3_schema.yaml +++ b/charts/kubedbcom-mongodb-editor-options/values.openapiv3_schema.yaml @@ -31,6 +31,46 @@ properties: type: string rules: properties: + diskAlmostFull: + properties: + duration: + type: string + enabled: + type: boolean + severity: + enum: + - critical + - warning + - info + type: string + val: + type: integer + required: + - duration + - enabled + - severity + - val + type: object + diskUsageHigh: + properties: + duration: + type: string + enabled: + type: boolean + severity: + enum: + - critical + - warning + - info + type: string + val: + type: integer + required: + - duration + - enabled + - severity + - val + type: object mongoDBDown: properties: duration: @@ -246,6 +286,8 @@ properties: - val type: object required: + - diskAlmostFull + - diskUsageHigh - mongoDBDown - mongoDBPhaseCritical - mongodbCursorsTimeouts @@ -262,6 +304,161 @@ properties: - enabled - rules type: object + kubeStash: + properties: + enabled: + enum: + - none + - critical + - warning + - info + type: string + rules: + properties: + backupSessionFailed: + properties: + duration: + type: string + enabled: + type: boolean + severity: + enum: + - critical + - warning + - info + type: string + required: + - duration + - enabled + - severity + type: object + backupSessionPeriodTooLong: + properties: + duration: + type: string + enabled: + type: boolean + severity: + enum: + - critical + - warning + - info + type: string + val: + type: integer + required: + - duration + - enabled + - severity + - val + type: object + noBackupSessionForTooLong: + properties: + duration: + type: string + enabled: + type: boolean + severity: + enum: + - critical + - warning + - info + type: string + val: + type: integer + required: + - duration + - enabled + - severity + - val + type: object + repositoryCorrupted: + properties: + duration: + type: string + enabled: + type: boolean + severity: + enum: + - critical + - warning + - info + type: string + required: + - duration + - enabled + - severity + type: object + repositoryStorageRunningLow: + properties: + duration: + type: string + enabled: + type: boolean + severity: + enum: + - critical + - warning + - info + type: string + val: + type: integer + required: + - duration + - enabled + - severity + - val + type: object + restoreSessionFailed: + properties: + duration: + type: string + enabled: + type: boolean + severity: + enum: + - critical + - warning + - info + type: string + required: + - duration + - enabled + - severity + type: object + restoreSessionPeriodTooLong: + properties: + duration: + type: string + enabled: + type: boolean + severity: + enum: + - critical + - warning + - info + type: string + val: + type: integer + required: + - duration + - enabled + - severity + - val + type: object + required: + - backupSessionFailed + - backupSessionPeriodTooLong + - noBackupSessionForTooLong + - repositoryCorrupted + - repositoryStorageRunningLow + - restoreSessionFailed + - restoreSessionPeriodTooLong + type: object + required: + - enabled + - rules + type: object opsManager: properties: enabled: @@ -650,6 +847,7 @@ properties: type: object required: - database + - kubeStash - opsManager - provisioner - schemaManager diff --git a/charts/kubedbcom-mssqlserver-editor-options/values.openapiv3_schema.yaml b/charts/kubedbcom-mssqlserver-editor-options/values.openapiv3_schema.yaml index 7e3f07c2c8..000cd5175d 100644 --- a/charts/kubedbcom-mssqlserver-editor-options/values.openapiv3_schema.yaml +++ b/charts/kubedbcom-mssqlserver-editor-options/values.openapiv3_schema.yaml @@ -1,670 +1,8 @@ properties: form: properties: - alert: - properties: - additionalRuleLabels: - additionalProperties: - type: string - type: object - annotations: - additionalProperties: - type: string - type: object - enabled: - enum: - - none - - critical - - warning - - info - type: string - groups: - properties: - database: - properties: - enabled: - enum: - - none - - critical - - warning - - info - type: string - rules: - properties: - mongoDBDown: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - mongoDBPhaseCritical: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - mongodbCursorsTimeouts: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object - mongodbHighLatency: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object - mongodbHighTicketUtilization: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object - mongodbNumberCursorsOpen: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object - mongodbRecurrentCursorTimeout: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object - mongodbRecurrentMemoryPageFaults: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object - mongodbReplicationLag: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object - mongodbTooManyConnections: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object - mongodbVirtualMemoryUsage: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object - required: - - mongoDBDown - - mongoDBPhaseCritical - - mongodbCursorsTimeouts - - mongodbHighLatency - - mongodbHighTicketUtilization - - mongodbNumberCursorsOpen - - mongodbRecurrentCursorTimeout - - mongodbRecurrentMemoryPageFaults - - mongodbReplicationLag - - mongodbTooManyConnections - - mongodbVirtualMemoryUsage - type: object - required: - - enabled - - rules - type: object - opsManager: - properties: - enabled: - enum: - - none - - critical - - warning - - info - type: string - rules: - properties: - opsRequestFailed: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - opsRequestOnProgress: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - opsRequestStatusProgressingToLong: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - required: - - opsRequestFailed - - opsRequestOnProgress - - opsRequestStatusProgressingToLong - type: object - required: - - enabled - - rules - type: object - provisioner: - properties: - enabled: - enum: - - none - - critical - - warning - - info - type: string - rules: - properties: - appPhaseCritical: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - appPhaseNotReady: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - required: - - appPhaseCritical - - appPhaseNotReady - type: object - required: - - enabled - - rules - type: object - schemaManager: - properties: - enabled: - enum: - - none - - critical - - warning - - info - type: string - rules: - properties: - schemaExpired: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - schemaFailed: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - schemaInProgressForTooLong: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - schemaPendingForTooLong: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - schemaTerminatingForTooLong: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - required: - - schemaExpired - - schemaFailed - - schemaInProgressForTooLong - - schemaPendingForTooLong - - schemaTerminatingForTooLong - type: object - required: - - enabled - - rules - type: object - stash: - properties: - enabled: - enum: - - none - - critical - - warning - - info - type: string - rules: - properties: - backupSessionFailed: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - backupSessionPeriodTooLong: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object - noBackupSessionForTooLong: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object - repositoryCorrupted: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - repositoryStorageRunningLow: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object - restoreSessionFailed: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - restoreSessionPeriodTooLong: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object - required: - - backupSessionFailed - - backupSessionPeriodTooLong - - noBackupSessionForTooLong - - repositoryCorrupted - - repositoryStorageRunningLow - - restoreSessionFailed - - restoreSessionPeriodTooLong - type: object - required: - - enabled - - rules - type: object - required: - - database - - opsManager - - provisioner - - schemaManager - - stash - type: object - labels: - additionalProperties: - type: string - type: object - required: - - enabled - - groups - - labels - type: object capi: + description: Alert alerts.MssqlserverAlert `json:"alert"` properties: clusterName: type: string @@ -695,7 +33,6 @@ properties: - zones type: object required: - - alert - capi type: object metadata: diff --git a/charts/kubedbcom-mysql-editor-options/values.openapiv3_schema.yaml b/charts/kubedbcom-mysql-editor-options/values.openapiv3_schema.yaml index 3056cdb784..d0d62b3118 100644 --- a/charts/kubedbcom-mysql-editor-options/values.openapiv3_schema.yaml +++ b/charts/kubedbcom-mysql-editor-options/values.openapiv3_schema.yaml @@ -31,6 +31,46 @@ properties: type: string rules: properties: + diskAlmostFull: + properties: + duration: + type: string + enabled: + type: boolean + severity: + enum: + - critical + - warning + - info + type: string + val: + type: integer + required: + - duration + - enabled + - severity + - val + type: object + diskUsageHigh: + properties: + duration: + type: string + enabled: + type: boolean + severity: + enum: + - critical + - warning + - info + type: string + val: + type: integer + required: + - duration + - enabled + - severity + - val + type: object mysqlHighIncomingBytes: properties: duration: @@ -243,6 +283,8 @@ properties: - val type: object required: + - diskAlmostFull + - diskUsageHigh - mysqlHighIncomingBytes - mysqlHighOutgoingBytes - mysqlHighQPS @@ -364,6 +406,161 @@ properties: - enabled - rules type: object + kubeStash: + properties: + enabled: + enum: + - none + - critical + - warning + - info + type: string + rules: + properties: + backupSessionFailed: + properties: + duration: + type: string + enabled: + type: boolean + severity: + enum: + - critical + - warning + - info + type: string + required: + - duration + - enabled + - severity + type: object + backupSessionPeriodTooLong: + properties: + duration: + type: string + enabled: + type: boolean + severity: + enum: + - critical + - warning + - info + type: string + val: + type: integer + required: + - duration + - enabled + - severity + - val + type: object + noBackupSessionForTooLong: + properties: + duration: + type: string + enabled: + type: boolean + severity: + enum: + - critical + - warning + - info + type: string + val: + type: integer + required: + - duration + - enabled + - severity + - val + type: object + repositoryCorrupted: + properties: + duration: + type: string + enabled: + type: boolean + severity: + enum: + - critical + - warning + - info + type: string + required: + - duration + - enabled + - severity + type: object + repositoryStorageRunningLow: + properties: + duration: + type: string + enabled: + type: boolean + severity: + enum: + - critical + - warning + - info + type: string + val: + type: integer + required: + - duration + - enabled + - severity + - val + type: object + restoreSessionFailed: + properties: + duration: + type: string + enabled: + type: boolean + severity: + enum: + - critical + - warning + - info + type: string + required: + - duration + - enabled + - severity + type: object + restoreSessionPeriodTooLong: + properties: + duration: + type: string + enabled: + type: boolean + severity: + enum: + - critical + - warning + - info + type: string + val: + type: integer + required: + - duration + - enabled + - severity + - val + type: object + required: + - backupSessionFailed + - backupSessionPeriodTooLong + - noBackupSessionForTooLong + - repositoryCorrupted + - repositoryStorageRunningLow + - restoreSessionFailed + - restoreSessionPeriodTooLong + type: object + required: + - enabled + - rules + type: object opsManager: properties: enabled: @@ -753,6 +950,7 @@ properties: required: - database - group + - kubeStash - opsManager - provisioner - schemaManager diff --git a/charts/kubedbcom-pgbouncer-editor-options/values.openapiv3_schema.yaml b/charts/kubedbcom-pgbouncer-editor-options/values.openapiv3_schema.yaml index 5325cd0e98..e084cfffed 100644 --- a/charts/kubedbcom-pgbouncer-editor-options/values.openapiv3_schema.yaml +++ b/charts/kubedbcom-pgbouncer-editor-options/values.openapiv3_schema.yaml @@ -86,6 +86,12 @@ properties: - name - namespace type: object + syncUsers: + description: SyncUsers is a boolean type and when enabled, operator + fetches users of backend server from externally managed secrets to + the PgBouncer server. Secrets updation or deletion are also synced + in pgBouncer when it is enabled. + type: boolean required: - alias - databaseName diff --git a/charts/kubedbcom-pgpool-editor-options/values.openapiv3_schema.yaml b/charts/kubedbcom-pgpool-editor-options/values.openapiv3_schema.yaml index 7e3f07c2c8..233db13754 100644 --- a/charts/kubedbcom-pgpool-editor-options/values.openapiv3_schema.yaml +++ b/charts/kubedbcom-pgpool-editor-options/values.openapiv3_schema.yaml @@ -3,666 +3,397 @@ properties: properties: alert: properties: - additionalRuleLabels: - additionalProperties: - type: string - type: object - annotations: - additionalProperties: - type: string - type: object - enabled: - enum: - - none - - critical - - warning - - info + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' type: string - groups: + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: PgpoolAlertsSpec is the schema for kubedb-autoscaler chart + values file properties: - database: + form: properties: - enabled: - enum: - - none - - critical - - warning - - info - type: string - rules: + alert: properties: - mongoDBDown: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - mongoDBPhaseCritical: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - mongodbCursorsTimeouts: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object - mongodbHighLatency: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object - mongodbHighTicketUtilization: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object - mongodbNumberCursorsOpen: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object - mongodbRecurrentCursorTimeout: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object - mongodbRecurrentMemoryPageFaults: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val + additionalRuleLabels: + additionalProperties: + type: string type: object - mongodbReplicationLag: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val + annotations: + additionalProperties: + type: string type: object - mongodbTooManyConnections: + enabled: + enum: + - none + - critical + - warning + - info + type: string + groups: properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer + database: + properties: + enabled: + enum: + - none + - critical + - warning + - info + type: string + rules: + properties: + diskAlmostFull: + properties: + duration: + type: string + enabled: + type: boolean + severity: + enum: + - critical + - warning + - info + type: string + val: + type: integer + required: + - duration + - enabled + - severity + - val + type: object + diskUsageHigh: + properties: + duration: + type: string + enabled: + type: boolean + severity: + enum: + - critical + - warning + - info + type: string + val: + type: integer + required: + - duration + - enabled + - severity + - val + type: object + pgpoolBackendErrorMessageCount: + properties: + duration: + type: string + enabled: + type: boolean + severity: + enum: + - critical + - warning + - info + type: string + val: + type: integer + required: + - duration + - enabled + - severity + - val + type: object + pgpoolBackendFatalMessageCount: + properties: + duration: + type: string + enabled: + type: boolean + severity: + enum: + - critical + - warning + - info + type: string + val: + type: integer + required: + - duration + - enabled + - severity + - val + type: object + pgpoolBackendPanicMessageCount: + properties: + duration: + type: string + enabled: + type: boolean + severity: + enum: + - critical + - warning + - info + type: string + val: + type: integer + required: + - duration + - enabled + - severity + - val + type: object + pgpoolDown: + properties: + duration: + type: string + enabled: + type: boolean + severity: + enum: + - critical + - warning + - info + type: string + required: + - duration + - enabled + - severity + type: object + pgpoolExporterLastScrapeError: + properties: + duration: + type: string + enabled: + type: boolean + severity: + enum: + - critical + - warning + - info + type: string + required: + - duration + - enabled + - severity + type: object + pgpoolLowCacheMemory: + properties: + duration: + type: string + enabled: + type: boolean + severity: + enum: + - critical + - warning + - info + type: string + val: + format: double + type: number + required: + - duration + - enabled + - severity + - val + type: object + pgpoolPostgresHealthCheckFailure: + properties: + duration: + type: string + enabled: + type: boolean + severity: + enum: + - critical + - warning + - info + type: string + val: + type: integer + required: + - duration + - enabled + - severity + - val + type: object + pgpoolTooManyConnections: + properties: + duration: + type: string + enabled: + type: boolean + severity: + enum: + - critical + - warning + - info + type: string + val: + format: double + type: number + required: + - duration + - enabled + - severity + - val + type: object + required: + - diskAlmostFull + - diskUsageHigh + - pgpoolBackendErrorMessageCount + - pgpoolBackendFatalMessageCount + - pgpoolBackendPanicMessageCount + - pgpoolDown + - pgpoolExporterLastScrapeError + - pgpoolLowCacheMemory + - pgpoolPostgresHealthCheckFailure + - pgpoolTooManyConnections + type: object + required: + - enabled + - rules + type: object + provisioner: + properties: + enabled: + enum: + - none + - critical + - warning + - info + type: string + rules: + properties: + appPhaseCritical: + properties: + duration: + type: string + enabled: + type: boolean + severity: + enum: + - critical + - warning + - info + type: string + required: + - duration + - enabled + - severity + type: object + appPhaseNotReady: + properties: + duration: + type: string + enabled: + type: boolean + severity: + enum: + - critical + - warning + - info + type: string + required: + - duration + - enabled + - severity + type: object + required: + - appPhaseCritical + - appPhaseNotReady + type: object + required: + - enabled + - rules + type: object required: - - duration - - enabled - - severity - - val + - database + - provisioner type: object - mongodbVirtualMemoryUsage: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val + labels: + additionalProperties: + type: string type: object required: - - mongoDBDown - - mongoDBPhaseCritical - - mongodbCursorsTimeouts - - mongodbHighLatency - - mongodbHighTicketUtilization - - mongodbNumberCursorsOpen - - mongodbRecurrentCursorTimeout - - mongodbRecurrentMemoryPageFaults - - mongodbReplicationLag - - mongodbTooManyConnections - - mongodbVirtualMemoryUsage + - enabled + - groups + - labels type: object required: - - enabled - - rules + - alert type: object - opsManager: + grafana: properties: - enabled: - enum: - - none - - critical - - warning - - info + apikey: type: string - rules: - properties: - opsRequestFailed: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - opsRequestOnProgress: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - opsRequestStatusProgressingToLong: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - required: - - opsRequestFailed - - opsRequestOnProgress - - opsRequestStatusProgressingToLong - type: object - required: - - enabled - - rules - type: object - provisioner: - properties: enabled: - enum: - - none - - critical - - warning - - info + type: boolean + jobName: + type: string + url: + type: string + version: type: string - rules: - properties: - appPhaseCritical: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - appPhaseNotReady: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - required: - - appPhaseCritical - - appPhaseNotReady - type: object required: + - apikey - enabled - - rules + - jobName + - url + - version type: object - schemaManager: + metadata: properties: - enabled: - enum: - - none - - critical - - warning - - info - type: string - rules: + release: properties: - schemaExpired: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - schemaFailed: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - schemaInProgressForTooLong: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - schemaPendingForTooLong: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - schemaTerminatingForTooLong: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object + name: + type: string + namespace: + type: string required: - - schemaExpired - - schemaFailed - - schemaInProgressForTooLong - - schemaPendingForTooLong - - schemaTerminatingForTooLong + - name + - namespace type: object - required: - - enabled - - rules - type: object - stash: - properties: - enabled: - enum: - - none - - critical - - warning - - info - type: string - rules: + resource: + description: ResourceID identifies a resource properties: - backupSessionFailed: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - backupSessionPeriodTooLong: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object - noBackupSessionForTooLong: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object - repositoryCorrupted: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - repositoryStorageRunningLow: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object - restoreSessionFailed: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - restoreSessionPeriodTooLong: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object + group: + type: string + kind: + description: Kind is the serialized kind of the resource. It + is normally CamelCase and singular. + type: string + name: + description: 'Name is the plural name of the resource to serve. It + must match the name of the CustomResourceDefinition-registration + too: plural.group and it must be all lowercase.' + type: string + scope: + description: ResourceScope is an enum defining the different + scopes available to a custom resource + type: string + version: + type: string required: - - backupSessionFailed - - backupSessionPeriodTooLong - - noBackupSessionForTooLong - - repositoryCorrupted - - repositoryStorageRunningLow - - restoreSessionFailed - - restoreSessionPeriodTooLong + - group type: object required: - - enabled - - rules + - release + - resource type: object required: - - database - - opsManager - - provisioner - - schemaManager - - stash - type: object - labels: - additionalProperties: - type: string + - form + - grafana type: object - required: - - enabled - - groups - - labels type: object capi: properties: diff --git a/charts/kubedbcom-postgres-editor-options/values.openapiv3_schema.yaml b/charts/kubedbcom-postgres-editor-options/values.openapiv3_schema.yaml index e40cc3516f..3eaab5fa5b 100644 --- a/charts/kubedbcom-postgres-editor-options/values.openapiv3_schema.yaml +++ b/charts/kubedbcom-postgres-editor-options/values.openapiv3_schema.yaml @@ -31,6 +31,46 @@ properties: type: string rules: properties: + diskAlmostFull: + properties: + duration: + type: string + enabled: + type: boolean + severity: + enum: + - critical + - warning + - info + type: string + val: + type: integer + required: + - duration + - enabled + - severity + - val + type: object + diskUsageHigh: + properties: + duration: + type: string + enabled: + type: boolean + severity: + enum: + - critical + - warning + - info + type: string + val: + type: integer + required: + - duration + - enabled + - severity + - val + type: object postgresExporterError: properties: duration: @@ -222,6 +262,8 @@ properties: - val type: object required: + - diskAlmostFull + - diskUsageHigh - postgresExporterError - postgresHighRollbackRate - postgresInstanceDown @@ -237,6 +279,161 @@ properties: - enabled - rules type: object + kubeStash: + properties: + enabled: + enum: + - none + - critical + - warning + - info + type: string + rules: + properties: + backupSessionFailed: + properties: + duration: + type: string + enabled: + type: boolean + severity: + enum: + - critical + - warning + - info + type: string + required: + - duration + - enabled + - severity + type: object + backupSessionPeriodTooLong: + properties: + duration: + type: string + enabled: + type: boolean + severity: + enum: + - critical + - warning + - info + type: string + val: + type: integer + required: + - duration + - enabled + - severity + - val + type: object + noBackupSessionForTooLong: + properties: + duration: + type: string + enabled: + type: boolean + severity: + enum: + - critical + - warning + - info + type: string + val: + type: integer + required: + - duration + - enabled + - severity + - val + type: object + repositoryCorrupted: + properties: + duration: + type: string + enabled: + type: boolean + severity: + enum: + - critical + - warning + - info + type: string + required: + - duration + - enabled + - severity + type: object + repositoryStorageRunningLow: + properties: + duration: + type: string + enabled: + type: boolean + severity: + enum: + - critical + - warning + - info + type: string + val: + type: integer + required: + - duration + - enabled + - severity + - val + type: object + restoreSessionFailed: + properties: + duration: + type: string + enabled: + type: boolean + severity: + enum: + - critical + - warning + - info + type: string + required: + - duration + - enabled + - severity + type: object + restoreSessionPeriodTooLong: + properties: + duration: + type: string + enabled: + type: boolean + severity: + enum: + - critical + - warning + - info + type: string + val: + type: integer + required: + - duration + - enabled + - severity + - val + type: object + required: + - backupSessionFailed + - backupSessionPeriodTooLong + - noBackupSessionForTooLong + - repositoryCorrupted + - repositoryStorageRunningLow + - restoreSessionFailed + - restoreSessionPeriodTooLong + type: object + required: + - enabled + - rules + type: object opsManager: properties: enabled: @@ -625,6 +822,7 @@ properties: type: object required: - database + - kubeStash - opsManager - provisioner - schemaManager diff --git a/charts/kubedbcom-proxysql-editor-options/values.openapiv3_schema.yaml b/charts/kubedbcom-proxysql-editor-options/values.openapiv3_schema.yaml index dedd510101..eab97bd7e0 100644 --- a/charts/kubedbcom-proxysql-editor-options/values.openapiv3_schema.yaml +++ b/charts/kubedbcom-proxysql-editor-options/values.openapiv3_schema.yaml @@ -70,6 +70,46 @@ properties: type: string rules: properties: + diskAlmostFull: + properties: + duration: + type: string + enabled: + type: boolean + severity: + enum: + - critical + - warning + - info + type: string + val: + type: integer + required: + - duration + - enabled + - severity + - val + type: object + diskUsageHigh: + properties: + duration: + type: string + enabled: + type: boolean + severity: + enum: + - critical + - warning + - info + type: string + val: + type: integer + required: + - duration + - enabled + - severity + - val + type: object proxysqlHighIncomingBytes: properties: duration: @@ -242,6 +282,8 @@ properties: - val type: object required: + - diskAlmostFull + - diskUsageHigh - proxysqlHighIncomingBytes - proxysqlHighOutgoingBytes - proxysqlHighQPS diff --git a/charts/kubedbcom-rabbitmq-editor-options/README.md b/charts/kubedbcom-rabbitmq-editor-options/README.md index bb478e1c8c..6fb201bc15 100644 --- a/charts/kubedbcom-rabbitmq-editor-options/README.md +++ b/charts/kubedbcom-rabbitmq-editor-options/README.md @@ -45,140 +45,86 @@ The command removes all the Kubernetes components associated with the chart and The following table lists the configurable parameters of the `kubedbcom-rabbitmq-editor-options` chart and their default values. -| Parameter | Description | Default | -|--------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------| -| metadata.resource.group | | kubedb.com | -| metadata.resource.kind | | RabbitMQ | -| metadata.resource.name | | rabbitmqs | -| metadata.resource.scope | | Namespaced | -| metadata.resource.version | | v1alpha2 | -| metadata.release.name | Release name | "" | -| metadata.release.namespace | Release namespace | "" | -| spec.version | List options | 6.0.12 | -| spec.annotations | Annotations to add to the database custom resource | {} | -| spec.labels | Labels to add to all the template objects | {} | -| spec.mode | Standalone, Replicaset, Sharded | Standalone | -| spec.replicaSet.name | | rs0 | -| spec.replicaSet.replicas | | 3 | -| spec.shardTopology.shard.replicas | | 3 | -| spec.shardTopology.shard.shards | | 3 | -| spec.shardTopology.shard.persistence.size | | 10Gi | -| spec.shardTopology.configServer.replicas | | 3 | -| spec.shardTopology.configServer.persistence.size | | 2Gi | -| spec.shardTopology.mongos.replicas | | 3 | -| spec.clusterAuthMode | "keyFile", "sendKeyFile", "sendX509", "x509" | keyFile | -| spec.sslMode | "disabled", "allowSSL", "preferSSL", "requireSSL" | disabled | -| spec.terminationPolicy | | WipeOut | -| spec.storageClass.name | | standard | -| spec.persistence.size | | 10Gi | -| spec.machine | | "" | -| spec.resources.limits.cpu | | 500m | -| spec.resources.limits.memory | | 1Gi | -| spec.authSecret.name | | "" | -| spec.authSecret.password | | "" | -| spec.monitoring.agent | Name of monitoring agent (one of "prometheus.io", "prometheus.io/operator", "prometheus.io/builtin") | prometheus.io/operator | -| spec.monitoring.exporter.resources | | {"requests":{"cpu":"100m","memory":"128Mi"}} | -| spec.monitoring.serviceMonitor.labels | Specify the labels for ServiceMonitor. Prometheus crd will select ServiceMonitor using these labels. Only usable when monitoring agent is `prometheus.io/webhook server`. | {} | -| spec.backup.tool | | "" | -| spec.backup.kubestash.schedule | | "0 */2 * * *" | -| spec.backup.kubestash.storageRef.name | | default | -| spec.backup.kubestash.storageRef.namespace | | "" | -| spec.backup.kubestash.retentionPolicy.name | | "keep-1mo" | -| spec.backup.kubestash.retentionPolicy.namespace | | "" | -| spec.backup.kubestash.encryptionSecret.name | | default-encryption-secret | -| spec.backup.kubestash.encryptionSecret.namespace | | "" | -| spec.backup.kubestash.storageSecret.create | | true | -| spec.backup.stash.schedule | | "0 */2 * * *" | -| spec.backup.stash.retentionPolicy.name | | keep-last-30d | -| spec.backup.stash.retentionPolicy.keepHourly | | 24 | -| spec.backup.stash.retentionPolicy.keepDaily | | 30 | -| spec.backup.stash.retentionPolicy.prune | | true | -| spec.backup.stash.authSecret.name | | "" | -| spec.backup.stash.authSecret.password | | "" | -| spec.backup.stash.backend.provider | | "" # s3,gcs,azure,swift,b2 | -| spec.backup.stash.backend.s3.spec.endpoint | | "" | -| spec.backup.stash.backend.s3.spec.bucket | | "" | -| spec.backup.stash.backend.s3.auth.AWS_ACCESS_KEY_ID | | "" | -| spec.backup.stash.backend.s3.auth.AWS_SECRET_ACCESS_KEY | | "" | -| spec.backup.stash.backend.s3.auth.CA_CERT_DATA | | "" | -| spec.backup.stash.backend.azure.spec.container | | "" | -| spec.backup.stash.backend.azure.auth.AZURE_ACCOUNT_NAME | | "" | -| spec.backup.stash.backend.azure.auth.AZURE_ACCOUNT_KEY | | "" | -| spec.backup.stash.backend.gcs.spec.bucket | | "" | -| spec.backup.stash.backend.gcs.auth.GOOGLE_PROJECT_ID | | "" | -| spec.backup.stash.backend.gcs.auth.GOOGLE_SERVICE_ACCOUNT_JSON_KEY | | "" | -| spec.backup.stash.backend.swift.spec.container | | "" | -| spec.backup.stash.backend.swift.auth.OS_USERNAME | | "" | -| spec.backup.stash.backend.swift.auth.OS_PASSWORD | | "" | -| spec.backup.stash.backend.swift.auth.OS_REGION_NAME | | "" | -| spec.backup.stash.backend.swift.auth.OS_AUTH_URL | | "" | -| spec.backup.stash.backend.swift.auth.OS_USER_DOMAIN_NAME | | "" | -| spec.backup.stash.backend.swift.auth.OS_PROJECT_NAME | | "" | -| spec.backup.stash.backend.swift.auth.OS_PROJECT_DOMAIN_NAME | | "" | -| spec.backup.stash.backend.swift.auth.OS_TENANT_ID | | "" | -| spec.backup.stash.backend.swift.auth.OS_TENANT_NAME | | "" | -| spec.backup.stash.backend.swift.auth.ST_AUTH | | "" | -| spec.backup.stash.backend.swift.auth.ST_USER | | "" | -| spec.backup.stash.backend.swift.auth.ST_KEY | | "" | -| spec.backup.stash.backend.swift.auth.OS_STORAGE_URL | | "" | -| spec.backup.stash.backend.swift.auth.OS_AUTH_TOKEN | | "" | -| spec.backup.stash.backend.b2.spec.bucket | | "" | -| spec.backup.stash.backend.b2.auth.B2_ACCOUNT_ID | | "" | -| spec.backup.stash.backend.b2.auth.B2_ACCOUNT_KEY | | "" | -| form.alert.enabled | # Enable PrometheusRule alerts | warning | -| form.alert.labels | # Labels for default rules | {"release":"kube-prometheus-stack"} | -| form.alert.annotations | # Annotations for default rules | {} | -| form.alert.additionalRuleLabels | # Additional labels for PrometheusRule alerts | {} | -| form.alert.groups.database.enabled | | warning | -| form.alert.groups.database.rules.rabbitmqPhaseCritical.enabled | | true | -| form.alert.groups.database.rules.rabbitmqPhaseCritical.duration | | "3m" | -| form.alert.groups.database.rules.rabbitmqPhaseCritical.severity | | warning | -| form.alert.groups.database.rules.rabbitmqDown.enabled | | true | -| form.alert.groups.database.rules.rabbitmqDown.duration | | "30s" | -| form.alert.groups.database.rules.rabbitmqDown.severity | | critical | -| form.alert.groups.database.rules.rabbitmqFileDescriptorsNearLimit.enabled | | true | -| form.alert.groups.database.rules.rabbitmqFileDescriptorsNearLimit.duration | | "30s" | -| form.alert.groups.database.rules.rabbitmqFileDescriptorsNearLimit.severity | | warning | -| form.alert.groups.database.rules.rabbitmqHighConnectionChurn.enabled | | true | -| form.alert.groups.database.rules.rabbitmqHighConnectionChurn.duration | | "30s" | -| form.alert.groups.database.rules.rabbitmqHighConnectionChurn.severity | | warning | -| form.alert.groups.database.rules.rabbitmqInsufficientEstablishedErlangDistributionLinks.enabled | | true | -| form.alert.groups.database.rules.rabbitmqInsufficientEstablishedErlangDistributionLinks.duration | | "30s" | -| form.alert.groups.database.rules.rabbitmqInsufficientEstablishedErlangDistributionLinks.severity | | warning | -| form.alert.groups.database.rules.rabbitmqLowDiskWatermarkPredicted.enabled | | true | -| form.alert.groups.database.rules.rabbitmqLowDiskWatermarkPredicted.duration | | "30s" | -| form.alert.groups.database.rules.rabbitmqLowDiskWatermarkPredicted.severity | | warning | -| form.alert.groups.database.rules.rabbitmqUnroutableMessages.enabled | | true | -| form.alert.groups.database.rules.rabbitmqUnroutableMessages.duration | | "30s" | -| form.alert.groups.database.rules.rabbitmqUnroutableMessages.severity | | warning | -| form.alert.groups.database.rules.rabbitmqTCPSocketsNearLimit.enabled | | true | -| form.alert.groups.database.rules.rabbitmqTCPSocketsNearLimit.duration | | "30s" | -| form.alert.groups.database.rules.rabbitmqTCPSocketsNearLimit.severity | | warning | -| form.alert.groups.database.rules.rabbitmqQueueIsGrowing.enabled | | true | -| form.alert.groups.database.rules.rabbitmqQueueIsGrowing.duration | | "30s" | -| form.alert.groups.database.rules.rabbitmqQueueIsGrowing.severity | | warning | -| form.alert.groups.database.rules.diskUsageHigh.enabled | | true | -| form.alert.groups.database.rules.diskUsageHigh.val | | 80 | -| form.alert.groups.database.rules.diskUsageHigh.duration | | "1m" | -| form.alert.groups.database.rules.diskUsageHigh.severity | | warning | -| form.alert.groups.database.rules.diskAlmostFull.enabled | | true | -| form.alert.groups.database.rules.diskAlmostFull.val | | 95 | -| form.alert.groups.database.rules.diskAlmostFull.duration | | "1m" | -| form.alert.groups.database.rules.diskAlmostFull.severity | | critical | -| form.alert.groups.provisioner.enabled | | warning | -| form.alert.groups.provisioner.rules.appPhaseNotReady.enabled | | true | -| form.alert.groups.provisioner.rules.appPhaseNotReady.duration | | "1m" | -| form.alert.groups.provisioner.rules.appPhaseNotReady.severity | | critical | -| form.alert.groups.provisioner.rules.appPhaseCritical.enabled | | true | -| form.alert.groups.provisioner.rules.appPhaseCritical.duration | | "15m" | -| form.alert.groups.provisioner.rules.appPhaseCritical.severity | | warning | -| form.capi.provider | | "" | -| form.capi.namespace | | "" | -| form.capi.clusterName | | "" | -| form.capi.dedicated | | false | -| form.capi.nodes | | 1 | -| form.capi.sku | | "" | -| form.capi.zones | | [] | +| Parameter | Description | Default | +|--------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------| +| metadata.resource.group | | kubedb.com | +| metadata.resource.kind | | RabbitMQ | +| metadata.resource.name | | rabbitmqs | +| metadata.resource.scope | | Namespaced | +| metadata.resource.version | | v1alpha2 | +| metadata.release.name | Release name | "" | +| metadata.release.namespace | Release namespace | "" | +| spec.version | List options | "3.12.12" | +| spec.annotations | Annotations to add to the database custom resource | {} | +| spec.labels | Labels to add to all the template objects | {} | +| spec.mode | Standalone, Cluster | Standalone | +| spec.replicas | | 1 | +| spec.terminationPolicy | | WipeOut | +| spec.storageClass.name | | standard | +| spec.persistence.size | | 10Gi | +| spec.machine | | "" | +| spec.resources.requests.cpu | | 500m | +| spec.resources.requests.memory | | 1Gi | +| spec.resources.limits.cpu | | 500m | +| spec.resources.limits.memory | | 1Gi | +| spec.authSecret.name | | "" | +| spec.authSecret.password | | "" | +| spec.monitoring.agent | Name of monitoring agent (one of "prometheus.io", "prometheus.io/operator", "prometheus.io/builtin") | prometheus.io/operator | +| spec.monitoring.serviceMonitor.labels | Specify the labels for ServiceMonitor. Prometheus crd will select ServiceMonitor using these labels. Only usable when monitoring agent is `prometheus.io/webhook server`. | {} | +| form.alert.enabled | # Enable PrometheusRule alerts | warning | +| form.alert.labels | # Labels for default rules | {"release":"kube-prometheus-stack"} | +| form.alert.annotations | # Annotations for default rules | {} | +| form.alert.additionalRuleLabels | # Additional labels for PrometheusRule alerts | {} | +| form.alert.groups.database.enabled | | warning | +| form.alert.groups.database.rules.rabbitmqPhaseCritical.enabled | | true | +| form.alert.groups.database.rules.rabbitmqPhaseCritical.duration | | "3m" | +| form.alert.groups.database.rules.rabbitmqPhaseCritical.severity | | warning | +| form.alert.groups.database.rules.rabbitmqDown.enabled | | true | +| form.alert.groups.database.rules.rabbitmqDown.duration | | "30s" | +| form.alert.groups.database.rules.rabbitmqDown.severity | | critical | +| form.alert.groups.database.rules.rabbitmqFileDescriptorsNearLimit.enabled | | true | +| form.alert.groups.database.rules.rabbitmqFileDescriptorsNearLimit.duration | | "30s" | +| form.alert.groups.database.rules.rabbitmqFileDescriptorsNearLimit.severity | | warning | +| form.alert.groups.database.rules.rabbitmqHighConnectionChurn.enabled | | true | +| form.alert.groups.database.rules.rabbitmqHighConnectionChurn.duration | | "30s" | +| form.alert.groups.database.rules.rabbitmqHighConnectionChurn.severity | | warning | +| form.alert.groups.database.rules.rabbitmqInsufficientEstablishedErlangDistributionLinks.enabled | | true | +| form.alert.groups.database.rules.rabbitmqInsufficientEstablishedErlangDistributionLinks.duration | | "30s" | +| form.alert.groups.database.rules.rabbitmqInsufficientEstablishedErlangDistributionLinks.severity | | warning | +| form.alert.groups.database.rules.rabbitmqLowDiskWatermarkPredicted.enabled | | true | +| form.alert.groups.database.rules.rabbitmqLowDiskWatermarkPredicted.duration | | "30s" | +| form.alert.groups.database.rules.rabbitmqLowDiskWatermarkPredicted.severity | | warning | +| form.alert.groups.database.rules.rabbitmqUnroutableMessages.enabled | | true | +| form.alert.groups.database.rules.rabbitmqUnroutableMessages.duration | | "30s" | +| form.alert.groups.database.rules.rabbitmqUnroutableMessages.severity | | warning | +| form.alert.groups.database.rules.rabbitmqTCPSocketsNearLimit.enabled | | true | +| form.alert.groups.database.rules.rabbitmqTCPSocketsNearLimit.duration | | "30s" | +| form.alert.groups.database.rules.rabbitmqTCPSocketsNearLimit.severity | | warning | +| form.alert.groups.database.rules.rabbitmqQueueIsGrowing.enabled | | true | +| form.alert.groups.database.rules.rabbitmqQueueIsGrowing.duration | | "30s" | +| form.alert.groups.database.rules.rabbitmqQueueIsGrowing.severity | | warning | +| form.alert.groups.database.rules.diskUsageHigh.enabled | | true | +| form.alert.groups.database.rules.diskUsageHigh.val | | 80 | +| form.alert.groups.database.rules.diskUsageHigh.duration | | "1m" | +| form.alert.groups.database.rules.diskUsageHigh.severity | | warning | +| form.alert.groups.database.rules.diskAlmostFull.enabled | | true | +| form.alert.groups.database.rules.diskAlmostFull.val | | 95 | +| form.alert.groups.database.rules.diskAlmostFull.duration | | "1m" | +| form.alert.groups.database.rules.diskAlmostFull.severity | | critical | +| form.alert.groups.provisioner.enabled | | warning | +| form.alert.groups.provisioner.rules.appPhaseNotReady.enabled | | true | +| form.alert.groups.provisioner.rules.appPhaseNotReady.duration | | "1m" | +| form.alert.groups.provisioner.rules.appPhaseNotReady.severity | | critical | +| form.alert.groups.provisioner.rules.appPhaseCritical.enabled | | true | +| form.alert.groups.provisioner.rules.appPhaseCritical.duration | | "15m" | +| form.alert.groups.provisioner.rules.appPhaseCritical.severity | | warning | +| form.capi.provider | | "" | +| form.capi.namespace | | "" | +| form.capi.clusterName | | "" | +| form.capi.dedicated | | false | +| form.capi.nodes | | 1 | +| form.capi.sku | | "" | +| form.capi.zones | | [] | Specify each parameter using the `--set key=value[,key=value]` argument to `helm upgrade -i`. For example: diff --git a/charts/kubedbcom-rabbitmq-editor-options/crds/kubedb.com_mongodbs.yaml b/charts/kubedbcom-rabbitmq-editor-options/crds/kubedb.com_mongodbs.yaml index 1765781305..404b64761e 100644 --- a/charts/kubedbcom-rabbitmq-editor-options/crds/kubedb.com_mongodbs.yaml +++ b/charts/kubedbcom-rabbitmq-editor-options/crds/kubedb.com_mongodbs.yaml @@ -8,6954 +8,3360 @@ metadata: spec: group: kubedb.com names: - categories: - - datastore - - kubedb - - appscode - - all kind: RabbitMQ listKind: RabbitMQList plural: rabbitmqs shortNames: - - mg + - rm singular: rabbitmq scope: Namespaced versions: - - additionalPrinterColumns: - - jsonPath: .spec.version - name: Version - type: string - - jsonPath: .status.phase - name: Status - type: string - - jsonPath: .metadata.creationTimestamp - name: Age - type: date - name: v1alpha2 - schema: - openAPIV3Schema: - properties: - apiVersion: - type: string - kind: - type: string - metadata: - properties: - name: - maxLength: 63 - pattern: ^[a-z]([-a-z0-9]*[a-z0-9])?$ - type: string - type: object - spec: - properties: - authSecret: - properties: - name: - type: string - type: object - clusterAuthMode: - enum: - - keyFile - - sendKeyFile - - sendX509 - - x509 - type: string - configSecret: - properties: - name: - type: string - type: object - coordinator: - properties: - resources: - properties: - limits: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - requests: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - type: object - securityContext: - properties: - allowPrivilegeEscalation: - type: boolean - capabilities: - properties: - add: - items: - type: string - type: array - drop: - items: - type: string - type: array - type: object - privileged: - type: boolean - procMount: - type: string - readOnlyRootFilesystem: - type: boolean - runAsGroup: - format: int64 - type: integer - runAsNonRoot: - type: boolean - runAsUser: - format: int64 - type: integer - seLinuxOptions: - properties: - level: - type: string - role: - type: string - type: - type: string - user: - type: string - type: object - seccompProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - windowsOptions: - properties: - gmsaCredentialSpec: - type: string - gmsaCredentialSpecName: - type: string - runAsUserName: - type: string - type: object - type: object - type: object - halted: - type: boolean - init: - properties: - initialized: - type: boolean - script: - properties: - awsElasticBlockStore: - properties: - fsType: - type: string - partition: - format: int32 - type: integer - readOnly: - type: boolean - volumeID: - type: string - required: - - volumeID - type: object - azureDisk: - properties: - cachingMode: - type: string - diskName: - type: string - diskURI: - type: string - fsType: - type: string - kind: - type: string - readOnly: - type: boolean - required: - - diskName - - diskURI - type: object - azureFile: - properties: - readOnly: - type: boolean - secretName: - type: string - shareName: - type: string - required: - - secretName - - shareName - type: object - cephfs: - properties: - monitors: - items: - type: string - type: array - path: - type: string - readOnly: - type: boolean - secretFile: - type: string - secretRef: - properties: - name: - type: string - type: object - user: - type: string - required: - - monitors - type: object - cinder: - properties: - fsType: - type: string - readOnly: - type: boolean - secretRef: - properties: - name: - type: string - type: object - volumeID: - type: string - required: - - volumeID - type: object - configMap: - properties: - defaultMode: - format: int32 - type: integer - items: - items: - properties: - key: - type: string - mode: - format: int32 - type: integer - path: - type: string - required: - - key - - path - type: object - type: array - name: - type: string - optional: - type: boolean - type: object - csi: - properties: - driver: - type: string - fsType: - type: string - nodePublishSecretRef: - properties: - name: + - additionalPrinterColumns: + - jsonPath: .apiVersion + name: Type + type: string + - jsonPath: .spec.version + name: Version + type: string + - jsonPath: .status.phase + name: Status + type: string + - jsonPath: .metadata.creationTimestamp + name: Age + type: date + name: v1alpha2 + schema: + openAPIV3Schema: + properties: + apiVersion: + type: string + kind: + type: string + metadata: + type: object + spec: + properties: + authSecret: + properties: + externallyManaged: + type: boolean + name: + type: string + type: object + x-kubernetes-map-type: atomic + configSecret: + properties: + name: + type: string + type: object + x-kubernetes-map-type: atomic + disableSecurity: + type: boolean + enableSSL: + type: boolean + halted: + type: boolean + healthChecker: + default: + failureThreshold: 3 + periodSeconds: 20 + timeoutSeconds: 10 + properties: + disableWriteCheck: + type: boolean + failureThreshold: + default: 1 + format: int32 + type: integer + periodSeconds: + default: 10 + format: int32 + type: integer + timeoutSeconds: + default: 10 + format: int32 + type: integer + type: object + monitor: + properties: + agent: + enum: + - prometheus.io/operator + - prometheus.io + - prometheus.io/builtin + type: string + prometheus: + properties: + exporter: + properties: + args: + items: type: string - type: object - readOnly: - type: boolean - volumeAttributes: - additionalProperties: - type: string - type: object - required: - - driver - type: object - downwardAPI: - properties: - defaultMode: - format: int32 - type: integer - items: - items: - properties: - fieldRef: - properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath - type: object - mode: - format: int32 - type: integer - path: - type: string - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - required: - - path - type: object - type: array - type: object - emptyDir: - properties: - medium: - type: string - sizeLimit: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - ephemeral: - properties: - volumeClaimTemplate: - properties: - metadata: + type: array + env: + items: properties: - annotations: - additionalProperties: - type: string - type: object - finalizers: - items: - type: string - type: array - labels: - additionalProperties: - type: string - type: object name: type: string - namespace: + value: type: string - type: object - spec: - properties: - accessModes: - items: - type: string - type: array - dataSource: - properties: - apiGroup: - type: string - kind: - type: string - name: - type: string - required: - - kind - - name - type: object - resources: + valueFrom: properties: - limits: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true + configMapKeyRef: + properties: + key: + type: string + name: + type: string + optional: + type: boolean + required: + - key type: object - requests: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true + x-kubernetes-map-type: atomic + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath type: object - type: object - selector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: + x-kubernetes-map-type: atomic + resourceFieldRef: + properties: + containerName: + type: string + divisor: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + secretKeyRef: + properties: + key: + type: string + name: + type: string + optional: + type: boolean + required: - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string type: object + x-kubernetes-map-type: atomic type: object - storageClassName: - type: string - volumeMode: - type: string - volumeName: - type: string + required: + - name type: object - required: - - spec - type: object - type: object - fc: - properties: - fsType: - type: string - lun: - format: int32 - type: integer - readOnly: - type: boolean - targetWWNs: - items: - type: string - type: array - wwids: - items: - type: string - type: array - type: object - flexVolume: - properties: - driver: - type: string - fsType: - type: string - options: - additionalProperties: - type: string - type: object - readOnly: - type: boolean - secretRef: - properties: - name: - type: string - type: object - required: - - driver - type: object - flocker: - properties: - datasetName: - type: string - datasetUUID: - type: string - type: object - gcePersistentDisk: - properties: - fsType: - type: string - partition: - format: int32 - type: integer - pdName: - type: string - readOnly: - type: boolean - required: - - pdName - type: object - gitRepo: - properties: - directory: - type: string - repository: - type: string - revision: - type: string - required: - - repository - type: object - glusterfs: - properties: - endpoints: - type: string - path: - type: string - readOnly: - type: boolean - required: - - endpoints - - path - type: object - hostPath: - properties: - path: - type: string - type: - type: string - required: - - path - type: object - iscsi: - properties: - chapAuthDiscovery: - type: boolean - chapAuthSession: - type: boolean - fsType: - type: string - initiatorName: - type: string - iqn: - type: string - iscsiInterface: - type: string - lun: - format: int32 - type: integer - portals: - items: - type: string - type: array - readOnly: - type: boolean - secretRef: - properties: - name: - type: string - type: object - targetPortal: - type: string - required: - - iqn - - lun - - targetPortal - type: object - nfs: - properties: - path: - type: string - readOnly: - type: boolean - server: - type: string - required: - - path - - server - type: object - persistentVolumeClaim: - properties: - claimName: - type: string - readOnly: - type: boolean - required: - - claimName - type: object - photonPersistentDisk: - properties: - fsType: - type: string - pdID: - type: string - required: - - pdID - type: object - portworxVolume: - properties: - fsType: - type: string - readOnly: - type: boolean - volumeID: - type: string - required: - - volumeID - type: object - projected: - properties: - defaultMode: - format: int32 - type: integer - sources: - items: + type: array + port: + default: 56790 + format: int32 + type: integer + resources: properties: - configMap: + claims: + items: + properties: + name: + type: string + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + securityContext: + properties: + allowPrivilegeEscalation: + type: boolean + capabilities: properties: - items: + add: items: - properties: - key: - type: string - mode: - format: int32 - type: integer - path: - type: string - required: - - key - - path - type: object + type: string type: array - name: - type: string - optional: - type: boolean - type: object - downwardAPI: - properties: - items: + drop: items: - properties: - fieldRef: - properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath - type: object - mode: - format: int32 - type: integer - path: - type: string - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - required: - - path - type: object + type: string type: array type: object - secret: + privileged: + type: boolean + procMount: + type: string + readOnlyRootFilesystem: + type: boolean + runAsGroup: + format: int64 + type: integer + runAsNonRoot: + type: boolean + runAsUser: + format: int64 + type: integer + seLinuxOptions: properties: - items: - items: - properties: - key: - type: string - mode: - format: int32 - type: integer - path: - type: string - required: - - key - - path - type: object - type: array - name: + level: + type: string + role: + type: string + type: + type: string + user: type: string - optional: - type: boolean type: object - serviceAccountToken: + seccompProfile: properties: - audience: + localhostProfile: type: string - expirationSeconds: - format: int64 - type: integer - path: + type: type: string required: - - path + - type + type: object + windowsOptions: + properties: + gmsaCredentialSpec: + type: string + gmsaCredentialSpecName: + type: string + hostProcess: + type: boolean + runAsUserName: + type: string type: object type: object - type: array - type: object - quobyte: - properties: - group: - type: string - readOnly: - type: boolean - registry: - type: string - tenant: - type: string - user: - type: string - volume: + type: object + serviceMonitor: + properties: + interval: + type: string + labels: + additionalProperties: + type: string + type: object + type: object + type: object + type: object + podPlacementPolicy: + default: + name: default + properties: + name: + type: string + type: object + x-kubernetes-map-type: atomic + podTemplate: + properties: + controller: + properties: + annotations: + additionalProperties: type: string - required: - - registry - - volume - type: object - rbd: - properties: - fsType: + type: object + labels: + additionalProperties: type: string - image: + type: object + type: object + metadata: + properties: + annotations: + additionalProperties: type: string - keyring: + type: object + labels: + additionalProperties: type: string - monitors: - items: - type: string - type: array - pool: - type: string - readOnly: - type: boolean - secretRef: - properties: - name: - type: string - type: object - user: - type: string - required: - - image - - monitors - type: object - scaleIO: - properties: - fsType: - type: string - gateway: - type: string - protectionDomain: - type: string - readOnly: - type: boolean - secretRef: - properties: - name: - type: string - type: object - sslEnabled: - type: boolean - storageMode: - type: string - storagePool: - type: string - system: - type: string - volumeName: - type: string - required: - - gateway - - secretRef - - system - type: object - scriptPath: - type: string - secret: - properties: - defaultMode: - format: int32 - type: integer + type: object + type: object + spec: + properties: + activeDeadlineSeconds: + format: int64 + type: integer + automountServiceAccountToken: + type: boolean + containers: items: - items: - properties: - key: - type: string - mode: - format: int32 - type: integer - path: - type: string - required: - - key - - path - type: object - type: array - optional: - type: boolean - secretName: - type: string - type: object - storageos: - properties: - fsType: - type: string - readOnly: - type: boolean - secretRef: properties: - name: - type: string - type: object - volumeName: - type: string - volumeNamespace: - type: string - type: object - vsphereVolume: - properties: - fsType: - type: string - storagePolicyID: - type: string - storagePolicyName: - type: string - volumePath: - type: string - required: - - volumePath - type: object - type: object - waitForInitialRestore: - type: boolean - type: object - keyFileSecret: - properties: - name: - type: string - type: object - monitor: - properties: - agent: - type: string - prometheus: - properties: - exporter: - properties: - args: - items: - type: string - type: array - env: - items: - properties: - name: + args: + items: type: string - value: + type: array + command: + items: type: string - valueFrom: + type: array + env: + items: properties: - configMapKeyRef: + name: + type: string + value: + type: string + valueFrom: + properties: + configMapKeyRef: + properties: + key: + type: string + name: + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + resourceFieldRef: + properties: + containerName: + type: string + divisor: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + secretKeyRef: + properties: + key: + type: string + name: + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + required: + - name + type: object + type: array + envFrom: + items: + properties: + configMapRef: properties: - key: - type: string name: type: string optional: type: boolean - required: - - key - type: object - fieldRef: - properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath - type: object - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource type: object - secretKeyRef: + x-kubernetes-map-type: atomic + prefix: + type: string + secretRef: properties: - key: - type: string name: type: string optional: type: boolean - required: - - key type: object + x-kubernetes-map-type: atomic type: object - required: - - name - type: object - type: array - port: - default: 56790 - format: int32 - type: integer - resources: - properties: - limits: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - requests: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - type: object - securityContext: - properties: - allowPrivilegeEscalation: - type: boolean - capabilities: - properties: - add: - items: - type: string - type: array - drop: - items: - type: string - type: array - type: object - privileged: - type: boolean - procMount: + type: array + image: type: string - readOnlyRootFilesystem: - type: boolean - runAsGroup: - format: int64 - type: integer - runAsNonRoot: - type: boolean - runAsUser: - format: int64 - type: integer - seLinuxOptions: - properties: - level: - type: string - role: - type: string - type: - type: string - user: - type: string - type: object - seccompProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - windowsOptions: + imagePullPolicy: + type: string + lifecycle: properties: - gmsaCredentialSpec: - type: string - gmsaCredentialSpecName: - type: string - runAsUserName: - type: string - type: object - type: object - type: object - serviceMonitor: - properties: - interval: - type: string - labels: - additionalProperties: - type: string - type: object - type: object - type: object - type: object - podTemplate: - properties: - controller: - properties: - annotations: - additionalProperties: - type: string - type: object - type: object - metadata: - properties: - annotations: - additionalProperties: - type: string - type: object - type: object - spec: - properties: - affinity: - properties: - nodeAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - preference: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: + postStart: + properties: + exec: + properties: + command: + items: + type: string + type: array + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: type: string - type: array - required: - - key - - operator - type: object - type: array - matchFields: - items: - properties: - key: - type: string - operator: - type: string - values: - items: + value: type: string - type: array - required: - - key - - operator - type: object - type: array - type: object - weight: - format: int32 - type: integer - required: - - preference - - weight - type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - properties: - nodeSelectorTerms: - items: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: + required: + - name + - value + type: object + type: array + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + type: object + preStop: + properties: + exec: + properties: + command: + items: + type: string + type: array + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: type: string - type: array - required: - - key - - operator - type: object - type: array - matchFields: - items: - properties: - key: - type: string - operator: - type: string - values: - items: + value: type: string - type: array - required: - - key - - operator - type: object - type: array - type: object - type: array - required: - - nodeSelectorTerms - type: object - type: object - podAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - podAffinityTerm: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string + required: + - name + - value type: object - type: object - namespaces: - items: + type: array + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: type: string - type: array - topologyKey: + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + type: object + type: object + livenessProbe: + properties: + exec: + properties: + command: + items: type: string - required: - - topologyKey - type: object - weight: + type: array + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + name: + type: string + ports: + items: + properties: + containerPort: + format: int32 + type: integer + hostIP: + type: string + hostPort: format: int32 type: integer + name: + type: string + protocol: + default: TCP + type: string required: - - podAffinityTerm - - weight + - containerPort type: object type: array - requiredDuringSchedulingIgnoredDuringExecution: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - namespaces: - items: + x-kubernetes-list-map-keys: + - containerPort + - protocol + x-kubernetes-list-type: map + readinessProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - type: array - type: object - podAntiAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - podAffinityTerm: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - namespaceSelector: + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - weight: - format: int32 - type: integer - required: - - podAffinityTerm - - weight - type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string + name: + type: string + value: + type: string + required: + - name + - value type: object - type: object - namespaces: - items: + type: array + path: type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - type: array - type: object - type: object - args: - items: - type: string - type: array - containerSecurityContext: - properties: - allowPrivilegeEscalation: - type: boolean - capabilities: - properties: - add: - items: - type: string - type: array - drop: + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + resizePolicy: items: - type: string - type: array - type: object - privileged: - type: boolean - procMount: - type: string - readOnlyRootFilesystem: - type: boolean - runAsGroup: - format: int64 - type: integer - runAsNonRoot: - type: boolean - runAsUser: - format: int64 - type: integer - seLinuxOptions: - properties: - level: - type: string - role: - type: string - type: - type: string - user: - type: string - type: object - seccompProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - windowsOptions: - properties: - gmsaCredentialSpec: - type: string - gmsaCredentialSpecName: - type: string - runAsUserName: - type: string - type: object - type: object - dnsConfig: - properties: - nameservers: - items: - type: string - type: array - options: - items: - properties: - name: - type: string - value: - type: string - type: object - type: array - searches: - items: - type: string - type: array - type: object - dnsPolicy: - type: string - env: - items: - properties: - name: - type: string - value: - type: string - valueFrom: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - fieldRef: properties: - apiVersion: + resourceName: type: string - fieldPath: + restartPolicy: type: string required: - - fieldPath + - resourceName + - restartPolicy type: object - resourceFieldRef: - properties: - containerName: - type: string - divisor: + type: array + x-kubernetes-list-type: atomic + resources: + properties: + claims: + items: + properties: + name: + type: string + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + limits: + additionalProperties: anyOf: - - type: integer - - type: string + - type: integer + - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - secretKeyRef: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - type: object - required: - - name - type: object - type: array - hostIPC: - type: boolean - hostNetwork: - type: boolean - hostPID: - type: boolean - imagePullSecrets: - items: - properties: - name: - type: string - type: object - type: array - initContainers: - items: - properties: - args: - items: - type: string - type: array - command: - items: + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + restartPolicy: type: string - type: array - env: - items: + securityContext: properties: - name: - type: string - value: + allowPrivilegeEscalation: + type: boolean + capabilities: + properties: + add: + items: + type: string + type: array + drop: + items: + type: string + type: array + type: object + privileged: + type: boolean + procMount: type: string - valueFrom: + readOnlyRootFilesystem: + type: boolean + runAsGroup: + format: int64 + type: integer + runAsNonRoot: + type: boolean + runAsUser: + format: int64 + type: integer + seLinuxOptions: properties: - configMapKeyRef: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - fieldRef: - properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath - type: object - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - secretKeyRef: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object + level: + type: string + role: + type: string + type: + type: string + user: + type: string type: object - required: - - name - type: object - type: array - envFrom: - items: - properties: - configMapRef: + seccompProfile: properties: - name: + localhostProfile: type: string - optional: - type: boolean + type: + type: string + required: + - type type: object - prefix: - type: string - secretRef: + windowsOptions: properties: - name: + gmsaCredentialSpec: + type: string + gmsaCredentialSpecName: type: string - optional: + hostProcess: type: boolean + runAsUserName: + type: string type: object type: object - type: array - image: - type: string - imagePullPolicy: - type: string - lifecycle: - properties: - postStart: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - tcpSocket: - properties: - host: + startupProbe: + properties: + exec: + properties: + command: + items: type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: + type: array + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: - port - type: object - type: object - preStop: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: - name - value - type: object - type: array - path: - type: string - port: - anyOf: + type: object + type: array + path: + type: string + port: + anyOf: - type: integer - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: + x-kubernetes-int-or-string: true + scheme: + type: string + required: - port - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: - type: integer - type: string - x-kubernetes-int-or-string: true - required: + x-kubernetes-int-or-string: true + required: - port - type: object - type: object - type: object - livenessProbe: - properties: - exec: + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + stdin: + type: boolean + stdinOnce: + type: boolean + terminationMessagePath: + type: string + terminationMessagePolicy: + type: string + tty: + type: boolean + volumeDevices: + items: properties: - command: - items: - type: string - type: array + devicePath: + type: string + name: + type: string + required: + - devicePath + - name type: object - failureThreshold: - format: int32 - type: integer - httpGet: + type: array + volumeMounts: + items: properties: - host: + mountPath: type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: + mountPropagation: type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: + name: type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: + readOnly: + type: boolean + subPath: + type: string + subPathExpr: type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true required: - - port + - mountPath + - name type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - name: - type: string - ports: + type: array + workingDir: + type: string + required: + - name + type: object + type: array + dnsConfig: + properties: + nameservers: + items: + type: string + type: array + options: items: properties: - containerPort: - format: int32 - type: integer - hostIP: - type: string - hostPort: - format: int32 - type: integer name: type: string - protocol: - default: TCP + value: type: string - required: - - containerPort type: object type: array - x-kubernetes-list-map-keys: - - containerPort - - protocol - x-kubernetes-list-type: map - readinessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - failureThreshold: - format: int32 - type: integer - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - resources: - properties: - limits: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - requests: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - type: object - securityContext: - properties: - allowPrivilegeEscalation: - type: boolean - capabilities: - properties: - add: - items: - type: string - type: array - drop: - items: - type: string - type: array - type: object - privileged: - type: boolean - procMount: + searches: + items: + type: string + type: array + type: object + dnsPolicy: + type: string + enableServiceLinks: + type: boolean + ephemeralContainers: + items: + properties: + args: + items: type: string - readOnlyRootFilesystem: - type: boolean - runAsGroup: - format: int64 - type: integer - runAsNonRoot: - type: boolean - runAsUser: - format: int64 - type: integer - seLinuxOptions: - properties: - level: - type: string - role: - type: string - type: - type: string - user: - type: string - type: object - seccompProfile: + type: array + command: + items: + type: string + type: array + env: + items: properties: - localhostProfile: + name: type: string - type: + value: type: string + valueFrom: + properties: + configMapKeyRef: + properties: + key: + type: string + name: + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + resourceFieldRef: + properties: + containerName: + type: string + divisor: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + secretKeyRef: + properties: + key: + type: string + name: + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object required: - - type + - name type: object - windowsOptions: + type: array + envFrom: + items: properties: - gmsaCredentialSpec: - type: string - gmsaCredentialSpecName: - type: string - runAsUserName: + configMapRef: + properties: + name: + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + prefix: type: string + secretRef: + properties: + name: + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic type: object - type: object - startupProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - failureThreshold: - format: int32 - type: integer - httpGet: - properties: - host: - type: string - httpHeaders: - items: + type: array + image: + type: string + imagePullPolicy: + type: string + lifecycle: + properties: + postStart: + properties: + exec: properties: - name: + command: + items: + type: string + type: array + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + path: type: string - value: + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: type: string required: - - name - - value + - port type: object - type: array - path: + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + type: object + preStop: + properties: + exec: + properties: + command: + items: + type: string + type: array + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + type: object + type: object + livenessProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + name: + type: string + ports: + items: + properties: + containerPort: + format: int32 + type: integer + hostIP: type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: + hostPort: + format: int32 + type: integer + name: type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: + protocol: + default: TCP type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true required: - - port + - containerPort type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - stdin: - type: boolean - stdinOnce: - type: boolean - terminationMessagePath: - type: string - terminationMessagePolicy: - type: string - tty: - type: boolean - volumeDevices: - items: - properties: - devicePath: - type: string - name: - type: string - required: - - devicePath - - name - type: object - type: array - volumeMounts: - items: - properties: - mountPath: - type: string - mountPropagation: - type: string - name: - type: string - readOnly: - type: boolean - subPath: - type: string - subPathExpr: - type: string - required: - - mountPath - - name - type: object - type: array - workingDir: - type: string - required: - - name - type: object - type: array - lifecycle: - properties: - postStart: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - httpGet: + type: array + x-kubernetes-list-map-keys: + - containerPort + - protocol + x-kubernetes-list-type: map + readinessProbe: properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: + exec: + properties: + command: + items: type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port + type: array + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer type: object - type: object - preStop: - properties: - exec: - properties: - command: - items: + resizePolicy: + items: + properties: + resourceName: type: string - type: array - type: object - httpGet: + restartPolicy: + type: string + required: + - resourceName + - restartPolicy + type: object + type: array + x-kubernetes-list-type: atomic + resources: properties: - host: - type: string - httpHeaders: + claims: items: properties: name: type: string - value: - type: string required: - - name - - value + - name type: object type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object type: object - tcpSocket: + restartPolicy: + type: string + securityContext: properties: - host: + allowPrivilegeEscalation: + type: boolean + capabilities: + properties: + add: + items: + type: string + type: array + drop: + items: + type: string + type: array + type: object + privileged: + type: boolean + procMount: type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port + readOnlyRootFilesystem: + type: boolean + runAsGroup: + format: int64 + type: integer + runAsNonRoot: + type: boolean + runAsUser: + format: int64 + type: integer + seLinuxOptions: + properties: + level: + type: string + role: + type: string + type: + type: string + user: + type: string + type: object + seccompProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + windowsOptions: + properties: + gmsaCredentialSpec: + type: string + gmsaCredentialSpecName: + type: string + hostProcess: + type: boolean + runAsUserName: + type: string + type: object type: object - type: object - type: object - livenessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - failureThreshold: - format: int32 - type: integer - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - nodeSelector: - additionalProperties: - type: string - type: object - priority: - format: int32 - type: integer - priorityClassName: - type: string - readinessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - failureThreshold: - format: int32 - type: integer - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: + startupProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + stdin: + type: boolean + stdinOnce: + type: boolean + targetContainerName: + type: string + terminationMessagePath: + type: string + terminationMessagePolicy: + type: string + tty: + type: boolean + volumeDevices: + items: + properties: + devicePath: + type: string name: type: string - value: + required: + - devicePath + - name + type: object + type: array + volumeMounts: + items: + properties: + mountPath: + type: string + mountPropagation: + type: string + name: + type: string + readOnly: + type: boolean + subPath: + type: string + subPathExpr: type: string required: - - name - - value + - mountPath + - name type: object type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: + workingDir: type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - resources: - properties: - limits: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - requests: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - type: object - schedulerName: - type: string - securityContext: - properties: - fsGroup: - format: int64 - type: integer - fsGroupChangePolicy: - type: string - runAsGroup: - format: int64 - type: integer - runAsNonRoot: - type: boolean - runAsUser: - format: int64 - type: integer - seLinuxOptions: - properties: - level: - type: string - role: - type: string - type: - type: string - user: - type: string + - name type: object - seccompProfile: + type: array + hostAliases: + items: properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - supplementalGroups: - items: - format: int64 - type: integer - type: array - sysctls: - items: - properties: - name: - type: string - value: + hostnames: + items: type: string - required: - - name - - value - type: object - type: array - windowsOptions: - properties: - gmsaCredentialSpec: - type: string - gmsaCredentialSpecName: - type: string - runAsUserName: + type: array + ip: type: string type: object - type: object - serviceAccountName: - type: string - shareProcessNamespace: - type: boolean - tolerations: - items: - properties: - effect: - type: string - key: - type: string - operator: - type: string - tolerationSeconds: - format: int64 - type: integer - value: - type: string - type: object - type: array - type: object - type: object - replicaSet: - properties: - name: - type: string - required: - - name - type: object - replicas: - format: int32 - type: integer - serviceTemplates: - items: - properties: - alias: - enum: - - primary - - standby - - stats - type: string - metadata: - properties: - annotations: - additionalProperties: - type: string - type: object - type: object - spec: - properties: - clusterIP: - type: string - externalIPs: - items: - type: string - type: array - externalTrafficPolicy: - type: string - healthCheckNodePort: - format: int32 - type: integer - loadBalancerIP: - type: string - loadBalancerSourceRanges: - items: - type: string type: array - ports: + hostIPC: + type: boolean + hostNetwork: + type: boolean + hostPID: + type: boolean + hostUsers: + type: boolean + imagePullSecrets: items: properties: name: type: string - nodePort: - format: int32 - type: integer - port: - format: int32 - type: integer - required: - - port type: object + x-kubernetes-map-type: atomic type: array - sessionAffinityConfig: - properties: - clientIP: - properties: - timeoutSeconds: - format: int32 - type: integer - type: object - type: object - type: - type: string - type: object - required: - - alias - type: object - type: array - shardTopology: - properties: - configServer: - properties: - configSecret: - properties: - name: - type: string - type: object - podTemplate: - properties: - controller: + initContainers: + items: properties: - annotations: - additionalProperties: + args: + items: type: string - type: object - type: object - metadata: - properties: - annotations: - additionalProperties: + type: array + command: + items: type: string - type: object - type: object - spec: - properties: - affinity: - properties: - nodeAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: + type: array + env: + items: + properties: + name: + type: string + value: + type: string + valueFrom: + properties: + configMapKeyRef: properties: - preference: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchFields: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - type: object - weight: - format: int32 - type: integer + key: + type: string + name: + type: string + optional: + type: boolean required: - - preference - - weight + - key type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: + x-kubernetes-map-type: atomic + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + resourceFieldRef: + properties: + containerName: + type: string + divisor: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + secretKeyRef: + properties: + key: + type: string + name: + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + required: + - name + type: object + type: array + envFrom: + items: + properties: + configMapRef: + properties: + name: + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + prefix: + type: string + secretRef: + properties: + name: + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + type: object + type: array + image: + type: string + imagePullPolicy: + type: string + lifecycle: + properties: + postStart: + properties: + exec: + properties: + command: + items: + type: string + type: array + type: object + httpGet: properties: - nodeSelectorTerms: + host: + type: string + httpHeaders: items: properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchFields: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array + name: + type: string + value: + type: string + required: + - name + - value type: object type: array + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true required: - - nodeSelectorTerms + - port type: object type: object - podAffinity: + preStop: properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - podAffinityTerm: + exec: + properties: + command: + items: + type: string + type: array + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - namespaces: - items: - type: string - type: array - topologyKey: + name: + type: string + value: type: string required: - - topologyKey + - name + - value type: object - weight: - format: int32 - type: integer - required: - - podAffinityTerm - - weight - type: object + type: array + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + type: object + type: object + livenessProbe: + properties: + exec: + properties: + command: + items: + type: string type: array - requiredDuringSchedulingIgnoredDuringExecution: + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: items: properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - namespaces: - items: - type: string - type: array - topologyKey: + name: + type: string + value: type: string required: - - topologyKey + - name + - value type: object type: array + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port type: object - podAntiAffinity: + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - podAffinityTerm: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - weight: - format: int32 - type: integer - required: - - podAffinityTerm - - weight - type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - type: array + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer type: object - args: + name: + type: string + ports: items: - type: string + properties: + containerPort: + format: int32 + type: integer + hostIP: + type: string + hostPort: + format: int32 + type: integer + name: + type: string + protocol: + default: TCP + type: string + required: + - containerPort + type: object type: array - containerSecurityContext: + x-kubernetes-list-map-keys: + - containerPort + - protocol + x-kubernetes-list-type: map + readinessProbe: properties: - allowPrivilegeEscalation: - type: boolean - capabilities: + exec: properties: - add: - items: - type: string - type: array - drop: + command: items: type: string type: array type: object - privileged: - type: boolean - procMount: - type: string - readOnlyRootFilesystem: - type: boolean - runAsGroup: - format: int64 - type: integer - runAsNonRoot: - type: boolean - runAsUser: - format: int64 + failureThreshold: + format: int32 type: integer - seLinuxOptions: + grpc: properties: - level: - type: string - role: - type: string - type: - type: string - user: - type: string - type: object - seccompProfile: - properties: - localhostProfile: - type: string - type: + port: + format: int32 + type: integer + service: type: string required: - - type + - port type: object - windowsOptions: + httpGet: properties: - gmsaCredentialSpec: + host: type: string - gmsaCredentialSpecName: + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + path: type: string - runAsUserName: + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: type: string + required: + - port type: object - type: object - dnsConfig: - properties: - nameservers: - items: - type: string - type: array - options: + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + resizePolicy: + items: + properties: + resourceName: + type: string + restartPolicy: + type: string + required: + - resourceName + - restartPolicy + type: object + type: array + x-kubernetes-list-type: atomic + resources: + properties: + claims: items: properties: name: type: string - value: - type: string + required: + - name type: object type: array - searches: - items: - type: string - type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object type: object - dnsPolicy: + restartPolicy: type: string - env: - items: - properties: - name: - type: string - value: - type: string - valueFrom: - properties: - configMapKeyRef: + securityContext: + properties: + allowPrivilegeEscalation: + type: boolean + capabilities: + properties: + add: + items: + type: string + type: array + drop: + items: + type: string + type: array + type: object + privileged: + type: boolean + procMount: + type: string + readOnlyRootFilesystem: + type: boolean + runAsGroup: + format: int64 + type: integer + runAsNonRoot: + type: boolean + runAsUser: + format: int64 + type: integer + seLinuxOptions: + properties: + level: + type: string + role: + type: string + type: + type: string + user: + type: string + type: object + seccompProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + windowsOptions: + properties: + gmsaCredentialSpec: + type: string + gmsaCredentialSpecName: + type: string + hostProcess: + type: boolean + runAsUserName: + type: string + type: object + type: object + startupProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: properties: - key: - type: string name: type: string - optional: - type: boolean - required: - - key - type: object - fieldRef: - properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath - type: object - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - secretKeyRef: - properties: - key: - type: string - name: + value: type: string - optional: - type: boolean required: - - key + - name + - value type: object - type: object - required: - - name - type: object - type: array - hostIPC: + type: array + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + stdin: type: boolean - hostNetwork: + stdinOnce: type: boolean - hostPID: + terminationMessagePath: + type: string + terminationMessagePolicy: + type: string + tty: type: boolean - imagePullSecrets: + volumeDevices: items: properties: + devicePath: + type: string name: type: string + required: + - devicePath + - name type: object type: array - initContainers: + volumeMounts: items: properties: - args: - items: - type: string - type: array - command: - items: - type: string - type: array - env: - items: - properties: - name: - type: string - value: - type: string - valueFrom: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - fieldRef: - properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath - type: object - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - secretKeyRef: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - type: object - required: - - name - type: object - type: array - envFrom: - items: - properties: - configMapRef: - properties: - name: - type: string - optional: - type: boolean - type: object - prefix: - type: string - secretRef: - properties: - name: - type: string - optional: - type: boolean - type: object - type: object - type: array - image: + mountPath: type: string - imagePullPolicy: + mountPropagation: type: string - lifecycle: - properties: - postStart: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - preStop: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - type: object - livenessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - failureThreshold: - format: int32 - type: integer - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object name: type: string - ports: - items: - properties: - containerPort: - format: int32 - type: integer - hostIP: - type: string - hostPort: - format: int32 - type: integer - name: - type: string - protocol: - default: TCP - type: string - required: - - containerPort - type: object - type: array - x-kubernetes-list-map-keys: - - containerPort - - protocol - x-kubernetes-list-type: map - readinessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - failureThreshold: - format: int32 - type: integer - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - resources: - properties: - limits: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - requests: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - type: object - securityContext: - properties: - allowPrivilegeEscalation: - type: boolean - capabilities: - properties: - add: - items: - type: string - type: array - drop: - items: - type: string - type: array - type: object - privileged: - type: boolean - procMount: - type: string - readOnlyRootFilesystem: - type: boolean - runAsGroup: - format: int64 - type: integer - runAsNonRoot: - type: boolean - runAsUser: - format: int64 - type: integer - seLinuxOptions: - properties: - level: - type: string - role: - type: string - type: - type: string - user: - type: string - type: object - seccompProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - windowsOptions: - properties: - gmsaCredentialSpec: - type: string - gmsaCredentialSpecName: - type: string - runAsUserName: - type: string - type: object - type: object - startupProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - failureThreshold: - format: int32 - type: integer - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - stdin: - type: boolean - stdinOnce: + readOnly: type: boolean - terminationMessagePath: + subPath: type: string - terminationMessagePolicy: - type: string - tty: - type: boolean - volumeDevices: - items: - properties: - devicePath: - type: string - name: - type: string - required: - - devicePath - - name - type: object - type: array - volumeMounts: - items: - properties: - mountPath: - type: string - mountPropagation: - type: string - name: - type: string - readOnly: - type: boolean - subPath: - type: string - subPathExpr: - type: string - required: - - mountPath - - name - type: object - type: array - workingDir: + subPathExpr: type: string required: - - name + - mountPath + - name type: object type: array - lifecycle: + workingDir: + type: string + required: + - name + type: object + type: array + nodeName: + type: string + nodeSelector: + additionalProperties: + type: string + type: object + x-kubernetes-map-type: atomic + os: + properties: + name: + type: string + required: + - name + type: object + overhead: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + preemptionPolicy: + type: string + priority: + format: int32 + type: integer + priorityClassName: + type: string + readinessGates: + items: + properties: + conditionType: + type: string + required: + - conditionType + type: object + type: array + restartPolicy: + type: string + runtimeClassName: + type: string + schedulerName: + type: string + securityContext: + properties: + fsGroup: + format: int64 + type: integer + fsGroupChangePolicy: + type: string + runAsGroup: + format: int64 + type: integer + runAsNonRoot: + type: boolean + runAsUser: + format: int64 + type: integer + seLinuxOptions: + properties: + level: + type: string + role: + type: string + type: + type: string + user: + type: string + type: object + seccompProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + supplementalGroups: + items: + format: int64 + type: integer + type: array + sysctls: + items: properties: - postStart: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - preStop: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object + name: + type: string + value: + type: string + required: + - name + - value type: object - livenessProbe: + type: array + windowsOptions: + properties: + gmsaCredentialSpec: + type: string + gmsaCredentialSpecName: + type: string + hostProcess: + type: boolean + runAsUserName: + type: string + type: object + type: object + serviceAccountName: + type: string + setHostnameAsFQDN: + type: boolean + shareProcessNamespace: + type: boolean + terminationGracePeriodSeconds: + format: int64 + type: integer + tolerations: + items: + properties: + effect: + type: string + key: + type: string + operator: + type: string + tolerationSeconds: + format: int64 + type: integer + value: + type: string + type: object + type: array + volumes: + items: + properties: + awsElasticBlockStore: properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - failureThreshold: - format: int32 - type: integer - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - nodeSelector: - additionalProperties: - type: string - type: object - priority: - format: int32 - type: integer - priorityClassName: - type: string - readinessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - failureThreshold: - format: int32 - type: integer - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - resources: - properties: - limits: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - requests: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - type: object - schedulerName: - type: string - securityContext: - properties: - fsGroup: - format: int64 - type: integer - fsGroupChangePolicy: + fsType: type: string - runAsGroup: - format: int64 + partition: + format: int32 type: integer - runAsNonRoot: + readOnly: type: boolean - runAsUser: - format: int64 - type: integer - seLinuxOptions: - properties: - level: - type: string - role: - type: string - type: - type: string - user: - type: string - type: object - seccompProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - supplementalGroups: - items: - format: int64 - type: integer - type: array - sysctls: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - windowsOptions: - properties: - gmsaCredentialSpec: - type: string - gmsaCredentialSpecName: - type: string - runAsUserName: - type: string - type: object - type: object - serviceAccountName: - type: string - shareProcessNamespace: - type: boolean - tolerations: - items: - properties: - effect: - type: string - key: - type: string - operator: - type: string - tolerationSeconds: - format: int64 - type: integer - value: - type: string - type: object - type: array - type: object - type: object - prefix: - type: string - replicas: - format: int32 - type: integer - storage: - properties: - accessModes: - items: - type: string - type: array - dataSource: - properties: - apiGroup: - type: string - kind: - type: string - name: - type: string - required: - - kind - - name - type: object - resources: - properties: - limits: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - requests: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - type: object - selector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string + volumeID: + type: string + required: + - volumeID type: object - type: object - storageClassName: - type: string - volumeMode: - type: string - volumeName: - type: string - type: object - required: - - replicas - type: object - mongos: - properties: - configSecret: - properties: - name: - type: string - type: object - podTemplate: - properties: - controller: - properties: - annotations: - additionalProperties: - type: string - type: object - type: object - metadata: - properties: - annotations: - additionalProperties: - type: string - type: object - type: object - spec: - properties: - affinity: - properties: - nodeAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - preference: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchFields: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - type: object - weight: - format: int32 - type: integer - required: - - preference - - weight - type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - properties: - nodeSelectorTerms: - items: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchFields: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - type: object - type: array - required: - - nodeSelectorTerms - type: object - type: object - podAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - podAffinityTerm: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - weight: - format: int32 - type: integer - required: - - podAffinityTerm - - weight - type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - type: array - type: object - podAntiAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - podAffinityTerm: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - weight: - format: int32 - type: integer - required: - - podAffinityTerm - - weight - type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - type: array - type: object - type: object - args: - items: - type: string - type: array - containerSecurityContext: + azureDisk: properties: - allowPrivilegeEscalation: - type: boolean - capabilities: - properties: - add: - items: - type: string - type: array - drop: - items: - type: string - type: array - type: object - privileged: - type: boolean - procMount: - type: string - readOnlyRootFilesystem: - type: boolean - runAsGroup: - format: int64 - type: integer - runAsNonRoot: - type: boolean - runAsUser: - format: int64 - type: integer - seLinuxOptions: - properties: - level: - type: string - role: - type: string - type: - type: string - user: - type: string - type: object - seccompProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - windowsOptions: - properties: - gmsaCredentialSpec: - type: string - gmsaCredentialSpecName: - type: string - runAsUserName: - type: string - type: object - type: object - dnsConfig: - properties: - nameservers: - items: - type: string - type: array - options: - items: - properties: - name: - type: string - value: - type: string - type: object - type: array - searches: - items: - type: string - type: array - type: object - dnsPolicy: - type: string - env: - items: - properties: - name: - type: string - value: - type: string - valueFrom: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - fieldRef: - properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath - type: object - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - secretKeyRef: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - type: object - required: - - name - type: object - type: array - hostIPC: - type: boolean - hostNetwork: - type: boolean - hostPID: - type: boolean - imagePullSecrets: - items: - properties: - name: - type: string - type: object - type: array - initContainers: - items: - properties: - args: - items: - type: string - type: array - command: - items: - type: string - type: array - env: - items: - properties: - name: - type: string - value: - type: string - valueFrom: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - fieldRef: - properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath - type: object - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - secretKeyRef: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - type: object - required: - - name - type: object - type: array - envFrom: - items: - properties: - configMapRef: - properties: - name: - type: string - optional: - type: boolean - type: object - prefix: - type: string - secretRef: - properties: - name: - type: string - optional: - type: boolean - type: object - type: object - type: array - image: - type: string - imagePullPolicy: - type: string - lifecycle: - properties: - postStart: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - preStop: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - type: object - livenessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - failureThreshold: - format: int32 - type: integer - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - name: - type: string - ports: - items: - properties: - containerPort: - format: int32 - type: integer - hostIP: - type: string - hostPort: - format: int32 - type: integer - name: - type: string - protocol: - default: TCP - type: string - required: - - containerPort - type: object - type: array - x-kubernetes-list-map-keys: - - containerPort - - protocol - x-kubernetes-list-type: map - readinessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - failureThreshold: - format: int32 - type: integer - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - resources: - properties: - limits: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - requests: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - type: object - securityContext: - properties: - allowPrivilegeEscalation: - type: boolean - capabilities: - properties: - add: - items: - type: string - type: array - drop: - items: - type: string - type: array - type: object - privileged: - type: boolean - procMount: - type: string - readOnlyRootFilesystem: - type: boolean - runAsGroup: - format: int64 - type: integer - runAsNonRoot: - type: boolean - runAsUser: - format: int64 - type: integer - seLinuxOptions: - properties: - level: - type: string - role: - type: string - type: - type: string - user: - type: string - type: object - seccompProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - windowsOptions: - properties: - gmsaCredentialSpec: - type: string - gmsaCredentialSpecName: - type: string - runAsUserName: - type: string - type: object - type: object - startupProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - failureThreshold: - format: int32 - type: integer - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - stdin: - type: boolean - stdinOnce: - type: boolean - terminationMessagePath: - type: string - terminationMessagePolicy: - type: string - tty: - type: boolean - volumeDevices: - items: - properties: - devicePath: - type: string - name: - type: string - required: - - devicePath - - name - type: object - type: array - volumeMounts: - items: - properties: - mountPath: - type: string - mountPropagation: - type: string - name: - type: string - readOnly: - type: boolean - subPath: - type: string - subPathExpr: - type: string - required: - - mountPath - - name - type: object - type: array - workingDir: - type: string - required: - - name - type: object - type: array - lifecycle: - properties: - postStart: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - preStop: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - type: object - livenessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - failureThreshold: - format: int32 - type: integer - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - nodeSelector: - additionalProperties: - type: string - type: object - priority: - format: int32 - type: integer - priorityClassName: - type: string - readinessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - failureThreshold: - format: int32 - type: integer - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - resources: - properties: - limits: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - requests: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - type: object - schedulerName: - type: string - securityContext: - properties: - fsGroup: - format: int64 - type: integer - fsGroupChangePolicy: - type: string - runAsGroup: - format: int64 - type: integer - runAsNonRoot: - type: boolean - runAsUser: - format: int64 - type: integer - seLinuxOptions: - properties: - level: - type: string - role: - type: string - type: - type: string - user: - type: string - type: object - seccompProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - supplementalGroups: - items: - format: int64 - type: integer - type: array - sysctls: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - windowsOptions: - properties: - gmsaCredentialSpec: - type: string - gmsaCredentialSpecName: - type: string - runAsUserName: - type: string - type: object - type: object - serviceAccountName: - type: string - shareProcessNamespace: - type: boolean - tolerations: - items: - properties: - effect: - type: string - key: - type: string - operator: - type: string - tolerationSeconds: - format: int64 - type: integer - value: - type: string - type: object - type: array - type: object - type: object - prefix: - type: string - replicas: - format: int32 - type: integer - required: - - replicas - type: object - shard: - properties: - configSecret: - properties: - name: - type: string - type: object - podTemplate: - properties: - controller: - properties: - annotations: - additionalProperties: - type: string - type: object - type: object - metadata: - properties: - annotations: - additionalProperties: - type: string - type: object - type: object - spec: - properties: - affinity: - properties: - nodeAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - preference: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchFields: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - type: object - weight: - format: int32 - type: integer - required: - - preference - - weight - type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - properties: - nodeSelectorTerms: - items: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchFields: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - type: object - type: array - required: - - nodeSelectorTerms - type: object - type: object - podAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - podAffinityTerm: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - weight: - format: int32 - type: integer - required: - - podAffinityTerm - - weight - type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - type: array - type: object - podAntiAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - podAffinityTerm: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - weight: - format: int32 - type: integer - required: - - podAffinityTerm - - weight - type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - type: array - type: object - type: object - args: - items: - type: string - type: array - containerSecurityContext: - properties: - allowPrivilegeEscalation: - type: boolean - capabilities: - properties: - add: - items: - type: string - type: array - drop: - items: - type: string - type: array - type: object - privileged: - type: boolean - procMount: - type: string - readOnlyRootFilesystem: - type: boolean - runAsGroup: - format: int64 - type: integer - runAsNonRoot: - type: boolean - runAsUser: - format: int64 - type: integer - seLinuxOptions: - properties: - level: - type: string - role: - type: string - type: - type: string - user: - type: string - type: object - seccompProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - windowsOptions: - properties: - gmsaCredentialSpec: - type: string - gmsaCredentialSpecName: - type: string - runAsUserName: - type: string - type: object - type: object - dnsConfig: - properties: - nameservers: - items: - type: string - type: array - options: - items: - properties: - name: - type: string - value: - type: string - type: object - type: array - searches: - items: - type: string - type: array - type: object - dnsPolicy: - type: string - env: - items: - properties: - name: - type: string - value: - type: string - valueFrom: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - fieldRef: - properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath - type: object - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - secretKeyRef: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - type: object - required: - - name - type: object - type: array - hostIPC: - type: boolean - hostNetwork: - type: boolean - hostPID: - type: boolean - imagePullSecrets: - items: - properties: - name: - type: string - type: object - type: array - initContainers: - items: - properties: - args: - items: - type: string - type: array - command: - items: - type: string - type: array - env: - items: - properties: - name: - type: string - value: - type: string - valueFrom: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - fieldRef: - properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath - type: object - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - secretKeyRef: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - type: object - required: - - name - type: object - type: array - envFrom: - items: - properties: - configMapRef: - properties: - name: - type: string - optional: - type: boolean - type: object - prefix: - type: string - secretRef: - properties: - name: - type: string - optional: - type: boolean - type: object - type: object - type: array - image: - type: string - imagePullPolicy: - type: string - lifecycle: - properties: - postStart: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - preStop: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - type: object - livenessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - failureThreshold: - format: int32 - type: integer - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - name: - type: string - ports: - items: - properties: - containerPort: - format: int32 - type: integer - hostIP: - type: string - hostPort: - format: int32 - type: integer - name: - type: string - protocol: - default: TCP - type: string - required: - - containerPort - type: object - type: array - x-kubernetes-list-map-keys: - - containerPort - - protocol - x-kubernetes-list-type: map - readinessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - failureThreshold: - format: int32 - type: integer - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - resources: - properties: - limits: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - requests: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - type: object - securityContext: + cachingMode: + type: string + diskName: + type: string + diskURI: + type: string + fsType: + type: string + kind: + type: string + readOnly: + type: boolean + required: + - diskName + - diskURI + type: object + azureFile: + properties: + readOnly: + type: boolean + secretName: + type: string + shareName: + type: string + required: + - secretName + - shareName + type: object + cephfs: + properties: + monitors: + items: + type: string + type: array + path: + type: string + readOnly: + type: boolean + secretFile: + type: string + secretRef: + properties: + name: + type: string + type: object + x-kubernetes-map-type: atomic + user: + type: string + required: + - monitors + type: object + cinder: + properties: + fsType: + type: string + readOnly: + type: boolean + secretRef: + properties: + name: + type: string + type: object + x-kubernetes-map-type: atomic + volumeID: + type: string + required: + - volumeID + type: object + configMap: + properties: + defaultMode: + format: int32 + type: integer + items: + items: properties: - allowPrivilegeEscalation: - type: boolean - capabilities: - properties: - add: - items: - type: string - type: array - drop: - items: - type: string - type: array - type: object - privileged: - type: boolean - procMount: + key: type: string - readOnlyRootFilesystem: - type: boolean - runAsGroup: - format: int64 - type: integer - runAsNonRoot: - type: boolean - runAsUser: - format: int64 + mode: + format: int32 type: integer - seLinuxOptions: - properties: - level: - type: string - role: - type: string - type: - type: string - user: - type: string - type: object - seccompProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - windowsOptions: - properties: - gmsaCredentialSpec: - type: string - gmsaCredentialSpecName: - type: string - runAsUserName: - type: string - type: object + path: + type: string + required: + - key + - path type: object - startupProbe: + type: array + name: + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + csi: + properties: + driver: + type: string + fsType: + type: string + nodePublishSecretRef: + properties: + name: + type: string + type: object + x-kubernetes-map-type: atomic + readOnly: + type: boolean + volumeAttributes: + additionalProperties: + type: string + type: object + required: + - driver + type: object + downwardAPI: + properties: + defaultMode: + format: int32 + type: integer + items: + items: properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - failureThreshold: - format: int32 - type: integer - httpGet: + fieldRef: properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: + apiVersion: type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: + fieldPath: type: string required: - - port + - fieldPath type: object - initialDelaySeconds: + x-kubernetes-map-type: atomic + mode: format: int32 type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: + path: + type: string + resourceFieldRef: properties: - host: + containerName: type: string - port: + divisor: anyOf: - - type: integer - - type: string + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + resource: + type: string required: - - port + - resource type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer + x-kubernetes-map-type: atomic + required: + - path type: object - stdin: - type: boolean - stdinOnce: - type: boolean - terminationMessagePath: - type: string - terminationMessagePolicy: - type: string - tty: - type: boolean - volumeDevices: - items: - properties: - devicePath: - type: string - name: - type: string - required: - - devicePath - - name - type: object - type: array - volumeMounts: - items: - properties: - mountPath: - type: string - mountPropagation: - type: string - name: - type: string - readOnly: - type: boolean - subPath: - type: string - subPathExpr: - type: string - required: - - mountPath - - name - type: object - type: array - workingDir: - type: string - required: - - name - type: object - type: array - lifecycle: + type: array + type: object + emptyDir: properties: - postStart: + medium: + type: string + sizeLimit: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + ephemeral: + properties: + volumeClaimTemplate: properties: - exec: + metadata: properties: - command: - items: + annotations: + additionalProperties: type: string - type: array - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - tcpSocket: - properties: - host: + type: object + generateName: type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - preStop: - properties: - exec: - properties: - command: - items: + labels: + additionalProperties: type: string - type: array - type: object - httpGet: - properties: - host: + type: object + name: + type: string + namespace: type: string - httpHeaders: + ownerReferences: items: properties: + apiVersion: + type: string + blockOwnerDeletion: + type: boolean + controller: + type: boolean + kind: + type: string name: type: string - value: + uid: type: string required: - - name - - value + - apiVersion + - kind + - name + - uid type: object + x-kubernetes-map-type: atomic type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port type: object - tcpSocket: + spec: properties: - host: + accessModes: + items: + type: string + type: array + dataSource: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + required: + - kind + - name + type: object + x-kubernetes-map-type: atomic + dataSourceRef: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + namespace: + type: string + required: + - kind + - name + type: object + resources: + properties: + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + selector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + required: + - key + - operator + type: object + type: array + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + storageClassName: + type: string + volumeAttributesClassName: + type: string + volumeMode: + type: string + volumeName: type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port type: object + required: + - spec type: object type: object - livenessProbe: + fc: properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - failureThreshold: + fsType: + type: string + lun: format: int32 type: integer - httpGet: + readOnly: + type: boolean + targetWWNs: + items: + type: string + type: array + wwids: + items: + type: string + type: array + type: object + flexVolume: + properties: + driver: + type: string + fsType: + type: string + options: + additionalProperties: + type: string + type: object + readOnly: + type: boolean + secretRef: properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: + name: type: string - required: - - port type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: + x-kubernetes-map-type: atomic + required: + - driver + type: object + flocker: + properties: + datasetName: + type: string + datasetUUID: + type: string + type: object + gcePersistentDisk: + properties: + fsType: + type: string + partition: format: int32 type: integer - successThreshold: + pdName: + type: string + readOnly: + type: boolean + required: + - pdName + type: object + glusterfs: + properties: + endpoints: + type: string + path: + type: string + readOnly: + type: boolean + required: + - endpoints + - path + type: object + hostPath: + properties: + path: + type: string + type: + type: string + required: + - path + type: object + iscsi: + properties: + chapAuthDiscovery: + type: boolean + chapAuthSession: + type: boolean + fsType: + type: string + initiatorName: + type: string + iqn: + type: string + iscsiInterface: + type: string + lun: format: int32 type: integer - tcpSocket: + portals: + items: + type: string + type: array + readOnly: + type: boolean + secretRef: properties: - host: + name: type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - nodeSelector: - additionalProperties: - type: string + x-kubernetes-map-type: atomic + targetPortal: + type: string + required: + - iqn + - lun + - targetPortal type: object - priority: - format: int32 - type: integer - priorityClassName: + name: type: string - readinessProbe: + nfs: properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - failureThreshold: + path: + type: string + readOnly: + type: boolean + server: + type: string + required: + - path + - server + type: object + persistentVolumeClaim: + properties: + claimName: + type: string + readOnly: + type: boolean + required: + - claimName + type: object + photonPersistentDisk: + properties: + fsType: + type: string + pdID: + type: string + required: + - pdID + type: object + portworxVolume: + properties: + fsType: + type: string + readOnly: + type: boolean + volumeID: + type: string + required: + - volumeID + type: object + projected: + properties: + defaultMode: format: int32 type: integer - httpGet: - properties: - host: - type: string - httpHeaders: - items: + sources: + items: + properties: + clusterTrustBundle: + properties: + labelSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + required: + - key + - operator + type: object + type: array + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + name: + type: string + optional: + type: boolean + path: + type: string + signerName: + type: string + required: + - path + type: object + configMap: properties: + items: + items: + properties: + key: + type: string + mode: + format: int32 + type: integer + path: + type: string + required: + - key + - path + type: object + type: array name: type: string - value: + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + downwardAPI: + properties: + items: + items: + properties: + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + mode: + format: int32 + type: integer + path: + type: string + resourceFieldRef: + properties: + containerName: + type: string + divisor: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + required: + - path + type: object + type: array + type: object + secret: + properties: + items: + items: + properties: + key: + type: string + mode: + format: int32 + type: integer + path: + type: string + required: + - key + - path + type: object + type: array + name: + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + serviceAccountToken: + properties: + audience: + type: string + expirationSeconds: + format: int64 + type: integer + path: type: string required: - - name - - value + - path type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer + type: object + type: array type: object - resources: + quobyte: properties: - limits: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - requests: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object + group: + type: string + readOnly: + type: boolean + registry: + type: string + tenant: + type: string + user: + type: string + volume: + type: string + required: + - registry + - volume type: object - schedulerName: - type: string - securityContext: + rbd: properties: - fsGroup: - format: int64 - type: integer - fsGroupChangePolicy: + fsType: type: string - runAsGroup: - format: int64 - type: integer - runAsNonRoot: + image: + type: string + keyring: + type: string + monitors: + items: + type: string + type: array + pool: + type: string + readOnly: type: boolean - runAsUser: - format: int64 - type: integer - seLinuxOptions: + secretRef: properties: - level: - type: string - role: - type: string - type: - type: string - user: + name: type: string type: object - seccompProfile: + x-kubernetes-map-type: atomic + user: + type: string + required: + - image + - monitors + type: object + scaleIO: + properties: + fsType: + type: string + gateway: + type: string + protectionDomain: + type: string + readOnly: + type: boolean + secretRef: properties: - localhostProfile: - type: string - type: + name: type: string - required: - - type type: object - supplementalGroups: - items: - format: int64 - type: integer - type: array - sysctls: + x-kubernetes-map-type: atomic + sslEnabled: + type: boolean + storageMode: + type: string + storagePool: + type: string + system: + type: string + volumeName: + type: string + required: + - gateway + - secretRef + - system + type: object + secret: + properties: + defaultMode: + format: int32 + type: integer + items: items: properties: - name: + key: type: string - value: + mode: + format: int32 + type: integer + path: type: string required: - - name - - value + - key + - path type: object type: array - windowsOptions: + optional: + type: boolean + secretName: + type: string + type: object + storageos: + properties: + fsType: + type: string + readOnly: + type: boolean + secretRef: properties: - gmsaCredentialSpec: - type: string - gmsaCredentialSpecName: - type: string - runAsUserName: + name: type: string type: object + x-kubernetes-map-type: atomic + volumeName: + type: string + volumeNamespace: + type: string + type: object + vsphereVolume: + properties: + fsType: + type: string + storagePolicyID: + type: string + storagePolicyName: + type: string + volumePath: + type: string + required: + - volumePath + type: object + required: + - name + type: object + type: array + type: object + type: object + replicas: + format: int32 + type: integer + serviceTemplates: + items: + properties: + alias: + enum: + - primary + - standby + - stats + type: string + metadata: + properties: + annotations: + additionalProperties: + type: string + type: object + labels: + additionalProperties: + type: string + type: object + type: object + spec: + properties: + clusterIP: + type: string + externalIPs: + items: + type: string + type: array + externalTrafficPolicy: + type: string + healthCheckNodePort: + format: int32 + type: integer + loadBalancerIP: + type: string + loadBalancerSourceRanges: + items: + type: string + type: array + ports: + items: + properties: + name: + type: string + nodePort: + format: int32 + type: integer + port: + format: int32 + type: integer + required: + - port + type: object + type: array + sessionAffinityConfig: + properties: + clientIP: + properties: + timeoutSeconds: + format: int32 + type: integer type: object - serviceAccountName: + type: object + type: + type: string + type: object + required: + - alias + type: object + type: array + storage: + properties: + accessModes: + items: + type: string + type: array + dataSource: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + required: + - kind + - name + type: object + x-kubernetes-map-type: atomic + dataSourceRef: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + namespace: + type: string + required: + - kind + - name + type: object + resources: + properties: + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + selector: + properties: + matchExpressions: + items: + properties: + key: type: string - shareProcessNamespace: - type: boolean - tolerations: + operator: + type: string + values: items: - properties: - effect: - type: string - key: - type: string - operator: - type: string - tolerationSeconds: - format: int64 - type: integer - value: - type: string - type: object + type: string type: array + required: + - key + - operator type: object - type: object - prefix: - type: string - replicas: - format: int32 - type: integer - shards: - format: int32 - type: integer - storage: + type: array + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + storageClassName: + type: string + volumeAttributesClassName: + type: string + volumeMode: + type: string + volumeName: + type: string + type: object + storageType: + enum: + - Durable + - Ephemeral + type: string + terminationPolicy: + enum: + - Halt + - Delete + - WipeOut + - DoNotTerminate + type: string + tls: + properties: + certificates: + items: properties: - accessModes: + alias: + type: string + dnsNames: + items: + type: string + type: array + duration: + type: string + emailAddresses: + items: + type: string + type: array + ipAddresses: items: type: string type: array - dataSource: + issuerRef: properties: apiGroup: type: string @@ -6964,301 +3370,202 @@ spec: name: type: string required: - - kind - - name + - kind + - name type: object - resources: + x-kubernetes-map-type: atomic + privateKey: properties: - limits: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - requests: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object + encoding: + enum: + - PKCS1 + - PKCS8 + type: string type: object - selector: + renewBefore: + type: string + secretName: + type: string + subject: properties: - matchExpressions: + countries: items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object + type: string + type: array + localities: + items: + type: string type: array - matchLabels: - additionalProperties: + organizationalUnits: + items: type: string - type: object + type: array + organizations: + items: + type: string + type: array + postalCodes: + items: + type: string + type: array + provinces: + items: + type: string + type: array + serialNumber: + type: string + streetAddresses: + items: + type: string + type: array type: object - storageClassName: - type: string - volumeMode: - type: string - volumeName: - type: string - type: object - required: - - replicas - - shards - type: object - required: - - configServer - - mongos - - shard - type: object - sslMode: - enum: - - disabled - - allowSSL - - preferSSL - - requireSSL - type: string - storage: - properties: - accessModes: - items: - type: string - type: array - dataSource: - properties: - apiGroup: - type: string - kind: - type: string - name: - type: string - required: - - kind - - name - type: object - resources: - properties: - limits: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - requests: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - type: object - selector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: + uris: + items: type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string + type: array + required: + - alias type: object - type: object - storageClassName: - type: string - volumeMode: - type: string - volumeName: - type: string - type: object - storageEngine: - type: string - storageType: - enum: - - Durable - - Ephemeral - type: string - terminationPolicy: - enum: - - Halt - - Delete - - WipeOut - - DoNotTerminate - type: string - tls: - properties: - certificates: - items: + type: array + issuerRef: properties: - alias: - type: string - dnsNames: - items: - type: string - type: array - duration: + apiGroup: type: string - emailAddresses: - items: - type: string - type: array - ipAddresses: - items: - type: string - type: array - issuerRef: - properties: - apiGroup: - type: string - kind: - type: string - name: - type: string - required: - - kind - - name - type: object - privateKey: - properties: - encoding: - enum: - - PKCS1 - - PKCS8 - type: string - type: object - renewBefore: + kind: type: string - secretName: + name: type: string - subject: - properties: - countries: - items: - type: string - type: array - localities: - items: - type: string - type: array - organizationalUnits: - items: - type: string - type: array - organizations: - items: - type: string - type: array - postalCodes: - items: - type: string - type: array - provinces: - items: - type: string - type: array - serialNumber: - type: string - streetAddresses: - items: - type: string - type: array - type: object - uris: - items: - type: string - type: array required: - - alias + - kind + - name type: object - type: array - issuerRef: + x-kubernetes-map-type: atomic + type: object + version: + type: string + required: + - version + type: object + status: + properties: + conditions: + items: properties: - apiGroup: + lastTransitionTime: + format: date-time + type: string + message: + type: string + observedGeneration: + format: int64 + type: integer + reason: type: string - kind: + severity: type: string - name: + status: + type: string + type: type: string required: - - kind - - name + - lastTransitionTime + - status + - type type: object - type: object - version: - type: string - required: - - version - type: object - status: - properties: - conditions: - items: + type: array + gateway: properties: - lastTransitionTime: - format: date-time + hostname: type: string - message: + ip: type: string - observedGeneration: - format: int64 - type: integer - reason: - type: string - status: + name: type: string - type: + namespace: type: string + services: + items: + properties: + alias: + enum: + - primary + - standby + - stats + type: string + ports: + items: + properties: + backendServicePort: + format: int32 + type: integer + name: + type: string + nodePort: + format: int32 + type: integer + port: + format: int32 + type: integer + required: + - port + type: object + type: array + required: + - alias + - ports + type: object + type: array + ui: + items: + properties: + alias: + type: string + helmRelease: + properties: + name: + type: string + type: object + x-kubernetes-map-type: atomic + port: + properties: + backendServicePort: + format: int32 + type: integer + name: + type: string + nodePort: + format: int32 + type: integer + port: + format: int32 + type: integer + required: + - port + type: object + url: + type: string + required: + - alias + - url + type: object + type: array required: - - lastTransitionTime - - message - - reason - - status - - type + - name + - namespace type: object - type: array - observedGeneration: - format: int64 - type: integer - phase: - enum: - - Provisioning - - DataRestoring - - Ready - - Critical - - NotReady - - Halted - type: string - type: object - type: object - served: true - storage: true - subresources: - status: {} + observedGeneration: + format: int64 + type: integer + phase: + enum: + - Provisioning + - Ready + - NotReady + - Critical + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} \ No newline at end of file diff --git a/charts/kubedbcom-rabbitmq-editor-options/templates/db.yaml b/charts/kubedbcom-rabbitmq-editor-options/templates/db.yaml index c37d17ada9..74d0c49f22 100644 --- a/charts/kubedbcom-rabbitmq-editor-options/templates/db.yaml +++ b/charts/kubedbcom-rabbitmq-editor-options/templates/db.yaml @@ -18,8 +18,11 @@ metadata: {{- end }} spec: version: {{ .Values.spec.version | quote }} -{{- if or (eq .Values.spec.mode "Standalone") (eq .Values.spec.mode "Replicaset") }} - replicas: {{ (eq .Values.spec.mode "Replicaset") | ternary .Values.spec.replicaSet.replicas 1 }} +{{- if eq .Values.spec.mode "Standalone" }} + replicas: 1 +{{- else if eq .Values.spec.mode "Cluster" }} + replicas: {{ .Values.spec.replicas }} +{{- end }} storageType: Durable storage: storageClassName: {{ .Values.spec.storageClass.name }} @@ -28,74 +31,12 @@ spec: resources: requests: storage: {{ .Values.spec.persistence.size }} -{{- end }} -{{- if eq .Values.spec.mode "Replicaset" }} - replicaSet: - name: {{ .Values.spec.replicaSet.name }} -{{- end }} -{{- if eq .Values.spec.mode "Sharded" }} - shardTopology: - configServer: - replicas: {{ .Values.spec.shardTopology.configServer.replicas }} - podTemplate: - spec: - resources: - {{- toYaml $res | nindent 12 }} - {{- if and .Values.form.capi.provider .Values.form.capi.dedicated }} - nodeSelector: - nodes.klusters.dev/pool: {{ $poolName }} - tolerations: - - key: dedicated - operator: "Equal" - value: "true" - effect: "NoSchedule" - {{- end }} - storage: - resources: - requests: - storage: {{ .Values.spec.shardTopology.configServer.persistence.size }} - storageClassName: {{ .Values.spec.storageClass.name }} - mongos: - replicas: {{ .Values.spec.shardTopology.mongos.replicas }} - podTemplate: - spec: - resources: - {{- toYaml $res | nindent 12 }} - {{- if and .Values.form.capi.provider .Values.form.capi.dedicated }} - nodeSelector: - nodes.klusters.dev/pool: {{ $poolName }} - tolerations: - - key: dedicated - operator: "Equal" - value: "true" - effect: "NoSchedule" - {{- end }} - shard: - shards: {{ .Values.spec.shardTopology.shard.shards }} - replicas: {{ .Values.spec.shardTopology.shard.replicas }} - podTemplate: - spec: - resources: - {{- toYaml $res | nindent 12 }} - {{- if and .Values.form.capi.provider .Values.form.capi.dedicated }} - nodeSelector: - nodes.klusters.dev/pool: {{ $poolName }} - tolerations: - - key: dedicated - operator: "Equal" - value: "true" - effect: "NoSchedule" - {{- end }} - storage: - resources: - requests: - storage: {{ .Values.spec.shardTopology.shard.persistence.size }} - storageClassName: {{ .Values.spec.storageClass.name }} -{{- else }} podTemplate: spec: - resources: - {{- toYaml $res | nindent 8 }} + containers: + - name: "rabbitmq" + resources: + {{- toYaml $res | nindent 10 }} {{- if and .Values.form.capi.provider .Values.form.capi.dedicated }} nodeSelector: nodes.klusters.dev/pool: {{ $poolName }} @@ -105,10 +46,7 @@ spec: value: "true" effect: "NoSchedule" {{- end }} -{{- end }} terminationPolicy: {{ .Values.spec.terminationPolicy }} - clusterAuthMode: {{ .Values.spec.clusterAuthMode }} - sslMode: {{ .Values.spec.sslMode }} {{- if .Values.spec.authSecret.name }} authSecret: name: {{ .Values.spec.authSecret.name }} @@ -117,15 +55,8 @@ spec: monitor: agent: {{ .Values.spec.monitoring.agent }} prometheus: - {{- with .Values.spec.monitoring.exporter }} - exporter: - args: - - --compatible-mode - resources: - {{- toYaml .resources | nindent 10 }} - {{- end }} serviceMonitor: interval: 30s labels: {{- toYaml .Values.spec.monitoring.serviceMonitor.labels | nindent 10 }} -{{- end }} +{{- end }} \ No newline at end of file diff --git a/charts/kubedbcom-rabbitmq-editor-options/templates/kubestash/backupconfiguration.yaml b/charts/kubedbcom-rabbitmq-editor-options/templates/kubestash/backupconfiguration.yaml deleted file mode 100644 index a5334beb4c..0000000000 --- a/charts/kubedbcom-rabbitmq-editor-options/templates/kubestash/backupconfiguration.yaml +++ /dev/null @@ -1,48 +0,0 @@ -{{- if eq .Values.spec.backup.tool "KubeStash" -}} - -apiVersion: core.kubestash.com/v1alpha1 -kind: BackupConfiguration -metadata: - name: {{ include "kubedbcom-rabbitmq-editor-options.fullname" . }} - namespace: {{ .Release.Namespace }} - labels: - {{- include "kubedbcom-rabbitmq-editor-options.labels" . | nindent 4 }} -spec: - target: - apiGroup: kubedb.com - kind: RabbitMQ - name: {{ include "kubedbcom-rabbitmq-editor-options.fullname" . }} - namespace: {{ .Release.Namespace }} - backends: - - name: default-backend - storageRef: - name: {{ .Values.spec.backup.kubestash.storageRef.name }} - namespace: {{ .Values.spec.backup.kubestash.storageRef.namespace }} - retentionPolicy: - name: {{ .Values.spec.backup.kubestash.retentionPolicy.name }} - namespace: {{ .Values.spec.backup.kubestash.retentionPolicy.namespace }} - sessions: - - name: full-backup - sessionHistoryLimit: 2 - scheduler: - schedule: {{ .Values.spec.backup.kubestash.schedule | quote }} - jobTemplate: - backoffLimit: 1 - repositories: - - name: {{ include "kubedbcom-rabbitmq-editor-options.fullname" . }} - backend: default-backend - directory: {{ .Release.Namespace }}/{{ include "kubedbcom-rabbitmq-editor-options.fullname" . }} - encryptionSecret: - name: {{ .Values.spec.backup.kubestash.encryptionSecret.name }} - namespace: {{ .Values.spec.backup.kubestash.encryptionSecret.namespace }} - addon: - name: rabbitmq-addon - tasks: - - name: logical-backup - {{- if semverCompare "~6.0.0" (splitList "-" .Values.spec.version | last) }} - jobTemplate: - spec: - securityContext: - runAsUser: 999 - {{- end }} -{{- end }} diff --git a/charts/kubedbcom-rabbitmq-editor-options/ui/create-ui.yaml b/charts/kubedbcom-rabbitmq-editor-options/ui/create-ui.yaml index 5e5ce30823..8126bd2647 100644 --- a/charts/kubedbcom-rabbitmq-editor-options/ui/create-ui.yaml +++ b/charts/kubedbcom-rabbitmq-editor-options/ui/create-ui.yaml @@ -64,71 +64,29 @@ steps: - hasDescription: true label: text: labels.database.mode + onChange: onModeChange options: - description: options.database.mode.Standalone.description text: options.database.mode.Standalone.label value: Standalone - description: options.database.mode.Replicaset.description text: options.database.mode.Replicaset.label - value: Replicaset - - description: options.database.mode.Sharded.description - text: options.database.mode.Sharded.label - value: Sharded + value: Cluster schema: $ref: schema#/properties/spec/properties/mode type: radio - elements: - - label: - text: labels.replicaset.name - schema: - $ref: schema#/properties/spec/properties/replicaSet/properties/name - type: input - - label: - text: labels.replicaset.number - schema: - $ref: schema#/properties/spec/properties/replicaSet/properties/replicas - type: input - if: isEqualToModelPathValue|Replicaset|/spec/mode - schema: - $ref: schema#/properties/spec/properties/replicaSet - type: single-step-form - - if: showStorageSizeField - label: - text: labels.storage.size - schema: - $ref: schema#/properties/spec/properties/persistence/properties/size - type: input - - elements: - - label: - text: labels.shardNodes - type: label-element - - label: - text: labels.shards - schema: - $ref: schema#/properties/spec/properties/shardTopology/properties/shard/properties/shards - type: input - - label: - text: labels.storage.size - schema: - $ref: schema#/properties/spec/properties/shardTopology/properties/shard/properties/persistence/properties/size - type: input - - label: - text: labels.configServer - type: label-element - label: text: labels.storage.size schema: - $ref: schema#/properties/spec/properties/shardTopology/properties/configServer/properties/persistence/properties/size + $ref: schema#/properties/spec/properties/persistence/properties/size type: input - - label: - text: labels.mongos - type: label-element - - label: + - if: showReplicaField + label: text: labels.replicaset.number schema: - $ref: schema#/properties/spec/properties/shardTopology/properties/mongos/properties/replicas + $ref: schema#/properties/spec/properties/replicas type: input - if: isEqualToModelPathValue|Sharded|/spec/mode type: single-step-form - hasDescription: true label: @@ -244,14 +202,6 @@ steps: schema: $ref: schema#/properties/spec/properties/monitoring/properties/serviceMonitor type: reusable-element - - alias: reusable-backup-option - chart: - name: uibytebuildersdev-component-backup-option - version: v0.4.19 - moduleResolver: fetchJsons - schema: - $ref: schema#/properties/spec/properties/backup - type: reusable-element - elements: - hasDescription: true onChange: dedicatedOnChange diff --git a/charts/kubedbcom-rabbitmq-editor-options/ui/functions.js b/charts/kubedbcom-rabbitmq-editor-options/ui/functions.js index e9e08ce0f6..e4f8ba3391 100644 --- a/charts/kubedbcom-rabbitmq-editor-options/ui/functions.js +++ b/charts/kubedbcom-rabbitmq-editor-options/ui/functions.js @@ -249,10 +249,35 @@ function showAuthSecretField({ function showStorageSizeField({ model, getValue, watchDependency }) { const modelPathValue = getValue(model, "/spec/mode"); watchDependency("model#/spec/mode"); - const validType = ["Standalone", "Replicaset"]; + const validType = ["Standalone", "Cluster"]; return validType.includes(modelPathValue); } +function showReplicaField({ model, getValue, watchDependency }) { + const modelPathValue = getValue(model, "/spec/mode"); + watchDependency("model#/spec/mode"); + const validType = ["Cluster"]; + return validType.includes(modelPathValue); +} + +function onModeChange({ model, getValue, watchDependency, commit }){ + const modelPathValue = getValue(model, "/spec/mode"); + watchDependency("model#/spec/mode"); + if(modelPathValue==='Cluster'){ + commit("wizard/model$update", { + path: "/spec/replicas", + value: 3, + force: true, + }); + }else{ + commit("wizard/model$update", { + path: "/spec/replicas", + value: 1, + force: true, + }); + } +} + async function getResources( { axios, storeGet }, group, @@ -721,4 +746,6 @@ return { showMultiselectZone, showSelectZone, setStorageClass, + showReplicaField, + onModeChange } \ No newline at end of file diff --git a/charts/kubedbcom-rabbitmq-editor-options/ui/language.yaml b/charts/kubedbcom-rabbitmq-editor-options/ui/language.yaml index c206bcbc06..bb0246e090 100644 --- a/charts/kubedbcom-rabbitmq-editor-options/ui/language.yaml +++ b/charts/kubedbcom-rabbitmq-editor-options/ui/language.yaml @@ -30,7 +30,7 @@ en: alert: label: Alert Profile alert_enable_question: Enable Alert? - options: Alert Optoins + options: Alert Options alias: Alias annotations: key: Key @@ -309,10 +309,10 @@ en: mode: Replicaset: description: RabbitMQ ReplicaSet for high availability. - label: Replicated Cluster - Sharded: - description: RabbitMQ sharded cluster for high performance and high availability. - label: Sharded Cluster + label: Cluster + # Sharded: + # description: RabbitMQ sharded cluster for high performance and high availability. + # label: Sharded Cluster Standalone: description: Single node RabbitMQ without high availability and sharding. label: Standalone diff --git a/charts/kubedbcom-rabbitmq-editor-options/values.openapiv3_schema.yaml b/charts/kubedbcom-rabbitmq-editor-options/values.openapiv3_schema.yaml index 3407930012..6c0c0c3fbf 100644 --- a/charts/kubedbcom-rabbitmq-editor-options/values.openapiv3_schema.yaml +++ b/charts/kubedbcom-rabbitmq-editor-options/values.openapiv3_schema.yaml @@ -31,41 +31,7 @@ properties: type: string rules: properties: - mongoDBDown: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - mongoDBPhaseCritical: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - rabbitmqCursorsTimeouts: + diskAlmostFull: properties: duration: type: string @@ -85,7 +51,7 @@ properties: - severity - val type: object - rabbitmqHighLatency: + diskUsageHigh: properties: duration: type: string @@ -105,7 +71,7 @@ properties: - severity - val type: object - rabbitmqHighTicketUtilization: + rabbitmqDown: properties: duration: type: string @@ -117,15 +83,12 @@ properties: - warning - info type: string - val: - type: integer required: - duration - enabled - severity - - val type: object - rabbitmqNumberCursorsOpen: + rabbitmqFileDescriptorsNearLimit: properties: duration: type: string @@ -145,7 +108,7 @@ properties: - severity - val type: object - rabbitmqRecurrentCursorTimeout: + rabbitmqHighConnectionChurn: properties: duration: type: string @@ -165,7 +128,7 @@ properties: - severity - val type: object - rabbitmqRecurrentMemoryPageFaults: + rabbitmqInsufficientEstablishedErlangDistributionLinks: properties: duration: type: string @@ -185,7 +148,7 @@ properties: - severity - val type: object - rabbitmqReplicationLag: + rabbitmqLowDiskWatermarkPredicted: properties: duration: type: string @@ -205,7 +168,7 @@ properties: - severity - val type: object - rabbitmqTooManyConnections: + rabbitmqPhaseCritical: properties: duration: type: string @@ -217,15 +180,12 @@ properties: - warning - info type: string - val: - type: integer required: - duration - enabled - severity - - val type: object - rabbitmqVirtualMemoryUsage: + rabbitmqQueueIsGrowing: properties: duration: type: string @@ -245,52 +205,7 @@ properties: - severity - val type: object - required: - - mongoDBDown - - mongoDBPhaseCritical - - rabbitmqCursorsTimeouts - - rabbitmqHighLatency - - rabbitmqHighTicketUtilization - - rabbitmqNumberCursorsOpen - - rabbitmqRecurrentCursorTimeout - - rabbitmqRecurrentMemoryPageFaults - - rabbitmqReplicationLag - - rabbitmqTooManyConnections - - rabbitmqVirtualMemoryUsage - type: object - required: - - enabled - - rules - type: object - opsManager: - properties: - enabled: - enum: - - none - - critical - - warning - - info - type: string - rules: - properties: - opsRequestFailed: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - opsRequestOnProgress: + rabbitmqTCPSocketsNearLimit: properties: duration: type: string @@ -302,12 +217,15 @@ properties: - warning - info type: string + val: + type: integer required: - duration - enabled - severity + - val type: object - opsRequestStatusProgressingToLong: + rabbitmqUnroutableMessages: properties: duration: type: string @@ -319,15 +237,26 @@ properties: - warning - info type: string + val: + type: integer required: - duration - enabled - severity + - val type: object required: - - opsRequestFailed - - opsRequestOnProgress - - opsRequestStatusProgressingToLong + - diskAlmostFull + - diskUsageHigh + - rabbitmqDown + - rabbitmqFileDescriptorsNearLimit + - rabbitmqHighConnectionChurn + - rabbitmqInsufficientEstablishedErlangDistributionLinks + - rabbitmqLowDiskWatermarkPredicted + - rabbitmqPhaseCritical + - rabbitmqQueueIsGrowing + - rabbitmqTCPSocketsNearLimit + - rabbitmqUnroutableMessages type: object required: - enabled @@ -386,274 +315,9 @@ properties: - enabled - rules type: object - schemaManager: - properties: - enabled: - enum: - - none - - critical - - warning - - info - type: string - rules: - properties: - schemaExpired: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - schemaFailed: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - schemaInProgressForTooLong: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - schemaPendingForTooLong: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - schemaTerminatingForTooLong: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - required: - - schemaExpired - - schemaFailed - - schemaInProgressForTooLong - - schemaPendingForTooLong - - schemaTerminatingForTooLong - type: object - required: - - enabled - - rules - type: object - stash: - properties: - enabled: - enum: - - none - - critical - - warning - - info - type: string - rules: - properties: - backupSessionFailed: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - backupSessionPeriodTooLong: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object - noBackupSessionForTooLong: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object - repositoryCorrupted: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - repositoryStorageRunningLow: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object - restoreSessionFailed: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - restoreSessionPeriodTooLong: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object - required: - - backupSessionFailed - - backupSessionPeriodTooLong - - noBackupSessionForTooLong - - repositoryCorrupted - - repositoryStorageRunningLow - - restoreSessionFailed - - restoreSessionPeriodTooLong - type: object - required: - - enabled - - rules - type: object required: - database - - opsManager - provisioner - - schemaManager - - stash type: object labels: additionalProperties: @@ -751,318 +415,6 @@ properties: format: password type: string type: object - backup: - properties: - kubestash: - properties: - encryptionSecret: - description: ObjectReference contains enough information to let you - inspect or modify the referred object. - properties: - name: - description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names' - type: string - namespace: - description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/' - type: string - required: - - name - - namespace - type: object - retentionPolicy: - description: ObjectReference contains enough information to let you - inspect or modify the referred object. - properties: - name: - description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names' - type: string - namespace: - description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/' - type: string - required: - - name - - namespace - type: object - schedule: - description: Schedule specifies the schedule for invoking backup sessions - type: string - storageRef: - description: ObjectReference contains enough information to let you - inspect or modify the referred object. - properties: - name: - description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names' - type: string - namespace: - description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/' - type: string - required: - - name - - namespace - type: object - storageSecret: - properties: - create: - type: boolean - type: object - required: - - encryptionSecret - - retentionPolicy - - storageRef - - storageSecret - type: object - stash: - properties: - authSecret: - properties: - name: - type: string - password: - format: password - type: string - type: object - backend: - properties: - azure: - properties: - auth: - properties: - AZURE_ACCOUNT_KEY: - type: string - AZURE_ACCOUNT_NAME: - type: string - required: - - AZURE_ACCOUNT_KEY - - AZURE_ACCOUNT_NAME - type: object - spec: - properties: - container: - type: string - maxConnections: - format: int64 - type: integer - prefix: - type: string - required: - - container - type: object - required: - - spec - type: object - b2: - properties: - auth: - properties: - B2_ACCOUNT_ID: - type: string - B2_ACCOUNT_KEY: - type: string - required: - - B2_ACCOUNT_ID - - B2_ACCOUNT_KEY - type: object - spec: - properties: - bucket: - type: string - maxConnections: - format: int64 - type: integer - prefix: - type: string - required: - - bucket - type: object - required: - - spec - type: object - gcs: - properties: - auth: - properties: - GOOGLE_PROJECT_ID: - type: string - GOOGLE_SERVICE_ACCOUNT_JSON_KEY: - type: string - required: - - GOOGLE_PROJECT_ID - - GOOGLE_SERVICE_ACCOUNT_JSON_KEY - type: object - spec: - properties: - bucket: - type: string - maxConnections: - format: int64 - type: integer - prefix: - type: string - required: - - bucket - type: object - required: - - spec - type: object - provider: - type: string - s3: - properties: - auth: - properties: - AWS_ACCESS_KEY_ID: - type: string - AWS_SECRET_ACCESS_KEY: - type: string - CA_CERT_DATA: - type: string - required: - - AWS_ACCESS_KEY_ID - - AWS_SECRET_ACCESS_KEY - - CA_CERT_DATA - type: object - spec: - properties: - bucket: - type: string - endpoint: - type: string - insecureTLS: - type: boolean - prefix: - type: string - region: - type: string - required: - - bucket - - endpoint - type: object - required: - - spec - type: object - swift: - properties: - auth: - properties: - OS_AUTH_TOKEN: - type: string - OS_AUTH_URL: - type: string - OS_PASSWORD: - type: string - OS_PROJECT_DOMAIN_NAME: - type: string - OS_PROJECT_NAME: - type: string - OS_REGION_NAME: - type: string - OS_STORAGE_URL: - type: string - OS_TENANT_ID: - type: string - OS_TENANT_NAME: - type: string - OS_USER_DOMAIN_NAME: - type: string - OS_USERNAME: - type: string - ST_AUTH: - type: string - ST_KEY: - type: string - ST_USER: - type: string - required: - - OS_AUTH_TOKEN - - OS_AUTH_URL - - OS_PASSWORD - - OS_PROJECT_DOMAIN_NAME - - OS_PROJECT_NAME - - OS_REGION_NAME - - OS_STORAGE_URL - - OS_TENANT_ID - - OS_TENANT_NAME - - OS_USERNAME - - OS_USER_DOMAIN_NAME - - ST_AUTH - - ST_KEY - - ST_USER - type: object - spec: - properties: - container: - type: string - prefix: - type: string - required: - - container - type: object - required: - - spec - type: object - required: - - provider - type: object - retentionPolicy: - description: RetentionPolicy indicates the policy to follow to clean - old backup snapshots - properties: - dryRun: - type: boolean - keepDaily: - format: int64 - type: integer - keepHourly: - format: int64 - type: integer - keepLast: - format: int64 - type: integer - keepMonthly: - format: int64 - type: integer - keepTags: - items: - type: string - type: array - keepWeekly: - format: int64 - type: integer - keepYearly: - format: int64 - type: integer - name: - type: string - prune: - type: boolean - required: - - name - - prune - type: object - schedule: - description: Schedule specifies the schedule for invoking backup sessions - type: string - required: - - authSecret - - backend - - retentionPolicy - type: object - tool: - default: KubeStash - enum: - - KubeStash - - Stash - type: string - required: - - tool - type: object - clusterAuthMode: - enum: - - keyFile - - sendKeyFile - - sendX509 - - x509 - type: string labels: additionalProperties: type: string @@ -1096,8 +448,7 @@ properties: mode: enum: - Standalone - - Replicaset - - Sharded + - Cluster type: string monitoring: properties: @@ -1177,16 +528,8 @@ properties: required: - size type: object - replicaSet: - properties: - name: - type: string - replicas: - type: integer - required: - - name - - replicas - type: object + replicas: + type: integer resources: description: ResourceRequirements describes the compute resource requirements. properties: @@ -1233,60 +576,6 @@ properties: value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' type: object type: object - shardTopology: - properties: - configServer: - properties: - persistence: - properties: - size: - type: string - required: - - size - type: object - replicas: - type: integer - required: - - persistence - - replicas - type: object - mongos: - properties: - replicas: - type: integer - required: - - replicas - type: object - shard: - properties: - persistence: - properties: - size: - type: string - required: - - size - type: object - replicas: - type: integer - shards: - type: integer - required: - - persistence - - replicas - - shards - type: object - required: - - configServer - - mongos - - shard - type: object - sslMode: - enum: - - disabled - - allowSSL - - preferSSL - - requireSSL - type: string storageClass: properties: name: @@ -1305,19 +594,13 @@ properties: type: string required: - authSecret - - backup - - clusterAuthMode - machine - mode - monitoring - persistence - - replicaSet - resources - - shardTopology - - sslMode - storageClass - terminationPolicy - - version type: object required: - form diff --git a/charts/kubedbcom-rabbitmq-editor-options/values.yaml b/charts/kubedbcom-rabbitmq-editor-options/values.yaml index bebbbc775f..e1f73d395a 100644 --- a/charts/kubedbcom-rabbitmq-editor-options/values.yaml +++ b/charts/kubedbcom-rabbitmq-editor-options/values.yaml @@ -17,7 +17,7 @@ metadata: spec: # List options - version: 6.0.12 + version: "3.12.12" # Annotations to add to the database custom resource annotations: {} @@ -25,29 +25,10 @@ spec: # Labels to add to all the template objects labels: {} - # Standalone, Replicaset, Sharded + # Standalone, Cluster mode: Standalone - replicaSet: - name: rs0 - replicas: 3 - shardTopology: - shard: - replicas: 3 - shards: 3 - persistence: - size: 10Gi - configServer: - replicas: 3 - persistence: - size: 2Gi - mongos: - replicas: 3 - # "keyFile", "sendKeyFile", "sendX509", "x509" - clusterAuthMode: keyFile - - # "disabled", "allowSSL", "preferSSL", "requireSSL" - sslMode: disabled + replicas: 1 terminationPolicy: WipeOut @@ -60,6 +41,9 @@ spec: machine: "" resources: + requests: + cpu: 500m + memory: 1Gi limits: cpu: 500m memory: 1Gi @@ -71,103 +55,12 @@ spec: monitoring: # Name of monitoring agent (one of "prometheus.io", "prometheus.io/operator", "prometheus.io/builtin") agent: prometheus.io/operator - exporter: - resources: # +doc-gen:break - requests: - cpu: 100m - memory: 128Mi serviceMonitor: # Specify the labels for ServiceMonitor. # Prometheus crd will select ServiceMonitor using these labels. # Only usable when monitoring agent is `prometheus.io/webhook server`. labels: {} - backup: - tool: "" - - kubestash: - schedule: "0 */2 * * *" - storageRef: - name: default - namespace: "" - retentionPolicy: - name: "keep-1mo" - namespace: "" - encryptionSecret: - name: default-encryption-secret - namespace: "" - storageSecret: - create: true - - stash: - schedule: "0 */2 * * *" - - retentionPolicy: - name: keep-last-30d - keepHourly: 24 - keepDaily: 30 - prune: true - - authSecret: - name: "" - password: "" - - backend: - provider: "" # s3,gcs,azure,swift,b2 - s3: - spec: - endpoint: "" - bucket: "" - # prefix: "" - # region: "" - auth: - AWS_ACCESS_KEY_ID: "" - AWS_SECRET_ACCESS_KEY: "" - CA_CERT_DATA: "" - azure: - spec: - container: "" - # prefix: "" - # maxConnections: 0 - auth: - AZURE_ACCOUNT_NAME: "" - AZURE_ACCOUNT_KEY: "" - gcs: - spec: - bucket: "" - # prefix: "" - # maxConnections: 0 - auth: - GOOGLE_PROJECT_ID: "" - GOOGLE_SERVICE_ACCOUNT_JSON_KEY: "" - swift: - spec: - container: "" - # prefix: "" - auth: - OS_USERNAME: "" - OS_PASSWORD: "" - OS_REGION_NAME: "" - OS_AUTH_URL: "" - OS_USER_DOMAIN_NAME: "" - OS_PROJECT_NAME: "" - OS_PROJECT_DOMAIN_NAME: "" - OS_TENANT_ID: "" - OS_TENANT_NAME: "" - ST_AUTH: "" - ST_USER: "" - ST_KEY: "" - OS_STORAGE_URL: "" - OS_AUTH_TOKEN: "" - b2: - spec: - bucket: "" - # prefix: "" - # maxConnections: 0 - auth: - B2_ACCOUNT_ID: "" - B2_ACCOUNT_KEY: "" - form: alert: ## Enable PrometheusRule alerts diff --git a/charts/kubedbcom-rabbitmq-editor/templates/monitoring/alert.yaml b/charts/kubedbcom-rabbitmq-editor/templates/monitoring/alert.yaml index 667c408cd4..750c5d5bf8 100644 --- a/charts/kubedbcom-rabbitmq-editor/templates/monitoring/alert.yaml +++ b/charts/kubedbcom-rabbitmq-editor/templates/monitoring/alert.yaml @@ -7,7 +7,8 @@ metadata: name: {{ $app }} namespace: {{ $.Release.Namespace }} labels: - {{- include "kubedbcom-rabbitmq-editor.labels" . | nindent 4 }} + app.kubernetes.io/managed-by: {{ .Release.Service }} + {{- include "kubedbcom-rabbitmq-editor.selectorLabels" . | nindent 4 }} {{- if .Values.form.alert.labels }} {{- toYaml .Values.form.alert.labels | nindent 4 }} {{- end }} diff --git a/charts/kubedbcom-rabbitmq-editor/values.openapiv3_schema.yaml b/charts/kubedbcom-rabbitmq-editor/values.openapiv3_schema.yaml index ae9a95ee30..7809fe04d4 100644 --- a/charts/kubedbcom-rabbitmq-editor/values.openapiv3_schema.yaml +++ b/charts/kubedbcom-rabbitmq-editor/values.openapiv3_schema.yaml @@ -31,41 +31,7 @@ properties: type: string rules: properties: - mongoDBDown: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - mongoDBPhaseCritical: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - rabbitmqCursorsTimeouts: + diskAlmostFull: properties: duration: type: string @@ -85,7 +51,7 @@ properties: - severity - val type: object - rabbitmqHighLatency: + diskUsageHigh: properties: duration: type: string @@ -105,7 +71,7 @@ properties: - severity - val type: object - rabbitmqHighTicketUtilization: + rabbitmqDown: properties: duration: type: string @@ -117,15 +83,12 @@ properties: - warning - info type: string - val: - type: integer required: - duration - enabled - severity - - val type: object - rabbitmqNumberCursorsOpen: + rabbitmqFileDescriptorsNearLimit: properties: duration: type: string @@ -145,7 +108,7 @@ properties: - severity - val type: object - rabbitmqRecurrentCursorTimeout: + rabbitmqHighConnectionChurn: properties: duration: type: string @@ -165,7 +128,7 @@ properties: - severity - val type: object - rabbitmqRecurrentMemoryPageFaults: + rabbitmqInsufficientEstablishedErlangDistributionLinks: properties: duration: type: string @@ -185,7 +148,7 @@ properties: - severity - val type: object - rabbitmqReplicationLag: + rabbitmqLowDiskWatermarkPredicted: properties: duration: type: string @@ -205,7 +168,7 @@ properties: - severity - val type: object - rabbitmqTooManyConnections: + rabbitmqPhaseCritical: properties: duration: type: string @@ -217,15 +180,12 @@ properties: - warning - info type: string - val: - type: integer required: - duration - enabled - severity - - val type: object - rabbitmqVirtualMemoryUsage: + rabbitmqQueueIsGrowing: properties: duration: type: string @@ -245,52 +205,7 @@ properties: - severity - val type: object - required: - - mongoDBDown - - mongoDBPhaseCritical - - rabbitmqCursorsTimeouts - - rabbitmqHighLatency - - rabbitmqHighTicketUtilization - - rabbitmqNumberCursorsOpen - - rabbitmqRecurrentCursorTimeout - - rabbitmqRecurrentMemoryPageFaults - - rabbitmqReplicationLag - - rabbitmqTooManyConnections - - rabbitmqVirtualMemoryUsage - type: object - required: - - enabled - - rules - type: object - opsManager: - properties: - enabled: - enum: - - none - - critical - - warning - - info - type: string - rules: - properties: - opsRequestFailed: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - opsRequestOnProgress: + rabbitmqTCPSocketsNearLimit: properties: duration: type: string @@ -302,12 +217,15 @@ properties: - warning - info type: string + val: + type: integer required: - duration - enabled - severity + - val type: object - opsRequestStatusProgressingToLong: + rabbitmqUnroutableMessages: properties: duration: type: string @@ -319,15 +237,26 @@ properties: - warning - info type: string + val: + type: integer required: - duration - enabled - severity + - val type: object required: - - opsRequestFailed - - opsRequestOnProgress - - opsRequestStatusProgressingToLong + - diskAlmostFull + - diskUsageHigh + - rabbitmqDown + - rabbitmqFileDescriptorsNearLimit + - rabbitmqHighConnectionChurn + - rabbitmqInsufficientEstablishedErlangDistributionLinks + - rabbitmqLowDiskWatermarkPredicted + - rabbitmqPhaseCritical + - rabbitmqQueueIsGrowing + - rabbitmqTCPSocketsNearLimit + - rabbitmqUnroutableMessages type: object required: - enabled @@ -386,274 +315,9 @@ properties: - enabled - rules type: object - schemaManager: - properties: - enabled: - enum: - - none - - critical - - warning - - info - type: string - rules: - properties: - schemaExpired: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - schemaFailed: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - schemaInProgressForTooLong: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - schemaPendingForTooLong: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - schemaTerminatingForTooLong: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - required: - - schemaExpired - - schemaFailed - - schemaInProgressForTooLong - - schemaPendingForTooLong - - schemaTerminatingForTooLong - type: object - required: - - enabled - - rules - type: object - stash: - properties: - enabled: - enum: - - none - - critical - - warning - - info - type: string - rules: - properties: - backupSessionFailed: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - backupSessionPeriodTooLong: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object - noBackupSessionForTooLong: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object - repositoryCorrupted: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - repositoryStorageRunningLow: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object - restoreSessionFailed: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - restoreSessionPeriodTooLong: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object - required: - - backupSessionFailed - - backupSessionPeriodTooLong - - noBackupSessionForTooLong - - repositoryCorrupted - - repositoryStorageRunningLow - - restoreSessionFailed - - restoreSessionPeriodTooLong - type: object - required: - - enabled - - rules - type: object required: - database - - opsManager - provisioner - - schemaManager - - stash type: object labels: additionalProperties: diff --git a/charts/kubedbcom-redis-editor-options/values.openapiv3_schema.yaml b/charts/kubedbcom-redis-editor-options/values.openapiv3_schema.yaml index 8561f16a59..de3c886fd0 100644 --- a/charts/kubedbcom-redis-editor-options/values.openapiv3_schema.yaml +++ b/charts/kubedbcom-redis-editor-options/values.openapiv3_schema.yaml @@ -31,6 +31,46 @@ properties: type: string rules: properties: + diskAlmostFull: + properties: + duration: + type: string + enabled: + type: boolean + severity: + enum: + - critical + - warning + - info + type: string + val: + type: integer + required: + - duration + - enabled + - severity + - val + type: object + diskUsageHigh: + properties: + duration: + type: string + enabled: + type: boolean + severity: + enum: + - critical + - warning + - info + type: string + val: + type: integer + required: + - duration + - enabled + - severity + - val + type: object redisDisconnectedSlaves: properties: duration: @@ -149,6 +189,8 @@ properties: - val type: object required: + - diskAlmostFull + - diskUsageHigh - redisDisconnectedSlaves - redisDown - redisMissingMaster @@ -160,6 +202,161 @@ properties: - enabled - rules type: object + kubeStash: + properties: + enabled: + enum: + - none + - critical + - warning + - info + type: string + rules: + properties: + backupSessionFailed: + properties: + duration: + type: string + enabled: + type: boolean + severity: + enum: + - critical + - warning + - info + type: string + required: + - duration + - enabled + - severity + type: object + backupSessionPeriodTooLong: + properties: + duration: + type: string + enabled: + type: boolean + severity: + enum: + - critical + - warning + - info + type: string + val: + type: integer + required: + - duration + - enabled + - severity + - val + type: object + noBackupSessionForTooLong: + properties: + duration: + type: string + enabled: + type: boolean + severity: + enum: + - critical + - warning + - info + type: string + val: + type: integer + required: + - duration + - enabled + - severity + - val + type: object + repositoryCorrupted: + properties: + duration: + type: string + enabled: + type: boolean + severity: + enum: + - critical + - warning + - info + type: string + required: + - duration + - enabled + - severity + type: object + repositoryStorageRunningLow: + properties: + duration: + type: string + enabled: + type: boolean + severity: + enum: + - critical + - warning + - info + type: string + val: + type: integer + required: + - duration + - enabled + - severity + - val + type: object + restoreSessionFailed: + properties: + duration: + type: string + enabled: + type: boolean + severity: + enum: + - critical + - warning + - info + type: string + required: + - duration + - enabled + - severity + type: object + restoreSessionPeriodTooLong: + properties: + duration: + type: string + enabled: + type: boolean + severity: + enum: + - critical + - warning + - info + type: string + val: + type: integer + required: + - duration + - enabled + - severity + - val + type: object + required: + - backupSessionFailed + - backupSessionPeriodTooLong + - noBackupSessionForTooLong + - repositoryCorrupted + - repositoryStorageRunningLow + - restoreSessionFailed + - restoreSessionPeriodTooLong + type: object + required: + - enabled + - rules + type: object opsManager: properties: enabled: @@ -441,6 +638,7 @@ properties: type: object required: - database + - kubeStash - opsManager - provisioner - stash diff --git a/charts/kubedbcom-singlestore-editor-options/values.openapiv3_schema.yaml b/charts/kubedbcom-singlestore-editor-options/values.openapiv3_schema.yaml index 3056cdb784..272ddd4be2 100644 --- a/charts/kubedbcom-singlestore-editor-options/values.openapiv3_schema.yaml +++ b/charts/kubedbcom-singlestore-editor-options/values.openapiv3_schema.yaml @@ -31,7 +31,7 @@ properties: type: string rules: properties: - mysqlHighIncomingBytes: + diskAlmostFull: properties: duration: type: string @@ -51,7 +51,7 @@ properties: - severity - val type: object - mysqlHighOutgoingBytes: + diskUsageHigh: properties: duration: type: string @@ -71,7 +71,7 @@ properties: - severity - val type: object - mysqlHighQPS: + singlestoreHighIncomingBytes: properties: duration: type: string @@ -91,7 +91,7 @@ properties: - severity - val type: object - mysqlHighThreadsRunning: + singlestoreHighOutgoingBytes: properties: duration: type: string @@ -111,7 +111,7 @@ properties: - severity - val type: object - mysqlInnoDBLogWaits: + singlestoreHighQPS: properties: duration: type: string @@ -131,24 +131,7 @@ properties: - severity - val type: object - mysqlInstanceDown: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - mysqlRestarted: + singlestoreHighThreadsRunning: properties: duration: type: string @@ -168,7 +151,7 @@ properties: - severity - val type: object - mysqlServiceDown: + singlestoreInstanceDown: properties: duration: type: string @@ -185,7 +168,7 @@ properties: - enabled - severity type: object - mysqlSlowQueries: + singlestoreRestarted: properties: duration: type: string @@ -197,12 +180,15 @@ properties: - warning - info type: string + val: + type: integer required: - duration - enabled - severity + - val type: object - mysqlTooManyConnections: + singlestoreServiceDown: properties: duration: type: string @@ -214,15 +200,12 @@ properties: - warning - info type: string - val: - type: integer required: - duration - enabled - severity - - val type: object - mysqlTooManyOpenFiles: + singlestoreTooManyConnections: properties: duration: type: string @@ -243,23 +226,22 @@ properties: - val type: object required: - - mysqlHighIncomingBytes - - mysqlHighOutgoingBytes - - mysqlHighQPS - - mysqlHighThreadsRunning - - mysqlInnoDBLogWaits - - mysqlInstanceDown - - mysqlRestarted - - mysqlServiceDown - - mysqlSlowQueries - - mysqlTooManyConnections - - mysqlTooManyOpenFiles + - diskAlmostFull + - diskUsageHigh + - singlestoreHighIncomingBytes + - singlestoreHighOutgoingBytes + - singlestoreHighQPS + - singlestoreHighThreadsRunning + - singlestoreInstanceDown + - singlestoreRestarted + - singlestoreServiceDown + - singlestoreTooManyConnections type: object required: - enabled - rules type: object - group: + kubeStash: properties: enabled: enum: @@ -270,7 +252,7 @@ properties: type: string rules: properties: - mysqlHighReplicationApplyTime: + backupSessionFailed: properties: duration: type: string @@ -282,16 +264,12 @@ properties: - warning - info type: string - val: - format: double - type: number required: - duration - enabled - severity - - val type: object - mysqlHighReplicationDelay: + backupSessionPeriodTooLong: properties: duration: type: string @@ -304,15 +282,14 @@ properties: - info type: string val: - format: double - type: number + type: integer required: - duration - enabled - severity - val type: object - mysqlHighReplicationTransportTime: + noBackupSessionForTooLong: properties: duration: type: string @@ -325,15 +302,14 @@ properties: - info type: string val: - format: double - type: number + type: integer required: - duration - enabled - severity - val type: object - mysqlReplicationHighTransactionTime: + repositoryCorrupted: properties: duration: type: string @@ -345,37 +321,12 @@ properties: - warning - info type: string - val: - format: double - type: number required: - duration - enabled - severity - - val type: object - required: - - mysqlHighReplicationApplyTime - - mysqlHighReplicationDelay - - mysqlHighReplicationTransportTime - - mysqlReplicationHighTransactionTime - type: object - required: - - enabled - - rules - type: object - opsManager: - properties: - enabled: - enum: - - none - - critical - - warning - - info - type: string - rules: - properties: - opsRequestFailed: + repositoryStorageRunningLow: properties: duration: type: string @@ -387,12 +338,15 @@ properties: - warning - info type: string + val: + type: integer required: - duration - enabled - severity + - val type: object - opsRequestOnProgress: + restoreSessionFailed: properties: duration: type: string @@ -409,7 +363,7 @@ properties: - enabled - severity type: object - opsRequestStatusProgressingToLong: + restoreSessionPeriodTooLong: properties: duration: type: string @@ -421,15 +375,22 @@ properties: - warning - info type: string + val: + type: integer required: - duration - enabled - severity + - val type: object required: - - opsRequestFailed - - opsRequestOnProgress - - opsRequestStatusProgressingToLong + - backupSessionFailed + - backupSessionPeriodTooLong + - noBackupSessionForTooLong + - repositoryCorrupted + - repositoryStorageRunningLow + - restoreSessionFailed + - restoreSessionPeriodTooLong type: object required: - enabled @@ -488,275 +449,10 @@ properties: - enabled - rules type: object - schemaManager: - properties: - enabled: - enum: - - none - - critical - - warning - - info - type: string - rules: - properties: - schemaExpired: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - schemaFailed: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - schemaInProgressForTooLong: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - schemaPendingForTooLong: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - schemaTerminatingForTooLong: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - required: - - schemaExpired - - schemaFailed - - schemaInProgressForTooLong - - schemaPendingForTooLong - - schemaTerminatingForTooLong - type: object - required: - - enabled - - rules - type: object - stash: - properties: - enabled: - enum: - - none - - critical - - warning - - info - type: string - rules: - properties: - backupSessionFailed: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - backupSessionPeriodTooLong: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object - noBackupSessionForTooLong: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object - repositoryCorrupted: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - repositoryStorageRunningLow: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object - restoreSessionFailed: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - restoreSessionPeriodTooLong: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object - required: - - backupSessionFailed - - backupSessionPeriodTooLong - - noBackupSessionForTooLong - - repositoryCorrupted - - repositoryStorageRunningLow - - restoreSessionFailed - - restoreSessionPeriodTooLong - type: object - required: - - enabled - - rules - type: object required: - database - - group - - opsManager + - kubeStash - provisioner - - schemaManager - - stash type: object labels: additionalProperties: diff --git a/charts/kubedbcom-solr-editor-options/values.openapiv3_schema.yaml b/charts/kubedbcom-solr-editor-options/values.openapiv3_schema.yaml index 7e3f07c2c8..b2d6ecd5c4 100644 --- a/charts/kubedbcom-solr-editor-options/values.openapiv3_schema.yaml +++ b/charts/kubedbcom-solr-editor-options/values.openapiv3_schema.yaml @@ -31,41 +31,7 @@ properties: type: string rules: properties: - mongoDBDown: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - mongoDBPhaseCritical: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - mongodbCursorsTimeouts: + SolrHighBufferSize: properties: duration: type: string @@ -85,7 +51,7 @@ properties: - severity - val type: object - mongodbHighLatency: + SolrHighHeapSize: properties: duration: type: string @@ -105,7 +71,7 @@ properties: - severity - val type: object - mongodbHighTicketUtilization: + diskAlmostFull: properties: duration: type: string @@ -125,7 +91,7 @@ properties: - severity - val type: object - mongodbNumberCursorsOpen: + diskUsageHigh: properties: duration: type: string @@ -145,7 +111,7 @@ properties: - severity - val type: object - mongodbRecurrentCursorTimeout: + solrDownShards: properties: duration: type: string @@ -165,7 +131,7 @@ properties: - severity - val type: object - mongodbRecurrentMemoryPageFaults: + solrHighPoolSize: properties: duration: type: string @@ -185,7 +151,7 @@ properties: - severity - val type: object - mongodbReplicationLag: + solrHighQPS: properties: duration: type: string @@ -205,7 +171,7 @@ properties: - severity - val type: object - mongodbTooManyConnections: + solrHighThreadsRunning: properties: duration: type: string @@ -225,7 +191,7 @@ properties: - severity - val type: object - mongodbVirtualMemoryUsage: + solrRecoveryFailedShards: properties: duration: type: string @@ -246,88 +212,15 @@ properties: - val type: object required: - - mongoDBDown - - mongoDBPhaseCritical - - mongodbCursorsTimeouts - - mongodbHighLatency - - mongodbHighTicketUtilization - - mongodbNumberCursorsOpen - - mongodbRecurrentCursorTimeout - - mongodbRecurrentMemoryPageFaults - - mongodbReplicationLag - - mongodbTooManyConnections - - mongodbVirtualMemoryUsage - type: object - required: - - enabled - - rules - type: object - opsManager: - properties: - enabled: - enum: - - none - - critical - - warning - - info - type: string - rules: - properties: - opsRequestFailed: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - opsRequestOnProgress: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - opsRequestStatusProgressingToLong: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - required: - - opsRequestFailed - - opsRequestOnProgress - - opsRequestStatusProgressingToLong + - SolrHighBufferSize + - SolrHighHeapSize + - diskAlmostFull + - diskUsageHigh + - solrDownShards + - solrHighPoolSize + - solrHighQPS + - solrHighThreadsRunning + - solrRecoveryFailedShards type: object required: - enabled @@ -386,274 +279,9 @@ properties: - enabled - rules type: object - schemaManager: - properties: - enabled: - enum: - - none - - critical - - warning - - info - type: string - rules: - properties: - schemaExpired: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - schemaFailed: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - schemaInProgressForTooLong: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - schemaPendingForTooLong: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - schemaTerminatingForTooLong: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - required: - - schemaExpired - - schemaFailed - - schemaInProgressForTooLong - - schemaPendingForTooLong - - schemaTerminatingForTooLong - type: object - required: - - enabled - - rules - type: object - stash: - properties: - enabled: - enum: - - none - - critical - - warning - - info - type: string - rules: - properties: - backupSessionFailed: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - backupSessionPeriodTooLong: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object - noBackupSessionForTooLong: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object - repositoryCorrupted: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - repositoryStorageRunningLow: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object - restoreSessionFailed: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - restoreSessionPeriodTooLong: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object - required: - - backupSessionFailed - - backupSessionPeriodTooLong - - noBackupSessionForTooLong - - repositoryCorrupted - - repositoryStorageRunningLow - - restoreSessionFailed - - restoreSessionPeriodTooLong - type: object - required: - - enabled - - rules - type: object required: - database - - opsManager - provisioner - - schemaManager - - stash type: object labels: additionalProperties: @@ -1250,13 +878,6 @@ properties: - persistence - replicas type: object - mongos: - properties: - replicas: - type: integer - required: - - replicas - type: object shard: properties: persistence: @@ -1277,7 +898,6 @@ properties: type: object required: - configServer - - mongos - shard type: object sslMode: diff --git a/charts/kubedbcom-zookeeper-editor-options/values.openapiv3_schema.yaml b/charts/kubedbcom-zookeeper-editor-options/values.openapiv3_schema.yaml index 7e3f07c2c8..68fae179bf 100644 --- a/charts/kubedbcom-zookeeper-editor-options/values.openapiv3_schema.yaml +++ b/charts/kubedbcom-zookeeper-editor-options/values.openapiv3_schema.yaml @@ -1,670 +1,8 @@ properties: form: properties: - alert: - properties: - additionalRuleLabels: - additionalProperties: - type: string - type: object - annotations: - additionalProperties: - type: string - type: object - enabled: - enum: - - none - - critical - - warning - - info - type: string - groups: - properties: - database: - properties: - enabled: - enum: - - none - - critical - - warning - - info - type: string - rules: - properties: - mongoDBDown: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - mongoDBPhaseCritical: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - mongodbCursorsTimeouts: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object - mongodbHighLatency: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object - mongodbHighTicketUtilization: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object - mongodbNumberCursorsOpen: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object - mongodbRecurrentCursorTimeout: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object - mongodbRecurrentMemoryPageFaults: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object - mongodbReplicationLag: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object - mongodbTooManyConnections: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object - mongodbVirtualMemoryUsage: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object - required: - - mongoDBDown - - mongoDBPhaseCritical - - mongodbCursorsTimeouts - - mongodbHighLatency - - mongodbHighTicketUtilization - - mongodbNumberCursorsOpen - - mongodbRecurrentCursorTimeout - - mongodbRecurrentMemoryPageFaults - - mongodbReplicationLag - - mongodbTooManyConnections - - mongodbVirtualMemoryUsage - type: object - required: - - enabled - - rules - type: object - opsManager: - properties: - enabled: - enum: - - none - - critical - - warning - - info - type: string - rules: - properties: - opsRequestFailed: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - opsRequestOnProgress: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - opsRequestStatusProgressingToLong: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - required: - - opsRequestFailed - - opsRequestOnProgress - - opsRequestStatusProgressingToLong - type: object - required: - - enabled - - rules - type: object - provisioner: - properties: - enabled: - enum: - - none - - critical - - warning - - info - type: string - rules: - properties: - appPhaseCritical: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - appPhaseNotReady: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - required: - - appPhaseCritical - - appPhaseNotReady - type: object - required: - - enabled - - rules - type: object - schemaManager: - properties: - enabled: - enum: - - none - - critical - - warning - - info - type: string - rules: - properties: - schemaExpired: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - schemaFailed: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - schemaInProgressForTooLong: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - schemaPendingForTooLong: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - schemaTerminatingForTooLong: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - required: - - schemaExpired - - schemaFailed - - schemaInProgressForTooLong - - schemaPendingForTooLong - - schemaTerminatingForTooLong - type: object - required: - - enabled - - rules - type: object - stash: - properties: - enabled: - enum: - - none - - critical - - warning - - info - type: string - rules: - properties: - backupSessionFailed: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - backupSessionPeriodTooLong: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object - noBackupSessionForTooLong: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object - repositoryCorrupted: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - repositoryStorageRunningLow: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object - restoreSessionFailed: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - required: - - duration - - enabled - - severity - type: object - restoreSessionPeriodTooLong: - properties: - duration: - type: string - enabled: - type: boolean - severity: - enum: - - critical - - warning - - info - type: string - val: - type: integer - required: - - duration - - enabled - - severity - - val - type: object - required: - - backupSessionFailed - - backupSessionPeriodTooLong - - noBackupSessionForTooLong - - repositoryCorrupted - - repositoryStorageRunningLow - - restoreSessionFailed - - restoreSessionPeriodTooLong - type: object - required: - - enabled - - rules - type: object - required: - - database - - opsManager - - provisioner - - schemaManager - - stash - type: object - labels: - additionalProperties: - type: string - type: object - required: - - enabled - - groups - - labels - type: object capi: + description: Alert alerts.ZooKeeperAlert `json:"alert"` properties: clusterName: type: string @@ -695,7 +33,6 @@ properties: - zones type: object required: - - alert - capi type: object metadata: @@ -1250,13 +587,6 @@ properties: - persistence - replicas type: object - mongos: - properties: - replicas: - type: integer - required: - - replicas - type: object shard: properties: persistence: @@ -1277,7 +607,6 @@ properties: type: object required: - configServer - - mongos - shard type: object sslMode: diff --git a/charts/kubevaultcom-vaultserver-editor-options/values.openapiv3_schema.yaml b/charts/kubevaultcom-vaultserver-editor-options/values.openapiv3_schema.yaml index 2edf4323bd..dd55fb2008 100644 --- a/charts/kubevaultcom-vaultserver-editor-options/values.openapiv3_schema.yaml +++ b/charts/kubevaultcom-vaultserver-editor-options/values.openapiv3_schema.yaml @@ -310,6 +310,46 @@ properties: type: string rules: properties: + diskAlmostFull: + properties: + duration: + type: string + enabled: + type: boolean + severity: + enum: + - critical + - warning + - info + type: string + val: + type: integer + required: + - duration + - enabled + - severity + - val + type: object + diskUsageHigh: + properties: + duration: + type: string + enabled: + type: boolean + severity: + enum: + - critical + - warning + - info + type: string + val: + type: integer + required: + - duration + - enabled + - severity + - val + type: object vaultAutoPilotNodeUnhealthy: properties: duration: @@ -476,6 +516,8 @@ properties: - val type: object required: + - diskAlmostFull + - diskUsageHigh - vaultAutoPilotNodeUnhealthy - vaultDown - vaultLeadershipLoss diff --git a/charts/opskubedbcom-mariadbopsrequest-editor/ui/create-ui.yaml b/charts/opskubedbcom-mariadbopsrequest-editor/ui/create-ui.yaml index 8f47e74bc6..81aa26ae2e 100644 --- a/charts/opskubedbcom-mariadbopsrequest-editor/ui/create-ui.yaml +++ b/charts/opskubedbcom-mariadbopsrequest-editor/ui/create-ui.yaml @@ -189,10 +189,10 @@ steps: value: applyConfig - text: Remove value: remove + required: true schema: $ref: discriminator#/properties/reconfigurationType type: radio - required: true - elements: - add_new_button: label: labels.createConfig @@ -214,30 +214,31 @@ steps: schema: $ref: schema#/properties/spec/properties/configuration/properties/configSecret type: single-step-form - - if: ifReconfigurationTypeEqualsTo|applyConfig - addFormLabel: labels.applyConfig.label + - addFormLabel: labels.applyConfig.label element: discriminator: configArray: emitAs: applyConfig type: array elements: - - type: input - label: + - label: text: labels.applyConfig.key + required: true schema: $ref: discriminator#/properties/configArray/items/properties/key - required: true - - type: editor - label: + type: input + - label: text: labels.applyConfig.value + required: true schema: $ref: discriminator#/properties/configArray/items/properties/value - required: true + type: editor type: single-step-form + if: ifReconfigurationTypeEqualsTo|applyConfig label: text: labels.applyConfig.label onChange: onApplyconfigChange + required: true schema: $ref: discriminator#/properties/applyConfig tableContents: @@ -253,7 +254,6 @@ steps: path: value type: value typeOfValue: code - required: true type: single-step-form-array - if: returnFalse label: diff --git a/charts/opskubedbcom-mongodbopsrequest-editor/ui/create-ui.yaml b/charts/opskubedbcom-mongodbopsrequest-editor/ui/create-ui.yaml index 43241b04af..57f31cbee5 100644 --- a/charts/opskubedbcom-mongodbopsrequest-editor/ui/create-ui.yaml +++ b/charts/opskubedbcom-mongodbopsrequest-editor/ui/create-ui.yaml @@ -459,9 +459,9 @@ steps: value: applyConfig - text: Remove value: remove + required: true schema: $ref: discriminator#/properties/reconfigurationType - required: true type: radio - elements: - add_new_button: @@ -473,8 +473,8 @@ steps: fetch: getConfigSecrets label: text: labels.configSecret - required: true refresh: true + required: true schema: $ref: schema#/properties/spec/properties/configuration/properties/standalone/properties/configSecret/properties/name type: select @@ -484,27 +484,27 @@ steps: schema: $ref: schema#/properties/spec/properties/configuration/properties/standalone/properties/configSecret type: single-step-form - - if: ifReconfigurationTypeEqualsTo|applyConfig - addFormLabel: labels.applyConfig.label + - addFormLabel: labels.applyConfig.label element: discriminator: configArray: emitAs: standalone/applyConfig type: array elements: - - type: input - label: + - label: text: labels.applyConfig.key + required: true schema: $ref: discriminator#/properties/configArray/items/properties/key - required: true - - type: editor - label: + type: input + - label: text: labels.applyConfig.value + required: true schema: $ref: discriminator#/properties/configArray/items/properties/value - required: true + type: editor type: single-step-form + if: ifReconfigurationTypeEqualsTo|applyConfig label: text: labels.applyConfig.label onChange: onApplyconfigChange|standalone @@ -544,6 +544,7 @@ steps: elements: - label: text: labels.reconfigurationType + onChange: onReconfigurationTypeChange|replicaSet options: - text: Select New Config Secret value: selectNewConfigSecret @@ -551,10 +552,9 @@ steps: value: applyConfig - text: Remove value: remove - onChange: onReconfigurationTypeChange|replicaSet + required: true schema: $ref: discriminator#/properties/reconfigurationType - required: true type: radio - elements: - add_new_button: @@ -577,27 +577,27 @@ steps: schema: $ref: schema#/properties/spec/properties/configuration/properties/replicaSet/properties/configSecret type: single-step-form - - if: ifReconfigurationTypeEqualsTo|applyConfig - addFormLabel: labels.applyConfig.label + - addFormLabel: labels.applyConfig.label element: discriminator: configArray: emitAs: replicaSet/applyConfig type: array elements: - - type: input - label: + - label: text: labels.applyConfig.key + required: true schema: $ref: discriminator#/properties/configArray/items/properties/key - required: true - - type: editor - label: + type: input + - label: text: labels.applyConfig.value + required: true schema: $ref: discriminator#/properties/configArray/items/properties/value - required: true + type: editor type: single-step-form + if: ifReconfigurationTypeEqualsTo|applyConfig label: text: labels.applyConfig.label onChange: onApplyconfigChange|replicaSet @@ -668,27 +668,27 @@ steps: schema: $ref: schema#/properties/spec/properties/configuration/properties/configServer/properties/configSecret type: single-step-form - - if: ifReconfigurationTypeEqualsTo|applyConfig|configServer|true - addFormLabel: labels.applyConfig.label + - addFormLabel: labels.applyConfig.label element: discriminator: configArray: emitAs: configServer/applyConfig type: array elements: - - type: input - label: + - label: text: labels.applyConfig.key + required: true schema: $ref: discriminator#/properties/configArray/items/properties/key - required: true - - type: editor - label: + type: input + - label: text: labels.applyConfig.value + required: true schema: $ref: discriminator#/properties/configArray/items/properties/value - required: true + type: editor type: single-step-form + if: ifReconfigurationTypeEqualsTo|applyConfig|configServer|true label: text: labels.applyConfig.label onChange: onApplyconfigChange|configServer @@ -757,27 +757,27 @@ steps: schema: $ref: schema#/properties/spec/properties/configuration/properties/mongos/properties/configSecret type: single-step-form - - if: ifReconfigurationTypeEqualsTo|applyConfig|mongos|true - addFormLabel: labels.applyConfig.label + - addFormLabel: labels.applyConfig.label element: discriminator: configArray: emitAs: mongos/applyConfig type: array elements: - - type: input - label: + - label: text: labels.applyConfig.key + required: true schema: $ref: discriminator#/properties/configArray/items/properties/key - required: true - - type: editor - label: + type: input + - label: text: labels.applyConfig.value + required: true schema: $ref: discriminator#/properties/configArray/items/properties/value - required: true + type: editor type: single-step-form + if: ifReconfigurationTypeEqualsTo|applyConfig|mongos|true label: text: labels.applyConfig.label onChange: onApplyconfigChange|mongos @@ -846,27 +846,27 @@ steps: schema: $ref: schema#/properties/spec/properties/configuration/properties/shard/properties/configSecret type: single-step-form - - if: ifReconfigurationTypeEqualsTo|applyConfig|shard|true - addFormLabel: labels.applyConfig.label + - addFormLabel: labels.applyConfig.label element: discriminator: configArray: emitAs: shard/applyConfig type: array elements: - - type: input - label: + - label: text: labels.applyConfig.key + required: true schema: $ref: discriminator#/properties/configArray/items/properties/key - required: true - - type: editor - label: + type: input + - label: text: labels.applyConfig.value + required: true schema: $ref: discriminator#/properties/configArray/items/properties/value - required: true + type: editor type: single-step-form + if: ifReconfigurationTypeEqualsTo|applyConfig|shard|true label: text: labels.applyConfig.label onChange: onApplyconfigChange|shard diff --git a/charts/uik8sappscodecom-featureset-ocm-hub-editor/README.md b/charts/uik8sappscodecom-featureset-ocm-hub-editor/README.md index 8a3a180547..10672d4d91 100644 --- a/charts/uik8sappscodecom-featureset-ocm-hub-editor/README.md +++ b/charts/uik8sappscodecom-featureset-ocm-hub-editor/README.md @@ -59,7 +59,7 @@ The following table lists the configurable parameters of the `uik8sappscodecom-f | resources.helmToolkitFluxcdIoHelmRelease_cluster_gateway_manager | | {"apiVersion":"helm.toolkit.fluxcd.io/v2","kind":"HelmRelease","metadata":{"labels":{"app.kubernetes.io/component":"cluster-gateway-manager"},"name":"cluster-gateway-manager","namespace":"kubeops"},"spec":{"chart":{"spec":{"chart":"cluster-gateway-manager","sourceRef":{"kind":"HelmRepository","name":"appscode-charts-oci","namespace":"kubeops"},"version":"v2024.2.25"}},"install":{"crds":"CreateReplace","createNamespace":true,"remediation":{"retries":-1}},"interval":"5m","releaseName":"cluster-gateway-manager","storageNamespace":"open-cluster-management-addon","targetNamespace":"open-cluster-management-addon","timeout":"30m","upgrade":{"crds":"CreateReplace","remediation":{"retries":-1}}}} | | resources.helmToolkitFluxcdIoHelmRelease_cluster_manager_hub | | {"apiVersion":"helm.toolkit.fluxcd.io/v2","kind":"HelmRelease","metadata":{"labels":{"app.kubernetes.io/component":"cluster-manager-hub"},"name":"cluster-manager-hub","namespace":"kubeops"},"spec":{"chart":{"spec":{"chart":"cluster-manager-hub","sourceRef":{"kind":"HelmRepository","name":"appscode-charts-oci","namespace":"kubeops"},"version":"v2024.2.25"}},"install":{"crds":"CreateReplace","createNamespace":true,"remediation":{"retries":-1}},"interval":"5m","releaseName":"cluster-manager-hub","storageNamespace":"open-cluster-management","targetNamespace":"open-cluster-management","timeout":"30m","upgrade":{"crds":"CreateReplace","remediation":{"retries":-1}}}} | | resources.helmToolkitFluxcdIoHelmRelease_cluster_proxy_manager | | {"apiVersion":"helm.toolkit.fluxcd.io/v2","kind":"HelmRelease","metadata":{"labels":{"app.kubernetes.io/component":"cluster-proxy-manager"},"name":"cluster-proxy-manager","namespace":"kubeops"},"spec":{"chart":{"spec":{"chart":"cluster-proxy-manager","sourceRef":{"kind":"HelmRepository","name":"appscode-charts-oci","namespace":"kubeops"},"version":"v2024.2.25"}},"install":{"crds":"CreateReplace","createNamespace":true,"remediation":{"retries":-1}},"interval":"5m","releaseName":"cluster-proxy-manager","storageNamespace":"open-cluster-management-addon","targetNamespace":"open-cluster-management-addon","timeout":"30m","upgrade":{"crds":"CreateReplace","remediation":{"retries":-1}}}} | -| resources.helmToolkitFluxcdIoHelmRelease_fluxcd_manager | | {"apiVersion":"helm.toolkit.fluxcd.io/v2","kind":"HelmRelease","metadata":{"labels":{"app.kubernetes.io/component":"fluxcd-manager"},"name":"fluxcd-manager","namespace":"kubeops"},"spec":{"chart":{"spec":{"chart":"fluxcd-manager","sourceRef":{"kind":"HelmRepository","name":"appscode-charts-oci","namespace":"kubeops"},"version":"v2024.2.25"}},"install":{"crds":"CreateReplace","createNamespace":true,"remediation":{"retries":-1}},"interval":"5m","releaseName":"fluxcd-manager","storageNamespace":"open-cluster-management-addon","targetNamespace":"open-cluster-management-addon","timeout":"30m","upgrade":{"crds":"CreateReplace","remediation":{"retries":-1}}}} | +| resources.helmToolkitFluxcdIoHelmRelease_fluxcd_manager | | {"apiVersion":"helm.toolkit.fluxcd.io/v2","kind":"HelmRelease","metadata":{"labels":{"app.kubernetes.io/component":"fluxcd-manager"},"name":"fluxcd-manager","namespace":"kubeops"},"spec":{"chart":{"spec":{"chart":"fluxcd-manager","sourceRef":{"kind":"HelmRepository","name":"appscode-charts-oci","namespace":"kubeops"},"version":"v2024.5.17"}},"install":{"crds":"CreateReplace","createNamespace":true,"remediation":{"retries":-1}},"interval":"5m","releaseName":"fluxcd-manager","storageNamespace":"open-cluster-management-addon","targetNamespace":"open-cluster-management-addon","timeout":"30m","upgrade":{"crds":"CreateReplace","remediation":{"retries":-1}}}} | | resources.helmToolkitFluxcdIoHelmRelease_license_proxyserver_manager | | {"apiVersion":"helm.toolkit.fluxcd.io/v2","kind":"HelmRelease","metadata":{"labels":{"app.kubernetes.io/component":"license-proxyserver-manager"},"name":"license-proxyserver-manager","namespace":"kubeops"},"spec":{"chart":{"spec":{"chart":"license-proxyserver-manager","sourceRef":{"kind":"HelmRepository","name":"appscode-charts-oci","namespace":"kubeops"},"version":"v2024.2.25"}},"install":{"crds":"CreateReplace","createNamespace":true,"remediation":{"retries":-1}},"interval":"5m","releaseName":"license-proxyserver-manager","storageNamespace":"open-cluster-management-addon","targetNamespace":"open-cluster-management-addon","timeout":"30m","upgrade":{"crds":"CreateReplace","remediation":{"retries":-1}}}} | | resources.helmToolkitFluxcdIoHelmRelease_managed_serviceaccount_manager | | {"apiVersion":"helm.toolkit.fluxcd.io/v2","kind":"HelmRelease","metadata":{"labels":{"app.kubernetes.io/component":"managed-serviceaccount-manager"},"name":"managed-serviceaccount-manager","namespace":"kubeops"},"spec":{"chart":{"spec":{"chart":"managed-serviceaccount-manager","sourceRef":{"kind":"HelmRepository","name":"appscode-charts-oci","namespace":"kubeops"},"version":"v2024.2.25"}},"install":{"crds":"CreateReplace","createNamespace":true,"remediation":{"retries":-1}},"interval":"5m","releaseName":"managed-serviceaccount-manager","storageNamespace":"open-cluster-management-addon","targetNamespace":"open-cluster-management-addon","timeout":"30m","upgrade":{"crds":"CreateReplace","remediation":{"retries":-1}}}} | diff --git a/charts/uik8sappscodecom-featureset-ocm-mc-editor/README.md b/charts/uik8sappscodecom-featureset-ocm-mc-editor/README.md index 0904766a09..7b61c99e61 100644 --- a/charts/uik8sappscodecom-featureset-ocm-mc-editor/README.md +++ b/charts/uik8sappscodecom-featureset-ocm-mc-editor/README.md @@ -56,9 +56,9 @@ The following table lists the configurable parameters of the `uik8sappscodecom-f | metadata.release.namespace | | default | | resources.helmToolkitFluxcdIoHelmRelease_ace_mc_addons | | {"apiVersion":"helm.toolkit.fluxcd.io/v2","kind":"HelmRelease","metadata":{"labels":{"app.kubernetes.io/component":"ace-mc-addons"},"name":"ace-mc-addons","namespace":"kubeops"},"spec":{"chart":{"spec":{"chart":"ace-ocm-addons","sourceRef":{"kind":"HelmRepository","name":"appscode-charts-oci","namespace":"kubeops"},"version":"v2024.5.17"}},"install":{"crds":"CreateReplace","createNamespace":true,"remediation":{"retries":-1}},"interval":"5m","releaseName":"ace-mc-addons","storageNamespace":"open-cluster-management-addon","targetNamespace":"open-cluster-management-addon","timeout":"30m","upgrade":{"crds":"CreateReplace","remediation":{"retries":-1}}}} | | resources.helmToolkitFluxcdIoHelmRelease_ingress_nginx_mc | | {"apiVersion":"helm.toolkit.fluxcd.io/v2","kind":"HelmRelease","metadata":{"labels":{"app.kubernetes.io/component":"ingress-nginx-mc"},"name":"ingress-nginx-mc","namespace":"kubeops"},"spec":{"chart":{"spec":{"chart":"ingress-nginx","sourceRef":{"kind":"HelmRepository","name":"appscode-charts-oci","namespace":"kubeops"},"version":"4.10.0"}},"install":{"crds":"CreateReplace","createNamespace":true,"remediation":{"retries":-1}},"interval":"5m","releaseName":"ingress-nginx-mc","storageNamespace":"multicluster-controlplane","targetNamespace":"multicluster-controlplane","timeout":"30m","upgrade":{"crds":"CreateReplace","remediation":{"retries":-1}}}} | -| resources.helmToolkitFluxcdIoHelmRelease_kube_ui_server_mc | | {"apiVersion":"helm.toolkit.fluxcd.io/v2","kind":"HelmRelease","metadata":{"labels":{"app.kubernetes.io/component":"kube-ui-server-mc"},"name":"kube-ui-server-mc","namespace":"kubeops"},"spec":{"chart":{"spec":{"chart":"kube-ui-server","sourceRef":{"kind":"HelmRepository","name":"appscode-charts-oci","namespace":"kubeops"},"version":"v2024.5.15"}},"install":{"crds":"CreateReplace","createNamespace":true,"remediation":{"retries":-1}},"interval":"5m","releaseName":"kube-ui-server-mc","storageNamespace":"kubeops","targetNamespace":"kubeops","timeout":"30m","upgrade":{"crds":"CreateReplace","remediation":{"retries":-1}}}} | +| resources.helmToolkitFluxcdIoHelmRelease_kube_ui_server_mc | | {"apiVersion":"helm.toolkit.fluxcd.io/v2","kind":"HelmRelease","metadata":{"labels":{"app.kubernetes.io/component":"kube-ui-server-mc"},"name":"kube-ui-server-mc","namespace":"kubeops"},"spec":{"chart":{"spec":{"chart":"kube-ui-server","sourceRef":{"kind":"HelmRepository","name":"appscode-charts-oci","namespace":"kubeops"},"version":"v2024.5.17"}},"install":{"crds":"CreateReplace","createNamespace":true,"remediation":{"retries":-1}},"interval":"5m","releaseName":"kube-ui-server-mc","storageNamespace":"kubeops","targetNamespace":"kubeops","timeout":"30m","upgrade":{"crds":"CreateReplace","remediation":{"retries":-1}}}} | | resources.helmToolkitFluxcdIoHelmRelease_mc_auth_manager | | {"apiVersion":"helm.toolkit.fluxcd.io/v2","kind":"HelmRelease","metadata":{"labels":{"app.kubernetes.io/component":"mc-auth-manager"},"name":"mc-auth-manager","namespace":"kubeops"},"spec":{"chart":{"spec":{"chart":"cluster-auth-manager","sourceRef":{"kind":"HelmRepository","name":"appscode-charts-oci","namespace":"kubeops"},"version":"v2024.2.25"}},"install":{"crds":"CreateReplace","createNamespace":true,"remediation":{"retries":-1}},"interval":"5m","releaseName":"mc-auth-manager","storageNamespace":"open-cluster-management-addon","targetNamespace":"open-cluster-management-addon","timeout":"30m","upgrade":{"crds":"CreateReplace","remediation":{"retries":-1}}}} | -| resources.helmToolkitFluxcdIoHelmRelease_mc_fluxcd_manager | | {"apiVersion":"helm.toolkit.fluxcd.io/v2","kind":"HelmRelease","metadata":{"labels":{"app.kubernetes.io/component":"mc-fluxcd-manager"},"name":"mc-fluxcd-manager","namespace":"kubeops"},"spec":{"chart":{"spec":{"chart":"fluxcd-manager","sourceRef":{"kind":"HelmRepository","name":"appscode-charts-oci","namespace":"kubeops"},"version":"v2024.2.25"}},"install":{"crds":"CreateReplace","createNamespace":true,"remediation":{"retries":-1}},"interval":"5m","releaseName":"mc-fluxcd-manager","storageNamespace":"open-cluster-management-addon","targetNamespace":"open-cluster-management-addon","timeout":"30m","upgrade":{"crds":"CreateReplace","remediation":{"retries":-1}}}} | +| resources.helmToolkitFluxcdIoHelmRelease_mc_fluxcd_manager | | {"apiVersion":"helm.toolkit.fluxcd.io/v2","kind":"HelmRelease","metadata":{"labels":{"app.kubernetes.io/component":"mc-fluxcd-manager"},"name":"mc-fluxcd-manager","namespace":"kubeops"},"spec":{"chart":{"spec":{"chart":"fluxcd-manager","sourceRef":{"kind":"HelmRepository","name":"appscode-charts-oci","namespace":"kubeops"},"version":"v2024.5.17"}},"install":{"crds":"CreateReplace","createNamespace":true,"remediation":{"retries":-1}},"interval":"5m","releaseName":"mc-fluxcd-manager","storageNamespace":"open-cluster-management-addon","targetNamespace":"open-cluster-management-addon","timeout":"30m","upgrade":{"crds":"CreateReplace","remediation":{"retries":-1}}}} | | resources.helmToolkitFluxcdIoHelmRelease_mc_gateway_manager | | {"apiVersion":"helm.toolkit.fluxcd.io/v2","kind":"HelmRelease","metadata":{"labels":{"app.kubernetes.io/component":"mc-gateway-manager"},"name":"mc-gateway-manager","namespace":"kubeops"},"spec":{"chart":{"spec":{"chart":"cluster-gateway-manager","sourceRef":{"kind":"HelmRepository","name":"appscode-charts-oci","namespace":"kubeops"},"version":"v2024.2.25"}},"install":{"crds":"CreateReplace","createNamespace":true,"remediation":{"retries":-1}},"interval":"5m","releaseName":"mc-gateway-manager","storageNamespace":"open-cluster-management-addon","targetNamespace":"open-cluster-management-addon","timeout":"30m","upgrade":{"crds":"CreateReplace","remediation":{"retries":-1}}}} | | resources.helmToolkitFluxcdIoHelmRelease_mc_license_manager | | {"apiVersion":"helm.toolkit.fluxcd.io/v2","kind":"HelmRelease","metadata":{"labels":{"app.kubernetes.io/component":"mc-license-manager"},"name":"mc-license-manager","namespace":"kubeops"},"spec":{"chart":{"spec":{"chart":"license-proxyserver-manager","sourceRef":{"kind":"HelmRepository","name":"appscode-charts-oci","namespace":"kubeops"},"version":"v2024.2.25"}},"install":{"crds":"CreateReplace","createNamespace":true,"remediation":{"retries":-1}},"interval":"5m","releaseName":"mc-license-manager","storageNamespace":"open-cluster-management-addon","targetNamespace":"open-cluster-management-addon","timeout":"30m","upgrade":{"crds":"CreateReplace","remediation":{"retries":-1}}}} | | resources.helmToolkitFluxcdIoHelmRelease_mc_proxy_manager | | {"apiVersion":"helm.toolkit.fluxcd.io/v2","kind":"HelmRelease","metadata":{"labels":{"app.kubernetes.io/component":"mc-proxy-manager"},"name":"mc-proxy-manager","namespace":"kubeops"},"spec":{"chart":{"spec":{"chart":"cluster-proxy-manager","sourceRef":{"kind":"HelmRepository","name":"appscode-charts-oci","namespace":"kubeops"},"version":"v2024.2.25"}},"install":{"crds":"CreateReplace","createNamespace":true,"remediation":{"retries":-1}},"interval":"5m","releaseName":"mc-proxy-manager","storageNamespace":"open-cluster-management-addon","targetNamespace":"open-cluster-management-addon","timeout":"30m","upgrade":{"crds":"CreateReplace","remediation":{"retries":-1}}}} | diff --git a/charts/uik8sappscodecom-featureset-opscenter-core-editor/README.md b/charts/uik8sappscodecom-featureset-opscenter-core-editor/README.md index 72fab96232..8ad3d026eb 100644 --- a/charts/uik8sappscodecom-featureset-opscenter-core-editor/README.md +++ b/charts/uik8sappscodecom-featureset-opscenter-core-editor/README.md @@ -54,8 +54,8 @@ The following table lists the configurable parameters of the `uik8sappscodecom-f | metadata.resource.scope | | Cluster | | metadata.release.name | | RELEASE-NAME | | metadata.release.namespace | | default | -| resources.helmToolkitFluxcdIoHelmRelease_flux2 | | {"apiVersion":"helm.toolkit.fluxcd.io/v2","kind":"HelmRelease","metadata":{"labels":{"app.kubernetes.io/component":"flux2"},"name":"flux2","namespace":"kubeops"},"spec":{"chart":{"spec":{"chart":"flux2","sourceRef":{"kind":"HelmRepository","name":"appscode-charts-oci","namespace":"kubeops"},"version":"2.12.2"}},"install":{"crds":"CreateReplace","createNamespace":true,"remediation":{"retries":-1}},"interval":"5m","releaseName":"flux2","storageNamespace":"flux-system","targetNamespace":"flux-system","timeout":"30m","upgrade":{"crds":"CreateReplace","remediation":{"retries":-1}},"values":{"helmController":{"create":true,"labels":{"ace.appscode.com/managed":"true"}},"imageAutomationController":{"create":false},"imageReflectionController":{"create":false},"kustomizeController":{"create":false},"notificationController":{"create":false},"sourceController":{"create":true,"labels":{"ace.appscode.com/managed":"true"}}}}} | -| resources.helmToolkitFluxcdIoHelmRelease_kube_ui_server | | {"apiVersion":"helm.toolkit.fluxcd.io/v2","kind":"HelmRelease","metadata":{"labels":{"app.kubernetes.io/component":"kube-ui-server"},"name":"kube-ui-server","namespace":"kubeops"},"spec":{"chart":{"spec":{"chart":"kube-ui-server","sourceRef":{"kind":"HelmRepository","name":"appscode-charts-oci","namespace":"kubeops"},"version":"v2024.5.15"}},"install":{"crds":"CreateReplace","createNamespace":true,"remediation":{"retries":-1}},"interval":"5m","releaseName":"kube-ui-server","storageNamespace":"kubeops","targetNamespace":"kubeops","timeout":"30m","upgrade":{"crds":"CreateReplace","remediation":{"retries":-1}}}} | +| resources.helmToolkitFluxcdIoHelmRelease_flux2 | | {"apiVersion":"helm.toolkit.fluxcd.io/v2","kind":"HelmRelease","metadata":{"labels":{"app.kubernetes.io/component":"flux2"},"name":"flux2","namespace":"kubeops"},"spec":{"chart":{"spec":{"chart":"flux2","sourceRef":{"kind":"HelmRepository","name":"appscode-charts-oci","namespace":"kubeops"},"version":"2.13.0"}},"install":{"crds":"CreateReplace","createNamespace":true,"remediation":{"retries":-1}},"interval":"5m","releaseName":"flux2","storageNamespace":"flux-system","targetNamespace":"flux-system","timeout":"30m","upgrade":{"crds":"CreateReplace","remediation":{"retries":-1}},"values":{"helmController":{"create":true,"labels":{"ace.appscode.com/managed":"true"}},"imageAutomationController":{"create":false},"imageReflectionController":{"create":false},"kustomizeController":{"create":false},"notificationController":{"create":false},"sourceController":{"create":true,"labels":{"ace.appscode.com/managed":"true"}}}}} | +| resources.helmToolkitFluxcdIoHelmRelease_kube_ui_server | | {"apiVersion":"helm.toolkit.fluxcd.io/v2","kind":"HelmRelease","metadata":{"labels":{"app.kubernetes.io/component":"kube-ui-server"},"name":"kube-ui-server","namespace":"kubeops"},"spec":{"chart":{"spec":{"chart":"kube-ui-server","sourceRef":{"kind":"HelmRepository","name":"appscode-charts-oci","namespace":"kubeops"},"version":"v2024.5.17"}},"install":{"crds":"CreateReplace","createNamespace":true,"remediation":{"retries":-1}},"interval":"5m","releaseName":"kube-ui-server","storageNamespace":"kubeops","targetNamespace":"kubeops","timeout":"30m","upgrade":{"crds":"CreateReplace","remediation":{"retries":-1}}}} | | resources.helmToolkitFluxcdIoHelmRelease_license_proxyserver | | {"apiVersion":"helm.toolkit.fluxcd.io/v2","kind":"HelmRelease","metadata":{"labels":{"app.kubernetes.io/component":"license-proxyserver"},"name":"license-proxyserver","namespace":"kubeops"},"spec":{"chart":{"spec":{"chart":"license-proxyserver","sourceRef":{"kind":"HelmRepository","name":"appscode-charts-oci","namespace":"kubeops"},"version":"v2024.5.17"}},"install":{"crds":"CreateReplace","createNamespace":true,"remediation":{"retries":-1}},"interval":"5m","releaseName":"license-proxyserver","storageNamespace":"kubeops","targetNamespace":"kubeops","timeout":"30m","upgrade":{"crds":"CreateReplace","remediation":{"retries":-1}}}} | | resources.helmToolkitFluxcdIoHelmRelease_opscenter_features | | {"apiVersion":"helm.toolkit.fluxcd.io/v2","kind":"HelmRelease","metadata":{"labels":{"app.kubernetes.io/component":"opscenter-features"},"name":"opscenter-features","namespace":"kubeops"},"spec":{"chart":{"spec":{"chart":"opscenter-features","sourceRef":{"kind":"HelmRepository","name":"appscode-charts-oci","namespace":"kubeops"},"version":"v2024.5.17"}},"install":{"crds":"CreateReplace","createNamespace":true,"remediation":{"retries":-1}},"interval":"5m","releaseName":"opscenter-features","storageNamespace":"kubeops","targetNamespace":"kubeops","timeout":"30m","upgrade":{"crds":"CreateReplace","remediation":{"retries":-1}},"values":{"helm":{"repositories":{"appscode-charts-oci":{"url":"oci://ghcr.io/appscode-charts"}}},"image":{"proxies":{"appscode":"r.appscode.com","dockerHub":"","dockerLibrary":"","ghcr":"ghcr.io","kubernetes":"registry.k8s.io","quay":"quay.io"}}}}} | diff --git a/go.mod b/go.mod index b8c4a74db8..d85311b1af 100644 --- a/go.mod +++ b/go.mod @@ -5,17 +5,17 @@ go 1.22.0 toolchain go1.22.1 require ( - go.appscode.dev/alerts v0.2.0 + go.appscode.dev/alerts v0.2.1-0.20240427092953-4753e804e104 k8s.io/api v0.29.2 k8s.io/apimachinery v0.29.2 - k8s.io/kube-openapi v0.0.0-20240228011516-70dd3763d340 - kmodules.xyz/client-go v0.29.13 + k8s.io/kube-openapi v0.0.0-20240403164606-bc84c2ddaf99 + kmodules.xyz/client-go v0.29.14 kmodules.xyz/monitoring-agent-api v0.29.0 kmodules.xyz/objectstore-api v0.29.1 - kmodules.xyz/offshoot-api v0.29.1 + kmodules.xyz/offshoot-api v0.29.2 kmodules.xyz/schema-checker v0.4.1 - kubedb.dev/apimachinery v0.44.0 - stash.appscode.dev/apimachinery v0.33.0 + kubedb.dev/apimachinery v0.45.2-0.20240515165215-4274e8077062 + stash.appscode.dev/apimachinery v0.34.0 x-helm.dev/apimachinery v0.0.16 ) @@ -66,10 +66,10 @@ require ( github.com/yudai/golcs v0.0.0-20170316035057-ecda9a501e82 // indirect github.com/zeebo/xxh3 v1.0.2 // indirect golang.org/x/exp v0.0.0-20230905200255-921286631fa9 // indirect - golang.org/x/net v0.21.0 // indirect + golang.org/x/net v0.23.0 // indirect golang.org/x/oauth2 v0.15.0 // indirect - golang.org/x/sys v0.17.0 // indirect - golang.org/x/term v0.17.0 // indirect + golang.org/x/sys v0.18.0 // indirect + golang.org/x/term v0.18.0 // indirect golang.org/x/text v0.14.0 // indirect golang.org/x/time v0.5.0 // indirect gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect @@ -91,7 +91,7 @@ require ( kmodules.xyz/custom-resources v0.29.1 // indirect kmodules.xyz/prober v0.29.0 // indirect kubeops.dev/petset v0.0.5 // indirect - sigs.k8s.io/controller-runtime v0.17.2 // indirect + sigs.k8s.io/controller-runtime v0.17.4 // indirect sigs.k8s.io/gateway-api v0.8.0 // indirect sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect sigs.k8s.io/structured-merge-diff/v4 v4.4.1 // indirect diff --git a/go.sum b/go.sum index 1b9217a3a8..c960f4f1e4 100644 --- a/go.sum +++ b/go.sum @@ -58,8 +58,8 @@ github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeN github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/gofuzz v1.2.0 h1:xRy4A+RhZaiKjJ1bPfwQ8sedCA+YS2YcCHW6ec7JMi0= github.com/google/gofuzz v1.2.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= -github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1 h1:K6RDEckDVWvDI9JAJYCmNdQXq6neHJOYx3V6jnqNEec= -github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20221118152302-e6195bd50e26 h1:Xim43kblpZXfIBQsbuBVKCudVG457BR2GZFIz3uw3hQ= +github.com/google/pprof v0.0.0-20221118152302-e6195bd50e26/go.mod h1:dDKJzRmX4S37WGHujM7tX//fmj1uioxKzKxz3lo4HJo= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/imdario/mergo v0.3.16 h1:wwQJbIsHYGMUyLSPrEq1CT16AhnhNJQ51+4fdHUnCl4= @@ -103,8 +103,8 @@ github.com/onsi/ginkgo v1.16.5 h1:8xi0RTUf59SOSfEtZMvwTvXYMzG4gV23XVHOZiXNtnE= github.com/onsi/ginkgo v1.16.5/go.mod h1:+E8gABHa3K6zRBolWtd+ROzc/U5bkGt0FwiG042wbpU= github.com/onsi/ginkgo/v2 v2.15.0 h1:79HwNRBAZHOEwrczrgSOPy+eFTTlIGELKy5as+ClttY= github.com/onsi/ginkgo/v2 v2.15.0/go.mod h1:HlxMHtYF57y6Dpf+mc5529KKmSq9h2FpCF+/ZkwUxKM= -github.com/onsi/gomega v1.31.1 h1:KYppCUK+bUgAZwHOu7EXVBKyQA6ILvOESHkn/tgoqvo= -github.com/onsi/gomega v1.31.1/go.mod h1:y40C95dwAD1Nz36SsEnxvfFe8FFfNxzI5eJ0EYGyAy0= +github.com/onsi/gomega v1.32.0 h1:JRYU78fJ1LPxlckP6Txi/EYqJvjtMrDC04/MM5XRHPk= +github.com/onsi/gomega v1.32.0/go.mod h1:a4x4gW6Pz2yK1MAmvluYme5lvYTn61afQ2ETw/8n4Lg= github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= @@ -149,8 +149,8 @@ github.com/zeebo/assert v1.3.0 h1:g7C04CbJuIDKNPFHmsk4hwZDO5O+kntRxzaUoNXj+IQ= github.com/zeebo/assert v1.3.0/go.mod h1:Pq9JiuJQpG8JLJdtkwrJESF0Foym2/D9XMU5ciN/wJ0= github.com/zeebo/xxh3 v1.0.2 h1:xZmwmqxHZA8AI603jOQ0tMqmBr9lPeFwGg6d+xy9DC0= github.com/zeebo/xxh3 v1.0.2/go.mod h1:5NWz9Sef7zIDm2JHfFlcQvNekmcEl9ekUZQQKCYaDcA= -go.appscode.dev/alerts v0.2.0 h1:YTwrLxqph09uMqrczMav28roJGLjTf1ahIsqNulhQ5o= -go.appscode.dev/alerts v0.2.0/go.mod h1:1u5X8iY+EMIvuHtnteeMj2RB2jQOj/uCkv6Y9BTE9co= +go.appscode.dev/alerts v0.2.1-0.20240427092953-4753e804e104 h1:DSEvjbhFsoLAluZrLj1eAz1UF+/rajrkC7PQI5NNSQg= +go.appscode.dev/alerts v0.2.1-0.20240427092953-4753e804e104/go.mod h1:5+qwuxF78YiFg/CEGfgfXREj7KEJYLgQeFhke4+lQ8k= go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto= go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE= go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0= @@ -172,8 +172,8 @@ golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLL golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= -golang.org/x/net v0.21.0 h1:AQyQV4dYCvJ7vGmJyKki9+PBdyvhkSd8EIx/qb0AYv4= -golang.org/x/net v0.21.0/go.mod h1:bIjVDfnllIU7BJ2DNgfnXvpSvtn8VRwhlsaeUTyUS44= +golang.org/x/net v0.23.0 h1:7EYJ93RZ9vYSZAIb2x3lnuvqO5zneoD6IvWjuhfxjTs= +golang.org/x/net v0.23.0/go.mod h1:JKghWKKOSdJwpW2GEx0Ja7fmaKnMsbu+MWVZTokSYmg= golang.org/x/oauth2 v0.15.0 h1:s8pnnxNVzjWyrvYdFUQq5llS1PX2zhPXmccZv99h7uQ= golang.org/x/oauth2 v0.15.0/go.mod h1:q48ptWNTY5XWf+JNten23lcvHpLJ0ZSxF5ttTHKVCAM= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -187,12 +187,12 @@ golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.17.0 h1:25cE3gD+tdBA7lp7QfhuV+rJiE9YXTcS3VG1SqssI/Y= -golang.org/x/sys v0.17.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.18.0 h1:DBdB3niSjOA/O0blCZBqDefyWNYveAYMNF1Wum0DYQ4= +golang.org/x/sys v0.18.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= -golang.org/x/term v0.17.0 h1:mkTF7LCd6WGJNL3K1Ad7kwxNfYAW6a8a8QqtMblp/4U= -golang.org/x/term v0.17.0/go.mod h1:lLRBjIVuehSbZlaOtGMbcMncT+aqLLLmKrsjNrUguwk= +golang.org/x/term v0.18.0 h1:FcHjZXDMxI8mM3nwhX9HlKop4C0YQvCVCdwYl2wOtE8= +golang.org/x/term v0.18.0/go.mod h1:ILwASektA3OnRv7amZ1xhE/KTR+u50pbXfZ03+6Nx58= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= @@ -257,32 +257,32 @@ k8s.io/component-base v0.29.2 h1:lpiLyuvPA9yV1aQwGLENYyK7n/8t6l3nn3zAtFTJYe8= k8s.io/component-base v0.29.2/go.mod h1:BfB3SLrefbZXiBfbM+2H1dlat21Uewg/5qtKOl8degM= k8s.io/klog/v2 v2.120.1 h1:QXU6cPEOIslTGvZaXvFWiP9VKyeet3sawzTOvdXb4Vw= k8s.io/klog/v2 v2.120.1/go.mod h1:3Jpz1GvMt720eyJH1ckRHK1EDfpxISzJ7I9OYgaDtPE= -k8s.io/kube-openapi v0.0.0-20240228011516-70dd3763d340 h1:BZqlfIlq5YbRMFko6/PM7FjZpUb45WallggurYhKGag= -k8s.io/kube-openapi v0.0.0-20240228011516-70dd3763d340/go.mod h1:yD4MZYeKMBwQKVht279WycxKyM84kkAx2DPrTXaeb98= +k8s.io/kube-openapi v0.0.0-20240403164606-bc84c2ddaf99 h1:w6nThEmGo9zcL+xH1Tu6pjxJ3K1jXFW+V0u4peqN8ks= +k8s.io/kube-openapi v0.0.0-20240403164606-bc84c2ddaf99/go.mod h1:yD4MZYeKMBwQKVht279WycxKyM84kkAx2DPrTXaeb98= k8s.io/utils v0.0.0-20240102154912-e7106e64919e h1:eQ/4ljkx21sObifjzXwlPKpdGLrCfRziVtos3ofG/sQ= k8s.io/utils v0.0.0-20240102154912-e7106e64919e/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0= kmodules.xyz/apiversion v0.2.0 h1:vAQYqZFm4xu4pbB1cAdHbFEPES6EQkcR4wc06xdTOWk= kmodules.xyz/apiversion v0.2.0/go.mod h1:oPX8g8LvlPdPX3Yc5YvCzJHQnw3YF/X4/jdW0b1am80= -kmodules.xyz/client-go v0.29.13 h1:BnSVgcTQgiuTCASgL7Hr8i6mrelAy0PhhtaTUYEyUdc= -kmodules.xyz/client-go v0.29.13/go.mod h1:yfJSSwYYBX/60165BsRx8RiQsYu2NzvBC+zRwviAICQ= +kmodules.xyz/client-go v0.29.14 h1:h3xkGUZlDwNQkjPbowXm1uJwHxXHoQhvWcR6hVH3FIY= +kmodules.xyz/client-go v0.29.14/go.mod h1:6Ezo5qTW+Rjd4KBV8XnDRRaiVHDINMvDioJjiDsXmi0= kmodules.xyz/custom-resources v0.29.1 h1:xiNylhs3ILRbcUhxxy306AOy9GMA4Mq7xFIptZKgal4= kmodules.xyz/custom-resources v0.29.1/go.mod h1:829zDY1EjaxPP52h1T73LZx/vgv8Pld9/uTT/ViZTc0= kmodules.xyz/monitoring-agent-api v0.29.0 h1:gpFl6OZrlMLb/ySMHdREI9EwGtnJ91oZBn9H1UFRwB4= kmodules.xyz/monitoring-agent-api v0.29.0/go.mod h1:iNbvaMTgVFOI5q2LJtGK91j4Dmjv4ZRiRdasGmWLKQI= kmodules.xyz/objectstore-api v0.29.1 h1:uUsjf8KU0w4LYowSEOnl0AbHT3hsHIu1wNLHqGe1o6s= kmodules.xyz/objectstore-api v0.29.1/go.mod h1:xG+5awH1SXYKxwN/+k1FEQvzixd5tgNqEN/1LEiB2FE= -kmodules.xyz/offshoot-api v0.29.1 h1:Pm83nzYHbqfCYKPCHrK0io387yXTaBmSydoAP6nF0WU= -kmodules.xyz/offshoot-api v0.29.1/go.mod h1:SeGhKGXxNAy56cLnskEcLgCH+LRFN+MhJzvrZzPqUlM= +kmodules.xyz/offshoot-api v0.29.2 h1:akXmvkNqFz1n9p1STVs9iP7ODYET0S7BhcYCMXEjK4A= +kmodules.xyz/offshoot-api v0.29.2/go.mod h1:Wv7Xo8wbvznI+8bhaylRFHFjkt30xRDOUOnqV8kOAxM= kmodules.xyz/prober v0.29.0 h1:Ex7m4F9rH7uWNNJlLgP63ROOM+nUATJkC2L5OQ7nwMg= kmodules.xyz/prober v0.29.0/go.mod h1:UtK+HKyI1lFLEKX+HFLyOCVju6TO93zv3kwGpzqmKOo= kmodules.xyz/schema-checker v0.4.1 h1:V5UEjR6UMAXf307lTgw+9rDRfHLTNA8g/q9DngqYI9M= kmodules.xyz/schema-checker v0.4.1/go.mod h1:BRXLB3Osuc9raHRJxHOgZFGecZ2aZumLXCHAOa5NPdA= -kubedb.dev/apimachinery v0.44.0 h1:R7tiR35tmjJxNlpHUS8PVPmSrnFMfLycDE0c9XEU1/A= -kubedb.dev/apimachinery v0.44.0/go.mod h1:7daaaWragCFLV38plrrJtsOuzinBSX3enMpliqlm3Uo= +kubedb.dev/apimachinery v0.45.2-0.20240515165215-4274e8077062 h1:4vg0ryYXVYKr6CgUG71bmLT2MxWY4z4hqpLYMUVQmOY= +kubedb.dev/apimachinery v0.45.2-0.20240515165215-4274e8077062/go.mod h1:LBoGqbBHFeIRLv1KtkkmVxjK/g9CmQETVpwszFp9Ly0= kubeops.dev/petset v0.0.5 h1:VVXi39JhjondlbHyZ98z0MLp6VCmiCMinL59K48Y2zA= kubeops.dev/petset v0.0.5/go.mod h1:ijtKT1HlAht2vBEZj5LW7C00XEs3B0d1VdCQgd5V4cA= -sigs.k8s.io/controller-runtime v0.17.2 h1:FwHwD1CTUemg0pW2otk7/U5/i5m2ymzvOXdbeGOUvw0= -sigs.k8s.io/controller-runtime v0.17.2/go.mod h1:+MngTvIQQQhfXtwfdGw/UOQ/aIaqsYywfCINOtwMO/s= +sigs.k8s.io/controller-runtime v0.17.4 h1:AMf1E0+93/jLQ13fb76S6Atwqp24EQFCmNbG84GJxew= +sigs.k8s.io/controller-runtime v0.17.4/go.mod h1:N0jpP5Lo7lMTF9aL56Z/B2oWBJjey6StQM0jRbKQXtY= sigs.k8s.io/gateway-api v0.8.0 h1:isQQ3Jx2qFP7vaA3ls0846F0Amp9Eq14P08xbSwVbQg= sigs.k8s.io/gateway-api v0.8.0/go.mod h1:okOnjPNBFbIS/Rw9kAhuIUaIkLhTKEu+ARIuXk2dgaM= sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd h1:EDPBXCAspyGV4jQlpZSudPeMmr1bNJefnuqLsRAsHZo= @@ -291,7 +291,7 @@ sigs.k8s.io/structured-merge-diff/v4 v4.4.1 h1:150L+0vs/8DA78h1u02ooW1/fFq/Lwr+s sigs.k8s.io/structured-merge-diff/v4 v4.4.1/go.mod h1:N8hJocpFajUSSeSJ9bOZ77VzejKZaXsTtZo4/u7Io08= sigs.k8s.io/yaml v1.4.0 h1:Mk1wCc2gy/F0THH0TAp1QYyJNzRm2KCLy3o5ASXVI5E= sigs.k8s.io/yaml v1.4.0/go.mod h1:Ejl7/uTz7PSA4eKMyQCUTnhZYNmLIl+5c2lQPGR2BPY= -stash.appscode.dev/apimachinery v0.33.0 h1:0HpdLsXTErZWTPl3xH1N2ev8SwLOwH20mTd8Y4Oy+yg= -stash.appscode.dev/apimachinery v0.33.0/go.mod h1:3A7DVqgJfI7LbLAM5pBpJebd/mChJb86nmekm73TRGw= +stash.appscode.dev/apimachinery v0.34.0 h1:8/Vi6w5Q+eAf7M7HArhvK+gay9cHPOvzAK6QCwdzRTg= +stash.appscode.dev/apimachinery v0.34.0/go.mod h1:qAVdUDtYDYiytYqKIHon4BMs1OXBdu3wDpfEfhM18b0= x-helm.dev/apimachinery v0.0.16 h1:Eb160xcdH9fMVHak5QSWYWxoaReytch+A7kk25QWjx0= x-helm.dev/apimachinery v0.0.16/go.mod h1:05brgFw5oWOX7OTXT090SQojqXjbttqWfqoJo+ejBU4= diff --git a/vendor/go.appscode.dev/alerts/apis/alerts/v1alpha1/connectcluster_alerts_types.go b/vendor/go.appscode.dev/alerts/apis/alerts/v1alpha1/connectcluster_alerts_types.go new file mode 100644 index 0000000000..74fcb57b9e --- /dev/null +++ b/vendor/go.appscode.dev/alerts/apis/alerts/v1alpha1/connectcluster_alerts_types.go @@ -0,0 +1,112 @@ +/* +Copyright AppsCode Inc. and Contributors + +Licensed under the AppsCode Community License 1.0.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://github.com/appscode/licenses/raw/1.0.0/AppsCode-Community-1.0.0.md + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + mona "kmodules.xyz/monitoring-agent-api/api/v1" + api "x-helm.dev/apimachinery/apis/releases/v1alpha1" +) + +const ( + ResourceKindConnectClusterAlerts = "ConnectClusterAlerts" + ResourceConnectClusterAlerts = "connectclusteralerts" + ResourceConnectClusterAlertss = "connectclusteralertss" +) + +// ConnectClusterAlerts defines the schema for KubeDB Ops Manager Operator Installer. + +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object + +// +kubebuilder:object:root=true +// +kubebuilder:resource:path=connectclusteralertss,singular=connectclusteralerts,categories={kubedb,appscode} +type ConnectClusterAlerts struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec ConnectClusterAlertsSpec `json:"spec,omitempty"` +} + +// ConnectClusterAlertsSpec is the schema for kubedb-autoscaler chart values file +type ConnectClusterAlertsSpec struct { + api.Metadata `json:"metadata,omitempty"` + Form ConnectClusterAlertsSpecForm `json:"form"` + Grafana ConnectClusterGrafana `json:"grafana"` +} + +type ConnectClusterAlertsSpecForm struct { + Alert ConnectClusterAlert `json:"alert"` +} + +type ConnectClusterAlert struct { + Enabled mona.SeverityFlag `json:"enabled"` + Labels map[string]string `json:"labels"` + // +optional + Annotations map[string]string `json:"annotations"` + // +optional + AdditionalRuleLabels map[string]string `json:"additionalRuleLabels"` + Groups ConnectClusterAlertGroups `json:"groups"` +} + +type ConnectClusterAlertGroups struct { + Connect ConnectClusterConnectAlert `json:"connect"` + Task ConnectClusterTaskAlert `json:"task"` + Provisioner ProvisionerAlert `json:"provisioner"` +} + +type ConnectClusterConnectAlert struct { + Enabled mona.SeverityFlag `json:"enabled"` + Rules ConnectClusterConnectAlertRules `json:"rules"` +} + +type ConnectClusterConnectAlertRules struct { + ConnectClusterWorkerDown FixedAlert `json:"connectClusterWorkerDown"` + ConnectClusterTooManyConnections IntValAlert `json:"connectClusterTooManyConnections"` + ConnectClusterConnectorCount IntValAlert `json:"connectClusterConnectorCount"` + ConnectClusterCoordinatorRebalanceFailed IntValAlert `json:"connectClusterCoordinatorRebalanceFailed"` + DiskUsageHigh IntValAlert `json:"diskUsageHigh"` + DiskAlmostFull IntValAlert `json:"diskAlmostFull"` +} + +type ConnectClusterTaskAlert struct { + Enabled mona.SeverityFlag `json:"enabled"` + Rules ConnectClusterTaskRules `json:"rules"` +} + +type ConnectClusterTaskRules struct { + ConnectClusterTaskErrorTotalRetries IntValAlert `json:"connectClusterTaskErrorTotalRetries"` + ConnectClusterTaskTotal IntValAlert `json:"connectClusterTaskTotal"` + ConnectClusterTaskTotalFailed FixedAlert `json:"connectClusterTaskTotalFailed"` + ConnectClusterTaskTotalDestroyed FixedAlert `json:"connectClusterTaskTotalDestroyed"` +} + +type ConnectClusterGrafana struct { + Enabled bool `json:"enabled"` + Version string `json:"version"` + JobName string `json:"jobName"` + URL string `json:"url"` + ApiKey string `json:"apikey"` +} + +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object + +// ConnectClusterAlertsList is a list of ConnectClusterAlertss +type ConnectClusterAlertsList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + // Items is a list of ConnectClusterAlerts CRD objects + Items []ConnectClusterAlerts `json:"items,omitempty"` +} diff --git a/vendor/go.appscode.dev/alerts/apis/alerts/v1alpha1/druid_alerts_types.go b/vendor/go.appscode.dev/alerts/apis/alerts/v1alpha1/druid_alerts_types.go new file mode 100644 index 0000000000..3ca20e8807 --- /dev/null +++ b/vendor/go.appscode.dev/alerts/apis/alerts/v1alpha1/druid_alerts_types.go @@ -0,0 +1,101 @@ +/* +Copyright AppsCode Inc. and Contributors + +Licensed under the AppsCode Community License 1.0.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://github.com/appscode/licenses/raw/1.0.0/AppsCode-Community-1.0.0.md + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + mona "kmodules.xyz/monitoring-agent-api/api/v1" + api "x-helm.dev/apimachinery/apis/releases/v1alpha1" +) + +const ( + ResourceKindDruidAlerts = "DruidAlerts" + ResourceDruidAlerts = "druidalerts" + ResourceDruidAlertss = "druidalertss" +) + +// DruidAlerts defines the schama for KubeDB Ops Manager Operator Installer. + +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object + +// +kubebuilder:object:root=true +// +kubebuilder:resource:path=druidalertss,singular=druidalerts,categories={kubedb,appscode} +type DruidAlerts struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec DruidAlertsSpec `json:"spec,omitempty"` +} + +// DruidAlertsSpec is the schema for kubedb-autoscaler chart values file +type DruidAlertsSpec struct { + api.Metadata `json:"metadata,omitempty"` + Form DruidAlertsSpecForm `json:"form"` + Grafana DruidGrafana `json:"grafana"` +} + +type DruidGrafana struct { + Enabled bool `json:"enabled"` + Version string `json:"version"` + JobName string `json:"jobName"` + URL string `json:"url"` + ApiKey string `json:"apikey"` +} + +type DruidAlertsSpecForm struct { + Alert DruidAlert `json:"alert"` +} + +type DruidAlert struct { + Enabled mona.SeverityFlag `json:"enabled"` + Labels map[string]string `json:"labels"` + // +optional + Annotations map[string]string `json:"annotations"` + // +optional + AdditionalRuleLabels map[string]string `json:"additionalRuleLabels"` + Groups DruidAlertGroups `json:"groups"` +} + +type DruidAlertGroups struct { + Database DruidDatabaseAlert `json:"database"` + Provisioner ProvisionerAlert `json:"provisioner"` +} + +type DruidDatabaseAlert struct { + Enabled mona.SeverityFlag `json:"enabled"` + Rules DruidDatabaseAlertRules `json:"rules"` +} + +type DruidDatabaseAlertRules struct { + DruidDown FixedAlert `json:"druidDown"` + ZKDisconnected FixedAlert `json:"zkDisconnected"` + HighQueryTime FixedAlert `json:"highQueryTime"` + HighQueryWaitTime FixedAlert `json:"highQueryWaitTime"` + HighSegmentScanPending IntValAlert `json:"highSegmentScanPending"` + HighSegmentUsage FloatValAlertConfig `json:"highSegmentUsage"` + HighJVMPoolUsage FloatValAlertConfig `json:"highJVMPoolUsage"` + HighJVMMemoryUsage FloatValAlertConfig `json:"highJVMMemoryUsage"` +} + +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object + +// DruidAlertsList is a list of DruidAlertss +type DruidAlertsList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + // Items is a list of DruidAlerts CRD objects + Items []DruidAlerts `json:"items,omitempty"` +} diff --git a/vendor/go.appscode.dev/alerts/apis/alerts/v1alpha1/elasticsearch_alerts_types.go b/vendor/go.appscode.dev/alerts/apis/alerts/v1alpha1/elasticsearch_alerts_types.go index d5d1fc5e30..ae8cb9cb1d 100644 --- a/vendor/go.appscode.dev/alerts/apis/alerts/v1alpha1/elasticsearch_alerts_types.go +++ b/vendor/go.appscode.dev/alerts/apis/alerts/v1alpha1/elasticsearch_alerts_types.go @@ -18,6 +18,7 @@ package v1alpha1 import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + mona "kmodules.xyz/monitoring-agent-api/api/v1" api "x-helm.dev/apimachinery/apis/releases/v1alpha1" ) @@ -50,7 +51,7 @@ type ElasticsearchAlertsSpecForm struct { } type ElasticsearchAlert struct { - Enabled SeverityFlag `json:"enabled"` + Enabled mona.SeverityFlag `json:"enabled"` Labels map[string]string `json:"labels"` // +optional Annotations map[string]string `json:"annotations"` @@ -64,10 +65,11 @@ type ElasticsearchAlertGroups struct { Provisioner ProvisionerAlert `json:"provisioner"` OpsManager OpsManagerAlert `json:"opsManager"` Stash StashAlert `json:"stash"` + KubeStash KubeStashAlert `json:"kubeStash"` } type ElasticsearchDatabaseAlert struct { - Enabled SeverityFlag `json:"enabled"` + Enabled mona.SeverityFlag `json:"enabled"` Rules ElasticsearchDatabaseAlertRules `json:"rules"` } @@ -85,6 +87,8 @@ type ElasticsearchDatabaseAlertRules struct { ElasticsearchUnassignedShards FixedAlert `json:"elasticsearchUnassignedShards"` ElasticsearchPendingTasks FixedAlert `json:"elasticsearchPendingTasks"` ElasticsearchNoNewDocuments10M FixedAlert `json:"elasticsearchNoNewDocuments10m"` + DiskUsageHigh IntValAlert `json:"diskUsageHigh"` + DiskAlmostFull IntValAlert `json:"diskAlmostFull"` } // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object diff --git a/vendor/go.appscode.dev/alerts/apis/alerts/v1alpha1/kafka_alerts_types.go b/vendor/go.appscode.dev/alerts/apis/alerts/v1alpha1/kafka_alerts_types.go new file mode 100644 index 0000000000..8b89a212c2 --- /dev/null +++ b/vendor/go.appscode.dev/alerts/apis/alerts/v1alpha1/kafka_alerts_types.go @@ -0,0 +1,110 @@ +/* +Copyright AppsCode Inc. and Contributors + +Licensed under the AppsCode Community License 1.0.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://github.com/appscode/licenses/raw/1.0.0/AppsCode-Community-1.0.0.md + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + mona "kmodules.xyz/monitoring-agent-api/api/v1" + api "x-helm.dev/apimachinery/apis/releases/v1alpha1" +) + +const ( + ResourceKindKafkaAlerts = "KafkaAlerts" + ResourceKafkaAlerts = "Kafkaalerts" + ResourceKafkaAlertss = "kafkaalertss" +) + +// KafkaAlerts defines the schama for KubeDB Ops Manager Operator Installer. + +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object + +// +kubebuilder:object:root=true +// +kubebuilder:resource:path=kafkaalertss,singular=Kafkaalerts,categories={kubedb,appscode} +type KafkaAlerts struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec KafkaAlertsSpec `json:"spec,omitempty"` +} + +// KafkaAlertsSpec is the schema for kubedb-autoscaler chart values file +type KafkaAlertsSpec struct { + api.Metadata `json:"metadata,omitempty"` + Form KafkaAlertsSpecForm `json:"form"` + Grafana KafkaGrafana `json:"grafana"` +} + +type KafkaAlertsSpecForm struct { + Alert KafkaAlert `json:"alert"` +} + +type KafkaAlert struct { + Enabled mona.SeverityFlag `json:"enabled"` + Labels map[string]string `json:"labels"` + // +optional + Annotations map[string]string `json:"annotations"` + // +optional + AdditionalRuleLabels map[string]string `json:"additionalRuleLabels"` + Groups KafkaAlertGroups `json:"groups"` +} + +type KafkaAlertGroups struct { + Database KafkaDatabaseAlert `json:"database"` + Provisioner ProvisionerAlert `json:"provisioner"` + OpsManager OpsManagerAlert `json:"opsManager"` +} + +type KafkaDatabaseAlert struct { + Enabled mona.SeverityFlag `json:"enabled"` + Rules KafkaDatabaseAlertRules `json:"rules"` +} + +type KafkaDatabaseAlertRules struct { + KafkaUnderReplicatedPartitions IntValAlert `json:"KafkaUnderReplicatedPartitions"` + KafkaAbnormalControllerState IntValAlert `json:"KafkaAbnormalControllerState"` + KafkaOfflinePartitions IntValAlert `json:"KafkaOfflinePartitions"` + KafkaUnderMinIsrPartitionCount IntValAlert `json:"KafkaUnderMinIsrPartitionCount"` + KafkaOfflineLogDirectoryCount IntValAlert `json:"KafkaOfflineLogDirectoryCount"` + KafkaISRExpandRate IntValAlert `json:"KafkaISRExpandRate"` + KafkaISRShrinkRate IntValAlert `json:"KafkaISRShrinkRate"` + KafkaBrokerCount IntValAlert `json:"KafkaBrokerCount"` + KafkaNetworkProcessorIdlePercent IntValAlert `json:"KafkaNetworkProcessorIdlePercent"` + KafkaRequestHandlerIdlePercent IntValAlert `json:"kafkaRequestHandlerIdlePercent"` + KafkaReplicaFetcherManagerMaxLag IntValAlert `json:"KafkaReplicaFetcherManagerMaxLag"` + KafkaTopicCount IntValAlert `json:"KafkaTopicCount"` + KafkaPhaseCritical FixedAlert `json:"kafkaPhaseCritical"` + KafkaDown FixedAlert `json:"kafkaDown"` + DiskUsageHigh IntValAlert `json:"diskUsageHigh"` + DiskAlmostFull IntValAlert `json:"diskAlmostFull"` +} + +type KafkaGrafana struct { + Enabled bool `json:"enabled"` + Version string `json:"version"` + JobName string `json:"jobName"` + URL string `json:"url"` + ApiKey string `json:"apikey"` +} + +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object + +// KafkaAlertsList is a list of KafkaAlertss +type KafkaAlertsList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + // Items is a list of KafkaAlerts CRD objects + Items []KafkaAlerts `json:"items,omitempty"` +} diff --git a/vendor/go.appscode.dev/alerts/apis/alerts/v1alpha1/mariadb_alerts_types.go b/vendor/go.appscode.dev/alerts/apis/alerts/v1alpha1/mariadb_alerts_types.go index b412b3541c..9675b80086 100644 --- a/vendor/go.appscode.dev/alerts/apis/alerts/v1alpha1/mariadb_alerts_types.go +++ b/vendor/go.appscode.dev/alerts/apis/alerts/v1alpha1/mariadb_alerts_types.go @@ -18,6 +18,7 @@ package v1alpha1 import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + mona "kmodules.xyz/monitoring-agent-api/api/v1" api "x-helm.dev/apimachinery/apis/releases/v1alpha1" ) @@ -50,7 +51,7 @@ type MariadbAlertsSpecForm struct { } type MariaDBAlert struct { - Enabled SeverityFlag `json:"enabled"` + Enabled mona.SeverityFlag `json:"enabled"` Labels map[string]string `json:"labels"` // +optional Annotations map[string]string `json:"annotations"` @@ -65,11 +66,12 @@ type MariaDBAlertGroups struct { Provisioner ProvisionerAlert `json:"provisioner"` OpsManager OpsManagerAlert `json:"opsManager"` Stash StashAlert `json:"stash"` + KubeStash KubeStashAlert `json:"kubeStash"` SchemaManager SchemaManagerAlert `json:"schemaManager"` } type MariaDBDatabaseAlert struct { - Enabled SeverityFlag `json:"enabled"` + Enabled mona.SeverityFlag `json:"enabled"` Rules MariaDBDatabaseAlertRules `json:"rules"` } @@ -85,10 +87,12 @@ type MariaDBDatabaseAlertRules struct { MySQLHighIncomingBytes IntValAlert `json:"mysqlHighIncomingBytes"` MySQLHighOutgoingBytes IntValAlert `json:"mysqlHighOutgoingBytes"` MySQLTooManyOpenFiles IntValAlert `json:"mysqlTooManyOpenFiles"` + DiskUsageHigh IntValAlert `json:"diskUsageHigh"` + DiskAlmostFull IntValAlert `json:"diskAlmostFull"` } type MariaDBClusterAlert struct { - Enabled SeverityFlag `json:"enabled"` + Enabled mona.SeverityFlag `json:"enabled"` Rules MariaDBClusterAlertRules `json:"rules"` } diff --git a/vendor/go.appscode.dev/alerts/apis/alerts/v1alpha1/mongodb_alerts_types.go b/vendor/go.appscode.dev/alerts/apis/alerts/v1alpha1/mongodb_alerts_types.go index 1289f1a965..757b0028ad 100644 --- a/vendor/go.appscode.dev/alerts/apis/alerts/v1alpha1/mongodb_alerts_types.go +++ b/vendor/go.appscode.dev/alerts/apis/alerts/v1alpha1/mongodb_alerts_types.go @@ -18,6 +18,7 @@ package v1alpha1 import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + mona "kmodules.xyz/monitoring-agent-api/api/v1" api "x-helm.dev/apimachinery/apis/releases/v1alpha1" ) @@ -43,6 +44,7 @@ type MongodbAlerts struct { type MongodbAlertsSpec struct { api.Metadata `json:"metadata,omitempty"` Form MongodbAlertsSpecForm `json:"form"` + Grafana Grafana `json:"grafana"` } type MongodbAlertsSpecForm struct { @@ -50,7 +52,7 @@ type MongodbAlertsSpecForm struct { } type MongoDBAlert struct { - Enabled SeverityFlag `json:"enabled"` + Enabled mona.SeverityFlag `json:"enabled"` Labels map[string]string `json:"labels"` // +optional Annotations map[string]string `json:"annotations"` @@ -64,11 +66,12 @@ type MongoDBAlertGroups struct { Provisioner ProvisionerAlert `json:"provisioner"` OpsManager OpsManagerAlert `json:"opsManager"` Stash StashAlert `json:"stash"` + KubeStash KubeStashAlert `json:"kubeStash"` SchemaManager SchemaManagerAlert `json:"schemaManager"` } type MongoDBDatabaseAlert struct { - Enabled SeverityFlag `json:"enabled"` + Enabled mona.SeverityFlag `json:"enabled"` Rules MongoDBDatabaseAlertRules `json:"rules"` } @@ -84,6 +87,16 @@ type MongoDBDatabaseAlertRules struct { MongodbHighTicketUtilization IntValAlert `json:"mongodbHighTicketUtilization"` MongodbRecurrentCursorTimeout IntValAlert `json:"mongodbRecurrentCursorTimeout"` MongodbRecurrentMemoryPageFaults IntValAlert `json:"mongodbRecurrentMemoryPageFaults"` + DiskUsageHigh IntValAlert `json:"diskUsageHigh"` + DiskAlmostFull IntValAlert `json:"diskAlmostFull"` +} + +type Grafana struct { + Enabled bool `json:"enabled"` + Version string `json:"version"` + JobName string `json:"jobName"` + URL string `json:"url"` + ApiKey string `json:"apikey"` } // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object diff --git a/vendor/go.appscode.dev/alerts/apis/alerts/v1alpha1/mysql_alerts_types.go b/vendor/go.appscode.dev/alerts/apis/alerts/v1alpha1/mysql_alerts_types.go index b7b7d7c919..e495984b34 100644 --- a/vendor/go.appscode.dev/alerts/apis/alerts/v1alpha1/mysql_alerts_types.go +++ b/vendor/go.appscode.dev/alerts/apis/alerts/v1alpha1/mysql_alerts_types.go @@ -18,6 +18,7 @@ package v1alpha1 import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + mona "kmodules.xyz/monitoring-agent-api/api/v1" api "x-helm.dev/apimachinery/apis/releases/v1alpha1" ) @@ -50,7 +51,7 @@ type MysqlAlertsSpecForm struct { } type MySQLAlert struct { - Enabled SeverityFlag `json:"enabled"` + Enabled mona.SeverityFlag `json:"enabled"` Labels map[string]string `json:"labels"` // +optional Annotations map[string]string `json:"annotations"` @@ -65,11 +66,12 @@ type MySQLAlertGroups struct { Provisioner ProvisionerAlert `json:"provisioner"` OpsManager OpsManagerAlert `json:"opsManager"` Stash StashAlert `json:"stash"` + KubeStash KubeStashAlert `json:"kubeStash"` SchemaManager SchemaManagerAlert `json:"schemaManager"` } type MySQLDatabaseAlert struct { - Enabled SeverityFlag `json:"enabled"` + Enabled mona.SeverityFlag `json:"enabled"` Rules MySQLDatabaseAlertRules `json:"rules"` } @@ -85,10 +87,12 @@ type MySQLDatabaseAlertRules struct { MySQLHighIncomingBytes IntValAlert `json:"mysqlHighIncomingBytes"` MySQLHighOutgoingBytes IntValAlert `json:"mysqlHighOutgoingBytes"` MySQLTooManyOpenFiles IntValAlert `json:"mysqlTooManyOpenFiles"` + DiskUsageHigh IntValAlert `json:"diskUsageHigh"` + DiskAlmostFull IntValAlert `json:"diskAlmostFull"` } type MySQLGroupAlert struct { - Enabled SeverityFlag `json:"enabled"` + Enabled mona.SeverityFlag `json:"enabled"` Rules MySQLGroupAlertRules `json:"rules"` } diff --git a/vendor/go.appscode.dev/alerts/apis/alerts/v1alpha1/perconaxtradb_alerts_types.go b/vendor/go.appscode.dev/alerts/apis/alerts/v1alpha1/perconaxtradb_alerts_types.go index 80082db804..9c101bf28a 100644 --- a/vendor/go.appscode.dev/alerts/apis/alerts/v1alpha1/perconaxtradb_alerts_types.go +++ b/vendor/go.appscode.dev/alerts/apis/alerts/v1alpha1/perconaxtradb_alerts_types.go @@ -18,6 +18,7 @@ package v1alpha1 import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + mona "kmodules.xyz/monitoring-agent-api/api/v1" api "x-helm.dev/apimachinery/apis/releases/v1alpha1" ) @@ -50,7 +51,7 @@ type PerconaxtradbAlertsSpecForm struct { } type PerconaXtraDBAlert struct { - Enabled SeverityFlag `json:"enabled"` + Enabled mona.SeverityFlag `json:"enabled"` Labels map[string]string `json:"labels"` // +optional Annotations map[string]string `json:"annotations"` @@ -69,7 +70,7 @@ type PerconaXtraDBAlertGroups struct { } type PerconaXtraDBDatabaseAlert struct { - Enabled SeverityFlag `json:"enabled"` + Enabled mona.SeverityFlag `json:"enabled"` Rules PerconaXtraDBDatabaseAlertRules `json:"rules"` } @@ -85,10 +86,12 @@ type PerconaXtraDBDatabaseAlertRules struct { MySQLHighIncomingBytes IntValAlert `json:"mysqlHighIncomingBytes"` MySQLHighOutgoingBytes IntValAlert `json:"mysqlHighOutgoingBytes"` MySQLTooManyOpenFiles IntValAlert `json:"mysqlTooManyOpenFiles"` + DiskUsageHigh IntValAlert `json:"diskUsageHigh"` + DiskAlmostFull IntValAlert `json:"diskAlmostFull"` } type PerconaXtraDBClusterAlert struct { - Enabled SeverityFlag `json:"enabled"` + Enabled mona.SeverityFlag `json:"enabled"` Rules PerconaXtraDBClusterAlertRules `json:"rules"` } diff --git a/vendor/go.appscode.dev/alerts/apis/alerts/v1alpha1/pgpool_alerts_types.go b/vendor/go.appscode.dev/alerts/apis/alerts/v1alpha1/pgpool_alerts_types.go new file mode 100644 index 0000000000..c2da99ab5a --- /dev/null +++ b/vendor/go.appscode.dev/alerts/apis/alerts/v1alpha1/pgpool_alerts_types.go @@ -0,0 +1,103 @@ +/* +Copyright AppsCode Inc. and Contributors + +Licensed under the AppsCode Community License 1.0.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://github.com/appscode/licenses/raw/1.0.0/AppsCode-Community-1.0.0.md + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + mona "kmodules.xyz/monitoring-agent-api/api/v1" + api "x-helm.dev/apimachinery/apis/releases/v1alpha1" +) + +const ( + ResourceKindPgpoolAlerts = "PgpoolAlerts" + ResourcePgpoolAlerts = "pgpoolalerts" + ResourcePgpoolAlertss = "pgpoolalertss" +) + +// PgpoolAlerts defines the schama for KubeDB Ops Manager Operator Installer. + +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object + +// +kubebuilder:object:root=true +// +kubebuilder:resource:path=pgpoolalertss,singular=pgpoolalerts,categories={kubedb,appscode} +type PgpoolAlerts struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec PgpoolAlertsSpec `json:"spec,omitempty"` +} + +// PgpoolAlertsSpec is the schema for kubedb-autoscaler chart values file +type PgpoolAlertsSpec struct { + api.Metadata `json:"metadata,omitempty"` + Form PgpoolAlertsSpecForm `json:"form"` + Grafana PgpoolGrafana `json:"grafana"` +} + +type PgpoolGrafana struct { + Enabled bool `json:"enabled"` + Version string `json:"version"` + JobName string `json:"jobName"` + URL string `json:"url"` + ApiKey string `json:"apikey"` +} + +type PgpoolAlertsSpecForm struct { + Alert PgpoolAlert `json:"alert"` +} + +type PgpoolAlert struct { + Enabled mona.SeverityFlag `json:"enabled"` + Labels map[string]string `json:"labels"` + // +optional + Annotations map[string]string `json:"annotations"` + // +optional + AdditionalRuleLabels map[string]string `json:"additionalRuleLabels"` + Groups PgpoolAlertGroups `json:"groups"` +} + +type PgpoolAlertGroups struct { + Database PgpoolDatabaseAlert `json:"database"` + Provisioner ProvisionerAlert `json:"provisioner"` +} + +type PgpoolDatabaseAlert struct { + Enabled mona.SeverityFlag `json:"enabled"` + Rules PgpoolDatabaseAlertRules `json:"rules"` +} + +type PgpoolDatabaseAlertRules struct { + PgpoolTooManyConnections FloatValAlertConfig `json:"pgpoolTooManyConnections"` + PgpoolExporterLastScrapeError FixedAlert `json:"pgpoolExporterLastScrapeError"` + PgpoolDown FixedAlert `json:"pgpoolDown"` + PgpoolPostgresHealthCheckFailure IntValAlert `json:"pgpoolPostgresHealthCheckFailure"` + PgpoolBackendPanicMessageCount IntValAlert `json:"pgpoolBackendPanicMessageCount"` + PgpoolBackendFatalMessageCount IntValAlert `json:"pgpoolBackendFatalMessageCount"` + PgpoolBackendErrorMessageCount IntValAlert `json:"pgpoolBackendErrorMessageCount"` + PgpoolLowCacheMemory FloatValAlertConfig `json:"pgpoolLowCacheMemory"` + DiskUsageHigh IntValAlert `json:"diskUsageHigh"` + DiskAlmostFull IntValAlert `json:"diskAlmostFull"` +} + +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object + +// PgpoolAlertsList is a list of PgpoolAlertss +type PgpoolAlertsList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + // Items is a list of PgpoolAlerts CRD objects + Items []PgpoolAlerts `json:"items,omitempty"` +} diff --git a/vendor/go.appscode.dev/alerts/apis/alerts/v1alpha1/postgres_types.go b/vendor/go.appscode.dev/alerts/apis/alerts/v1alpha1/postgres_types.go index 3dc7d5a79d..37b69e6863 100644 --- a/vendor/go.appscode.dev/alerts/apis/alerts/v1alpha1/postgres_types.go +++ b/vendor/go.appscode.dev/alerts/apis/alerts/v1alpha1/postgres_types.go @@ -18,6 +18,7 @@ package v1alpha1 import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + mona "kmodules.xyz/monitoring-agent-api/api/v1" api "x-helm.dev/apimachinery/apis/releases/v1alpha1" ) @@ -50,7 +51,7 @@ type PostgresAlertsSpecForm struct { } type PostgresAlert struct { - Enabled SeverityFlag `json:"enabled"` + Enabled mona.SeverityFlag `json:"enabled"` Labels map[string]string `json:"labels"` // +optional Annotations map[string]string `json:"annotations"` @@ -64,11 +65,12 @@ type PostgresAlertGroups struct { Provisioner ProvisionerAlert `json:"provisioner"` OpsManager OpsManagerAlert `json:"opsManager"` Stash StashAlert `json:"stash"` + KubeStash KubeStashAlert `json:"kubeStash"` SchemaManager SchemaManagerAlert `json:"schemaManager"` } type PostgresDatabaseAlert struct { - Enabled SeverityFlag `json:"enabled"` + Enabled mona.SeverityFlag `json:"enabled"` Rules PostgresDatabaseAlertRules `json:"rules"` } @@ -83,6 +85,8 @@ type PostgresDatabaseAlertRules struct { PostgresHighRollbackRate FloatValAlertConfig `json:"postgresHighRollbackRate"` PostgresSplitBrain FixedAlert `json:"postgresSplitBrain"` PostgresTooManyLocksAcquired FloatValAlertConfig `json:"postgresTooManyLocksAcquired"` + DiskUsageHigh IntValAlert `json:"diskUsageHigh"` + DiskAlmostFull IntValAlert `json:"diskAlmostFull"` } // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object diff --git a/vendor/go.appscode.dev/alerts/apis/alerts/v1alpha1/proxysql_alerts_types.go b/vendor/go.appscode.dev/alerts/apis/alerts/v1alpha1/proxysql_alerts_types.go index f194bcf96f..583acc63e6 100644 --- a/vendor/go.appscode.dev/alerts/apis/alerts/v1alpha1/proxysql_alerts_types.go +++ b/vendor/go.appscode.dev/alerts/apis/alerts/v1alpha1/proxysql_alerts_types.go @@ -18,6 +18,7 @@ package v1alpha1 import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + mona "kmodules.xyz/monitoring-agent-api/api/v1" api "x-helm.dev/apimachinery/apis/releases/v1alpha1" ) @@ -50,7 +51,7 @@ type ProxysqlAlertsSpecForm struct { } type ProxySQLAlert struct { - Enabled SeverityFlag `json:"enabled"` + Enabled mona.SeverityFlag `json:"enabled"` Labels map[string]string `json:"labels"` // +optional Annotations map[string]string `json:"annotations"` @@ -67,7 +68,7 @@ type ProxySQLAlertGroups struct { } type ProxySQLDatabaseAlert struct { - Enabled SeverityFlag `json:"enabled"` + Enabled mona.SeverityFlag `json:"enabled"` Rules ProxySQLDatabaseAlertRules `json:"rules"` } @@ -81,10 +82,12 @@ type ProxySQLDatabaseAlertRules struct { ProxySQLHighQPS IntValAlert `json:"proxysqlHighQPS"` ProxySQLHighIncomingBytes IntValAlert `json:"proxysqlHighIncomingBytes"` ProxySQLHighOutgoingBytes IntValAlert `json:"proxysqlHighOutgoingBytes"` + DiskUsageHigh IntValAlert `json:"diskUsageHigh"` + DiskAlmostFull IntValAlert `json:"diskAlmostFull"` } type ProxySQLClusterAlert struct { - Enabled SeverityFlag `json:"enabled"` + Enabled mona.SeverityFlag `json:"enabled"` Rules ProxySQLClusterAlertRules `json:"rules"` } diff --git a/vendor/go.appscode.dev/alerts/apis/alerts/v1alpha1/rabbitmq_alerts_types.go b/vendor/go.appscode.dev/alerts/apis/alerts/v1alpha1/rabbitmq_alerts_types.go new file mode 100644 index 0000000000..801228b914 --- /dev/null +++ b/vendor/go.appscode.dev/alerts/apis/alerts/v1alpha1/rabbitmq_alerts_types.go @@ -0,0 +1,104 @@ +/* +Copyright AppsCode Inc. and Contributors + +Licensed under the AppsCode Community License 1.0.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://github.com/appscode/licenses/raw/1.0.0/AppsCode-Community-1.0.0.md + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + mona "kmodules.xyz/monitoring-agent-api/api/v1" + api "x-helm.dev/apimachinery/apis/releases/v1alpha1" +) + +const ( + ResourceKindRabbitmqAlerts = "RabbitmqAlerts" + ResourceRabbitmqAlerts = "rabbitmqalerts" + ResourceRabbitmqAlertss = "rabbitmqalertss" +) + +// RabbitmqAlerts defines the schama for KubeDB Ops Manager Operator Installer. + +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object + +// +kubebuilder:object:root=true +// +kubebuilder:resource:path=rabbitmqalertss,singular=rabbitmqalerts,categories={kubedb,appscode} +type RabbitmqAlerts struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec RabbitmqAlertsSpec `json:"spec,omitempty"` +} + +// RabbitmqAlertsSpec is the schema for kubedb-autoscaler chart values file +type RabbitmqAlertsSpec struct { + api.Metadata `json:"metadata,omitempty"` + Form RabbitmqAlertsSpecForm `json:"form"` + Grafana RabbitmqGrafana `json:"grafana"` +} + +type RabbitmqAlertsSpecForm struct { + Alert RabbitmqAlert `json:"alert"` +} + +type RabbitmqAlert struct { + Enabled mona.SeverityFlag `json:"enabled"` + Labels map[string]string `json:"labels"` + // +optional + Annotations map[string]string `json:"annotations"` + // +optional + AdditionalRuleLabels map[string]string `json:"additionalRuleLabels"` + Groups RabbitmqAlertGroups `json:"groups"` +} + +type RabbitmqAlertGroups struct { + Database RabbitmqDatabaseAlert `json:"database"` + Provisioner ProvisionerAlert `json:"provisioner"` +} + +type RabbitmqDatabaseAlert struct { + Enabled mona.SeverityFlag `json:"enabled"` + Rules RabbitmqDatabaseAlertRules `json:"rules"` +} + +type RabbitmqDatabaseAlertRules struct { + RabbitmqFileDescriptorsNearLimit IntValAlert `json:"rabbitmqFileDescriptorsNearLimit"` + RabbitmqQueueIsGrowing IntValAlert `json:"rabbitmqQueueIsGrowing"` + RabbitmqUnroutableMessages IntValAlert `json:"rabbitmqUnroutableMessages"` + RabbitmqTCPSocketsNearLimit IntValAlert `json:"rabbitmqTCPSocketsNearLimit"` + RabbitmqLowDiskWatermarkPredicted IntValAlert `json:"rabbitmqLowDiskWatermarkPredicted"` + RabbitmqInsufficientEstablishedErlangDistributionLinks IntValAlert `json:"rabbitmqInsufficientEstablishedErlangDistributionLinks"` + RabbitmqHighConnectionChurn IntValAlert `json:"rabbitmqHighConnectionChurn"` + RabbitmqPhaseCritical FixedAlert `json:"rabbitmqPhaseCritical"` + RabbitmqDown FixedAlert `json:"rabbitmqDown"` + DiskUsageHigh IntValAlert `json:"diskUsageHigh"` + DiskAlmostFull IntValAlert `json:"diskAlmostFull"` +} + +type RabbitmqGrafana struct { + Enabled bool `json:"enabled"` + Version string `json:"version"` + JobName string `json:"jobName"` + URL string `json:"url"` + ApiKey string `json:"apikey"` +} + +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object + +// RabbitmqAlertsList is a list of RabbitmqAlertss +type RabbitmqAlertsList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + // Items is a list of RabbitmqAlerts CRD objects + Items []RabbitmqAlerts `json:"items,omitempty"` +} diff --git a/vendor/go.appscode.dev/alerts/apis/alerts/v1alpha1/redis_alerts_types.go b/vendor/go.appscode.dev/alerts/apis/alerts/v1alpha1/redis_alerts_types.go index 2abe1da0ca..6ec6e55a35 100644 --- a/vendor/go.appscode.dev/alerts/apis/alerts/v1alpha1/redis_alerts_types.go +++ b/vendor/go.appscode.dev/alerts/apis/alerts/v1alpha1/redis_alerts_types.go @@ -18,6 +18,7 @@ package v1alpha1 import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + mona "kmodules.xyz/monitoring-agent-api/api/v1" api "x-helm.dev/apimachinery/apis/releases/v1alpha1" ) @@ -50,7 +51,7 @@ type RedisAlertsSpecForm struct { } type RedisAlert struct { - Enabled SeverityFlag `json:"enabled"` + Enabled mona.SeverityFlag `json:"enabled"` Labels map[string]string `json:"labels"` // +optional Annotations map[string]string `json:"annotations"` @@ -64,10 +65,11 @@ type RedisAlertGroups struct { Provisioner ProvisionerAlert `json:"provisioner"` OpsManager OpsManagerAlert `json:"opsManager"` Stash StashAlert `json:"stash"` + KubeStash KubeStashAlert `json:"kubeStash"` } type RedisDatabaseAlert struct { - Enabled SeverityFlag `json:"enabled"` + Enabled mona.SeverityFlag `json:"enabled"` Rules RedisDatabaseAlertRules `json:"rules"` } @@ -78,6 +80,8 @@ type RedisDatabaseAlertRules struct { RedisDisconnectedSlaves IntValAlert `json:"redisDisconnectedSlaves"` RedisTooManyConnections IntValAlert `json:"redisTooManyConnections"` RedisRejectedConnections IntValAlert `json:"redisRejectedConnections"` + DiskUsageHigh IntValAlert `json:"diskUsageHigh"` + DiskAlmostFull IntValAlert `json:"diskAlmostFull"` } // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object diff --git a/vendor/go.appscode.dev/alerts/apis/alerts/v1alpha1/register.go b/vendor/go.appscode.dev/alerts/apis/alerts/v1alpha1/register.go index 267e9708f8..214a6c94a8 100644 --- a/vendor/go.appscode.dev/alerts/apis/alerts/v1alpha1/register.go +++ b/vendor/go.appscode.dev/alerts/apis/alerts/v1alpha1/register.go @@ -54,8 +54,14 @@ func Resource(resource string) schema.GroupResource { // Adds the list of known types to api.Scheme. func addKnownTypes(scheme *runtime.Scheme) error { scheme.AddKnownTypes(SchemeGroupVersion, + &DruidAlerts{}, + &DruidAlertsList{}, + &ConnectClusterAlerts{}, + &ConnectClusterAlertsList{}, &ElasticsearchAlerts{}, &ElasticsearchAlertsList{}, + &KafkaAlerts{}, + &KafkaAlertsList{}, &MariadbAlerts{}, &MariadbAlertsList{}, &MongodbAlerts{}, @@ -64,12 +70,22 @@ func addKnownTypes(scheme *runtime.Scheme) error { &MysqlAlertsList{}, &PerconaxtradbAlerts{}, &PerconaxtradbAlertsList{}, + &PgpoolAlerts{}, + &PgpoolAlertsList{}, &PostgresAlerts{}, &PostgresAlertsList{}, &ProxysqlAlerts{}, &ProxysqlAlertsList{}, + &RabbitmqAlerts{}, + &RabbitmqAlertsList{}, &RedisAlerts{}, &RedisAlertsList{}, + &SinglestoreAlerts{}, + &SinglestoreAlertsList{}, + &SolrAlerts{}, + &SolrAlertsList{}, + &VaultserverAlerts{}, + &VaultserverAlertsList{}, ) scheme.AddKnownTypes(SchemeGroupVersion, diff --git a/vendor/go.appscode.dev/alerts/apis/alerts/v1alpha1/singlestore_alerts_types.go b/vendor/go.appscode.dev/alerts/apis/alerts/v1alpha1/singlestore_alerts_types.go new file mode 100644 index 0000000000..8644aa56bb --- /dev/null +++ b/vendor/go.appscode.dev/alerts/apis/alerts/v1alpha1/singlestore_alerts_types.go @@ -0,0 +1,102 @@ +/* +Copyright AppsCode Inc. and Contributors + +Licensed under the AppsCode Community License 1.0.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://github.com/appscode/licenses/raw/1.0.0/AppsCode-Community-1.0.0.md + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + mona "kmodules.xyz/monitoring-agent-api/api/v1" + api "x-helm.dev/apimachinery/apis/releases/v1alpha1" +) + +const ( + ResourceKindSinglestoreAlerts = "SinglestoreAlerts" + ResourceSinglestoreAlerts = "singlestorealerts" + ResourceSinglestoreAlertss = "singlestorealertss" +) + +// SinglestoreAlerts defines the schama for KubeDB Ops Manager Operator Installer. + +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object + +// +kubebuilder:object:root=true +// +kubebuilder:resource:path=singlestorealertss,singular=singlestorealerts,categories={kubedb,appscode} +type SinglestoreAlerts struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec SinglestoreAlertsSpec `json:"spec,omitempty"` +} + +// SinglestoreAlertsSpec is the schema for kubedb-autoscaler chart values file +type SinglestoreAlertsSpec struct { + api.Metadata `json:"metadata,omitempty"` + Form SinglestoreAlertsSpecForm `json:"form"` + Grafana SinglestoreGrafana `json:"grafana"` +} + +type SinglestoreAlertsSpecForm struct { + Alert SinglestoreAlert `json:"alert"` +} + +type SinglestoreAlert struct { + Enabled mona.SeverityFlag `json:"enabled"` + Labels map[string]string `json:"labels"` + // +optional + Annotations map[string]string `json:"annotations"` + // +optional + AdditionalRuleLabels map[string]string `json:"additionalRuleLabels"` + Groups SinglestoreAlertGroups `json:"groups"` +} +type SinglestoreAlertGroups struct { + Database SinglestoreDatabaseAlert `json:"database"` + Provisioner ProvisionerAlert `json:"provisioner"` + KubeStash KubeStashAlert `json:"kubeStash"` +} +type SinglestoreDatabaseAlert struct { + Enabled mona.SeverityFlag `json:"enabled"` + Rules SinglestoreDatabaseAlertRules `json:"rules"` +} + +type SinglestoreDatabaseAlertRules struct { + SinglestoreInstanceDown FixedAlert `json:"singlestoreInstanceDown"` + SinglestoreServiceDown FixedAlert `json:"singlestoreServiceDown"` + SinglestoreTooManyConnections IntValAlert `json:"singlestoreTooManyConnections"` + SinglestoreHighThreadsRunning IntValAlert `json:"singlestoreHighThreadsRunning"` + SinglestoreRestarted IntValAlert `json:"singlestoreRestarted"` + SinglestoreHighQPS IntValAlert `json:"singlestoreHighQPS"` + SinglestoreHighIncomingBytes IntValAlert `json:"singlestoreHighIncomingBytes"` + SinglestoreHighOutgoingBytes IntValAlert `json:"singlestoreHighOutgoingBytes"` + DiskUsageHigh IntValAlert `json:"diskUsageHigh"` + DiskAlmostFull IntValAlert `json:"diskAlmostFull"` +} + +type SinglestoreGrafana struct { + Enabled bool `json:"enabled"` + Version string `json:"version"` + JobName string `json:"jobName"` + URL string `json:"url"` + ApiKey string `json:"apikey"` +} + +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object + +// SinglestoreAlertsList is a list of SinglestoreAlertss +type SinglestoreAlertsList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + // Items is a list of SinglestoreAlerts CRD objects + Items []SinglestoreAlerts `json:"items,omitempty"` +} diff --git a/vendor/go.appscode.dev/alerts/apis/alerts/v1alpha1/solr_alerts_type.go b/vendor/go.appscode.dev/alerts/apis/alerts/v1alpha1/solr_alerts_type.go new file mode 100644 index 0000000000..0e09ac85a7 --- /dev/null +++ b/vendor/go.appscode.dev/alerts/apis/alerts/v1alpha1/solr_alerts_type.go @@ -0,0 +1,100 @@ +/* +Copyright AppsCode Inc. and Contributors + +Licensed under the AppsCode Community License 1.0.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://github.com/appscode/licenses/raw/1.0.0/AppsCode-Community-1.0.0.md + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + mona "kmodules.xyz/monitoring-agent-api/api/v1" + api "x-helm.dev/apimachinery/apis/releases/v1alpha1" +) + +const ( + ResourceKindSolrAlerts = "SolrAlerts" + ResourceSolrAlerts = "solralerts" + ResourceSolrAlertss = "solralertss" +) + +// SolrAlerts defines the schama for KubeDB Ops Manager Operator Installer. + +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object + +// +kubebuilder:object:root=true +// +kubebuilder:resource:path=solralertss,singular=solralerts,categories={kubedb,appscode} +type SolrAlerts struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec SolrAlertsSpec `json:"spec,omitempty"` +} + +// SolrAlertsSpec is the schema for kubedb-autoscaler chart values file +type SolrAlertsSpec struct { + api.Metadata `json:"metadata,omitempty"` + Form SolrAlertsSpecForm `json:"form"` + Grafana SolrGrafana `json:"grafana"` +} + +type SolrAlertsSpecForm struct { + Alert SolrAlert `json:"alert"` +} + +type SolrAlert struct { + Enabled mona.SeverityFlag `json:"enabled"` + Labels map[string]string `json:"labels"` + // +optional + Annotations map[string]string `json:"annotations"` + // +optional + AdditionalRuleLabels map[string]string `json:"additionalRuleLabels"` + Groups SolrAlertGroups `json:"groups"` +} +type SolrAlertGroups struct { + Database SolrDatabaseAlert `json:"database"` + Provisioner ProvisionerAlert `json:"provisioner"` +} +type SolrDatabaseAlert struct { + Enabled mona.SeverityFlag `json:"enabled"` + Rules SolrDatabaseAlertRules `json:"rules"` +} + +type SolrDatabaseAlertRules struct { + SolrDownShards IntValAlert `json:"solrDownShards"` + SolrRecoveryFailedShards IntValAlert `json:"solrRecoveryFailedShards"` + SolrHighThreadsRunning IntValAlert `json:"solrHighThreadsRunning"` + SolrHighPoolSize IntValAlert `json:"solrHighPoolSize"` + SolrHighQPS IntValAlert `json:"solrHighQPS"` + SolrHighHeapSize IntValAlert `json:"SolrHighHeapSize"` + SolrHighBufferSize IntValAlert `json:"SolrHighBufferSize"` + DiskUsageHigh IntValAlert `json:"diskUsageHigh"` + DiskAlmostFull IntValAlert `json:"diskAlmostFull"` +} + +type SolrGrafana struct { + Enabled bool `json:"enabled"` + Version string `json:"version"` + JobName string `json:"jobName"` + URL string `json:"url"` + ApiKey string `json:"apikey"` +} + +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object + +// SolrAlertsList is a list of SolrAlertss +type SolrAlertsList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + // Items is a list of SolrAlerts CRD objects + Items []SolrAlerts `json:"items,omitempty"` +} diff --git a/vendor/go.appscode.dev/alerts/apis/alerts/v1alpha1/types.go b/vendor/go.appscode.dev/alerts/apis/alerts/v1alpha1/types.go index 4e590a0497..8d790051b8 100644 --- a/vendor/go.appscode.dev/alerts/apis/alerts/v1alpha1/types.go +++ b/vendor/go.appscode.dev/alerts/apis/alerts/v1alpha1/types.go @@ -16,15 +16,7 @@ limitations under the License. package v1alpha1 -// +kubebuilder:validation:Enum=none;critical;warning;info -type SeverityFlag string - -const ( - SeverityFlagNone SeverityFlag = "none" // 0 - SeverityFlagCritical SeverityFlag = "critical" // 1 - SeverityFlagWarning SeverityFlag = "warning" // 2 - SeverityFlagInfo SeverityFlag = "info" // 3 -) +import mona "kmodules.xyz/monitoring-agent-api/api/v1" // +kubebuilder:validation:Enum=critical;warning;info type Severity string @@ -63,7 +55,7 @@ type FloatValAlertConfig struct { } type ProvisionerAlert struct { - Enabled SeverityFlag `json:"enabled"` + Enabled mona.SeverityFlag `json:"enabled"` Rules ProvisionerAlertRules `json:"rules"` } @@ -73,7 +65,7 @@ type ProvisionerAlertRules struct { } type OpsManagerAlert struct { - Enabled SeverityFlag `json:"enabled"` + Enabled mona.SeverityFlag `json:"enabled"` Rules OpsManagerAlertRules `json:"rules"` } @@ -84,8 +76,8 @@ type OpsManagerAlertRules struct { } type StashAlert struct { - Enabled SeverityFlag `json:"enabled"` - Rules StashAlertRules `json:"rules"` + Enabled mona.SeverityFlag `json:"enabled"` + Rules StashAlertRules `json:"rules"` } type StashAlertRules struct { @@ -98,8 +90,23 @@ type StashAlertRules struct { RestoreSessionPeriodTooLong IntValAlert `json:"restoreSessionPeriodTooLong"` } +type KubeStashAlert struct { + Enabled mona.SeverityFlag `json:"enabled"` + Rules KubeStashAlertRules `json:"rules"` +} + +type KubeStashAlertRules struct { + BackupSessionFailed FixedAlert `json:"backupSessionFailed"` + RestoreSessionFailed FixedAlert `json:"restoreSessionFailed"` + NoBackupSessionForTooLong IntValAlert `json:"noBackupSessionForTooLong"` + RepositoryCorrupted FixedAlert `json:"repositoryCorrupted"` + RepositoryStorageRunningLow IntValAlert `json:"repositoryStorageRunningLow"` + BackupSessionPeriodTooLong IntValAlert `json:"backupSessionPeriodTooLong"` + RestoreSessionPeriodTooLong IntValAlert `json:"restoreSessionPeriodTooLong"` +} + type SchemaManagerAlert struct { - Enabled SeverityFlag `json:"enabled"` + Enabled mona.SeverityFlag `json:"enabled"` Rules SchemaManagerAlertRules `json:"rules"` } diff --git a/vendor/go.appscode.dev/alerts/apis/alerts/v1alpha1/vaultserver_alerts_types.go b/vendor/go.appscode.dev/alerts/apis/alerts/v1alpha1/vaultserver_alerts_types.go index 70c29732b4..101b8d9e4e 100644 --- a/vendor/go.appscode.dev/alerts/apis/alerts/v1alpha1/vaultserver_alerts_types.go +++ b/vendor/go.appscode.dev/alerts/apis/alerts/v1alpha1/vaultserver_alerts_types.go @@ -18,6 +18,7 @@ package v1alpha1 import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + mona "kmodules.xyz/monitoring-agent-api/api/v1" api "x-helm.dev/apimachinery/apis/releases/v1alpha1" ) @@ -50,7 +51,7 @@ type VaultserverAlertsSpecForm struct { } type VaultserverAlertsAlert struct { - Enabled SeverityFlag `json:"enabled"` + Enabled mona.SeverityFlag `json:"enabled"` Labels map[string]string `json:"labels"` // +optional Annotations map[string]string `json:"annotations"` @@ -67,7 +68,7 @@ type VaultserverAlertsAlertGroups struct { } type VaultserverAlertsVaultAlert struct { - Enabled SeverityFlag `json:"enabled"` + Enabled mona.SeverityFlag `json:"enabled"` Rules VaultserverAlertsVaultAlertRules `json:"rules"` } @@ -81,6 +82,8 @@ type VaultserverAlertsVaultAlertRules struct { VaultRequestFailures FixedAlert `json:"vaultRequestFailures"` VaultResponseFailures FixedAlert `json:"vaultResponseFailures"` VaultTooManyInfinityTokens IntValAlert `json:"vaultTooManyInfinityTokens"` + DiskUsageHigh IntValAlert `json:"diskUsageHigh"` + DiskAlmostFull IntValAlert `json:"diskAlmostFull"` } // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object diff --git a/vendor/go.appscode.dev/alerts/apis/alerts/v1alpha1/zz_generated.deepcopy.go b/vendor/go.appscode.dev/alerts/apis/alerts/v1alpha1/zz_generated.deepcopy.go index cd0981c6b2..50937e1709 100644 --- a/vendor/go.appscode.dev/alerts/apis/alerts/v1alpha1/zz_generated.deepcopy.go +++ b/vendor/go.appscode.dev/alerts/apis/alerts/v1alpha1/zz_generated.deepcopy.go @@ -26,7 +26,7 @@ import ( ) // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ElasticsearchAlert) DeepCopyInto(out *ElasticsearchAlert) { +func (in *ConnectClusterAlert) DeepCopyInto(out *ConnectClusterAlert) { *out = *in if in.Labels != nil { in, out := &in.Labels, &out.Labels @@ -53,38 +53,37 @@ func (in *ElasticsearchAlert) DeepCopyInto(out *ElasticsearchAlert) { return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchAlert. -func (in *ElasticsearchAlert) DeepCopy() *ElasticsearchAlert { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectClusterAlert. +func (in *ConnectClusterAlert) DeepCopy() *ConnectClusterAlert { if in == nil { return nil } - out := new(ElasticsearchAlert) + out := new(ConnectClusterAlert) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ElasticsearchAlertGroups) DeepCopyInto(out *ElasticsearchAlertGroups) { +func (in *ConnectClusterAlertGroups) DeepCopyInto(out *ConnectClusterAlertGroups) { *out = *in - out.Database = in.Database + out.Connect = in.Connect + out.Task = in.Task out.Provisioner = in.Provisioner - out.OpsManager = in.OpsManager - out.Stash = in.Stash return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchAlertGroups. -func (in *ElasticsearchAlertGroups) DeepCopy() *ElasticsearchAlertGroups { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectClusterAlertGroups. +func (in *ConnectClusterAlertGroups) DeepCopy() *ConnectClusterAlertGroups { if in == nil { return nil } - out := new(ElasticsearchAlertGroups) + out := new(ConnectClusterAlertGroups) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ElasticsearchAlerts) DeepCopyInto(out *ElasticsearchAlerts) { +func (in *ConnectClusterAlerts) DeepCopyInto(out *ConnectClusterAlerts) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) @@ -92,18 +91,18 @@ func (in *ElasticsearchAlerts) DeepCopyInto(out *ElasticsearchAlerts) { return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchAlerts. -func (in *ElasticsearchAlerts) DeepCopy() *ElasticsearchAlerts { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectClusterAlerts. +func (in *ConnectClusterAlerts) DeepCopy() *ConnectClusterAlerts { if in == nil { return nil } - out := new(ElasticsearchAlerts) + out := new(ConnectClusterAlerts) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *ElasticsearchAlerts) DeepCopyObject() runtime.Object { +func (in *ConnectClusterAlerts) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -111,13 +110,13 @@ func (in *ElasticsearchAlerts) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ElasticsearchAlertsList) DeepCopyInto(out *ElasticsearchAlertsList) { +func (in *ConnectClusterAlertsList) DeepCopyInto(out *ConnectClusterAlertsList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]ElasticsearchAlerts, len(*in)) + *out = make([]ConnectClusterAlerts, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -125,18 +124,18 @@ func (in *ElasticsearchAlertsList) DeepCopyInto(out *ElasticsearchAlertsList) { return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchAlertsList. -func (in *ElasticsearchAlertsList) DeepCopy() *ElasticsearchAlertsList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectClusterAlertsList. +func (in *ConnectClusterAlertsList) DeepCopy() *ConnectClusterAlertsList { if in == nil { return nil } - out := new(ElasticsearchAlertsList) + out := new(ConnectClusterAlertsList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *ElasticsearchAlertsList) DeepCopyObject() runtime.Object { +func (in *ConnectClusterAlertsList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -144,136 +143,135 @@ func (in *ElasticsearchAlertsList) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ElasticsearchAlertsSpec) DeepCopyInto(out *ElasticsearchAlertsSpec) { +func (in *ConnectClusterAlertsSpec) DeepCopyInto(out *ConnectClusterAlertsSpec) { *out = *in out.Metadata = in.Metadata in.Form.DeepCopyInto(&out.Form) + out.Grafana = in.Grafana return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchAlertsSpec. -func (in *ElasticsearchAlertsSpec) DeepCopy() *ElasticsearchAlertsSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectClusterAlertsSpec. +func (in *ConnectClusterAlertsSpec) DeepCopy() *ConnectClusterAlertsSpec { if in == nil { return nil } - out := new(ElasticsearchAlertsSpec) + out := new(ConnectClusterAlertsSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ElasticsearchAlertsSpecForm) DeepCopyInto(out *ElasticsearchAlertsSpecForm) { +func (in *ConnectClusterAlertsSpecForm) DeepCopyInto(out *ConnectClusterAlertsSpecForm) { *out = *in in.Alert.DeepCopyInto(&out.Alert) return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchAlertsSpecForm. -func (in *ElasticsearchAlertsSpecForm) DeepCopy() *ElasticsearchAlertsSpecForm { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectClusterAlertsSpecForm. +func (in *ConnectClusterAlertsSpecForm) DeepCopy() *ConnectClusterAlertsSpecForm { if in == nil { return nil } - out := new(ElasticsearchAlertsSpecForm) + out := new(ConnectClusterAlertsSpecForm) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ElasticsearchDatabaseAlert) DeepCopyInto(out *ElasticsearchDatabaseAlert) { +func (in *ConnectClusterConnectAlert) DeepCopyInto(out *ConnectClusterConnectAlert) { *out = *in out.Rules = in.Rules return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchDatabaseAlert. -func (in *ElasticsearchDatabaseAlert) DeepCopy() *ElasticsearchDatabaseAlert { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectClusterConnectAlert. +func (in *ConnectClusterConnectAlert) DeepCopy() *ConnectClusterConnectAlert { if in == nil { return nil } - out := new(ElasticsearchDatabaseAlert) + out := new(ConnectClusterConnectAlert) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ElasticsearchDatabaseAlertRules) DeepCopyInto(out *ElasticsearchDatabaseAlertRules) { +func (in *ConnectClusterConnectAlertRules) DeepCopyInto(out *ConnectClusterConnectAlertRules) { *out = *in - out.ElasticsearchHeapUsageTooHigh = in.ElasticsearchHeapUsageTooHigh - out.ElasticsearchHeapUsageWarning = in.ElasticsearchHeapUsageWarning - out.ElasticsearchDiskOutOfSpace = in.ElasticsearchDiskOutOfSpace - out.ElasticsearchDiskSpaceLow = in.ElasticsearchDiskSpaceLow - out.ElasticsearchClusterRed = in.ElasticsearchClusterRed - out.ElasticsearchClusterYellow = in.ElasticsearchClusterYellow - out.ElasticsearchHealthyNodes = in.ElasticsearchHealthyNodes - out.ElasticsearchHealthyDataNodes = in.ElasticsearchHealthyDataNodes - out.ElasticsearchRelocatingShards = in.ElasticsearchRelocatingShards - out.ElasticsearchInitializingShards = in.ElasticsearchInitializingShards - out.ElasticsearchUnassignedShards = in.ElasticsearchUnassignedShards - out.ElasticsearchPendingTasks = in.ElasticsearchPendingTasks - out.ElasticsearchNoNewDocuments10M = in.ElasticsearchNoNewDocuments10M + out.ConnectClusterWorkerDown = in.ConnectClusterWorkerDown + out.ConnectClusterTooManyConnections = in.ConnectClusterTooManyConnections + out.ConnectClusterConnectorCount = in.ConnectClusterConnectorCount + out.ConnectClusterCoordinatorRebalanceFailed = in.ConnectClusterCoordinatorRebalanceFailed + out.DiskUsageHigh = in.DiskUsageHigh + out.DiskAlmostFull = in.DiskAlmostFull return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchDatabaseAlertRules. -func (in *ElasticsearchDatabaseAlertRules) DeepCopy() *ElasticsearchDatabaseAlertRules { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectClusterConnectAlertRules. +func (in *ConnectClusterConnectAlertRules) DeepCopy() *ConnectClusterConnectAlertRules { if in == nil { return nil } - out := new(ElasticsearchDatabaseAlertRules) + out := new(ConnectClusterConnectAlertRules) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *FixedAlert) DeepCopyInto(out *FixedAlert) { +func (in *ConnectClusterGrafana) DeepCopyInto(out *ConnectClusterGrafana) { *out = *in return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FixedAlert. -func (in *FixedAlert) DeepCopy() *FixedAlert { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectClusterGrafana. +func (in *ConnectClusterGrafana) DeepCopy() *ConnectClusterGrafana { if in == nil { return nil } - out := new(FixedAlert) + out := new(ConnectClusterGrafana) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *FloatValAlertConfig) DeepCopyInto(out *FloatValAlertConfig) { +func (in *ConnectClusterTaskAlert) DeepCopyInto(out *ConnectClusterTaskAlert) { *out = *in + out.Rules = in.Rules return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FloatValAlertConfig. -func (in *FloatValAlertConfig) DeepCopy() *FloatValAlertConfig { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectClusterTaskAlert. +func (in *ConnectClusterTaskAlert) DeepCopy() *ConnectClusterTaskAlert { if in == nil { return nil } - out := new(FloatValAlertConfig) + out := new(ConnectClusterTaskAlert) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *IntValAlert) DeepCopyInto(out *IntValAlert) { +func (in *ConnectClusterTaskRules) DeepCopyInto(out *ConnectClusterTaskRules) { *out = *in + out.ConnectClusterTaskErrorTotalRetries = in.ConnectClusterTaskErrorTotalRetries + out.ConnectClusterTaskTotal = in.ConnectClusterTaskTotal + out.ConnectClusterTaskTotalFailed = in.ConnectClusterTaskTotalFailed + out.ConnectClusterTaskTotalDestroyed = in.ConnectClusterTaskTotalDestroyed return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntValAlert. -func (in *IntValAlert) DeepCopy() *IntValAlert { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectClusterTaskRules. +func (in *ConnectClusterTaskRules) DeepCopy() *ConnectClusterTaskRules { if in == nil { return nil } - out := new(IntValAlert) + out := new(ConnectClusterTaskRules) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MariaDBAlert) DeepCopyInto(out *MariaDBAlert) { +func (in *DruidAlert) DeepCopyInto(out *DruidAlert) { *out = *in if in.Labels != nil { in, out := &in.Labels, &out.Labels @@ -300,213 +298,189 @@ func (in *MariaDBAlert) DeepCopyInto(out *MariaDBAlert) { return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MariaDBAlert. -func (in *MariaDBAlert) DeepCopy() *MariaDBAlert { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DruidAlert. +func (in *DruidAlert) DeepCopy() *DruidAlert { if in == nil { return nil } - out := new(MariaDBAlert) + out := new(DruidAlert) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MariaDBAlertGroups) DeepCopyInto(out *MariaDBAlertGroups) { +func (in *DruidAlertGroups) DeepCopyInto(out *DruidAlertGroups) { *out = *in out.Database = in.Database - out.Cluster = in.Cluster out.Provisioner = in.Provisioner - out.OpsManager = in.OpsManager - out.Stash = in.Stash - out.SchemaManager = in.SchemaManager return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MariaDBAlertGroups. -func (in *MariaDBAlertGroups) DeepCopy() *MariaDBAlertGroups { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DruidAlertGroups. +func (in *DruidAlertGroups) DeepCopy() *DruidAlertGroups { if in == nil { return nil } - out := new(MariaDBAlertGroups) + out := new(DruidAlertGroups) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MariaDBClusterAlert) DeepCopyInto(out *MariaDBClusterAlert) { +func (in *DruidAlerts) DeepCopyInto(out *DruidAlerts) { *out = *in - out.Rules = in.Rules + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MariaDBClusterAlert. -func (in *MariaDBClusterAlert) DeepCopy() *MariaDBClusterAlert { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DruidAlerts. +func (in *DruidAlerts) DeepCopy() *DruidAlerts { if in == nil { return nil } - out := new(MariaDBClusterAlert) + out := new(DruidAlerts) in.DeepCopyInto(out) return out } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MariaDBClusterAlertRules) DeepCopyInto(out *MariaDBClusterAlertRules) { - *out = *in - out.GaleraReplicationLatencyTooLong = in.GaleraReplicationLatencyTooLong - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MariaDBClusterAlertRules. -func (in *MariaDBClusterAlertRules) DeepCopy() *MariaDBClusterAlertRules { - if in == nil { - return nil +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DruidAlerts) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c } - out := new(MariaDBClusterAlertRules) - in.DeepCopyInto(out) - return out + return nil } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MariaDBDatabaseAlert) DeepCopyInto(out *MariaDBDatabaseAlert) { +func (in *DruidAlertsList) DeepCopyInto(out *DruidAlertsList) { *out = *in - out.Rules = in.Rules + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]DruidAlerts, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MariaDBDatabaseAlert. -func (in *MariaDBDatabaseAlert) DeepCopy() *MariaDBDatabaseAlert { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DruidAlertsList. +func (in *DruidAlertsList) DeepCopy() *DruidAlertsList { if in == nil { return nil } - out := new(MariaDBDatabaseAlert) + out := new(DruidAlertsList) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DruidAlertsList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MariaDBDatabaseAlertRules) DeepCopyInto(out *MariaDBDatabaseAlertRules) { +func (in *DruidAlertsSpec) DeepCopyInto(out *DruidAlertsSpec) { *out = *in - out.MySQLInstanceDown = in.MySQLInstanceDown - out.MySQLServiceDown = in.MySQLServiceDown - out.MySQLTooManyConnections = in.MySQLTooManyConnections - out.MySQLHighThreadsRunning = in.MySQLHighThreadsRunning - out.MySQLSlowQueries = in.MySQLSlowQueries - out.MySQLInnoDBLogWaits = in.MySQLInnoDBLogWaits - out.MySQLRestarted = in.MySQLRestarted - out.MySQLHighQPS = in.MySQLHighQPS - out.MySQLHighIncomingBytes = in.MySQLHighIncomingBytes - out.MySQLHighOutgoingBytes = in.MySQLHighOutgoingBytes - out.MySQLTooManyOpenFiles = in.MySQLTooManyOpenFiles + out.Metadata = in.Metadata + in.Form.DeepCopyInto(&out.Form) + out.Grafana = in.Grafana return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MariaDBDatabaseAlertRules. -func (in *MariaDBDatabaseAlertRules) DeepCopy() *MariaDBDatabaseAlertRules { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DruidAlertsSpec. +func (in *DruidAlertsSpec) DeepCopy() *DruidAlertsSpec { if in == nil { return nil } - out := new(MariaDBDatabaseAlertRules) + out := new(DruidAlertsSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MariadbAlerts) DeepCopyInto(out *MariadbAlerts) { +func (in *DruidAlertsSpecForm) DeepCopyInto(out *DruidAlertsSpecForm) { *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) + in.Alert.DeepCopyInto(&out.Alert) return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MariadbAlerts. -func (in *MariadbAlerts) DeepCopy() *MariadbAlerts { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DruidAlertsSpecForm. +func (in *DruidAlertsSpecForm) DeepCopy() *DruidAlertsSpecForm { if in == nil { return nil } - out := new(MariadbAlerts) + out := new(DruidAlertsSpecForm) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *MariadbAlerts) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MariadbAlertsList) DeepCopyInto(out *MariadbAlertsList) { +func (in *DruidDatabaseAlert) DeepCopyInto(out *DruidDatabaseAlert) { *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]MariadbAlerts, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } + out.Rules = in.Rules return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MariadbAlertsList. -func (in *MariadbAlertsList) DeepCopy() *MariadbAlertsList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DruidDatabaseAlert. +func (in *DruidDatabaseAlert) DeepCopy() *DruidDatabaseAlert { if in == nil { return nil } - out := new(MariadbAlertsList) + out := new(DruidDatabaseAlert) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *MariadbAlertsList) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MariadbAlertsSpec) DeepCopyInto(out *MariadbAlertsSpec) { +func (in *DruidDatabaseAlertRules) DeepCopyInto(out *DruidDatabaseAlertRules) { *out = *in - out.Metadata = in.Metadata - in.Form.DeepCopyInto(&out.Form) + out.DruidDown = in.DruidDown + out.ZKDisconnected = in.ZKDisconnected + out.HighQueryTime = in.HighQueryTime + out.HighQueryWaitTime = in.HighQueryWaitTime + out.HighSegmentScanPending = in.HighSegmentScanPending + out.HighSegmentUsage = in.HighSegmentUsage + out.HighJVMPoolUsage = in.HighJVMPoolUsage + out.HighJVMMemoryUsage = in.HighJVMMemoryUsage return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MariadbAlertsSpec. -func (in *MariadbAlertsSpec) DeepCopy() *MariadbAlertsSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DruidDatabaseAlertRules. +func (in *DruidDatabaseAlertRules) DeepCopy() *DruidDatabaseAlertRules { if in == nil { return nil } - out := new(MariadbAlertsSpec) + out := new(DruidDatabaseAlertRules) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MariadbAlertsSpecForm) DeepCopyInto(out *MariadbAlertsSpecForm) { +func (in *DruidGrafana) DeepCopyInto(out *DruidGrafana) { *out = *in - in.Alert.DeepCopyInto(&out.Alert) return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MariadbAlertsSpecForm. -func (in *MariadbAlertsSpecForm) DeepCopy() *MariadbAlertsSpecForm { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DruidGrafana. +func (in *DruidGrafana) DeepCopy() *DruidGrafana { if in == nil { return nil } - out := new(MariadbAlertsSpecForm) + out := new(DruidGrafana) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MongoDBAlert) DeepCopyInto(out *MongoDBAlert) { +func (in *ElasticsearchAlert) DeepCopyInto(out *ElasticsearchAlert) { *out = *in if in.Labels != nil { in, out := &in.Labels, &out.Labels @@ -533,102 +507,1742 @@ func (in *MongoDBAlert) DeepCopyInto(out *MongoDBAlert) { return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongoDBAlert. -func (in *MongoDBAlert) DeepCopy() *MongoDBAlert { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchAlert. +func (in *ElasticsearchAlert) DeepCopy() *ElasticsearchAlert { if in == nil { return nil } - out := new(MongoDBAlert) + out := new(ElasticsearchAlert) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MongoDBAlertGroups) DeepCopyInto(out *MongoDBAlertGroups) { +func (in *ElasticsearchAlertGroups) DeepCopyInto(out *ElasticsearchAlertGroups) { *out = *in out.Database = in.Database out.Provisioner = in.Provisioner out.OpsManager = in.OpsManager out.Stash = in.Stash - out.SchemaManager = in.SchemaManager + out.KubeStash = in.KubeStash return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongoDBAlertGroups. -func (in *MongoDBAlertGroups) DeepCopy() *MongoDBAlertGroups { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchAlertGroups. +func (in *ElasticsearchAlertGroups) DeepCopy() *ElasticsearchAlertGroups { if in == nil { return nil } - out := new(MongoDBAlertGroups) + out := new(ElasticsearchAlertGroups) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MongoDBDatabaseAlert) DeepCopyInto(out *MongoDBDatabaseAlert) { +func (in *ElasticsearchAlerts) DeepCopyInto(out *ElasticsearchAlerts) { *out = *in - out.Rules = in.Rules + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongoDBDatabaseAlert. -func (in *MongoDBDatabaseAlert) DeepCopy() *MongoDBDatabaseAlert { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchAlerts. +func (in *ElasticsearchAlerts) DeepCopy() *ElasticsearchAlerts { if in == nil { return nil } - out := new(MongoDBDatabaseAlert) + out := new(ElasticsearchAlerts) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ElasticsearchAlerts) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MongoDBDatabaseAlertRules) DeepCopyInto(out *MongoDBDatabaseAlertRules) { +func (in *ElasticsearchAlertsList) DeepCopyInto(out *ElasticsearchAlertsList) { *out = *in - out.MongodbVirtualMemoryUsage = in.MongodbVirtualMemoryUsage - out.MongodbReplicationLag = in.MongodbReplicationLag - out.MongodbNumberCursorsOpen = in.MongodbNumberCursorsOpen - out.MongodbCursorsTimeouts = in.MongodbCursorsTimeouts - out.MongodbTooManyConnections = in.MongodbTooManyConnections - out.MongoDBPhaseCritical = in.MongoDBPhaseCritical - out.MongoDBDown = in.MongoDBDown - out.MongodbHighLatency = in.MongodbHighLatency - out.MongodbHighTicketUtilization = in.MongodbHighTicketUtilization - out.MongodbRecurrentCursorTimeout = in.MongodbRecurrentCursorTimeout - out.MongodbRecurrentMemoryPageFaults = in.MongodbRecurrentMemoryPageFaults + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ElasticsearchAlerts, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongoDBDatabaseAlertRules. -func (in *MongoDBDatabaseAlertRules) DeepCopy() *MongoDBDatabaseAlertRules { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchAlertsList. +func (in *ElasticsearchAlertsList) DeepCopy() *ElasticsearchAlertsList { if in == nil { return nil } - out := new(MongoDBDatabaseAlertRules) + out := new(ElasticsearchAlertsList) in.DeepCopyInto(out) return out } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MongodbAlerts) DeepCopyInto(out *MongodbAlerts) { - *out = *in +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ElasticsearchAlertsList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ElasticsearchAlertsSpec) DeepCopyInto(out *ElasticsearchAlertsSpec) { + *out = *in + out.Metadata = in.Metadata + in.Form.DeepCopyInto(&out.Form) + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchAlertsSpec. +func (in *ElasticsearchAlertsSpec) DeepCopy() *ElasticsearchAlertsSpec { + if in == nil { + return nil + } + out := new(ElasticsearchAlertsSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ElasticsearchAlertsSpecForm) DeepCopyInto(out *ElasticsearchAlertsSpecForm) { + *out = *in + in.Alert.DeepCopyInto(&out.Alert) + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchAlertsSpecForm. +func (in *ElasticsearchAlertsSpecForm) DeepCopy() *ElasticsearchAlertsSpecForm { + if in == nil { + return nil + } + out := new(ElasticsearchAlertsSpecForm) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ElasticsearchDatabaseAlert) DeepCopyInto(out *ElasticsearchDatabaseAlert) { + *out = *in + out.Rules = in.Rules + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchDatabaseAlert. +func (in *ElasticsearchDatabaseAlert) DeepCopy() *ElasticsearchDatabaseAlert { + if in == nil { + return nil + } + out := new(ElasticsearchDatabaseAlert) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ElasticsearchDatabaseAlertRules) DeepCopyInto(out *ElasticsearchDatabaseAlertRules) { + *out = *in + out.ElasticsearchHeapUsageTooHigh = in.ElasticsearchHeapUsageTooHigh + out.ElasticsearchHeapUsageWarning = in.ElasticsearchHeapUsageWarning + out.ElasticsearchDiskOutOfSpace = in.ElasticsearchDiskOutOfSpace + out.ElasticsearchDiskSpaceLow = in.ElasticsearchDiskSpaceLow + out.ElasticsearchClusterRed = in.ElasticsearchClusterRed + out.ElasticsearchClusterYellow = in.ElasticsearchClusterYellow + out.ElasticsearchHealthyNodes = in.ElasticsearchHealthyNodes + out.ElasticsearchHealthyDataNodes = in.ElasticsearchHealthyDataNodes + out.ElasticsearchRelocatingShards = in.ElasticsearchRelocatingShards + out.ElasticsearchInitializingShards = in.ElasticsearchInitializingShards + out.ElasticsearchUnassignedShards = in.ElasticsearchUnassignedShards + out.ElasticsearchPendingTasks = in.ElasticsearchPendingTasks + out.ElasticsearchNoNewDocuments10M = in.ElasticsearchNoNewDocuments10M + out.DiskUsageHigh = in.DiskUsageHigh + out.DiskAlmostFull = in.DiskAlmostFull + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchDatabaseAlertRules. +func (in *ElasticsearchDatabaseAlertRules) DeepCopy() *ElasticsearchDatabaseAlertRules { + if in == nil { + return nil + } + out := new(ElasticsearchDatabaseAlertRules) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FixedAlert) DeepCopyInto(out *FixedAlert) { + *out = *in + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FixedAlert. +func (in *FixedAlert) DeepCopy() *FixedAlert { + if in == nil { + return nil + } + out := new(FixedAlert) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *FloatValAlertConfig) DeepCopyInto(out *FloatValAlertConfig) { + *out = *in + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FloatValAlertConfig. +func (in *FloatValAlertConfig) DeepCopy() *FloatValAlertConfig { + if in == nil { + return nil + } + out := new(FloatValAlertConfig) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Grafana) DeepCopyInto(out *Grafana) { + *out = *in + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Grafana. +func (in *Grafana) DeepCopy() *Grafana { + if in == nil { + return nil + } + out := new(Grafana) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *IntValAlert) DeepCopyInto(out *IntValAlert) { + *out = *in + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntValAlert. +func (in *IntValAlert) DeepCopy() *IntValAlert { + if in == nil { + return nil + } + out := new(IntValAlert) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KafkaAlert) DeepCopyInto(out *KafkaAlert) { + *out = *in + if in.Labels != nil { + in, out := &in.Labels, &out.Labels + *out = make(map[string]string, len(*in)) + for key, val := range *in { + (*out)[key] = val + } + } + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make(map[string]string, len(*in)) + for key, val := range *in { + (*out)[key] = val + } + } + if in.AdditionalRuleLabels != nil { + in, out := &in.AdditionalRuleLabels, &out.AdditionalRuleLabels + *out = make(map[string]string, len(*in)) + for key, val := range *in { + (*out)[key] = val + } + } + out.Groups = in.Groups + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaAlert. +func (in *KafkaAlert) DeepCopy() *KafkaAlert { + if in == nil { + return nil + } + out := new(KafkaAlert) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KafkaAlertGroups) DeepCopyInto(out *KafkaAlertGroups) { + *out = *in + out.Database = in.Database + out.Provisioner = in.Provisioner + out.OpsManager = in.OpsManager + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaAlertGroups. +func (in *KafkaAlertGroups) DeepCopy() *KafkaAlertGroups { + if in == nil { + return nil + } + out := new(KafkaAlertGroups) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KafkaAlerts) DeepCopyInto(out *KafkaAlerts) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaAlerts. +func (in *KafkaAlerts) DeepCopy() *KafkaAlerts { + if in == nil { + return nil + } + out := new(KafkaAlerts) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *KafkaAlerts) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KafkaAlertsList) DeepCopyInto(out *KafkaAlertsList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]KafkaAlerts, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaAlertsList. +func (in *KafkaAlertsList) DeepCopy() *KafkaAlertsList { + if in == nil { + return nil + } + out := new(KafkaAlertsList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *KafkaAlertsList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KafkaAlertsSpec) DeepCopyInto(out *KafkaAlertsSpec) { + *out = *in + out.Metadata = in.Metadata + in.Form.DeepCopyInto(&out.Form) + out.Grafana = in.Grafana + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaAlertsSpec. +func (in *KafkaAlertsSpec) DeepCopy() *KafkaAlertsSpec { + if in == nil { + return nil + } + out := new(KafkaAlertsSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KafkaAlertsSpecForm) DeepCopyInto(out *KafkaAlertsSpecForm) { + *out = *in + in.Alert.DeepCopyInto(&out.Alert) + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaAlertsSpecForm. +func (in *KafkaAlertsSpecForm) DeepCopy() *KafkaAlertsSpecForm { + if in == nil { + return nil + } + out := new(KafkaAlertsSpecForm) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KafkaDatabaseAlert) DeepCopyInto(out *KafkaDatabaseAlert) { + *out = *in + out.Rules = in.Rules + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaDatabaseAlert. +func (in *KafkaDatabaseAlert) DeepCopy() *KafkaDatabaseAlert { + if in == nil { + return nil + } + out := new(KafkaDatabaseAlert) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KafkaDatabaseAlertRules) DeepCopyInto(out *KafkaDatabaseAlertRules) { + *out = *in + out.KafkaUnderReplicatedPartitions = in.KafkaUnderReplicatedPartitions + out.KafkaAbnormalControllerState = in.KafkaAbnormalControllerState + out.KafkaOfflinePartitions = in.KafkaOfflinePartitions + out.KafkaUnderMinIsrPartitionCount = in.KafkaUnderMinIsrPartitionCount + out.KafkaOfflineLogDirectoryCount = in.KafkaOfflineLogDirectoryCount + out.KafkaISRExpandRate = in.KafkaISRExpandRate + out.KafkaISRShrinkRate = in.KafkaISRShrinkRate + out.KafkaBrokerCount = in.KafkaBrokerCount + out.KafkaNetworkProcessorIdlePercent = in.KafkaNetworkProcessorIdlePercent + out.KafkaRequestHandlerIdlePercent = in.KafkaRequestHandlerIdlePercent + out.KafkaReplicaFetcherManagerMaxLag = in.KafkaReplicaFetcherManagerMaxLag + out.KafkaTopicCount = in.KafkaTopicCount + out.KafkaPhaseCritical = in.KafkaPhaseCritical + out.KafkaDown = in.KafkaDown + out.DiskUsageHigh = in.DiskUsageHigh + out.DiskAlmostFull = in.DiskAlmostFull + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaDatabaseAlertRules. +func (in *KafkaDatabaseAlertRules) DeepCopy() *KafkaDatabaseAlertRules { + if in == nil { + return nil + } + out := new(KafkaDatabaseAlertRules) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KafkaGrafana) DeepCopyInto(out *KafkaGrafana) { + *out = *in + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaGrafana. +func (in *KafkaGrafana) DeepCopy() *KafkaGrafana { + if in == nil { + return nil + } + out := new(KafkaGrafana) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KubeStashAlert) DeepCopyInto(out *KubeStashAlert) { + *out = *in + out.Rules = in.Rules + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeStashAlert. +func (in *KubeStashAlert) DeepCopy() *KubeStashAlert { + if in == nil { + return nil + } + out := new(KubeStashAlert) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KubeStashAlertRules) DeepCopyInto(out *KubeStashAlertRules) { + *out = *in + out.BackupSessionFailed = in.BackupSessionFailed + out.RestoreSessionFailed = in.RestoreSessionFailed + out.NoBackupSessionForTooLong = in.NoBackupSessionForTooLong + out.RepositoryCorrupted = in.RepositoryCorrupted + out.RepositoryStorageRunningLow = in.RepositoryStorageRunningLow + out.BackupSessionPeriodTooLong = in.BackupSessionPeriodTooLong + out.RestoreSessionPeriodTooLong = in.RestoreSessionPeriodTooLong + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeStashAlertRules. +func (in *KubeStashAlertRules) DeepCopy() *KubeStashAlertRules { + if in == nil { + return nil + } + out := new(KubeStashAlertRules) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MariaDBAlert) DeepCopyInto(out *MariaDBAlert) { + *out = *in + if in.Labels != nil { + in, out := &in.Labels, &out.Labels + *out = make(map[string]string, len(*in)) + for key, val := range *in { + (*out)[key] = val + } + } + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make(map[string]string, len(*in)) + for key, val := range *in { + (*out)[key] = val + } + } + if in.AdditionalRuleLabels != nil { + in, out := &in.AdditionalRuleLabels, &out.AdditionalRuleLabels + *out = make(map[string]string, len(*in)) + for key, val := range *in { + (*out)[key] = val + } + } + out.Groups = in.Groups + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MariaDBAlert. +func (in *MariaDBAlert) DeepCopy() *MariaDBAlert { + if in == nil { + return nil + } + out := new(MariaDBAlert) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MariaDBAlertGroups) DeepCopyInto(out *MariaDBAlertGroups) { + *out = *in + out.Database = in.Database + out.Cluster = in.Cluster + out.Provisioner = in.Provisioner + out.OpsManager = in.OpsManager + out.Stash = in.Stash + out.KubeStash = in.KubeStash + out.SchemaManager = in.SchemaManager + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MariaDBAlertGroups. +func (in *MariaDBAlertGroups) DeepCopy() *MariaDBAlertGroups { + if in == nil { + return nil + } + out := new(MariaDBAlertGroups) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MariaDBClusterAlert) DeepCopyInto(out *MariaDBClusterAlert) { + *out = *in + out.Rules = in.Rules + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MariaDBClusterAlert. +func (in *MariaDBClusterAlert) DeepCopy() *MariaDBClusterAlert { + if in == nil { + return nil + } + out := new(MariaDBClusterAlert) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MariaDBClusterAlertRules) DeepCopyInto(out *MariaDBClusterAlertRules) { + *out = *in + out.GaleraReplicationLatencyTooLong = in.GaleraReplicationLatencyTooLong + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MariaDBClusterAlertRules. +func (in *MariaDBClusterAlertRules) DeepCopy() *MariaDBClusterAlertRules { + if in == nil { + return nil + } + out := new(MariaDBClusterAlertRules) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MariaDBDatabaseAlert) DeepCopyInto(out *MariaDBDatabaseAlert) { + *out = *in + out.Rules = in.Rules + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MariaDBDatabaseAlert. +func (in *MariaDBDatabaseAlert) DeepCopy() *MariaDBDatabaseAlert { + if in == nil { + return nil + } + out := new(MariaDBDatabaseAlert) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MariaDBDatabaseAlertRules) DeepCopyInto(out *MariaDBDatabaseAlertRules) { + *out = *in + out.MySQLInstanceDown = in.MySQLInstanceDown + out.MySQLServiceDown = in.MySQLServiceDown + out.MySQLTooManyConnections = in.MySQLTooManyConnections + out.MySQLHighThreadsRunning = in.MySQLHighThreadsRunning + out.MySQLSlowQueries = in.MySQLSlowQueries + out.MySQLInnoDBLogWaits = in.MySQLInnoDBLogWaits + out.MySQLRestarted = in.MySQLRestarted + out.MySQLHighQPS = in.MySQLHighQPS + out.MySQLHighIncomingBytes = in.MySQLHighIncomingBytes + out.MySQLHighOutgoingBytes = in.MySQLHighOutgoingBytes + out.MySQLTooManyOpenFiles = in.MySQLTooManyOpenFiles + out.DiskUsageHigh = in.DiskUsageHigh + out.DiskAlmostFull = in.DiskAlmostFull + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MariaDBDatabaseAlertRules. +func (in *MariaDBDatabaseAlertRules) DeepCopy() *MariaDBDatabaseAlertRules { + if in == nil { + return nil + } + out := new(MariaDBDatabaseAlertRules) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MariadbAlerts) DeepCopyInto(out *MariadbAlerts) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MariadbAlerts. +func (in *MariadbAlerts) DeepCopy() *MariadbAlerts { + if in == nil { + return nil + } + out := new(MariadbAlerts) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *MariadbAlerts) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MariadbAlertsList) DeepCopyInto(out *MariadbAlertsList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]MariadbAlerts, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MariadbAlertsList. +func (in *MariadbAlertsList) DeepCopy() *MariadbAlertsList { + if in == nil { + return nil + } + out := new(MariadbAlertsList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *MariadbAlertsList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MariadbAlertsSpec) DeepCopyInto(out *MariadbAlertsSpec) { + *out = *in + out.Metadata = in.Metadata + in.Form.DeepCopyInto(&out.Form) + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MariadbAlertsSpec. +func (in *MariadbAlertsSpec) DeepCopy() *MariadbAlertsSpec { + if in == nil { + return nil + } + out := new(MariadbAlertsSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MariadbAlertsSpecForm) DeepCopyInto(out *MariadbAlertsSpecForm) { + *out = *in + in.Alert.DeepCopyInto(&out.Alert) + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MariadbAlertsSpecForm. +func (in *MariadbAlertsSpecForm) DeepCopy() *MariadbAlertsSpecForm { + if in == nil { + return nil + } + out := new(MariadbAlertsSpecForm) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MongoDBAlert) DeepCopyInto(out *MongoDBAlert) { + *out = *in + if in.Labels != nil { + in, out := &in.Labels, &out.Labels + *out = make(map[string]string, len(*in)) + for key, val := range *in { + (*out)[key] = val + } + } + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make(map[string]string, len(*in)) + for key, val := range *in { + (*out)[key] = val + } + } + if in.AdditionalRuleLabels != nil { + in, out := &in.AdditionalRuleLabels, &out.AdditionalRuleLabels + *out = make(map[string]string, len(*in)) + for key, val := range *in { + (*out)[key] = val + } + } + out.Groups = in.Groups + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongoDBAlert. +func (in *MongoDBAlert) DeepCopy() *MongoDBAlert { + if in == nil { + return nil + } + out := new(MongoDBAlert) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MongoDBAlertGroups) DeepCopyInto(out *MongoDBAlertGroups) { + *out = *in + out.Database = in.Database + out.Provisioner = in.Provisioner + out.OpsManager = in.OpsManager + out.Stash = in.Stash + out.KubeStash = in.KubeStash + out.SchemaManager = in.SchemaManager + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongoDBAlertGroups. +func (in *MongoDBAlertGroups) DeepCopy() *MongoDBAlertGroups { + if in == nil { + return nil + } + out := new(MongoDBAlertGroups) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MongoDBDatabaseAlert) DeepCopyInto(out *MongoDBDatabaseAlert) { + *out = *in + out.Rules = in.Rules + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongoDBDatabaseAlert. +func (in *MongoDBDatabaseAlert) DeepCopy() *MongoDBDatabaseAlert { + if in == nil { + return nil + } + out := new(MongoDBDatabaseAlert) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MongoDBDatabaseAlertRules) DeepCopyInto(out *MongoDBDatabaseAlertRules) { + *out = *in + out.MongodbVirtualMemoryUsage = in.MongodbVirtualMemoryUsage + out.MongodbReplicationLag = in.MongodbReplicationLag + out.MongodbNumberCursorsOpen = in.MongodbNumberCursorsOpen + out.MongodbCursorsTimeouts = in.MongodbCursorsTimeouts + out.MongodbTooManyConnections = in.MongodbTooManyConnections + out.MongoDBPhaseCritical = in.MongoDBPhaseCritical + out.MongoDBDown = in.MongoDBDown + out.MongodbHighLatency = in.MongodbHighLatency + out.MongodbHighTicketUtilization = in.MongodbHighTicketUtilization + out.MongodbRecurrentCursorTimeout = in.MongodbRecurrentCursorTimeout + out.MongodbRecurrentMemoryPageFaults = in.MongodbRecurrentMemoryPageFaults + out.DiskUsageHigh = in.DiskUsageHigh + out.DiskAlmostFull = in.DiskAlmostFull + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongoDBDatabaseAlertRules. +func (in *MongoDBDatabaseAlertRules) DeepCopy() *MongoDBDatabaseAlertRules { + if in == nil { + return nil + } + out := new(MongoDBDatabaseAlertRules) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MongodbAlerts) DeepCopyInto(out *MongodbAlerts) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongodbAlerts. +func (in *MongodbAlerts) DeepCopy() *MongodbAlerts { + if in == nil { + return nil + } + out := new(MongodbAlerts) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *MongodbAlerts) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MongodbAlertsList) DeepCopyInto(out *MongodbAlertsList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]MongodbAlerts, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongodbAlertsList. +func (in *MongodbAlertsList) DeepCopy() *MongodbAlertsList { + if in == nil { + return nil + } + out := new(MongodbAlertsList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *MongodbAlertsList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MongodbAlertsSpec) DeepCopyInto(out *MongodbAlertsSpec) { + *out = *in + out.Metadata = in.Metadata + in.Form.DeepCopyInto(&out.Form) + out.Grafana = in.Grafana + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongodbAlertsSpec. +func (in *MongodbAlertsSpec) DeepCopy() *MongodbAlertsSpec { + if in == nil { + return nil + } + out := new(MongodbAlertsSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MongodbAlertsSpecForm) DeepCopyInto(out *MongodbAlertsSpecForm) { + *out = *in + in.Alert.DeepCopyInto(&out.Alert) + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongodbAlertsSpecForm. +func (in *MongodbAlertsSpecForm) DeepCopy() *MongodbAlertsSpecForm { + if in == nil { + return nil + } + out := new(MongodbAlertsSpecForm) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MySQLAlert) DeepCopyInto(out *MySQLAlert) { + *out = *in + if in.Labels != nil { + in, out := &in.Labels, &out.Labels + *out = make(map[string]string, len(*in)) + for key, val := range *in { + (*out)[key] = val + } + } + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make(map[string]string, len(*in)) + for key, val := range *in { + (*out)[key] = val + } + } + if in.AdditionalRuleLabels != nil { + in, out := &in.AdditionalRuleLabels, &out.AdditionalRuleLabels + *out = make(map[string]string, len(*in)) + for key, val := range *in { + (*out)[key] = val + } + } + out.Groups = in.Groups + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLAlert. +func (in *MySQLAlert) DeepCopy() *MySQLAlert { + if in == nil { + return nil + } + out := new(MySQLAlert) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MySQLAlertGroups) DeepCopyInto(out *MySQLAlertGroups) { + *out = *in + out.Database = in.Database + out.Group = in.Group + out.Provisioner = in.Provisioner + out.OpsManager = in.OpsManager + out.Stash = in.Stash + out.KubeStash = in.KubeStash + out.SchemaManager = in.SchemaManager + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLAlertGroups. +func (in *MySQLAlertGroups) DeepCopy() *MySQLAlertGroups { + if in == nil { + return nil + } + out := new(MySQLAlertGroups) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MySQLDatabaseAlert) DeepCopyInto(out *MySQLDatabaseAlert) { + *out = *in + out.Rules = in.Rules + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLDatabaseAlert. +func (in *MySQLDatabaseAlert) DeepCopy() *MySQLDatabaseAlert { + if in == nil { + return nil + } + out := new(MySQLDatabaseAlert) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MySQLDatabaseAlertRules) DeepCopyInto(out *MySQLDatabaseAlertRules) { + *out = *in + out.MySQLInstanceDown = in.MySQLInstanceDown + out.MySQLServiceDown = in.MySQLServiceDown + out.MySQLTooManyConnections = in.MySQLTooManyConnections + out.MySQLHighThreadsRunning = in.MySQLHighThreadsRunning + out.MySQLSlowQueries = in.MySQLSlowQueries + out.MySQLInnoDBLogWaits = in.MySQLInnoDBLogWaits + out.MySQLRestarted = in.MySQLRestarted + out.MySQLHighQPS = in.MySQLHighQPS + out.MySQLHighIncomingBytes = in.MySQLHighIncomingBytes + out.MySQLHighOutgoingBytes = in.MySQLHighOutgoingBytes + out.MySQLTooManyOpenFiles = in.MySQLTooManyOpenFiles + out.DiskUsageHigh = in.DiskUsageHigh + out.DiskAlmostFull = in.DiskAlmostFull + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLDatabaseAlertRules. +func (in *MySQLDatabaseAlertRules) DeepCopy() *MySQLDatabaseAlertRules { + if in == nil { + return nil + } + out := new(MySQLDatabaseAlertRules) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MySQLGroupAlert) DeepCopyInto(out *MySQLGroupAlert) { + *out = *in + out.Rules = in.Rules + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLGroupAlert. +func (in *MySQLGroupAlert) DeepCopy() *MySQLGroupAlert { + if in == nil { + return nil + } + out := new(MySQLGroupAlert) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MySQLGroupAlertRules) DeepCopyInto(out *MySQLGroupAlertRules) { + *out = *in + out.MySQLHighReplicationDelay = in.MySQLHighReplicationDelay + out.MySQLHighReplicationTransportTime = in.MySQLHighReplicationTransportTime + out.MySQLHighReplicationApplyTime = in.MySQLHighReplicationApplyTime + out.MySQLReplicationHighTransactionTime = in.MySQLReplicationHighTransactionTime + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLGroupAlertRules. +func (in *MySQLGroupAlertRules) DeepCopy() *MySQLGroupAlertRules { + if in == nil { + return nil + } + out := new(MySQLGroupAlertRules) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MysqlAlerts) DeepCopyInto(out *MysqlAlerts) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MysqlAlerts. +func (in *MysqlAlerts) DeepCopy() *MysqlAlerts { + if in == nil { + return nil + } + out := new(MysqlAlerts) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *MysqlAlerts) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MysqlAlertsList) DeepCopyInto(out *MysqlAlertsList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]MysqlAlerts, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MysqlAlertsList. +func (in *MysqlAlertsList) DeepCopy() *MysqlAlertsList { + if in == nil { + return nil + } + out := new(MysqlAlertsList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *MysqlAlertsList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MysqlAlertsSpec) DeepCopyInto(out *MysqlAlertsSpec) { + *out = *in + out.Metadata = in.Metadata + in.Form.DeepCopyInto(&out.Form) + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MysqlAlertsSpec. +func (in *MysqlAlertsSpec) DeepCopy() *MysqlAlertsSpec { + if in == nil { + return nil + } + out := new(MysqlAlertsSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MysqlAlertsSpecForm) DeepCopyInto(out *MysqlAlertsSpecForm) { + *out = *in + in.Alert.DeepCopyInto(&out.Alert) + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MysqlAlertsSpecForm. +func (in *MysqlAlertsSpecForm) DeepCopy() *MysqlAlertsSpecForm { + if in == nil { + return nil + } + out := new(MysqlAlertsSpecForm) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OpsManagerAlert) DeepCopyInto(out *OpsManagerAlert) { + *out = *in + out.Rules = in.Rules + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpsManagerAlert. +func (in *OpsManagerAlert) DeepCopy() *OpsManagerAlert { + if in == nil { + return nil + } + out := new(OpsManagerAlert) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OpsManagerAlertRules) DeepCopyInto(out *OpsManagerAlertRules) { + *out = *in + out.OpsRequestOnProgress = in.OpsRequestOnProgress + out.OpsRequestStatusProgressingToLong = in.OpsRequestStatusProgressingToLong + out.OpsRequestFailed = in.OpsRequestFailed + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpsManagerAlertRules. +func (in *OpsManagerAlertRules) DeepCopy() *OpsManagerAlertRules { + if in == nil { + return nil + } + out := new(OpsManagerAlertRules) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PerconaXtraDBAlert) DeepCopyInto(out *PerconaXtraDBAlert) { + *out = *in + if in.Labels != nil { + in, out := &in.Labels, &out.Labels + *out = make(map[string]string, len(*in)) + for key, val := range *in { + (*out)[key] = val + } + } + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make(map[string]string, len(*in)) + for key, val := range *in { + (*out)[key] = val + } + } + if in.AdditionalRuleLabels != nil { + in, out := &in.AdditionalRuleLabels, &out.AdditionalRuleLabels + *out = make(map[string]string, len(*in)) + for key, val := range *in { + (*out)[key] = val + } + } + out.Groups = in.Groups + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PerconaXtraDBAlert. +func (in *PerconaXtraDBAlert) DeepCopy() *PerconaXtraDBAlert { + if in == nil { + return nil + } + out := new(PerconaXtraDBAlert) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PerconaXtraDBAlertGroups) DeepCopyInto(out *PerconaXtraDBAlertGroups) { + *out = *in + out.Database = in.Database + out.Cluster = in.Cluster + out.Provisioner = in.Provisioner + out.OpsManager = in.OpsManager + out.Stash = in.Stash + out.SchemaManager = in.SchemaManager + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PerconaXtraDBAlertGroups. +func (in *PerconaXtraDBAlertGroups) DeepCopy() *PerconaXtraDBAlertGroups { + if in == nil { + return nil + } + out := new(PerconaXtraDBAlertGroups) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PerconaXtraDBClusterAlert) DeepCopyInto(out *PerconaXtraDBClusterAlert) { + *out = *in + out.Rules = in.Rules + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PerconaXtraDBClusterAlert. +func (in *PerconaXtraDBClusterAlert) DeepCopy() *PerconaXtraDBClusterAlert { + if in == nil { + return nil + } + out := new(PerconaXtraDBClusterAlert) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PerconaXtraDBClusterAlertRules) DeepCopyInto(out *PerconaXtraDBClusterAlertRules) { + *out = *in + out.GaleraReplicationLatencyTooLong = in.GaleraReplicationLatencyTooLong + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PerconaXtraDBClusterAlertRules. +func (in *PerconaXtraDBClusterAlertRules) DeepCopy() *PerconaXtraDBClusterAlertRules { + if in == nil { + return nil + } + out := new(PerconaXtraDBClusterAlertRules) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PerconaXtraDBDatabaseAlert) DeepCopyInto(out *PerconaXtraDBDatabaseAlert) { + *out = *in + out.Rules = in.Rules + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PerconaXtraDBDatabaseAlert. +func (in *PerconaXtraDBDatabaseAlert) DeepCopy() *PerconaXtraDBDatabaseAlert { + if in == nil { + return nil + } + out := new(PerconaXtraDBDatabaseAlert) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PerconaXtraDBDatabaseAlertRules) DeepCopyInto(out *PerconaXtraDBDatabaseAlertRules) { + *out = *in + out.MySQLInstanceDown = in.MySQLInstanceDown + out.MySQLServiceDown = in.MySQLServiceDown + out.MySQLTooManyConnections = in.MySQLTooManyConnections + out.MySQLHighThreadsRunning = in.MySQLHighThreadsRunning + out.MySQLSlowQueries = in.MySQLSlowQueries + out.MySQLInnoDBLogWaits = in.MySQLInnoDBLogWaits + out.MySQLRestarted = in.MySQLRestarted + out.MySQLHighQPS = in.MySQLHighQPS + out.MySQLHighIncomingBytes = in.MySQLHighIncomingBytes + out.MySQLHighOutgoingBytes = in.MySQLHighOutgoingBytes + out.MySQLTooManyOpenFiles = in.MySQLTooManyOpenFiles + out.DiskUsageHigh = in.DiskUsageHigh + out.DiskAlmostFull = in.DiskAlmostFull + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PerconaXtraDBDatabaseAlertRules. +func (in *PerconaXtraDBDatabaseAlertRules) DeepCopy() *PerconaXtraDBDatabaseAlertRules { + if in == nil { + return nil + } + out := new(PerconaXtraDBDatabaseAlertRules) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PerconaxtradbAlerts) DeepCopyInto(out *PerconaxtradbAlerts) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PerconaxtradbAlerts. +func (in *PerconaxtradbAlerts) DeepCopy() *PerconaxtradbAlerts { + if in == nil { + return nil + } + out := new(PerconaxtradbAlerts) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *PerconaxtradbAlerts) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PerconaxtradbAlertsList) DeepCopyInto(out *PerconaxtradbAlertsList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]PerconaxtradbAlerts, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PerconaxtradbAlertsList. +func (in *PerconaxtradbAlertsList) DeepCopy() *PerconaxtradbAlertsList { + if in == nil { + return nil + } + out := new(PerconaxtradbAlertsList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *PerconaxtradbAlertsList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PerconaxtradbAlertsSpec) DeepCopyInto(out *PerconaxtradbAlertsSpec) { + *out = *in + out.Metadata = in.Metadata + in.Form.DeepCopyInto(&out.Form) + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PerconaxtradbAlertsSpec. +func (in *PerconaxtradbAlertsSpec) DeepCopy() *PerconaxtradbAlertsSpec { + if in == nil { + return nil + } + out := new(PerconaxtradbAlertsSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PerconaxtradbAlertsSpecForm) DeepCopyInto(out *PerconaxtradbAlertsSpecForm) { + *out = *in + in.Alert.DeepCopyInto(&out.Alert) + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PerconaxtradbAlertsSpecForm. +func (in *PerconaxtradbAlertsSpecForm) DeepCopy() *PerconaxtradbAlertsSpecForm { + if in == nil { + return nil + } + out := new(PerconaxtradbAlertsSpecForm) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PgpoolAlert) DeepCopyInto(out *PgpoolAlert) { + *out = *in + if in.Labels != nil { + in, out := &in.Labels, &out.Labels + *out = make(map[string]string, len(*in)) + for key, val := range *in { + (*out)[key] = val + } + } + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make(map[string]string, len(*in)) + for key, val := range *in { + (*out)[key] = val + } + } + if in.AdditionalRuleLabels != nil { + in, out := &in.AdditionalRuleLabels, &out.AdditionalRuleLabels + *out = make(map[string]string, len(*in)) + for key, val := range *in { + (*out)[key] = val + } + } + out.Groups = in.Groups + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PgpoolAlert. +func (in *PgpoolAlert) DeepCopy() *PgpoolAlert { + if in == nil { + return nil + } + out := new(PgpoolAlert) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PgpoolAlertGroups) DeepCopyInto(out *PgpoolAlertGroups) { + *out = *in + out.Database = in.Database + out.Provisioner = in.Provisioner + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PgpoolAlertGroups. +func (in *PgpoolAlertGroups) DeepCopy() *PgpoolAlertGroups { + if in == nil { + return nil + } + out := new(PgpoolAlertGroups) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PgpoolAlerts) DeepCopyInto(out *PgpoolAlerts) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PgpoolAlerts. +func (in *PgpoolAlerts) DeepCopy() *PgpoolAlerts { + if in == nil { + return nil + } + out := new(PgpoolAlerts) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *PgpoolAlerts) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PgpoolAlertsList) DeepCopyInto(out *PgpoolAlertsList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]PgpoolAlerts, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PgpoolAlertsList. +func (in *PgpoolAlertsList) DeepCopy() *PgpoolAlertsList { + if in == nil { + return nil + } + out := new(PgpoolAlertsList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *PgpoolAlertsList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PgpoolAlertsSpec) DeepCopyInto(out *PgpoolAlertsSpec) { + *out = *in + out.Metadata = in.Metadata + in.Form.DeepCopyInto(&out.Form) + out.Grafana = in.Grafana + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PgpoolAlertsSpec. +func (in *PgpoolAlertsSpec) DeepCopy() *PgpoolAlertsSpec { + if in == nil { + return nil + } + out := new(PgpoolAlertsSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PgpoolAlertsSpecForm) DeepCopyInto(out *PgpoolAlertsSpecForm) { + *out = *in + in.Alert.DeepCopyInto(&out.Alert) + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PgpoolAlertsSpecForm. +func (in *PgpoolAlertsSpecForm) DeepCopy() *PgpoolAlertsSpecForm { + if in == nil { + return nil + } + out := new(PgpoolAlertsSpecForm) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PgpoolDatabaseAlert) DeepCopyInto(out *PgpoolDatabaseAlert) { + *out = *in + out.Rules = in.Rules + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PgpoolDatabaseAlert. +func (in *PgpoolDatabaseAlert) DeepCopy() *PgpoolDatabaseAlert { + if in == nil { + return nil + } + out := new(PgpoolDatabaseAlert) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PgpoolDatabaseAlertRules) DeepCopyInto(out *PgpoolDatabaseAlertRules) { + *out = *in + out.PgpoolTooManyConnections = in.PgpoolTooManyConnections + out.PgpoolExporterLastScrapeError = in.PgpoolExporterLastScrapeError + out.PgpoolDown = in.PgpoolDown + out.PgpoolPostgresHealthCheckFailure = in.PgpoolPostgresHealthCheckFailure + out.PgpoolBackendPanicMessageCount = in.PgpoolBackendPanicMessageCount + out.PgpoolBackendFatalMessageCount = in.PgpoolBackendFatalMessageCount + out.PgpoolBackendErrorMessageCount = in.PgpoolBackendErrorMessageCount + out.PgpoolLowCacheMemory = in.PgpoolLowCacheMemory + out.DiskUsageHigh = in.DiskUsageHigh + out.DiskAlmostFull = in.DiskAlmostFull + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PgpoolDatabaseAlertRules. +func (in *PgpoolDatabaseAlertRules) DeepCopy() *PgpoolDatabaseAlertRules { + if in == nil { + return nil + } + out := new(PgpoolDatabaseAlertRules) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PgpoolGrafana) DeepCopyInto(out *PgpoolGrafana) { + *out = *in + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PgpoolGrafana. +func (in *PgpoolGrafana) DeepCopy() *PgpoolGrafana { + if in == nil { + return nil + } + out := new(PgpoolGrafana) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PostgresAlert) DeepCopyInto(out *PostgresAlert) { + *out = *in + if in.Labels != nil { + in, out := &in.Labels, &out.Labels + *out = make(map[string]string, len(*in)) + for key, val := range *in { + (*out)[key] = val + } + } + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make(map[string]string, len(*in)) + for key, val := range *in { + (*out)[key] = val + } + } + if in.AdditionalRuleLabels != nil { + in, out := &in.AdditionalRuleLabels, &out.AdditionalRuleLabels + *out = make(map[string]string, len(*in)) + for key, val := range *in { + (*out)[key] = val + } + } + out.Groups = in.Groups + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresAlert. +func (in *PostgresAlert) DeepCopy() *PostgresAlert { + if in == nil { + return nil + } + out := new(PostgresAlert) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PostgresAlertGroups) DeepCopyInto(out *PostgresAlertGroups) { + *out = *in + out.Database = in.Database + out.Provisioner = in.Provisioner + out.OpsManager = in.OpsManager + out.Stash = in.Stash + out.KubeStash = in.KubeStash + out.SchemaManager = in.SchemaManager + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresAlertGroups. +func (in *PostgresAlertGroups) DeepCopy() *PostgresAlertGroups { + if in == nil { + return nil + } + out := new(PostgresAlertGroups) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PostgresAlerts) DeepCopyInto(out *PostgresAlerts) { + *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) in.Spec.DeepCopyInto(&out.Spec) return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongodbAlerts. -func (in *MongodbAlerts) DeepCopy() *MongodbAlerts { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresAlerts. +func (in *PostgresAlerts) DeepCopy() *PostgresAlerts { if in == nil { return nil } - out := new(MongodbAlerts) + out := new(PostgresAlerts) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *MongodbAlerts) DeepCopyObject() runtime.Object { +func (in *PostgresAlerts) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -636,13 +2250,13 @@ func (in *MongodbAlerts) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MongodbAlertsList) DeepCopyInto(out *MongodbAlertsList) { +func (in *PostgresAlertsList) DeepCopyInto(out *PostgresAlertsList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]MongodbAlerts, len(*in)) + *out = make([]PostgresAlerts, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -650,18 +2264,18 @@ func (in *MongodbAlertsList) DeepCopyInto(out *MongodbAlertsList) { return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongodbAlertsList. -func (in *MongodbAlertsList) DeepCopy() *MongodbAlertsList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresAlertsList. +func (in *PostgresAlertsList) DeepCopy() *PostgresAlertsList { if in == nil { return nil } - out := new(MongodbAlertsList) + out := new(PostgresAlertsList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *MongodbAlertsList) DeepCopyObject() runtime.Object { +func (in *PostgresAlertsList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -669,42 +2283,122 @@ func (in *MongodbAlertsList) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MongodbAlertsSpec) DeepCopyInto(out *MongodbAlertsSpec) { +func (in *PostgresAlertsSpec) DeepCopyInto(out *PostgresAlertsSpec) { *out = *in out.Metadata = in.Metadata in.Form.DeepCopyInto(&out.Form) return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongodbAlertsSpec. -func (in *MongodbAlertsSpec) DeepCopy() *MongodbAlertsSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresAlertsSpec. +func (in *PostgresAlertsSpec) DeepCopy() *PostgresAlertsSpec { if in == nil { return nil } - out := new(MongodbAlertsSpec) + out := new(PostgresAlertsSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MongodbAlertsSpecForm) DeepCopyInto(out *MongodbAlertsSpecForm) { +func (in *PostgresAlertsSpecForm) DeepCopyInto(out *PostgresAlertsSpecForm) { *out = *in in.Alert.DeepCopyInto(&out.Alert) return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongodbAlertsSpecForm. -func (in *MongodbAlertsSpecForm) DeepCopy() *MongodbAlertsSpecForm { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresAlertsSpecForm. +func (in *PostgresAlertsSpecForm) DeepCopy() *PostgresAlertsSpecForm { if in == nil { return nil } - out := new(MongodbAlertsSpecForm) + out := new(PostgresAlertsSpecForm) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MySQLAlert) DeepCopyInto(out *MySQLAlert) { +func (in *PostgresDatabaseAlert) DeepCopyInto(out *PostgresDatabaseAlert) { + *out = *in + out.Rules = in.Rules + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresDatabaseAlert. +func (in *PostgresDatabaseAlert) DeepCopy() *PostgresDatabaseAlert { + if in == nil { + return nil + } + out := new(PostgresDatabaseAlert) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PostgresDatabaseAlertRules) DeepCopyInto(out *PostgresDatabaseAlertRules) { + *out = *in + out.PostgresInstanceDown = in.PostgresInstanceDown + out.PostgresRestarted = in.PostgresRestarted + out.PostgresExporterError = in.PostgresExporterError + out.PostgresTooManyConnections = in.PostgresTooManyConnections + out.PostgresNotEnoughConnections = in.PostgresNotEnoughConnections + out.PostgresSlowQueries = in.PostgresSlowQueries + out.PostgresReplicationLag = in.PostgresReplicationLag + out.PostgresHighRollbackRate = in.PostgresHighRollbackRate + out.PostgresSplitBrain = in.PostgresSplitBrain + out.PostgresTooManyLocksAcquired = in.PostgresTooManyLocksAcquired + out.DiskUsageHigh = in.DiskUsageHigh + out.DiskAlmostFull = in.DiskAlmostFull + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresDatabaseAlertRules. +func (in *PostgresDatabaseAlertRules) DeepCopy() *PostgresDatabaseAlertRules { + if in == nil { + return nil + } + out := new(PostgresDatabaseAlertRules) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProvisionerAlert) DeepCopyInto(out *ProvisionerAlert) { + *out = *in + out.Rules = in.Rules + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProvisionerAlert. +func (in *ProvisionerAlert) DeepCopy() *ProvisionerAlert { + if in == nil { + return nil + } + out := new(ProvisionerAlert) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProvisionerAlertRules) DeepCopyInto(out *ProvisionerAlertRules) { + *out = *in + out.AppPhaseNotReady = in.AppPhaseNotReady + out.AppPhaseCritical = in.AppPhaseCritical + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProvisionerAlertRules. +func (in *ProvisionerAlertRules) DeepCopy() *ProvisionerAlertRules { + if in == nil { + return nil + } + out := new(ProvisionerAlertRules) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ProxySQLAlert) DeepCopyInto(out *ProxySQLAlert) { *out = *in if in.Labels != nil { in, out := &in.Labels, &out.Labels @@ -731,121 +2425,116 @@ func (in *MySQLAlert) DeepCopyInto(out *MySQLAlert) { return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLAlert. -func (in *MySQLAlert) DeepCopy() *MySQLAlert { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxySQLAlert. +func (in *ProxySQLAlert) DeepCopy() *ProxySQLAlert { if in == nil { return nil } - out := new(MySQLAlert) + out := new(ProxySQLAlert) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MySQLAlertGroups) DeepCopyInto(out *MySQLAlertGroups) { +func (in *ProxySQLAlertGroups) DeepCopyInto(out *ProxySQLAlertGroups) { *out = *in out.Database = in.Database - out.Group = in.Group + out.Cluster = in.Cluster out.Provisioner = in.Provisioner out.OpsManager = in.OpsManager - out.Stash = in.Stash - out.SchemaManager = in.SchemaManager return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLAlertGroups. -func (in *MySQLAlertGroups) DeepCopy() *MySQLAlertGroups { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxySQLAlertGroups. +func (in *ProxySQLAlertGroups) DeepCopy() *ProxySQLAlertGroups { if in == nil { return nil } - out := new(MySQLAlertGroups) + out := new(ProxySQLAlertGroups) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MySQLDatabaseAlert) DeepCopyInto(out *MySQLDatabaseAlert) { +func (in *ProxySQLClusterAlert) DeepCopyInto(out *ProxySQLClusterAlert) { *out = *in out.Rules = in.Rules return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLDatabaseAlert. -func (in *MySQLDatabaseAlert) DeepCopy() *MySQLDatabaseAlert { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxySQLClusterAlert. +func (in *ProxySQLClusterAlert) DeepCopy() *ProxySQLClusterAlert { if in == nil { return nil } - out := new(MySQLDatabaseAlert) + out := new(ProxySQLClusterAlert) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MySQLDatabaseAlertRules) DeepCopyInto(out *MySQLDatabaseAlertRules) { +func (in *ProxySQLClusterAlertRules) DeepCopyInto(out *ProxySQLClusterAlertRules) { *out = *in - out.MySQLInstanceDown = in.MySQLInstanceDown - out.MySQLServiceDown = in.MySQLServiceDown - out.MySQLTooManyConnections = in.MySQLTooManyConnections - out.MySQLHighThreadsRunning = in.MySQLHighThreadsRunning - out.MySQLSlowQueries = in.MySQLSlowQueries - out.MySQLInnoDBLogWaits = in.MySQLInnoDBLogWaits - out.MySQLRestarted = in.MySQLRestarted - out.MySQLHighQPS = in.MySQLHighQPS - out.MySQLHighIncomingBytes = in.MySQLHighIncomingBytes - out.MySQLHighOutgoingBytes = in.MySQLHighOutgoingBytes - out.MySQLTooManyOpenFiles = in.MySQLTooManyOpenFiles + out.ProxysqlClusterSyncFailure = in.ProxysqlClusterSyncFailure return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLDatabaseAlertRules. -func (in *MySQLDatabaseAlertRules) DeepCopy() *MySQLDatabaseAlertRules { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxySQLClusterAlertRules. +func (in *ProxySQLClusterAlertRules) DeepCopy() *ProxySQLClusterAlertRules { if in == nil { return nil } - out := new(MySQLDatabaseAlertRules) + out := new(ProxySQLClusterAlertRules) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MySQLGroupAlert) DeepCopyInto(out *MySQLGroupAlert) { +func (in *ProxySQLDatabaseAlert) DeepCopyInto(out *ProxySQLDatabaseAlert) { *out = *in out.Rules = in.Rules return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLGroupAlert. -func (in *MySQLGroupAlert) DeepCopy() *MySQLGroupAlert { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxySQLDatabaseAlert. +func (in *ProxySQLDatabaseAlert) DeepCopy() *ProxySQLDatabaseAlert { if in == nil { return nil } - out := new(MySQLGroupAlert) + out := new(ProxySQLDatabaseAlert) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MySQLGroupAlertRules) DeepCopyInto(out *MySQLGroupAlertRules) { +func (in *ProxySQLDatabaseAlertRules) DeepCopyInto(out *ProxySQLDatabaseAlertRules) { *out = *in - out.MySQLHighReplicationDelay = in.MySQLHighReplicationDelay - out.MySQLHighReplicationTransportTime = in.MySQLHighReplicationTransportTime - out.MySQLHighReplicationApplyTime = in.MySQLHighReplicationApplyTime - out.MySQLReplicationHighTransactionTime = in.MySQLReplicationHighTransactionTime + out.ProxySQLInstanceDown = in.ProxySQLInstanceDown + out.ProxySQLServiceDown = in.ProxySQLServiceDown + out.ProxySQLTooManyConnections = in.ProxySQLTooManyConnections + out.ProxySQLHighThreadsRunning = in.ProxySQLHighThreadsRunning + out.ProxySQLSlowQueries = in.ProxySQLSlowQueries + out.ProxySQLRestarted = in.ProxySQLRestarted + out.ProxySQLHighQPS = in.ProxySQLHighQPS + out.ProxySQLHighIncomingBytes = in.ProxySQLHighIncomingBytes + out.ProxySQLHighOutgoingBytes = in.ProxySQLHighOutgoingBytes + out.DiskUsageHigh = in.DiskUsageHigh + out.DiskAlmostFull = in.DiskAlmostFull return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLGroupAlertRules. -func (in *MySQLGroupAlertRules) DeepCopy() *MySQLGroupAlertRules { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxySQLDatabaseAlertRules. +func (in *ProxySQLDatabaseAlertRules) DeepCopy() *ProxySQLDatabaseAlertRules { if in == nil { return nil } - out := new(MySQLGroupAlertRules) + out := new(ProxySQLDatabaseAlertRules) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MysqlAlerts) DeepCopyInto(out *MysqlAlerts) { +func (in *ProxysqlAlerts) DeepCopyInto(out *ProxysqlAlerts) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) @@ -853,18 +2542,18 @@ func (in *MysqlAlerts) DeepCopyInto(out *MysqlAlerts) { return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MysqlAlerts. -func (in *MysqlAlerts) DeepCopy() *MysqlAlerts { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxysqlAlerts. +func (in *ProxysqlAlerts) DeepCopy() *ProxysqlAlerts { if in == nil { return nil } - out := new(MysqlAlerts) + out := new(ProxysqlAlerts) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *MysqlAlerts) DeepCopyObject() runtime.Object { +func (in *ProxysqlAlerts) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -872,13 +2561,13 @@ func (in *MysqlAlerts) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MysqlAlertsList) DeepCopyInto(out *MysqlAlertsList) { +func (in *ProxysqlAlertsList) DeepCopyInto(out *ProxysqlAlertsList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]MysqlAlerts, len(*in)) + *out = make([]ProxysqlAlerts, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -886,18 +2575,18 @@ func (in *MysqlAlertsList) DeepCopyInto(out *MysqlAlertsList) { return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MysqlAlertsList. -func (in *MysqlAlertsList) DeepCopy() *MysqlAlertsList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxysqlAlertsList. +func (in *ProxysqlAlertsList) DeepCopy() *ProxysqlAlertsList { if in == nil { return nil } - out := new(MysqlAlertsList) + out := new(ProxysqlAlertsList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *MysqlAlertsList) DeepCopyObject() runtime.Object { +func (in *ProxysqlAlertsList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -905,78 +2594,42 @@ func (in *MysqlAlertsList) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MysqlAlertsSpec) DeepCopyInto(out *MysqlAlertsSpec) { +func (in *ProxysqlAlertsSpec) DeepCopyInto(out *ProxysqlAlertsSpec) { *out = *in out.Metadata = in.Metadata in.Form.DeepCopyInto(&out.Form) return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MysqlAlertsSpec. -func (in *MysqlAlertsSpec) DeepCopy() *MysqlAlertsSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxysqlAlertsSpec. +func (in *ProxysqlAlertsSpec) DeepCopy() *ProxysqlAlertsSpec { if in == nil { return nil } - out := new(MysqlAlertsSpec) + out := new(ProxysqlAlertsSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *MysqlAlertsSpecForm) DeepCopyInto(out *MysqlAlertsSpecForm) { +func (in *ProxysqlAlertsSpecForm) DeepCopyInto(out *ProxysqlAlertsSpecForm) { *out = *in in.Alert.DeepCopyInto(&out.Alert) return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MysqlAlertsSpecForm. -func (in *MysqlAlertsSpecForm) DeepCopy() *MysqlAlertsSpecForm { - if in == nil { - return nil - } - out := new(MysqlAlertsSpecForm) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OpsManagerAlert) DeepCopyInto(out *OpsManagerAlert) { - *out = *in - out.Rules = in.Rules - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpsManagerAlert. -func (in *OpsManagerAlert) DeepCopy() *OpsManagerAlert { - if in == nil { - return nil - } - out := new(OpsManagerAlert) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OpsManagerAlertRules) DeepCopyInto(out *OpsManagerAlertRules) { - *out = *in - out.OpsRequestOnProgress = in.OpsRequestOnProgress - out.OpsRequestStatusProgressingToLong = in.OpsRequestStatusProgressingToLong - out.OpsRequestFailed = in.OpsRequestFailed - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpsManagerAlertRules. -func (in *OpsManagerAlertRules) DeepCopy() *OpsManagerAlertRules { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxysqlAlertsSpecForm. +func (in *ProxysqlAlertsSpecForm) DeepCopy() *ProxysqlAlertsSpecForm { if in == nil { return nil } - out := new(OpsManagerAlertRules) + out := new(ProxysqlAlertsSpecForm) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PerconaXtraDBAlert) DeepCopyInto(out *PerconaXtraDBAlert) { +func (in *RabbitmqAlert) DeepCopyInto(out *RabbitmqAlert) { *out = *in if in.Labels != nil { in, out := &in.Labels, &out.Labels @@ -1003,213 +2656,192 @@ func (in *PerconaXtraDBAlert) DeepCopyInto(out *PerconaXtraDBAlert) { return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PerconaXtraDBAlert. -func (in *PerconaXtraDBAlert) DeepCopy() *PerconaXtraDBAlert { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RabbitmqAlert. +func (in *RabbitmqAlert) DeepCopy() *RabbitmqAlert { if in == nil { return nil } - out := new(PerconaXtraDBAlert) + out := new(RabbitmqAlert) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PerconaXtraDBAlertGroups) DeepCopyInto(out *PerconaXtraDBAlertGroups) { +func (in *RabbitmqAlertGroups) DeepCopyInto(out *RabbitmqAlertGroups) { *out = *in out.Database = in.Database - out.Cluster = in.Cluster out.Provisioner = in.Provisioner - out.OpsManager = in.OpsManager - out.Stash = in.Stash - out.SchemaManager = in.SchemaManager return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PerconaXtraDBAlertGroups. -func (in *PerconaXtraDBAlertGroups) DeepCopy() *PerconaXtraDBAlertGroups { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RabbitmqAlertGroups. +func (in *RabbitmqAlertGroups) DeepCopy() *RabbitmqAlertGroups { if in == nil { return nil } - out := new(PerconaXtraDBAlertGroups) + out := new(RabbitmqAlertGroups) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PerconaXtraDBClusterAlert) DeepCopyInto(out *PerconaXtraDBClusterAlert) { +func (in *RabbitmqAlerts) DeepCopyInto(out *RabbitmqAlerts) { *out = *in - out.Rules = in.Rules + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PerconaXtraDBClusterAlert. -func (in *PerconaXtraDBClusterAlert) DeepCopy() *PerconaXtraDBClusterAlert { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RabbitmqAlerts. +func (in *RabbitmqAlerts) DeepCopy() *RabbitmqAlerts { if in == nil { return nil } - out := new(PerconaXtraDBClusterAlert) + out := new(RabbitmqAlerts) in.DeepCopyInto(out) return out } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PerconaXtraDBClusterAlertRules) DeepCopyInto(out *PerconaXtraDBClusterAlertRules) { - *out = *in - out.GaleraReplicationLatencyTooLong = in.GaleraReplicationLatencyTooLong - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PerconaXtraDBClusterAlertRules. -func (in *PerconaXtraDBClusterAlertRules) DeepCopy() *PerconaXtraDBClusterAlertRules { - if in == nil { - return nil +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *RabbitmqAlerts) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c } - out := new(PerconaXtraDBClusterAlertRules) - in.DeepCopyInto(out) - return out + return nil } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PerconaXtraDBDatabaseAlert) DeepCopyInto(out *PerconaXtraDBDatabaseAlert) { +func (in *RabbitmqAlertsList) DeepCopyInto(out *RabbitmqAlertsList) { *out = *in - out.Rules = in.Rules + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]RabbitmqAlerts, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PerconaXtraDBDatabaseAlert. -func (in *PerconaXtraDBDatabaseAlert) DeepCopy() *PerconaXtraDBDatabaseAlert { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RabbitmqAlertsList. +func (in *RabbitmqAlertsList) DeepCopy() *RabbitmqAlertsList { if in == nil { return nil } - out := new(PerconaXtraDBDatabaseAlert) + out := new(RabbitmqAlertsList) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *RabbitmqAlertsList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PerconaXtraDBDatabaseAlertRules) DeepCopyInto(out *PerconaXtraDBDatabaseAlertRules) { +func (in *RabbitmqAlertsSpec) DeepCopyInto(out *RabbitmqAlertsSpec) { *out = *in - out.MySQLInstanceDown = in.MySQLInstanceDown - out.MySQLServiceDown = in.MySQLServiceDown - out.MySQLTooManyConnections = in.MySQLTooManyConnections - out.MySQLHighThreadsRunning = in.MySQLHighThreadsRunning - out.MySQLSlowQueries = in.MySQLSlowQueries - out.MySQLInnoDBLogWaits = in.MySQLInnoDBLogWaits - out.MySQLRestarted = in.MySQLRestarted - out.MySQLHighQPS = in.MySQLHighQPS - out.MySQLHighIncomingBytes = in.MySQLHighIncomingBytes - out.MySQLHighOutgoingBytes = in.MySQLHighOutgoingBytes - out.MySQLTooManyOpenFiles = in.MySQLTooManyOpenFiles + out.Metadata = in.Metadata + in.Form.DeepCopyInto(&out.Form) + out.Grafana = in.Grafana return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PerconaXtraDBDatabaseAlertRules. -func (in *PerconaXtraDBDatabaseAlertRules) DeepCopy() *PerconaXtraDBDatabaseAlertRules { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RabbitmqAlertsSpec. +func (in *RabbitmqAlertsSpec) DeepCopy() *RabbitmqAlertsSpec { if in == nil { return nil } - out := new(PerconaXtraDBDatabaseAlertRules) + out := new(RabbitmqAlertsSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PerconaxtradbAlerts) DeepCopyInto(out *PerconaxtradbAlerts) { +func (in *RabbitmqAlertsSpecForm) DeepCopyInto(out *RabbitmqAlertsSpecForm) { *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) + in.Alert.DeepCopyInto(&out.Alert) return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PerconaxtradbAlerts. -func (in *PerconaxtradbAlerts) DeepCopy() *PerconaxtradbAlerts { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RabbitmqAlertsSpecForm. +func (in *RabbitmqAlertsSpecForm) DeepCopy() *RabbitmqAlertsSpecForm { if in == nil { return nil } - out := new(PerconaxtradbAlerts) + out := new(RabbitmqAlertsSpecForm) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *PerconaxtradbAlerts) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PerconaxtradbAlertsList) DeepCopyInto(out *PerconaxtradbAlertsList) { +func (in *RabbitmqDatabaseAlert) DeepCopyInto(out *RabbitmqDatabaseAlert) { *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]PerconaxtradbAlerts, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } + out.Rules = in.Rules return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PerconaxtradbAlertsList. -func (in *PerconaxtradbAlertsList) DeepCopy() *PerconaxtradbAlertsList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RabbitmqDatabaseAlert. +func (in *RabbitmqDatabaseAlert) DeepCopy() *RabbitmqDatabaseAlert { if in == nil { return nil } - out := new(PerconaxtradbAlertsList) + out := new(RabbitmqDatabaseAlert) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *PerconaxtradbAlertsList) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PerconaxtradbAlertsSpec) DeepCopyInto(out *PerconaxtradbAlertsSpec) { +func (in *RabbitmqDatabaseAlertRules) DeepCopyInto(out *RabbitmqDatabaseAlertRules) { *out = *in - out.Metadata = in.Metadata - in.Form.DeepCopyInto(&out.Form) + out.RabbitmqFileDescriptorsNearLimit = in.RabbitmqFileDescriptorsNearLimit + out.RabbitmqQueueIsGrowing = in.RabbitmqQueueIsGrowing + out.RabbitmqUnroutableMessages = in.RabbitmqUnroutableMessages + out.RabbitmqTCPSocketsNearLimit = in.RabbitmqTCPSocketsNearLimit + out.RabbitmqLowDiskWatermarkPredicted = in.RabbitmqLowDiskWatermarkPredicted + out.RabbitmqInsufficientEstablishedErlangDistributionLinks = in.RabbitmqInsufficientEstablishedErlangDistributionLinks + out.RabbitmqHighConnectionChurn = in.RabbitmqHighConnectionChurn + out.RabbitmqPhaseCritical = in.RabbitmqPhaseCritical + out.RabbitmqDown = in.RabbitmqDown + out.DiskUsageHigh = in.DiskUsageHigh + out.DiskAlmostFull = in.DiskAlmostFull return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PerconaxtradbAlertsSpec. -func (in *PerconaxtradbAlertsSpec) DeepCopy() *PerconaxtradbAlertsSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RabbitmqDatabaseAlertRules. +func (in *RabbitmqDatabaseAlertRules) DeepCopy() *RabbitmqDatabaseAlertRules { if in == nil { return nil } - out := new(PerconaxtradbAlertsSpec) + out := new(RabbitmqDatabaseAlertRules) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PerconaxtradbAlertsSpecForm) DeepCopyInto(out *PerconaxtradbAlertsSpecForm) { +func (in *RabbitmqGrafana) DeepCopyInto(out *RabbitmqGrafana) { *out = *in - in.Alert.DeepCopyInto(&out.Alert) return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PerconaxtradbAlertsSpecForm. -func (in *PerconaxtradbAlertsSpecForm) DeepCopy() *PerconaxtradbAlertsSpecForm { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RabbitmqGrafana. +func (in *RabbitmqGrafana) DeepCopy() *RabbitmqGrafana { if in == nil { return nil } - out := new(PerconaxtradbAlertsSpecForm) + out := new(RabbitmqGrafana) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PostgresAlert) DeepCopyInto(out *PostgresAlert) { +func (in *RedisAlert) DeepCopyInto(out *RedisAlert) { *out = *in if in.Labels != nil { in, out := &in.Labels, &out.Labels @@ -1236,39 +2868,39 @@ func (in *PostgresAlert) DeepCopyInto(out *PostgresAlert) { return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresAlert. -func (in *PostgresAlert) DeepCopy() *PostgresAlert { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisAlert. +func (in *RedisAlert) DeepCopy() *RedisAlert { if in == nil { return nil } - out := new(PostgresAlert) + out := new(RedisAlert) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PostgresAlertGroups) DeepCopyInto(out *PostgresAlertGroups) { +func (in *RedisAlertGroups) DeepCopyInto(out *RedisAlertGroups) { *out = *in out.Database = in.Database out.Provisioner = in.Provisioner out.OpsManager = in.OpsManager out.Stash = in.Stash - out.SchemaManager = in.SchemaManager + out.KubeStash = in.KubeStash return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresAlertGroups. -func (in *PostgresAlertGroups) DeepCopy() *PostgresAlertGroups { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisAlertGroups. +func (in *RedisAlertGroups) DeepCopy() *RedisAlertGroups { if in == nil { return nil } - out := new(PostgresAlertGroups) + out := new(RedisAlertGroups) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PostgresAlerts) DeepCopyInto(out *PostgresAlerts) { +func (in *RedisAlerts) DeepCopyInto(out *RedisAlerts) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) @@ -1276,18 +2908,18 @@ func (in *PostgresAlerts) DeepCopyInto(out *PostgresAlerts) { return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresAlerts. -func (in *PostgresAlerts) DeepCopy() *PostgresAlerts { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisAlerts. +func (in *RedisAlerts) DeepCopy() *RedisAlerts { if in == nil { return nil } - out := new(PostgresAlerts) + out := new(RedisAlerts) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *PostgresAlerts) DeepCopyObject() runtime.Object { +func (in *RedisAlerts) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -1295,13 +2927,13 @@ func (in *PostgresAlerts) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PostgresAlertsList) DeepCopyInto(out *PostgresAlertsList) { +func (in *RedisAlertsList) DeepCopyInto(out *RedisAlertsList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]PostgresAlerts, len(*in)) + *out = make([]RedisAlerts, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -1309,18 +2941,18 @@ func (in *PostgresAlertsList) DeepCopyInto(out *PostgresAlertsList) { return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresAlertsList. -func (in *PostgresAlertsList) DeepCopy() *PostgresAlertsList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisAlertsList. +func (in *RedisAlertsList) DeepCopy() *RedisAlertsList { if in == nil { return nil } - out := new(PostgresAlertsList) + out := new(RedisAlertsList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *PostgresAlertsList) DeepCopyObject() runtime.Object { +func (in *RedisAlertsList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -1328,120 +2960,121 @@ func (in *PostgresAlertsList) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PostgresAlertsSpec) DeepCopyInto(out *PostgresAlertsSpec) { +func (in *RedisAlertsSpec) DeepCopyInto(out *RedisAlertsSpec) { *out = *in out.Metadata = in.Metadata in.Form.DeepCopyInto(&out.Form) return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresAlertsSpec. -func (in *PostgresAlertsSpec) DeepCopy() *PostgresAlertsSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisAlertsSpec. +func (in *RedisAlertsSpec) DeepCopy() *RedisAlertsSpec { if in == nil { return nil } - out := new(PostgresAlertsSpec) + out := new(RedisAlertsSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PostgresAlertsSpecForm) DeepCopyInto(out *PostgresAlertsSpecForm) { +func (in *RedisAlertsSpecForm) DeepCopyInto(out *RedisAlertsSpecForm) { *out = *in in.Alert.DeepCopyInto(&out.Alert) return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresAlertsSpecForm. -func (in *PostgresAlertsSpecForm) DeepCopy() *PostgresAlertsSpecForm { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisAlertsSpecForm. +func (in *RedisAlertsSpecForm) DeepCopy() *RedisAlertsSpecForm { if in == nil { return nil } - out := new(PostgresAlertsSpecForm) + out := new(RedisAlertsSpecForm) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PostgresDatabaseAlert) DeepCopyInto(out *PostgresDatabaseAlert) { +func (in *RedisDatabaseAlert) DeepCopyInto(out *RedisDatabaseAlert) { *out = *in out.Rules = in.Rules return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresDatabaseAlert. -func (in *PostgresDatabaseAlert) DeepCopy() *PostgresDatabaseAlert { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisDatabaseAlert. +func (in *RedisDatabaseAlert) DeepCopy() *RedisDatabaseAlert { if in == nil { return nil } - out := new(PostgresDatabaseAlert) + out := new(RedisDatabaseAlert) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *PostgresDatabaseAlertRules) DeepCopyInto(out *PostgresDatabaseAlertRules) { +func (in *RedisDatabaseAlertRules) DeepCopyInto(out *RedisDatabaseAlertRules) { *out = *in - out.PostgresInstanceDown = in.PostgresInstanceDown - out.PostgresRestarted = in.PostgresRestarted - out.PostgresExporterError = in.PostgresExporterError - out.PostgresTooManyConnections = in.PostgresTooManyConnections - out.PostgresNotEnoughConnections = in.PostgresNotEnoughConnections - out.PostgresSlowQueries = in.PostgresSlowQueries - out.PostgresReplicationLag = in.PostgresReplicationLag - out.PostgresHighRollbackRate = in.PostgresHighRollbackRate - out.PostgresSplitBrain = in.PostgresSplitBrain - out.PostgresTooManyLocksAcquired = in.PostgresTooManyLocksAcquired + out.RedisDown = in.RedisDown + out.RedisMissingMaster = in.RedisMissingMaster + out.RedisTooManyMasters = in.RedisTooManyMasters + out.RedisDisconnectedSlaves = in.RedisDisconnectedSlaves + out.RedisTooManyConnections = in.RedisTooManyConnections + out.RedisRejectedConnections = in.RedisRejectedConnections + out.DiskUsageHigh = in.DiskUsageHigh + out.DiskAlmostFull = in.DiskAlmostFull return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresDatabaseAlertRules. -func (in *PostgresDatabaseAlertRules) DeepCopy() *PostgresDatabaseAlertRules { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisDatabaseAlertRules. +func (in *RedisDatabaseAlertRules) DeepCopy() *RedisDatabaseAlertRules { if in == nil { return nil } - out := new(PostgresDatabaseAlertRules) + out := new(RedisDatabaseAlertRules) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ProvisionerAlert) DeepCopyInto(out *ProvisionerAlert) { +func (in *SchemaManagerAlert) DeepCopyInto(out *SchemaManagerAlert) { *out = *in out.Rules = in.Rules return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProvisionerAlert. -func (in *ProvisionerAlert) DeepCopy() *ProvisionerAlert { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SchemaManagerAlert. +func (in *SchemaManagerAlert) DeepCopy() *SchemaManagerAlert { if in == nil { return nil } - out := new(ProvisionerAlert) + out := new(SchemaManagerAlert) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ProvisionerAlertRules) DeepCopyInto(out *ProvisionerAlertRules) { +func (in *SchemaManagerAlertRules) DeepCopyInto(out *SchemaManagerAlertRules) { *out = *in - out.AppPhaseNotReady = in.AppPhaseNotReady - out.AppPhaseCritical = in.AppPhaseCritical + out.SchemaPendingForTooLong = in.SchemaPendingForTooLong + out.SchemaInProgressForTooLong = in.SchemaInProgressForTooLong + out.SchemaTerminatingForTooLong = in.SchemaTerminatingForTooLong + out.SchemaFailed = in.SchemaFailed + out.SchemaExpired = in.SchemaExpired return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProvisionerAlertRules. -func (in *ProvisionerAlertRules) DeepCopy() *ProvisionerAlertRules { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SchemaManagerAlertRules. +func (in *SchemaManagerAlertRules) DeepCopy() *SchemaManagerAlertRules { if in == nil { return nil } - out := new(ProvisionerAlertRules) + out := new(SchemaManagerAlertRules) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ProxySQLAlert) DeepCopyInto(out *ProxySQLAlert) { +func (in *SinglestoreAlert) DeepCopyInto(out *SinglestoreAlert) { *out = *in if in.Labels != nil { in, out := &in.Labels, &out.Labels @@ -1468,209 +3101,192 @@ func (in *ProxySQLAlert) DeepCopyInto(out *ProxySQLAlert) { return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxySQLAlert. -func (in *ProxySQLAlert) DeepCopy() *ProxySQLAlert { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SinglestoreAlert. +func (in *SinglestoreAlert) DeepCopy() *SinglestoreAlert { if in == nil { return nil } - out := new(ProxySQLAlert) + out := new(SinglestoreAlert) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ProxySQLAlertGroups) DeepCopyInto(out *ProxySQLAlertGroups) { +func (in *SinglestoreAlertGroups) DeepCopyInto(out *SinglestoreAlertGroups) { *out = *in out.Database = in.Database - out.Cluster = in.Cluster out.Provisioner = in.Provisioner - out.OpsManager = in.OpsManager + out.KubeStash = in.KubeStash return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxySQLAlertGroups. -func (in *ProxySQLAlertGroups) DeepCopy() *ProxySQLAlertGroups { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SinglestoreAlertGroups. +func (in *SinglestoreAlertGroups) DeepCopy() *SinglestoreAlertGroups { if in == nil { return nil } - out := new(ProxySQLAlertGroups) + out := new(SinglestoreAlertGroups) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ProxySQLClusterAlert) DeepCopyInto(out *ProxySQLClusterAlert) { +func (in *SinglestoreAlerts) DeepCopyInto(out *SinglestoreAlerts) { *out = *in - out.Rules = in.Rules + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxySQLClusterAlert. -func (in *ProxySQLClusterAlert) DeepCopy() *ProxySQLClusterAlert { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SinglestoreAlerts. +func (in *SinglestoreAlerts) DeepCopy() *SinglestoreAlerts { if in == nil { return nil } - out := new(ProxySQLClusterAlert) + out := new(SinglestoreAlerts) in.DeepCopyInto(out) return out } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ProxySQLClusterAlertRules) DeepCopyInto(out *ProxySQLClusterAlertRules) { - *out = *in - out.ProxysqlClusterSyncFailure = in.ProxysqlClusterSyncFailure - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxySQLClusterAlertRules. -func (in *ProxySQLClusterAlertRules) DeepCopy() *ProxySQLClusterAlertRules { - if in == nil { - return nil +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *SinglestoreAlerts) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c } - out := new(ProxySQLClusterAlertRules) - in.DeepCopyInto(out) - return out + return nil } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ProxySQLDatabaseAlert) DeepCopyInto(out *ProxySQLDatabaseAlert) { +func (in *SinglestoreAlertsList) DeepCopyInto(out *SinglestoreAlertsList) { *out = *in - out.Rules = in.Rules + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]SinglestoreAlerts, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxySQLDatabaseAlert. -func (in *ProxySQLDatabaseAlert) DeepCopy() *ProxySQLDatabaseAlert { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SinglestoreAlertsList. +func (in *SinglestoreAlertsList) DeepCopy() *SinglestoreAlertsList { if in == nil { return nil } - out := new(ProxySQLDatabaseAlert) + out := new(SinglestoreAlertsList) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *SinglestoreAlertsList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ProxySQLDatabaseAlertRules) DeepCopyInto(out *ProxySQLDatabaseAlertRules) { +func (in *SinglestoreAlertsSpec) DeepCopyInto(out *SinglestoreAlertsSpec) { *out = *in - out.ProxySQLInstanceDown = in.ProxySQLInstanceDown - out.ProxySQLServiceDown = in.ProxySQLServiceDown - out.ProxySQLTooManyConnections = in.ProxySQLTooManyConnections - out.ProxySQLHighThreadsRunning = in.ProxySQLHighThreadsRunning - out.ProxySQLSlowQueries = in.ProxySQLSlowQueries - out.ProxySQLRestarted = in.ProxySQLRestarted - out.ProxySQLHighQPS = in.ProxySQLHighQPS - out.ProxySQLHighIncomingBytes = in.ProxySQLHighIncomingBytes - out.ProxySQLHighOutgoingBytes = in.ProxySQLHighOutgoingBytes + out.Metadata = in.Metadata + in.Form.DeepCopyInto(&out.Form) + out.Grafana = in.Grafana return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxySQLDatabaseAlertRules. -func (in *ProxySQLDatabaseAlertRules) DeepCopy() *ProxySQLDatabaseAlertRules { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SinglestoreAlertsSpec. +func (in *SinglestoreAlertsSpec) DeepCopy() *SinglestoreAlertsSpec { if in == nil { return nil } - out := new(ProxySQLDatabaseAlertRules) + out := new(SinglestoreAlertsSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ProxysqlAlerts) DeepCopyInto(out *ProxysqlAlerts) { +func (in *SinglestoreAlertsSpecForm) DeepCopyInto(out *SinglestoreAlertsSpecForm) { *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) + in.Alert.DeepCopyInto(&out.Alert) return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxysqlAlerts. -func (in *ProxysqlAlerts) DeepCopy() *ProxysqlAlerts { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SinglestoreAlertsSpecForm. +func (in *SinglestoreAlertsSpecForm) DeepCopy() *SinglestoreAlertsSpecForm { if in == nil { return nil } - out := new(ProxysqlAlerts) + out := new(SinglestoreAlertsSpecForm) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *ProxysqlAlerts) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ProxysqlAlertsList) DeepCopyInto(out *ProxysqlAlertsList) { +func (in *SinglestoreDatabaseAlert) DeepCopyInto(out *SinglestoreDatabaseAlert) { *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]ProxysqlAlerts, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } + out.Rules = in.Rules return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxysqlAlertsList. -func (in *ProxysqlAlertsList) DeepCopy() *ProxysqlAlertsList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SinglestoreDatabaseAlert. +func (in *SinglestoreDatabaseAlert) DeepCopy() *SinglestoreDatabaseAlert { if in == nil { return nil } - out := new(ProxysqlAlertsList) + out := new(SinglestoreDatabaseAlert) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *ProxysqlAlertsList) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ProxysqlAlertsSpec) DeepCopyInto(out *ProxysqlAlertsSpec) { +func (in *SinglestoreDatabaseAlertRules) DeepCopyInto(out *SinglestoreDatabaseAlertRules) { *out = *in - out.Metadata = in.Metadata - in.Form.DeepCopyInto(&out.Form) + out.SinglestoreInstanceDown = in.SinglestoreInstanceDown + out.SinglestoreServiceDown = in.SinglestoreServiceDown + out.SinglestoreTooManyConnections = in.SinglestoreTooManyConnections + out.SinglestoreHighThreadsRunning = in.SinglestoreHighThreadsRunning + out.SinglestoreRestarted = in.SinglestoreRestarted + out.SinglestoreHighQPS = in.SinglestoreHighQPS + out.SinglestoreHighIncomingBytes = in.SinglestoreHighIncomingBytes + out.SinglestoreHighOutgoingBytes = in.SinglestoreHighOutgoingBytes + out.DiskUsageHigh = in.DiskUsageHigh + out.DiskAlmostFull = in.DiskAlmostFull return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxysqlAlertsSpec. -func (in *ProxysqlAlertsSpec) DeepCopy() *ProxysqlAlertsSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SinglestoreDatabaseAlertRules. +func (in *SinglestoreDatabaseAlertRules) DeepCopy() *SinglestoreDatabaseAlertRules { if in == nil { return nil } - out := new(ProxysqlAlertsSpec) + out := new(SinglestoreDatabaseAlertRules) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ProxysqlAlertsSpecForm) DeepCopyInto(out *ProxysqlAlertsSpecForm) { +func (in *SinglestoreGrafana) DeepCopyInto(out *SinglestoreGrafana) { *out = *in - in.Alert.DeepCopyInto(&out.Alert) return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxysqlAlertsSpecForm. -func (in *ProxysqlAlertsSpecForm) DeepCopy() *ProxysqlAlertsSpecForm { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SinglestoreGrafana. +func (in *SinglestoreGrafana) DeepCopy() *SinglestoreGrafana { if in == nil { return nil } - out := new(ProxysqlAlertsSpecForm) + out := new(SinglestoreGrafana) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *RedisAlert) DeepCopyInto(out *RedisAlert) { +func (in *SolrAlert) DeepCopyInto(out *SolrAlert) { *out = *in if in.Labels != nil { in, out := &in.Labels, &out.Labels @@ -1697,38 +3313,36 @@ func (in *RedisAlert) DeepCopyInto(out *RedisAlert) { return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisAlert. -func (in *RedisAlert) DeepCopy() *RedisAlert { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SolrAlert. +func (in *SolrAlert) DeepCopy() *SolrAlert { if in == nil { return nil } - out := new(RedisAlert) + out := new(SolrAlert) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *RedisAlertGroups) DeepCopyInto(out *RedisAlertGroups) { +func (in *SolrAlertGroups) DeepCopyInto(out *SolrAlertGroups) { *out = *in out.Database = in.Database out.Provisioner = in.Provisioner - out.OpsManager = in.OpsManager - out.Stash = in.Stash return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisAlertGroups. -func (in *RedisAlertGroups) DeepCopy() *RedisAlertGroups { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SolrAlertGroups. +func (in *SolrAlertGroups) DeepCopy() *SolrAlertGroups { if in == nil { return nil } - out := new(RedisAlertGroups) + out := new(SolrAlertGroups) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *RedisAlerts) DeepCopyInto(out *RedisAlerts) { +func (in *SolrAlerts) DeepCopyInto(out *SolrAlerts) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) @@ -1736,18 +3350,18 @@ func (in *RedisAlerts) DeepCopyInto(out *RedisAlerts) { return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisAlerts. -func (in *RedisAlerts) DeepCopy() *RedisAlerts { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SolrAlerts. +func (in *SolrAlerts) DeepCopy() *SolrAlerts { if in == nil { return nil } - out := new(RedisAlerts) + out := new(SolrAlerts) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *RedisAlerts) DeepCopyObject() runtime.Object { +func (in *SolrAlerts) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -1755,13 +3369,13 @@ func (in *RedisAlerts) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *RedisAlertsList) DeepCopyInto(out *RedisAlertsList) { +func (in *SolrAlertsList) DeepCopyInto(out *SolrAlertsList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]RedisAlerts, len(*in)) + *out = make([]SolrAlerts, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } @@ -1769,18 +3383,18 @@ func (in *RedisAlertsList) DeepCopyInto(out *RedisAlertsList) { return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisAlertsList. -func (in *RedisAlertsList) DeepCopy() *RedisAlertsList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SolrAlertsList. +func (in *SolrAlertsList) DeepCopy() *SolrAlertsList { if in == nil { return nil } - out := new(RedisAlertsList) + out := new(SolrAlertsList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *RedisAlertsList) DeepCopyObject() runtime.Object { +func (in *SolrAlertsList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -1788,113 +3402,95 @@ func (in *RedisAlertsList) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *RedisAlertsSpec) DeepCopyInto(out *RedisAlertsSpec) { +func (in *SolrAlertsSpec) DeepCopyInto(out *SolrAlertsSpec) { *out = *in out.Metadata = in.Metadata in.Form.DeepCopyInto(&out.Form) + out.Grafana = in.Grafana return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisAlertsSpec. -func (in *RedisAlertsSpec) DeepCopy() *RedisAlertsSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SolrAlertsSpec. +func (in *SolrAlertsSpec) DeepCopy() *SolrAlertsSpec { if in == nil { return nil } - out := new(RedisAlertsSpec) + out := new(SolrAlertsSpec) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *RedisAlertsSpecForm) DeepCopyInto(out *RedisAlertsSpecForm) { +func (in *SolrAlertsSpecForm) DeepCopyInto(out *SolrAlertsSpecForm) { *out = *in in.Alert.DeepCopyInto(&out.Alert) return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisAlertsSpecForm. -func (in *RedisAlertsSpecForm) DeepCopy() *RedisAlertsSpecForm { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SolrAlertsSpecForm. +func (in *SolrAlertsSpecForm) DeepCopy() *SolrAlertsSpecForm { if in == nil { return nil } - out := new(RedisAlertsSpecForm) + out := new(SolrAlertsSpecForm) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *RedisDatabaseAlert) DeepCopyInto(out *RedisDatabaseAlert) { +func (in *SolrDatabaseAlert) DeepCopyInto(out *SolrDatabaseAlert) { *out = *in out.Rules = in.Rules return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisDatabaseAlert. -func (in *RedisDatabaseAlert) DeepCopy() *RedisDatabaseAlert { - if in == nil { - return nil - } - out := new(RedisDatabaseAlert) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *RedisDatabaseAlertRules) DeepCopyInto(out *RedisDatabaseAlertRules) { - *out = *in - out.RedisDown = in.RedisDown - out.RedisMissingMaster = in.RedisMissingMaster - out.RedisTooManyMasters = in.RedisTooManyMasters - out.RedisDisconnectedSlaves = in.RedisDisconnectedSlaves - out.RedisTooManyConnections = in.RedisTooManyConnections - out.RedisRejectedConnections = in.RedisRejectedConnections - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisDatabaseAlertRules. -func (in *RedisDatabaseAlertRules) DeepCopy() *RedisDatabaseAlertRules { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SolrDatabaseAlert. +func (in *SolrDatabaseAlert) DeepCopy() *SolrDatabaseAlert { if in == nil { return nil } - out := new(RedisDatabaseAlertRules) + out := new(SolrDatabaseAlert) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SchemaManagerAlert) DeepCopyInto(out *SchemaManagerAlert) { +func (in *SolrDatabaseAlertRules) DeepCopyInto(out *SolrDatabaseAlertRules) { *out = *in - out.Rules = in.Rules + out.SolrDownShards = in.SolrDownShards + out.SolrRecoveryFailedShards = in.SolrRecoveryFailedShards + out.SolrHighThreadsRunning = in.SolrHighThreadsRunning + out.SolrHighPoolSize = in.SolrHighPoolSize + out.SolrHighQPS = in.SolrHighQPS + out.SolrHighHeapSize = in.SolrHighHeapSize + out.SolrHighBufferSize = in.SolrHighBufferSize + out.DiskUsageHigh = in.DiskUsageHigh + out.DiskAlmostFull = in.DiskAlmostFull return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SchemaManagerAlert. -func (in *SchemaManagerAlert) DeepCopy() *SchemaManagerAlert { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SolrDatabaseAlertRules. +func (in *SolrDatabaseAlertRules) DeepCopy() *SolrDatabaseAlertRules { if in == nil { return nil } - out := new(SchemaManagerAlert) + out := new(SolrDatabaseAlertRules) in.DeepCopyInto(out) return out } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *SchemaManagerAlertRules) DeepCopyInto(out *SchemaManagerAlertRules) { +func (in *SolrGrafana) DeepCopyInto(out *SolrGrafana) { *out = *in - out.SchemaPendingForTooLong = in.SchemaPendingForTooLong - out.SchemaInProgressForTooLong = in.SchemaInProgressForTooLong - out.SchemaTerminatingForTooLong = in.SchemaTerminatingForTooLong - out.SchemaFailed = in.SchemaFailed - out.SchemaExpired = in.SchemaExpired return } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SchemaManagerAlertRules. -func (in *SchemaManagerAlertRules) DeepCopy() *SchemaManagerAlertRules { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SolrGrafana. +func (in *SolrGrafana) DeepCopy() *SolrGrafana { if in == nil { return nil } - out := new(SchemaManagerAlertRules) + out := new(SolrGrafana) in.DeepCopyInto(out) return out } @@ -2137,6 +3733,8 @@ func (in *VaultserverAlertsVaultAlertRules) DeepCopyInto(out *VaultserverAlertsV out.VaultRequestFailures = in.VaultRequestFailures out.VaultResponseFailures = in.VaultResponseFailures out.VaultTooManyInfinityTokens = in.VaultTooManyInfinityTokens + out.DiskUsageHigh = in.DiskUsageHigh + out.DiskAlmostFull = in.DiskAlmostFull return } diff --git a/vendor/golang.org/x/net/http2/frame.go b/vendor/golang.org/x/net/http2/frame.go index e2b298d859..43557ab7e9 100644 --- a/vendor/golang.org/x/net/http2/frame.go +++ b/vendor/golang.org/x/net/http2/frame.go @@ -1564,6 +1564,7 @@ func (fr *Framer) readMetaFrame(hf *HeadersFrame) (*MetaHeadersFrame, error) { if size > remainSize { hdec.SetEmitEnabled(false) mh.Truncated = true + remainSize = 0 return } remainSize -= size @@ -1576,6 +1577,36 @@ func (fr *Framer) readMetaFrame(hf *HeadersFrame) (*MetaHeadersFrame, error) { var hc headersOrContinuation = hf for { frag := hc.HeaderBlockFragment() + + // Avoid parsing large amounts of headers that we will then discard. + // If the sender exceeds the max header list size by too much, + // skip parsing the fragment and close the connection. + // + // "Too much" is either any CONTINUATION frame after we've already + // exceeded the max header list size (in which case remainSize is 0), + // or a frame whose encoded size is more than twice the remaining + // header list bytes we're willing to accept. + if int64(len(frag)) > int64(2*remainSize) { + if VerboseLogs { + log.Printf("http2: header list too large") + } + // It would be nice to send a RST_STREAM before sending the GOAWAY, + // but the structure of the server's frame writer makes this difficult. + return nil, ConnectionError(ErrCodeProtocol) + } + + // Also close the connection after any CONTINUATION frame following an + // invalid header, since we stop tracking the size of the headers after + // an invalid one. + if invalid != nil { + if VerboseLogs { + log.Printf("http2: invalid header: %v", invalid) + } + // It would be nice to send a RST_STREAM before sending the GOAWAY, + // but the structure of the server's frame writer makes this difficult. + return nil, ConnectionError(ErrCodeProtocol) + } + if _, err := hdec.Write(frag); err != nil { return nil, ConnectionError(ErrCodeCompression) } diff --git a/vendor/golang.org/x/net/http2/pipe.go b/vendor/golang.org/x/net/http2/pipe.go index 684d984fd9..3b9f06b962 100644 --- a/vendor/golang.org/x/net/http2/pipe.go +++ b/vendor/golang.org/x/net/http2/pipe.go @@ -77,7 +77,10 @@ func (p *pipe) Read(d []byte) (n int, err error) { } } -var errClosedPipeWrite = errors.New("write on closed buffer") +var ( + errClosedPipeWrite = errors.New("write on closed buffer") + errUninitializedPipeWrite = errors.New("write on uninitialized buffer") +) // Write copies bytes from p into the buffer and wakes a reader. // It is an error to write more data than the buffer can hold. @@ -91,6 +94,12 @@ func (p *pipe) Write(d []byte) (n int, err error) { if p.err != nil || p.breakErr != nil { return 0, errClosedPipeWrite } + // pipe.setBuffer is never invoked, leaving the buffer uninitialized. + // We shouldn't try to write to an uninitialized pipe, + // but returning an error is better than panicking. + if p.b == nil { + return 0, errUninitializedPipeWrite + } return p.b.Write(d) } diff --git a/vendor/golang.org/x/net/http2/server.go b/vendor/golang.org/x/net/http2/server.go index ae94c6408d..ce2e8b40ee 100644 --- a/vendor/golang.org/x/net/http2/server.go +++ b/vendor/golang.org/x/net/http2/server.go @@ -124,6 +124,7 @@ type Server struct { // IdleTimeout specifies how long until idle clients should be // closed with a GOAWAY frame. PING frames are not considered // activity for the purposes of IdleTimeout. + // If zero or negative, there is no timeout. IdleTimeout time.Duration // MaxUploadBufferPerConnection is the size of the initial flow @@ -434,7 +435,7 @@ func (s *Server) ServeConn(c net.Conn, opts *ServeConnOpts) { // passes the connection off to us with the deadline already set. // Write deadlines are set per stream in serverConn.newStream. // Disarm the net.Conn write deadline here. - if sc.hs.WriteTimeout != 0 { + if sc.hs.WriteTimeout > 0 { sc.conn.SetWriteDeadline(time.Time{}) } @@ -924,7 +925,7 @@ func (sc *serverConn) serve() { sc.setConnState(http.StateActive) sc.setConnState(http.StateIdle) - if sc.srv.IdleTimeout != 0 { + if sc.srv.IdleTimeout > 0 { sc.idleTimer = time.AfterFunc(sc.srv.IdleTimeout, sc.onIdleTimer) defer sc.idleTimer.Stop() } @@ -1637,7 +1638,7 @@ func (sc *serverConn) closeStream(st *stream, err error) { delete(sc.streams, st.id) if len(sc.streams) == 0 { sc.setConnState(http.StateIdle) - if sc.srv.IdleTimeout != 0 { + if sc.srv.IdleTimeout > 0 { sc.idleTimer.Reset(sc.srv.IdleTimeout) } if h1ServerKeepAlivesDisabled(sc.hs) { @@ -2017,7 +2018,7 @@ func (sc *serverConn) processHeaders(f *MetaHeadersFrame) error { // similar to how the http1 server works. Here it's // technically more like the http1 Server's ReadHeaderTimeout // (in Go 1.8), though. That's a more sane option anyway. - if sc.hs.ReadTimeout != 0 { + if sc.hs.ReadTimeout > 0 { sc.conn.SetReadDeadline(time.Time{}) st.readDeadline = time.AfterFunc(sc.hs.ReadTimeout, st.onReadTimeout) } @@ -2038,7 +2039,7 @@ func (sc *serverConn) upgradeRequest(req *http.Request) { // Disable any read deadline set by the net/http package // prior to the upgrade. - if sc.hs.ReadTimeout != 0 { + if sc.hs.ReadTimeout > 0 { sc.conn.SetReadDeadline(time.Time{}) } @@ -2116,7 +2117,7 @@ func (sc *serverConn) newStream(id, pusherID uint32, state streamState) *stream st.flow.conn = &sc.flow // link to conn-level counter st.flow.add(sc.initialStreamSendWindowSize) st.inflow.init(sc.srv.initialStreamRecvWindowSize()) - if sc.hs.WriteTimeout != 0 { + if sc.hs.WriteTimeout > 0 { st.writeDeadline = time.AfterFunc(sc.hs.WriteTimeout, st.onWriteTimeout) } diff --git a/vendor/golang.org/x/net/http2/testsync.go b/vendor/golang.org/x/net/http2/testsync.go new file mode 100644 index 0000000000..61075bd16d --- /dev/null +++ b/vendor/golang.org/x/net/http2/testsync.go @@ -0,0 +1,331 @@ +// Copyright 2024 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. +package http2 + +import ( + "context" + "sync" + "time" +) + +// testSyncHooks coordinates goroutines in tests. +// +// For example, a call to ClientConn.RoundTrip involves several goroutines, including: +// - the goroutine running RoundTrip; +// - the clientStream.doRequest goroutine, which writes the request; and +// - the clientStream.readLoop goroutine, which reads the response. +// +// Using testSyncHooks, a test can start a RoundTrip and identify when all these goroutines +// are blocked waiting for some condition such as reading the Request.Body or waiting for +// flow control to become available. +// +// The testSyncHooks also manage timers and synthetic time in tests. +// This permits us to, for example, start a request and cause it to time out waiting for +// response headers without resorting to time.Sleep calls. +type testSyncHooks struct { + // active/inactive act as a mutex and condition variable. + // + // - neither chan contains a value: testSyncHooks is locked. + // - active contains a value: unlocked, and at least one goroutine is not blocked + // - inactive contains a value: unlocked, and all goroutines are blocked + active chan struct{} + inactive chan struct{} + + // goroutine counts + total int // total goroutines + condwait map[*sync.Cond]int // blocked in sync.Cond.Wait + blocked []*testBlockedGoroutine // otherwise blocked + + // fake time + now time.Time + timers []*fakeTimer + + // Transport testing: Report various events. + newclientconn func(*ClientConn) + newstream func(*clientStream) +} + +// testBlockedGoroutine is a blocked goroutine. +type testBlockedGoroutine struct { + f func() bool // blocked until f returns true + ch chan struct{} // closed when unblocked +} + +func newTestSyncHooks() *testSyncHooks { + h := &testSyncHooks{ + active: make(chan struct{}, 1), + inactive: make(chan struct{}, 1), + condwait: map[*sync.Cond]int{}, + } + h.inactive <- struct{}{} + h.now = time.Date(2000, 1, 1, 0, 0, 0, 0, time.UTC) + return h +} + +// lock acquires the testSyncHooks mutex. +func (h *testSyncHooks) lock() { + select { + case <-h.active: + case <-h.inactive: + } +} + +// waitInactive waits for all goroutines to become inactive. +func (h *testSyncHooks) waitInactive() { + for { + <-h.inactive + if !h.unlock() { + break + } + } +} + +// unlock releases the testSyncHooks mutex. +// It reports whether any goroutines are active. +func (h *testSyncHooks) unlock() (active bool) { + // Look for a blocked goroutine which can be unblocked. + blocked := h.blocked[:0] + unblocked := false + for _, b := range h.blocked { + if !unblocked && b.f() { + unblocked = true + close(b.ch) + } else { + blocked = append(blocked, b) + } + } + h.blocked = blocked + + // Count goroutines blocked on condition variables. + condwait := 0 + for _, count := range h.condwait { + condwait += count + } + + if h.total > condwait+len(blocked) { + h.active <- struct{}{} + return true + } else { + h.inactive <- struct{}{} + return false + } +} + +// goRun starts a new goroutine. +func (h *testSyncHooks) goRun(f func()) { + h.lock() + h.total++ + h.unlock() + go func() { + defer func() { + h.lock() + h.total-- + h.unlock() + }() + f() + }() +} + +// blockUntil indicates that a goroutine is blocked waiting for some condition to become true. +// It waits until f returns true before proceeding. +// +// Example usage: +// +// h.blockUntil(func() bool { +// // Is the context done yet? +// select { +// case <-ctx.Done(): +// default: +// return false +// } +// return true +// }) +// // Wait for the context to become done. +// <-ctx.Done() +// +// The function f passed to blockUntil must be non-blocking and idempotent. +func (h *testSyncHooks) blockUntil(f func() bool) { + if f() { + return + } + ch := make(chan struct{}) + h.lock() + h.blocked = append(h.blocked, &testBlockedGoroutine{ + f: f, + ch: ch, + }) + h.unlock() + <-ch +} + +// broadcast is sync.Cond.Broadcast. +func (h *testSyncHooks) condBroadcast(cond *sync.Cond) { + h.lock() + delete(h.condwait, cond) + h.unlock() + cond.Broadcast() +} + +// broadcast is sync.Cond.Wait. +func (h *testSyncHooks) condWait(cond *sync.Cond) { + h.lock() + h.condwait[cond]++ + h.unlock() +} + +// newTimer creates a new fake timer. +func (h *testSyncHooks) newTimer(d time.Duration) timer { + h.lock() + defer h.unlock() + t := &fakeTimer{ + hooks: h, + when: h.now.Add(d), + c: make(chan time.Time), + } + h.timers = append(h.timers, t) + return t +} + +// afterFunc creates a new fake AfterFunc timer. +func (h *testSyncHooks) afterFunc(d time.Duration, f func()) timer { + h.lock() + defer h.unlock() + t := &fakeTimer{ + hooks: h, + when: h.now.Add(d), + f: f, + } + h.timers = append(h.timers, t) + return t +} + +func (h *testSyncHooks) contextWithTimeout(ctx context.Context, d time.Duration) (context.Context, context.CancelFunc) { + ctx, cancel := context.WithCancel(ctx) + t := h.afterFunc(d, cancel) + return ctx, func() { + t.Stop() + cancel() + } +} + +func (h *testSyncHooks) timeUntilEvent() time.Duration { + h.lock() + defer h.unlock() + var next time.Time + for _, t := range h.timers { + if next.IsZero() || t.when.Before(next) { + next = t.when + } + } + if d := next.Sub(h.now); d > 0 { + return d + } + return 0 +} + +// advance advances time and causes synthetic timers to fire. +func (h *testSyncHooks) advance(d time.Duration) { + h.lock() + defer h.unlock() + h.now = h.now.Add(d) + timers := h.timers[:0] + for _, t := range h.timers { + t := t // remove after go.mod depends on go1.22 + t.mu.Lock() + switch { + case t.when.After(h.now): + timers = append(timers, t) + case t.when.IsZero(): + // stopped timer + default: + t.when = time.Time{} + if t.c != nil { + close(t.c) + } + if t.f != nil { + h.total++ + go func() { + defer func() { + h.lock() + h.total-- + h.unlock() + }() + t.f() + }() + } + } + t.mu.Unlock() + } + h.timers = timers +} + +// A timer wraps a time.Timer, or a synthetic equivalent in tests. +// Unlike time.Timer, timer is single-use: The timer channel is closed when the timer expires. +type timer interface { + C() <-chan time.Time + Stop() bool + Reset(d time.Duration) bool +} + +// timeTimer implements timer using real time. +type timeTimer struct { + t *time.Timer + c chan time.Time +} + +// newTimeTimer creates a new timer using real time. +func newTimeTimer(d time.Duration) timer { + ch := make(chan time.Time) + t := time.AfterFunc(d, func() { + close(ch) + }) + return &timeTimer{t, ch} +} + +// newTimeAfterFunc creates an AfterFunc timer using real time. +func newTimeAfterFunc(d time.Duration, f func()) timer { + return &timeTimer{ + t: time.AfterFunc(d, f), + } +} + +func (t timeTimer) C() <-chan time.Time { return t.c } +func (t timeTimer) Stop() bool { return t.t.Stop() } +func (t timeTimer) Reset(d time.Duration) bool { return t.t.Reset(d) } + +// fakeTimer implements timer using fake time. +type fakeTimer struct { + hooks *testSyncHooks + + mu sync.Mutex + when time.Time // when the timer will fire + c chan time.Time // closed when the timer fires; mutually exclusive with f + f func() // called when the timer fires; mutually exclusive with c +} + +func (t *fakeTimer) C() <-chan time.Time { return t.c } + +func (t *fakeTimer) Stop() bool { + t.mu.Lock() + defer t.mu.Unlock() + stopped := t.when.IsZero() + t.when = time.Time{} + return stopped +} + +func (t *fakeTimer) Reset(d time.Duration) bool { + if t.c != nil || t.f == nil { + panic("fakeTimer only supports Reset on AfterFunc timers") + } + t.mu.Lock() + defer t.mu.Unlock() + t.hooks.lock() + defer t.hooks.unlock() + active := !t.when.IsZero() + t.when = t.hooks.now.Add(d) + if !active { + t.hooks.timers = append(t.hooks.timers, t) + } + return active +} diff --git a/vendor/golang.org/x/net/http2/transport.go b/vendor/golang.org/x/net/http2/transport.go index df578b86c6..ce375c8c75 100644 --- a/vendor/golang.org/x/net/http2/transport.go +++ b/vendor/golang.org/x/net/http2/transport.go @@ -147,6 +147,12 @@ type Transport struct { // waiting for their turn. StrictMaxConcurrentStreams bool + // IdleConnTimeout is the maximum amount of time an idle + // (keep-alive) connection will remain idle before closing + // itself. + // Zero means no limit. + IdleConnTimeout time.Duration + // ReadIdleTimeout is the timeout after which a health check using ping // frame will be carried out if no frame is received on the connection. // Note that a ping response will is considered a received frame, so if @@ -178,6 +184,8 @@ type Transport struct { connPoolOnce sync.Once connPoolOrDef ClientConnPool // non-nil version of ConnPool + + syncHooks *testSyncHooks } func (t *Transport) maxHeaderListSize() uint32 { @@ -302,7 +310,7 @@ type ClientConn struct { readerErr error // set before readerDone is closed idleTimeout time.Duration // or 0 for never - idleTimer *time.Timer + idleTimer timer mu sync.Mutex // guards following cond *sync.Cond // hold mu; broadcast on flow/closed changes @@ -344,6 +352,60 @@ type ClientConn struct { werr error // first write error that has occurred hbuf bytes.Buffer // HPACK encoder writes into this henc *hpack.Encoder + + syncHooks *testSyncHooks // can be nil +} + +// Hook points used for testing. +// Outside of tests, cc.syncHooks is nil and these all have minimal implementations. +// Inside tests, see the testSyncHooks function docs. + +// goRun starts a new goroutine. +func (cc *ClientConn) goRun(f func()) { + if cc.syncHooks != nil { + cc.syncHooks.goRun(f) + return + } + go f() +} + +// condBroadcast is cc.cond.Broadcast. +func (cc *ClientConn) condBroadcast() { + if cc.syncHooks != nil { + cc.syncHooks.condBroadcast(cc.cond) + } + cc.cond.Broadcast() +} + +// condWait is cc.cond.Wait. +func (cc *ClientConn) condWait() { + if cc.syncHooks != nil { + cc.syncHooks.condWait(cc.cond) + } + cc.cond.Wait() +} + +// newTimer creates a new time.Timer, or a synthetic timer in tests. +func (cc *ClientConn) newTimer(d time.Duration) timer { + if cc.syncHooks != nil { + return cc.syncHooks.newTimer(d) + } + return newTimeTimer(d) +} + +// afterFunc creates a new time.AfterFunc timer, or a synthetic timer in tests. +func (cc *ClientConn) afterFunc(d time.Duration, f func()) timer { + if cc.syncHooks != nil { + return cc.syncHooks.afterFunc(d, f) + } + return newTimeAfterFunc(d, f) +} + +func (cc *ClientConn) contextWithTimeout(ctx context.Context, d time.Duration) (context.Context, context.CancelFunc) { + if cc.syncHooks != nil { + return cc.syncHooks.contextWithTimeout(ctx, d) + } + return context.WithTimeout(ctx, d) } // clientStream is the state for a single HTTP/2 stream. One of these @@ -425,7 +487,7 @@ func (cs *clientStream) abortStreamLocked(err error) { // TODO(dneil): Clean up tests where cs.cc.cond is nil. if cs.cc.cond != nil { // Wake up writeRequestBody if it is waiting on flow control. - cs.cc.cond.Broadcast() + cs.cc.condBroadcast() } } @@ -435,7 +497,7 @@ func (cs *clientStream) abortRequestBodyWrite() { defer cc.mu.Unlock() if cs.reqBody != nil && cs.reqBodyClosed == nil { cs.closeReqBodyLocked() - cc.cond.Broadcast() + cc.condBroadcast() } } @@ -445,10 +507,10 @@ func (cs *clientStream) closeReqBodyLocked() { } cs.reqBodyClosed = make(chan struct{}) reqBodyClosed := cs.reqBodyClosed - go func() { + cs.cc.goRun(func() { cs.reqBody.Close() close(reqBodyClosed) - }() + }) } type stickyErrWriter struct { @@ -537,15 +599,6 @@ func authorityAddr(scheme string, authority string) (addr string) { return net.JoinHostPort(host, port) } -var retryBackoffHook func(time.Duration) *time.Timer - -func backoffNewTimer(d time.Duration) *time.Timer { - if retryBackoffHook != nil { - return retryBackoffHook(d) - } - return time.NewTimer(d) -} - // RoundTripOpt is like RoundTrip, but takes options. func (t *Transport) RoundTripOpt(req *http.Request, opt RoundTripOpt) (*http.Response, error) { if !(req.URL.Scheme == "https" || (req.URL.Scheme == "http" && t.AllowHTTP)) { @@ -573,13 +626,27 @@ func (t *Transport) RoundTripOpt(req *http.Request, opt RoundTripOpt) (*http.Res backoff := float64(uint(1) << (uint(retry) - 1)) backoff += backoff * (0.1 * mathrand.Float64()) d := time.Second * time.Duration(backoff) - timer := backoffNewTimer(d) + var tm timer + if t.syncHooks != nil { + tm = t.syncHooks.newTimer(d) + t.syncHooks.blockUntil(func() bool { + select { + case <-tm.C(): + case <-req.Context().Done(): + default: + return false + } + return true + }) + } else { + tm = newTimeTimer(d) + } select { - case <-timer.C: + case <-tm.C(): t.vlogf("RoundTrip retrying after failure: %v", roundTripErr) continue case <-req.Context().Done(): - timer.Stop() + tm.Stop() err = req.Context().Err() } } @@ -658,6 +725,9 @@ func canRetryError(err error) bool { } func (t *Transport) dialClientConn(ctx context.Context, addr string, singleUse bool) (*ClientConn, error) { + if t.syncHooks != nil { + return t.newClientConn(nil, singleUse, t.syncHooks) + } host, _, err := net.SplitHostPort(addr) if err != nil { return nil, err @@ -666,7 +736,7 @@ func (t *Transport) dialClientConn(ctx context.Context, addr string, singleUse b if err != nil { return nil, err } - return t.newClientConn(tconn, singleUse) + return t.newClientConn(tconn, singleUse, nil) } func (t *Transport) newTLSConfig(host string) *tls.Config { @@ -732,10 +802,10 @@ func (t *Transport) maxEncoderHeaderTableSize() uint32 { } func (t *Transport) NewClientConn(c net.Conn) (*ClientConn, error) { - return t.newClientConn(c, t.disableKeepAlives()) + return t.newClientConn(c, t.disableKeepAlives(), nil) } -func (t *Transport) newClientConn(c net.Conn, singleUse bool) (*ClientConn, error) { +func (t *Transport) newClientConn(c net.Conn, singleUse bool, hooks *testSyncHooks) (*ClientConn, error) { cc := &ClientConn{ t: t, tconn: c, @@ -750,10 +820,15 @@ func (t *Transport) newClientConn(c net.Conn, singleUse bool) (*ClientConn, erro wantSettingsAck: true, pings: make(map[[8]byte]chan struct{}), reqHeaderMu: make(chan struct{}, 1), + syncHooks: hooks, + } + if hooks != nil { + hooks.newclientconn(cc) + c = cc.tconn } if d := t.idleConnTimeout(); d != 0 { cc.idleTimeout = d - cc.idleTimer = time.AfterFunc(d, cc.onIdleTimeout) + cc.idleTimer = cc.afterFunc(d, cc.onIdleTimeout) } if VerboseLogs { t.vlogf("http2: Transport creating client conn %p to %v", cc, c.RemoteAddr()) @@ -818,7 +893,7 @@ func (t *Transport) newClientConn(c net.Conn, singleUse bool) (*ClientConn, erro return nil, cc.werr } - go cc.readLoop() + cc.goRun(cc.readLoop) return cc, nil } @@ -826,7 +901,7 @@ func (cc *ClientConn) healthCheck() { pingTimeout := cc.t.pingTimeout() // We don't need to periodically ping in the health check, because the readLoop of ClientConn will // trigger the healthCheck again if there is no frame received. - ctx, cancel := context.WithTimeout(context.Background(), pingTimeout) + ctx, cancel := cc.contextWithTimeout(context.Background(), pingTimeout) defer cancel() cc.vlogf("http2: Transport sending health check") err := cc.Ping(ctx) @@ -1056,7 +1131,7 @@ func (cc *ClientConn) Shutdown(ctx context.Context) error { // Wait for all in-flight streams to complete or connection to close done := make(chan struct{}) cancelled := false // guarded by cc.mu - go func() { + cc.goRun(func() { cc.mu.Lock() defer cc.mu.Unlock() for { @@ -1068,9 +1143,9 @@ func (cc *ClientConn) Shutdown(ctx context.Context) error { if cancelled { break } - cc.cond.Wait() + cc.condWait() } - }() + }) shutdownEnterWaitStateHook() select { case <-done: @@ -1080,7 +1155,7 @@ func (cc *ClientConn) Shutdown(ctx context.Context) error { cc.mu.Lock() // Free the goroutine above cancelled = true - cc.cond.Broadcast() + cc.condBroadcast() cc.mu.Unlock() return ctx.Err() } @@ -1118,7 +1193,7 @@ func (cc *ClientConn) closeForError(err error) { for _, cs := range cc.streams { cs.abortStreamLocked(err) } - cc.cond.Broadcast() + cc.condBroadcast() cc.mu.Unlock() cc.closeConn() } @@ -1215,6 +1290,10 @@ func (cc *ClientConn) decrStreamReservationsLocked() { } func (cc *ClientConn) RoundTrip(req *http.Request) (*http.Response, error) { + return cc.roundTrip(req, nil) +} + +func (cc *ClientConn) roundTrip(req *http.Request, streamf func(*clientStream)) (*http.Response, error) { ctx := req.Context() cs := &clientStream{ cc: cc, @@ -1229,9 +1308,23 @@ func (cc *ClientConn) RoundTrip(req *http.Request) (*http.Response, error) { respHeaderRecv: make(chan struct{}), donec: make(chan struct{}), } - go cs.doRequest(req) + cc.goRun(func() { + cs.doRequest(req) + }) waitDone := func() error { + if cc.syncHooks != nil { + cc.syncHooks.blockUntil(func() bool { + select { + case <-cs.donec: + case <-ctx.Done(): + case <-cs.reqCancel: + default: + return false + } + return true + }) + } select { case <-cs.donec: return nil @@ -1292,7 +1385,24 @@ func (cc *ClientConn) RoundTrip(req *http.Request) (*http.Response, error) { return err } + if streamf != nil { + streamf(cs) + } + for { + if cc.syncHooks != nil { + cc.syncHooks.blockUntil(func() bool { + select { + case <-cs.respHeaderRecv: + case <-cs.abort: + case <-ctx.Done(): + case <-cs.reqCancel: + default: + return false + } + return true + }) + } select { case <-cs.respHeaderRecv: return handleResponseHeaders() @@ -1348,6 +1458,21 @@ func (cs *clientStream) writeRequest(req *http.Request) (err error) { if cc.reqHeaderMu == nil { panic("RoundTrip on uninitialized ClientConn") // for tests } + var newStreamHook func(*clientStream) + if cc.syncHooks != nil { + newStreamHook = cc.syncHooks.newstream + cc.syncHooks.blockUntil(func() bool { + select { + case cc.reqHeaderMu <- struct{}{}: + <-cc.reqHeaderMu + case <-cs.reqCancel: + case <-ctx.Done(): + default: + return false + } + return true + }) + } select { case cc.reqHeaderMu <- struct{}{}: case <-cs.reqCancel: @@ -1372,6 +1497,10 @@ func (cs *clientStream) writeRequest(req *http.Request) (err error) { } cc.mu.Unlock() + if newStreamHook != nil { + newStreamHook(cs) + } + // TODO(bradfitz): this is a copy of the logic in net/http. Unify somewhere? if !cc.t.disableCompression() && req.Header.Get("Accept-Encoding") == "" && @@ -1452,15 +1581,30 @@ func (cs *clientStream) writeRequest(req *http.Request) (err error) { var respHeaderTimer <-chan time.Time var respHeaderRecv chan struct{} if d := cc.responseHeaderTimeout(); d != 0 { - timer := time.NewTimer(d) + timer := cc.newTimer(d) defer timer.Stop() - respHeaderTimer = timer.C + respHeaderTimer = timer.C() respHeaderRecv = cs.respHeaderRecv } // Wait until the peer half-closes its end of the stream, // or until the request is aborted (via context, error, or otherwise), // whichever comes first. for { + if cc.syncHooks != nil { + cc.syncHooks.blockUntil(func() bool { + select { + case <-cs.peerClosed: + case <-respHeaderTimer: + case <-respHeaderRecv: + case <-cs.abort: + case <-ctx.Done(): + case <-cs.reqCancel: + default: + return false + } + return true + }) + } select { case <-cs.peerClosed: return nil @@ -1609,7 +1753,7 @@ func (cc *ClientConn) awaitOpenSlotForStreamLocked(cs *clientStream) error { return nil } cc.pendingRequests++ - cc.cond.Wait() + cc.condWait() cc.pendingRequests-- select { case <-cs.abort: @@ -1871,8 +2015,24 @@ func (cs *clientStream) awaitFlowControl(maxBytes int) (taken int32, err error) cs.flow.take(take) return take, nil } - cc.cond.Wait() + cc.condWait() + } +} + +func validateHeaders(hdrs http.Header) string { + for k, vv := range hdrs { + if !httpguts.ValidHeaderFieldName(k) { + return fmt.Sprintf("name %q", k) + } + for _, v := range vv { + if !httpguts.ValidHeaderFieldValue(v) { + // Don't include the value in the error, + // because it may be sensitive. + return fmt.Sprintf("value for header %q", k) + } + } } + return "" } var errNilRequestURL = errors.New("http2: Request.URI is nil") @@ -1912,19 +2072,14 @@ func (cc *ClientConn) encodeHeaders(req *http.Request, addGzipHeader bool, trail } } - // Check for any invalid headers and return an error before we + // Check for any invalid headers+trailers and return an error before we // potentially pollute our hpack state. (We want to be able to // continue to reuse the hpack encoder for future requests) - for k, vv := range req.Header { - if !httpguts.ValidHeaderFieldName(k) { - return nil, fmt.Errorf("invalid HTTP header name %q", k) - } - for _, v := range vv { - if !httpguts.ValidHeaderFieldValue(v) { - // Don't include the value in the error, because it may be sensitive. - return nil, fmt.Errorf("invalid HTTP header value for header %q", k) - } - } + if err := validateHeaders(req.Header); err != "" { + return nil, fmt.Errorf("invalid HTTP header %s", err) + } + if err := validateHeaders(req.Trailer); err != "" { + return nil, fmt.Errorf("invalid HTTP trailer %s", err) } enumerateHeaders := func(f func(name, value string)) { @@ -2143,7 +2298,7 @@ func (cc *ClientConn) forgetStreamID(id uint32) { } // Wake up writeRequestBody via clientStream.awaitFlowControl and // wake up RoundTrip if there is a pending request. - cc.cond.Broadcast() + cc.condBroadcast() closeOnIdle := cc.singleUse || cc.doNotReuse || cc.t.disableKeepAlives() || cc.goAway != nil if closeOnIdle && cc.streamsReserved == 0 && len(cc.streams) == 0 { @@ -2231,7 +2386,7 @@ func (rl *clientConnReadLoop) cleanup() { cs.abortStreamLocked(err) } } - cc.cond.Broadcast() + cc.condBroadcast() cc.mu.Unlock() } @@ -2266,10 +2421,9 @@ func (rl *clientConnReadLoop) run() error { cc := rl.cc gotSettings := false readIdleTimeout := cc.t.ReadIdleTimeout - var t *time.Timer + var t timer if readIdleTimeout != 0 { - t = time.AfterFunc(readIdleTimeout, cc.healthCheck) - defer t.Stop() + t = cc.afterFunc(readIdleTimeout, cc.healthCheck) } for { f, err := cc.fr.ReadFrame() @@ -2684,7 +2838,7 @@ func (rl *clientConnReadLoop) processData(f *DataFrame) error { }) return nil } - if !cs.firstByte { + if !cs.pastHeaders { cc.logf("protocol error: received DATA before a HEADERS frame") rl.endStreamError(cs, StreamError{ StreamID: f.StreamID, @@ -2867,7 +3021,7 @@ func (rl *clientConnReadLoop) processSettingsNoWrite(f *SettingsFrame) error { for _, cs := range cc.streams { cs.flow.add(delta) } - cc.cond.Broadcast() + cc.condBroadcast() cc.initialWindowSize = s.Val case SettingHeaderTableSize: @@ -2911,9 +3065,18 @@ func (rl *clientConnReadLoop) processWindowUpdate(f *WindowUpdateFrame) error { fl = &cs.flow } if !fl.add(int32(f.Increment)) { + // For stream, the sender sends RST_STREAM with an error code of FLOW_CONTROL_ERROR + if cs != nil { + rl.endStreamError(cs, StreamError{ + StreamID: f.StreamID, + Code: ErrCodeFlowControl, + }) + return nil + } + return ConnectionError(ErrCodeFlowControl) } - cc.cond.Broadcast() + cc.condBroadcast() return nil } @@ -2955,24 +3118,38 @@ func (cc *ClientConn) Ping(ctx context.Context) error { } cc.mu.Unlock() } - errc := make(chan error, 1) - go func() { + var pingError error + errc := make(chan struct{}) + cc.goRun(func() { cc.wmu.Lock() defer cc.wmu.Unlock() - if err := cc.fr.WritePing(false, p); err != nil { - errc <- err + if pingError = cc.fr.WritePing(false, p); pingError != nil { + close(errc) return } - if err := cc.bw.Flush(); err != nil { - errc <- err + if pingError = cc.bw.Flush(); pingError != nil { + close(errc) return } - }() + }) + if cc.syncHooks != nil { + cc.syncHooks.blockUntil(func() bool { + select { + case <-c: + case <-errc: + case <-ctx.Done(): + case <-cc.readerDone: + default: + return false + } + return true + }) + } select { case <-c: return nil - case err := <-errc: - return err + case <-errc: + return pingError case <-ctx.Done(): return ctx.Err() case <-cc.readerDone: @@ -3141,9 +3318,17 @@ func (rt noDialH2RoundTripper) RoundTrip(req *http.Request) (*http.Response, err } func (t *Transport) idleConnTimeout() time.Duration { + // to keep things backwards compatible, we use non-zero values of + // IdleConnTimeout, followed by using the IdleConnTimeout on the underlying + // http1 transport, followed by 0 + if t.IdleConnTimeout != 0 { + return t.IdleConnTimeout + } + if t.t1 != nil { return t.t1.IdleConnTimeout } + return 0 } diff --git a/vendor/golang.org/x/sys/unix/aliases.go b/vendor/golang.org/x/sys/unix/aliases.go index e7d3df4bd3..b0e4198575 100644 --- a/vendor/golang.org/x/sys/unix/aliases.go +++ b/vendor/golang.org/x/sys/unix/aliases.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -//go:build (aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris || zos) && go1.9 +//go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris || zos package unix diff --git a/vendor/golang.org/x/sys/unix/syscall_darwin_libSystem.go b/vendor/golang.org/x/sys/unix/syscall_darwin_libSystem.go index 16dc699379..2f0fa76e4f 100644 --- a/vendor/golang.org/x/sys/unix/syscall_darwin_libSystem.go +++ b/vendor/golang.org/x/sys/unix/syscall_darwin_libSystem.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -//go:build darwin && go1.12 +//go:build darwin package unix diff --git a/vendor/golang.org/x/sys/unix/syscall_freebsd.go b/vendor/golang.org/x/sys/unix/syscall_freebsd.go index 64d1bb4dba..2b57e0f73b 100644 --- a/vendor/golang.org/x/sys/unix/syscall_freebsd.go +++ b/vendor/golang.org/x/sys/unix/syscall_freebsd.go @@ -13,6 +13,7 @@ package unix import ( + "errors" "sync" "unsafe" ) @@ -169,25 +170,26 @@ func Getfsstat(buf []Statfs_t, flags int) (n int, err error) { func Uname(uname *Utsname) error { mib := []_C_int{CTL_KERN, KERN_OSTYPE} n := unsafe.Sizeof(uname.Sysname) - if err := sysctl(mib, &uname.Sysname[0], &n, nil, 0); err != nil { + // Suppress ENOMEM errors to be compatible with the C library __xuname() implementation. + if err := sysctl(mib, &uname.Sysname[0], &n, nil, 0); err != nil && !errors.Is(err, ENOMEM) { return err } mib = []_C_int{CTL_KERN, KERN_HOSTNAME} n = unsafe.Sizeof(uname.Nodename) - if err := sysctl(mib, &uname.Nodename[0], &n, nil, 0); err != nil { + if err := sysctl(mib, &uname.Nodename[0], &n, nil, 0); err != nil && !errors.Is(err, ENOMEM) { return err } mib = []_C_int{CTL_KERN, KERN_OSRELEASE} n = unsafe.Sizeof(uname.Release) - if err := sysctl(mib, &uname.Release[0], &n, nil, 0); err != nil { + if err := sysctl(mib, &uname.Release[0], &n, nil, 0); err != nil && !errors.Is(err, ENOMEM) { return err } mib = []_C_int{CTL_KERN, KERN_VERSION} n = unsafe.Sizeof(uname.Version) - if err := sysctl(mib, &uname.Version[0], &n, nil, 0); err != nil { + if err := sysctl(mib, &uname.Version[0], &n, nil, 0); err != nil && !errors.Is(err, ENOMEM) { return err } @@ -205,7 +207,7 @@ func Uname(uname *Utsname) error { mib = []_C_int{CTL_HW, HW_MACHINE} n = unsafe.Sizeof(uname.Machine) - if err := sysctl(mib, &uname.Machine[0], &n, nil, 0); err != nil { + if err := sysctl(mib, &uname.Machine[0], &n, nil, 0); err != nil && !errors.Is(err, ENOMEM) { return err } diff --git a/vendor/golang.org/x/sys/unix/syscall_linux.go b/vendor/golang.org/x/sys/unix/syscall_linux.go index 0f85e29e62..5682e2628a 100644 --- a/vendor/golang.org/x/sys/unix/syscall_linux.go +++ b/vendor/golang.org/x/sys/unix/syscall_linux.go @@ -1849,6 +1849,105 @@ func Dup2(oldfd, newfd int) error { //sys Fsmount(fd int, flags int, mountAttrs int) (fsfd int, err error) //sys Fsopen(fsName string, flags int) (fd int, err error) //sys Fspick(dirfd int, pathName string, flags int) (fd int, err error) + +//sys fsconfig(fd int, cmd uint, key *byte, value *byte, aux int) (err error) + +func fsconfigCommon(fd int, cmd uint, key string, value *byte, aux int) (err error) { + var keyp *byte + if keyp, err = BytePtrFromString(key); err != nil { + return + } + return fsconfig(fd, cmd, keyp, value, aux) +} + +// FsconfigSetFlag is equivalent to fsconfig(2) called +// with cmd == FSCONFIG_SET_FLAG. +// +// fd is the filesystem context to act upon. +// key the parameter key to set. +func FsconfigSetFlag(fd int, key string) (err error) { + return fsconfigCommon(fd, FSCONFIG_SET_FLAG, key, nil, 0) +} + +// FsconfigSetString is equivalent to fsconfig(2) called +// with cmd == FSCONFIG_SET_STRING. +// +// fd is the filesystem context to act upon. +// key the parameter key to set. +// value is the parameter value to set. +func FsconfigSetString(fd int, key string, value string) (err error) { + var valuep *byte + if valuep, err = BytePtrFromString(value); err != nil { + return + } + return fsconfigCommon(fd, FSCONFIG_SET_STRING, key, valuep, 0) +} + +// FsconfigSetBinary is equivalent to fsconfig(2) called +// with cmd == FSCONFIG_SET_BINARY. +// +// fd is the filesystem context to act upon. +// key the parameter key to set. +// value is the parameter value to set. +func FsconfigSetBinary(fd int, key string, value []byte) (err error) { + if len(value) == 0 { + return EINVAL + } + return fsconfigCommon(fd, FSCONFIG_SET_BINARY, key, &value[0], len(value)) +} + +// FsconfigSetPath is equivalent to fsconfig(2) called +// with cmd == FSCONFIG_SET_PATH. +// +// fd is the filesystem context to act upon. +// key the parameter key to set. +// path is a non-empty path for specified key. +// atfd is a file descriptor at which to start lookup from or AT_FDCWD. +func FsconfigSetPath(fd int, key string, path string, atfd int) (err error) { + var valuep *byte + if valuep, err = BytePtrFromString(path); err != nil { + return + } + return fsconfigCommon(fd, FSCONFIG_SET_PATH, key, valuep, atfd) +} + +// FsconfigSetPathEmpty is equivalent to fsconfig(2) called +// with cmd == FSCONFIG_SET_PATH_EMPTY. The same as +// FconfigSetPath but with AT_PATH_EMPTY implied. +func FsconfigSetPathEmpty(fd int, key string, path string, atfd int) (err error) { + var valuep *byte + if valuep, err = BytePtrFromString(path); err != nil { + return + } + return fsconfigCommon(fd, FSCONFIG_SET_PATH_EMPTY, key, valuep, atfd) +} + +// FsconfigSetFd is equivalent to fsconfig(2) called +// with cmd == FSCONFIG_SET_FD. +// +// fd is the filesystem context to act upon. +// key the parameter key to set. +// value is a file descriptor to be assigned to specified key. +func FsconfigSetFd(fd int, key string, value int) (err error) { + return fsconfigCommon(fd, FSCONFIG_SET_FD, key, nil, value) +} + +// FsconfigCreate is equivalent to fsconfig(2) called +// with cmd == FSCONFIG_CMD_CREATE. +// +// fd is the filesystem context to act upon. +func FsconfigCreate(fd int) (err error) { + return fsconfig(fd, FSCONFIG_CMD_CREATE, nil, nil, 0) +} + +// FsconfigReconfigure is equivalent to fsconfig(2) called +// with cmd == FSCONFIG_CMD_RECONFIGURE. +// +// fd is the filesystem context to act upon. +func FsconfigReconfigure(fd int) (err error) { + return fsconfig(fd, FSCONFIG_CMD_RECONFIGURE, nil, nil, 0) +} + //sys Getdents(fd int, buf []byte) (n int, err error) = SYS_GETDENTS64 //sysnb Getpgid(pid int) (pgid int, err error) diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux.go b/vendor/golang.org/x/sys/unix/zsyscall_linux.go index 1488d27128..87d8612a1d 100644 --- a/vendor/golang.org/x/sys/unix/zsyscall_linux.go +++ b/vendor/golang.org/x/sys/unix/zsyscall_linux.go @@ -906,6 +906,16 @@ func Fspick(dirfd int, pathName string, flags int) (fd int, err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +func fsconfig(fd int, cmd uint, key *byte, value *byte, aux int) (err error) { + _, _, e1 := Syscall6(SYS_FSCONFIG, uintptr(fd), uintptr(cmd), uintptr(unsafe.Pointer(key)), uintptr(unsafe.Pointer(value)), uintptr(aux), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + func Getdents(fd int, buf []byte) (n int, err error) { var _p0 unsafe.Pointer if len(buf) > 0 { diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux.go b/vendor/golang.org/x/sys/unix/ztypes_linux.go index dc0c955eec..eff6bcdef8 100644 --- a/vendor/golang.org/x/sys/unix/ztypes_linux.go +++ b/vendor/golang.org/x/sys/unix/ztypes_linux.go @@ -836,6 +836,15 @@ const ( FSPICK_EMPTY_PATH = 0x8 FSMOUNT_CLOEXEC = 0x1 + + FSCONFIG_SET_FLAG = 0x0 + FSCONFIG_SET_STRING = 0x1 + FSCONFIG_SET_BINARY = 0x2 + FSCONFIG_SET_PATH = 0x3 + FSCONFIG_SET_PATH_EMPTY = 0x4 + FSCONFIG_SET_FD = 0x5 + FSCONFIG_CMD_CREATE = 0x6 + FSCONFIG_CMD_RECONFIGURE = 0x7 ) type OpenHow struct { @@ -1550,6 +1559,7 @@ const ( IFLA_DEVLINK_PORT = 0x3e IFLA_GSO_IPV4_MAX_SIZE = 0x3f IFLA_GRO_IPV4_MAX_SIZE = 0x40 + IFLA_DPLL_PIN = 0x41 IFLA_PROTO_DOWN_REASON_UNSPEC = 0x0 IFLA_PROTO_DOWN_REASON_MASK = 0x1 IFLA_PROTO_DOWN_REASON_VALUE = 0x2 @@ -1565,6 +1575,7 @@ const ( IFLA_INET6_ICMP6STATS = 0x6 IFLA_INET6_TOKEN = 0x7 IFLA_INET6_ADDR_GEN_MODE = 0x8 + IFLA_INET6_RA_MTU = 0x9 IFLA_BR_UNSPEC = 0x0 IFLA_BR_FORWARD_DELAY = 0x1 IFLA_BR_HELLO_TIME = 0x2 @@ -1612,6 +1623,9 @@ const ( IFLA_BR_MCAST_MLD_VERSION = 0x2c IFLA_BR_VLAN_STATS_PER_PORT = 0x2d IFLA_BR_MULTI_BOOLOPT = 0x2e + IFLA_BR_MCAST_QUERIER_STATE = 0x2f + IFLA_BR_FDB_N_LEARNED = 0x30 + IFLA_BR_FDB_MAX_LEARNED = 0x31 IFLA_BRPORT_UNSPEC = 0x0 IFLA_BRPORT_STATE = 0x1 IFLA_BRPORT_PRIORITY = 0x2 @@ -1649,6 +1663,14 @@ const ( IFLA_BRPORT_BACKUP_PORT = 0x22 IFLA_BRPORT_MRP_RING_OPEN = 0x23 IFLA_BRPORT_MRP_IN_OPEN = 0x24 + IFLA_BRPORT_MCAST_EHT_HOSTS_LIMIT = 0x25 + IFLA_BRPORT_MCAST_EHT_HOSTS_CNT = 0x26 + IFLA_BRPORT_LOCKED = 0x27 + IFLA_BRPORT_MAB = 0x28 + IFLA_BRPORT_MCAST_N_GROUPS = 0x29 + IFLA_BRPORT_MCAST_MAX_GROUPS = 0x2a + IFLA_BRPORT_NEIGH_VLAN_SUPPRESS = 0x2b + IFLA_BRPORT_BACKUP_NHID = 0x2c IFLA_INFO_UNSPEC = 0x0 IFLA_INFO_KIND = 0x1 IFLA_INFO_DATA = 0x2 @@ -1670,6 +1692,9 @@ const ( IFLA_MACVLAN_MACADDR = 0x4 IFLA_MACVLAN_MACADDR_DATA = 0x5 IFLA_MACVLAN_MACADDR_COUNT = 0x6 + IFLA_MACVLAN_BC_QUEUE_LEN = 0x7 + IFLA_MACVLAN_BC_QUEUE_LEN_USED = 0x8 + IFLA_MACVLAN_BC_CUTOFF = 0x9 IFLA_VRF_UNSPEC = 0x0 IFLA_VRF_TABLE = 0x1 IFLA_VRF_PORT_UNSPEC = 0x0 @@ -1693,9 +1718,22 @@ const ( IFLA_XFRM_UNSPEC = 0x0 IFLA_XFRM_LINK = 0x1 IFLA_XFRM_IF_ID = 0x2 + IFLA_XFRM_COLLECT_METADATA = 0x3 IFLA_IPVLAN_UNSPEC = 0x0 IFLA_IPVLAN_MODE = 0x1 IFLA_IPVLAN_FLAGS = 0x2 + NETKIT_NEXT = -0x1 + NETKIT_PASS = 0x0 + NETKIT_DROP = 0x2 + NETKIT_REDIRECT = 0x7 + NETKIT_L2 = 0x0 + NETKIT_L3 = 0x1 + IFLA_NETKIT_UNSPEC = 0x0 + IFLA_NETKIT_PEER_INFO = 0x1 + IFLA_NETKIT_PRIMARY = 0x2 + IFLA_NETKIT_POLICY = 0x3 + IFLA_NETKIT_PEER_POLICY = 0x4 + IFLA_NETKIT_MODE = 0x5 IFLA_VXLAN_UNSPEC = 0x0 IFLA_VXLAN_ID = 0x1 IFLA_VXLAN_GROUP = 0x2 @@ -1726,6 +1764,8 @@ const ( IFLA_VXLAN_GPE = 0x1b IFLA_VXLAN_TTL_INHERIT = 0x1c IFLA_VXLAN_DF = 0x1d + IFLA_VXLAN_VNIFILTER = 0x1e + IFLA_VXLAN_LOCALBYPASS = 0x1f IFLA_GENEVE_UNSPEC = 0x0 IFLA_GENEVE_ID = 0x1 IFLA_GENEVE_REMOTE = 0x2 @@ -1740,6 +1780,7 @@ const ( IFLA_GENEVE_LABEL = 0xb IFLA_GENEVE_TTL_INHERIT = 0xc IFLA_GENEVE_DF = 0xd + IFLA_GENEVE_INNER_PROTO_INHERIT = 0xe IFLA_BAREUDP_UNSPEC = 0x0 IFLA_BAREUDP_PORT = 0x1 IFLA_BAREUDP_ETHERTYPE = 0x2 @@ -1752,6 +1793,8 @@ const ( IFLA_GTP_FD1 = 0x2 IFLA_GTP_PDP_HASHSIZE = 0x3 IFLA_GTP_ROLE = 0x4 + IFLA_GTP_CREATE_SOCKETS = 0x5 + IFLA_GTP_RESTART_COUNT = 0x6 IFLA_BOND_UNSPEC = 0x0 IFLA_BOND_MODE = 0x1 IFLA_BOND_ACTIVE_SLAVE = 0x2 @@ -1781,6 +1824,9 @@ const ( IFLA_BOND_AD_ACTOR_SYSTEM = 0x1a IFLA_BOND_TLB_DYNAMIC_LB = 0x1b IFLA_BOND_PEER_NOTIF_DELAY = 0x1c + IFLA_BOND_AD_LACP_ACTIVE = 0x1d + IFLA_BOND_MISSED_MAX = 0x1e + IFLA_BOND_NS_IP6_TARGET = 0x1f IFLA_BOND_AD_INFO_UNSPEC = 0x0 IFLA_BOND_AD_INFO_AGGREGATOR = 0x1 IFLA_BOND_AD_INFO_NUM_PORTS = 0x2 @@ -1796,6 +1842,7 @@ const ( IFLA_BOND_SLAVE_AD_AGGREGATOR_ID = 0x6 IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE = 0x7 IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE = 0x8 + IFLA_BOND_SLAVE_PRIO = 0x9 IFLA_VF_INFO_UNSPEC = 0x0 IFLA_VF_INFO = 0x1 IFLA_VF_UNSPEC = 0x0 @@ -1854,8 +1901,16 @@ const ( IFLA_STATS_LINK_XSTATS_SLAVE = 0x3 IFLA_STATS_LINK_OFFLOAD_XSTATS = 0x4 IFLA_STATS_AF_SPEC = 0x5 + IFLA_STATS_GETSET_UNSPEC = 0x0 + IFLA_STATS_GET_FILTERS = 0x1 + IFLA_STATS_SET_OFFLOAD_XSTATS_L3_STATS = 0x2 IFLA_OFFLOAD_XSTATS_UNSPEC = 0x0 IFLA_OFFLOAD_XSTATS_CPU_HIT = 0x1 + IFLA_OFFLOAD_XSTATS_HW_S_INFO = 0x2 + IFLA_OFFLOAD_XSTATS_L3_STATS = 0x3 + IFLA_OFFLOAD_XSTATS_HW_S_INFO_UNSPEC = 0x0 + IFLA_OFFLOAD_XSTATS_HW_S_INFO_REQUEST = 0x1 + IFLA_OFFLOAD_XSTATS_HW_S_INFO_USED = 0x2 IFLA_XDP_UNSPEC = 0x0 IFLA_XDP_FD = 0x1 IFLA_XDP_ATTACHED = 0x2 @@ -1885,6 +1940,11 @@ const ( IFLA_RMNET_UNSPEC = 0x0 IFLA_RMNET_MUX_ID = 0x1 IFLA_RMNET_FLAGS = 0x2 + IFLA_MCTP_UNSPEC = 0x0 + IFLA_MCTP_NET = 0x1 + IFLA_DSA_UNSPEC = 0x0 + IFLA_DSA_CONDUIT = 0x1 + IFLA_DSA_MASTER = 0x1 ) const ( diff --git a/vendor/kmodules.xyz/client-go/Makefile b/vendor/kmodules.xyz/client-go/Makefile index 01b563994b..83988a83f2 100644 --- a/vendor/kmodules.xyz/client-go/Makefile +++ b/vendor/kmodules.xyz/client-go/Makefile @@ -55,8 +55,8 @@ BIN_PLATFORMS := $(DOCKER_PLATFORMS) OS := $(if $(GOOS),$(GOOS),$(shell go env GOOS)) ARCH := $(if $(GOARCH),$(GOARCH),$(shell go env GOARCH)) -BASEIMAGE_PROD ?= gcr.io/distroless/static-debian11 -BASEIMAGE_DBG ?= debian:bullseye +BASEIMAGE_PROD ?= gcr.io/distroless/static-debian12 +BASEIMAGE_DBG ?= debian:bookworm GO_VERSION ?= 1.22 BUILD_IMAGE ?= ghcr.io/appscode/golang-dev:$(GO_VERSION) @@ -242,7 +242,7 @@ test: $(BUILD_DIRS) ./hack/test.sh $(SRC_PKGS) \ " -ADDTL_LINTERS := goconst,gofmt,goimports,unparam +ADDTL_LINTERS := gofmt,goimports,unparam .PHONY: lint lint: $(BUILD_DIRS) diff --git a/vendor/kmodules.xyz/offshoot-api/api/v2/openapi_generated.go b/vendor/kmodules.xyz/offshoot-api/api/v2/openapi_generated.go index a3343cfb3e..c43ca117a4 100644 --- a/vendor/kmodules.xyz/offshoot-api/api/v2/openapi_generated.go +++ b/vendor/kmodules.xyz/offshoot-api/api/v2/openapi_generated.go @@ -246,12 +246,6 @@ func schema_kmodulesxyz_offshoot_api_api_v2_PodSpec(ref common.ReferenceCallback }, }, }, - "affinity": { - SchemaProps: spec.SchemaProps{ - Description: "If specified, the pod's scheduling constraints", - Ref: ref("k8s.io/api/core/v1.Affinity"), - }, - }, "schedulerName": { SchemaProps: spec.SchemaProps{ Description: "If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler.", @@ -362,31 +356,6 @@ func schema_kmodulesxyz_offshoot_api_api_v2_PodSpec(ref common.ReferenceCallback }, }, }, - "topologySpreadConstraints": { - VendorExtensible: spec.VendorExtensible{ - Extensions: spec.Extensions{ - "x-kubernetes-list-map-keys": []interface{}{ - "topologyKey", - "whenUnsatisfiable", - }, - "x-kubernetes-list-type": "map", - "x-kubernetes-patch-merge-key": "topologyKey", - "x-kubernetes-patch-strategy": "merge", - }, - }, - SchemaProps: spec.SchemaProps{ - Description: "TopologySpreadConstraints describes how a group of pods ought to spread across topology domains. Scheduler will schedule pods in a way which abides by the constraints. All topologySpreadConstraints are ANDed.", - Type: []string{"array"}, - Items: &spec.SchemaOrArray{ - Schema: &spec.Schema{ - SchemaProps: spec.SchemaProps{ - Default: map[string]interface{}{}, - Ref: ref("k8s.io/api/core/v1.TopologySpreadConstraint"), - }, - }, - }, - }, - }, "setHostnameAsFQDN": { SchemaProps: spec.SchemaProps{ Description: "If true the pod's hostname will be configured as the pod's FQDN, rather than the leaf name (the default). In Linux containers, this means setting the FQDN in the hostname field of the kernel (the nodename field of struct utsname). In Windows containers, this means setting the registry value of hostname for the registry key HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters to FQDN. If a pod does not have FQDN, this has no effect. Default to false.", @@ -411,7 +380,7 @@ func schema_kmodulesxyz_offshoot_api_api_v2_PodSpec(ref common.ReferenceCallback }, }, Dependencies: []string{ - "k8s.io/api/core/v1.Affinity", "k8s.io/api/core/v1.Container", "k8s.io/api/core/v1.EphemeralContainer", "k8s.io/api/core/v1.HostAlias", "k8s.io/api/core/v1.LocalObjectReference", "k8s.io/api/core/v1.PodDNSConfig", "k8s.io/api/core/v1.PodOS", "k8s.io/api/core/v1.PodReadinessGate", "k8s.io/api/core/v1.PodSecurityContext", "k8s.io/api/core/v1.Toleration", "k8s.io/api/core/v1.TopologySpreadConstraint", "k8s.io/apimachinery/pkg/api/resource.Quantity", "kmodules.xyz/offshoot-api/api/v1.Volume"}, + "k8s.io/api/core/v1.Container", "k8s.io/api/core/v1.EphemeralContainer", "k8s.io/api/core/v1.HostAlias", "k8s.io/api/core/v1.LocalObjectReference", "k8s.io/api/core/v1.PodDNSConfig", "k8s.io/api/core/v1.PodOS", "k8s.io/api/core/v1.PodReadinessGate", "k8s.io/api/core/v1.PodSecurityContext", "k8s.io/api/core/v1.Toleration", "k8s.io/apimachinery/pkg/api/resource.Quantity", "kmodules.xyz/offshoot-api/api/v1.Volume"}, } } diff --git a/vendor/kmodules.xyz/offshoot-api/api/v2/types.go b/vendor/kmodules.xyz/offshoot-api/api/v2/types.go index 843ec57aa6..8268e09d10 100644 --- a/vendor/kmodules.xyz/offshoot-api/api/v2/types.go +++ b/vendor/kmodules.xyz/offshoot-api/api/v2/types.go @@ -161,9 +161,6 @@ type PodSpec struct { // +patchMergeKey=name // +patchStrategy=merge ImagePullSecrets []core.LocalObjectReference `json:"imagePullSecrets,omitempty" patchStrategy:"merge" patchMergeKey:"name"` - // If specified, the pod's scheduling constraints - // +optional - Affinity *core.Affinity `json:"affinity,omitempty"` // If specified, the pod will be dispatched by specified scheduler. // If not specified, the pod will be dispatched by default scheduler. // +optional @@ -229,16 +226,6 @@ type PodSpec struct { // More info: https://git.k8s.io/enhancements/keps/sig-node/688-pod-overhead/README.md // +optional Overhead core.ResourceList `json:"overhead,omitempty"` - // TopologySpreadConstraints describes how a group of pods ought to spread across topology - // domains. Scheduler will schedule pods in a way which abides by the constraints. - // All topologySpreadConstraints are ANDed. - // +optional - // +patchMergeKey=topologyKey - // +patchStrategy=merge - // +listType=map - // +listMapKey=topologyKey - // +listMapKey=whenUnsatisfiable - TopologySpreadConstraints []core.TopologySpreadConstraint `json:"topologySpreadConstraints,omitempty" patchStrategy:"merge" patchMergeKey:"topologyKey"` // If true the pod's hostname will be configured as the pod's FQDN, rather than the leaf name (the default). // In Linux containers, this means setting the FQDN in the hostname field of the kernel (the nodename field of struct utsname). // In Windows containers, this means setting the registry value of hostname for the registry key HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters to FQDN. diff --git a/vendor/kmodules.xyz/offshoot-api/api/v2/zz_generated.deepcopy.go b/vendor/kmodules.xyz/offshoot-api/api/v2/zz_generated.deepcopy.go index d907cdee3d..91ee1a86be 100644 --- a/vendor/kmodules.xyz/offshoot-api/api/v2/zz_generated.deepcopy.go +++ b/vendor/kmodules.xyz/offshoot-api/api/v2/zz_generated.deepcopy.go @@ -95,11 +95,6 @@ func (in *PodSpec) DeepCopyInto(out *PodSpec) { *out = make([]corev1.LocalObjectReference, len(*in)) copy(*out, *in) } - if in.Affinity != nil { - in, out := &in.Affinity, &out.Affinity - *out = new(corev1.Affinity) - (*in).DeepCopyInto(*out) - } if in.Tolerations != nil { in, out := &in.Tolerations, &out.Tolerations *out = make([]corev1.Toleration, len(*in)) @@ -151,13 +146,6 @@ func (in *PodSpec) DeepCopyInto(out *PodSpec) { (*out)[key] = val.DeepCopy() } } - if in.TopologySpreadConstraints != nil { - in, out := &in.TopologySpreadConstraints, &out.TopologySpreadConstraints - *out = make([]corev1.TopologySpreadConstraint, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } if in.SetHostnameAsFQDN != nil { in, out := &in.SetHostnameAsFQDN, &out.SetHostnameAsFQDN *out = new(bool) diff --git a/vendor/kubedb.dev/apimachinery/apis/catalog/v1alpha1/mssql_version_helpers.go b/vendor/kubedb.dev/apimachinery/apis/catalog/v1alpha1/mssql_version_helpers.go new file mode 100644 index 0000000000..15b6fd89a5 --- /dev/null +++ b/vendor/kubedb.dev/apimachinery/apis/catalog/v1alpha1/mssql_version_helpers.go @@ -0,0 +1,64 @@ +/* +Copyright AppsCode Inc. and Contributors + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package v1alpha1 + +import ( + "fmt" + + "kubedb.dev/apimachinery/apis" + "kubedb.dev/apimachinery/apis/catalog" + "kubedb.dev/apimachinery/crds" + + "kmodules.xyz/client-go/apiextensions" +) + +func (m MSSQLServerVersion) CustomResourceDefinition() *apiextensions.CustomResourceDefinition { + return crds.MustCustomResourceDefinition(SchemeGroupVersion.WithResource(ResourcePluralMSSQLServerVersion)) +} + +var _ apis.ResourceInfo = &MSSQLServerVersion{} + +func (m MSSQLServerVersion) ResourceFQN() string { + return fmt.Sprintf("%s.%s", ResourcePluralMSSQLServerVersion, catalog.GroupName) +} + +func (m MSSQLServerVersion) ResourceShortCode() string { + return ResourceCodeMSSQLServerVersion +} + +func (m MSSQLServerVersion) ResourceKind() string { + return ResourceKindMSSQLServerVersion +} + +func (m MSSQLServerVersion) ResourceSingular() string { + return ResourceSingularMSSQLServerVersion +} + +func (m MSSQLServerVersion) ResourcePlural() string { + return ResourcePluralMSSQLServerVersion +} + +func (m MSSQLServerVersion) ValidateSpecs() error { + if m.Spec.Version == "" || m.Spec.DB.Image == "" || m.Spec.Coordinator.Image == "" { + return fmt.Errorf(`at least one of the following specs is not set for MSSQLServerVersion "%v": +spec.version, +spec.coordinator.image, +spec.initContainer.image`, m.Name) + } + // TODO: add m.spec.exporter.image check FOR monitoring + return nil +} diff --git a/vendor/kubedb.dev/apimachinery/apis/catalog/v1alpha1/mssql_version_types.go b/vendor/kubedb.dev/apimachinery/apis/catalog/v1alpha1/mssql_version_types.go new file mode 100644 index 0000000000..bad96fb49b --- /dev/null +++ b/vendor/kubedb.dev/apimachinery/apis/catalog/v1alpha1/mssql_version_types.go @@ -0,0 +1,95 @@ +/* +Copyright 2023. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + appcat "kmodules.xyz/custom-resources/apis/appcatalog/v1alpha1" +) + +const ( + ResourceCodeMSSQLServerVersion = "msversion" + ResourceKindMSSQLServerVersion = "MSSQLServerVersion" + ResourceSingularMSSQLServerVersion = "mssqlserverversion" + ResourcePluralMSSQLServerVersion = "mssqlserverversions" +) + +// +genclient +// +genclient:nonNamespaced +// +genclient:skipVerbs=updateStatus +// +k8s:openapi-gen=true +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object + +// +kubebuilder:object:root=true +// +kubebuilder:resource:path=mssqlserverversions,singular=mssqlserverversion,scope=Cluster,shortName=msversion,categories={datastore,kubedb,appscode} +// +kubebuilder:printcolumn:name="Version",type="string",JSONPath=".spec.version" +// +kubebuilder:printcolumn:name="DB_IMAGE",type="string",JSONPath=".spec.db.image" +// +kubebuilder:printcolumn:name="Deprecated",type="boolean",JSONPath=".spec.deprecated" +// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp" +type MSSQLServerVersion struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec MSSQLServerVersionSpec `json:"spec,omitempty"` +} + +// MSSQLServerVersionSpec defines the desired state of MSSQLServer Version +type MSSQLServerVersionSpec struct { + // Version + Version string `json:"version"` + // Database Image + DB MSSQLServerDatabase `json:"db"` + // Coordinator Image + // +optional + Coordinator MSSQLServerCoordinator `json:"coordinator,omitempty"` + // Init container Image + InitContainer MSSQLServerInitContainer `json:"initContainer"` + // Deprecated versions usable but regarded as obsolete and best avoided, typically due to having been superseded. + // +optional + Deprecated bool `json:"deprecated,omitempty"` + // Stash defines backup and restore task definitions. + // +optional + Stash appcat.StashAddonSpec `json:"stash,omitempty"` + // SecurityContext is for the additional config for the DB container + // +optional + SecurityContext SecurityContext `json:"securityContext"` + // update constraints + UpdateConstraints UpdateConstraints `json:"updateConstraints,omitempty"` +} + +// MSSQLServerDatabase is the MSSQLServer Database image +type MSSQLServerDatabase struct { + Image string `json:"image"` +} + +// MSSQLServerCoordinator is the MSSQLServer coordinator Container image +type MSSQLServerCoordinator struct { + Image string `json:"image"` +} + +// MSSQLServerInitContainer is the MSSQLServer Container initializer +type MSSQLServerInitContainer struct { + Image string `json:"image"` +} + +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object + +// MSSQLServerVersionList contains a list of MSSQLServerVersion +type MSSQLServerVersionList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []MSSQLServerVersion `json:"items"` +} diff --git a/vendor/kubedb.dev/apimachinery/apis/catalog/v1alpha1/openapi_generated.go b/vendor/kubedb.dev/apimachinery/apis/catalog/v1alpha1/openapi_generated.go index 2279e41d31..6c1ff4ba23 100644 --- a/vendor/kubedb.dev/apimachinery/apis/catalog/v1alpha1/openapi_generated.go +++ b/vendor/kubedb.dev/apimachinery/apis/catalog/v1alpha1/openapi_generated.go @@ -440,6 +440,7 @@ func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenA "kmodules.xyz/objectstore-api/api/v1.SwiftSpec": schema_kmodulesxyz_objectstore_api_api_v1_SwiftSpec(ref), "kmodules.xyz/offshoot-api/api/v1.ContainerRuntimeSettings": schema_kmodulesxyz_offshoot_api_api_v1_ContainerRuntimeSettings(ref), "kmodules.xyz/offshoot-api/api/v1.EphemeralVolumeSource": schema_kmodulesxyz_offshoot_api_api_v1_EphemeralVolumeSource(ref), + "kmodules.xyz/offshoot-api/api/v1.GatewayPort": schema_kmodulesxyz_offshoot_api_api_v1_GatewayPort(ref), "kmodules.xyz/offshoot-api/api/v1.IONiceSettings": schema_kmodulesxyz_offshoot_api_api_v1_IONiceSettings(ref), "kmodules.xyz/offshoot-api/api/v1.NiceSettings": schema_kmodulesxyz_offshoot_api_api_v1_NiceSettings(ref), "kmodules.xyz/offshoot-api/api/v1.ObjectMeta": schema_kmodulesxyz_offshoot_api_api_v1_ObjectMeta(ref), @@ -494,6 +495,12 @@ func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenA "kubedb.dev/apimachinery/apis/catalog/v1alpha1.KafkaVersionList": schema_apimachinery_apis_catalog_v1alpha1_KafkaVersionList(ref), "kubedb.dev/apimachinery/apis/catalog/v1alpha1.KafkaVersionPodSecurityPolicy": schema_apimachinery_apis_catalog_v1alpha1_KafkaVersionPodSecurityPolicy(ref), "kubedb.dev/apimachinery/apis/catalog/v1alpha1.KafkaVersionSpec": schema_apimachinery_apis_catalog_v1alpha1_KafkaVersionSpec(ref), + "kubedb.dev/apimachinery/apis/catalog/v1alpha1.MSSQLServerCoordinator": schema_apimachinery_apis_catalog_v1alpha1_MSSQLServerCoordinator(ref), + "kubedb.dev/apimachinery/apis/catalog/v1alpha1.MSSQLServerDatabase": schema_apimachinery_apis_catalog_v1alpha1_MSSQLServerDatabase(ref), + "kubedb.dev/apimachinery/apis/catalog/v1alpha1.MSSQLServerInitContainer": schema_apimachinery_apis_catalog_v1alpha1_MSSQLServerInitContainer(ref), + "kubedb.dev/apimachinery/apis/catalog/v1alpha1.MSSQLServerVersion": schema_apimachinery_apis_catalog_v1alpha1_MSSQLServerVersion(ref), + "kubedb.dev/apimachinery/apis/catalog/v1alpha1.MSSQLServerVersionList": schema_apimachinery_apis_catalog_v1alpha1_MSSQLServerVersionList(ref), + "kubedb.dev/apimachinery/apis/catalog/v1alpha1.MSSQLServerVersionSpec": schema_apimachinery_apis_catalog_v1alpha1_MSSQLServerVersionSpec(ref), "kubedb.dev/apimachinery/apis/catalog/v1alpha1.ManifestBackup": schema_apimachinery_apis_catalog_v1alpha1_ManifestBackup(ref), "kubedb.dev/apimachinery/apis/catalog/v1alpha1.ManifestRestore": schema_apimachinery_apis_catalog_v1alpha1_ManifestRestore(ref), "kubedb.dev/apimachinery/apis/catalog/v1alpha1.MariaDBVersion": schema_apimachinery_apis_catalog_v1alpha1_MariaDBVersion(ref), @@ -21387,6 +21394,49 @@ func schema_kmodulesxyz_offshoot_api_api_v1_EphemeralVolumeSource(ref common.Ref } } +func schema_kmodulesxyz_offshoot_api_api_v1_GatewayPort(ref common.ReferenceCallback) common.OpenAPIDefinition { + return common.OpenAPIDefinition{ + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Description: "GatewayPort contains information on Gateway service's port.", + Type: []string{"object"}, + Properties: map[string]spec.Schema{ + "name": { + SchemaProps: spec.SchemaProps{ + Description: "The name of this port within the gateway service.", + Type: []string{"string"}, + Format: "", + }, + }, + "port": { + SchemaProps: spec.SchemaProps{ + Description: "The port that will be exposed by the gateway service.", + Default: 0, + Type: []string{"integer"}, + Format: "int32", + }, + }, + "backendServicePort": { + SchemaProps: spec.SchemaProps{ + Description: "Number of the port to access the backend service.", + Type: []string{"integer"}, + Format: "int32", + }, + }, + "nodePort": { + SchemaProps: spec.SchemaProps{ + Description: "The port on each node on which this gateway service is exposed when type is NodePort or LoadBalancer.", + Type: []string{"integer"}, + Format: "int32", + }, + }, + }, + Required: []string{"port"}, + }, + }, + } +} + func schema_kmodulesxyz_offshoot_api_api_v1_IONiceSettings(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ @@ -24206,6 +24256,231 @@ func schema_apimachinery_apis_catalog_v1alpha1_KafkaVersionSpec(ref common.Refer } } +func schema_apimachinery_apis_catalog_v1alpha1_MSSQLServerCoordinator(ref common.ReferenceCallback) common.OpenAPIDefinition { + return common.OpenAPIDefinition{ + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Description: "MSSQLServerCoordinator is the MSSQLServer coordinator Container image", + Type: []string{"object"}, + Properties: map[string]spec.Schema{ + "image": { + SchemaProps: spec.SchemaProps{ + Default: "", + Type: []string{"string"}, + Format: "", + }, + }, + }, + Required: []string{"image"}, + }, + }, + } +} + +func schema_apimachinery_apis_catalog_v1alpha1_MSSQLServerDatabase(ref common.ReferenceCallback) common.OpenAPIDefinition { + return common.OpenAPIDefinition{ + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Description: "MSSQLServerDatabase is the MSSQLServer Database image", + Type: []string{"object"}, + Properties: map[string]spec.Schema{ + "image": { + SchemaProps: spec.SchemaProps{ + Default: "", + Type: []string{"string"}, + Format: "", + }, + }, + }, + Required: []string{"image"}, + }, + }, + } +} + +func schema_apimachinery_apis_catalog_v1alpha1_MSSQLServerInitContainer(ref common.ReferenceCallback) common.OpenAPIDefinition { + return common.OpenAPIDefinition{ + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Description: "MSSQLServerInitContainer is the MSSQLServer Container initializer", + Type: []string{"object"}, + Properties: map[string]spec.Schema{ + "image": { + SchemaProps: spec.SchemaProps{ + Default: "", + Type: []string{"string"}, + Format: "", + }, + }, + }, + Required: []string{"image"}, + }, + }, + } +} + +func schema_apimachinery_apis_catalog_v1alpha1_MSSQLServerVersion(ref common.ReferenceCallback) common.OpenAPIDefinition { + return common.OpenAPIDefinition{ + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Type: []string{"object"}, + Properties: map[string]spec.Schema{ + "kind": { + SchemaProps: spec.SchemaProps{ + Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + Type: []string{"string"}, + Format: "", + }, + }, + "apiVersion": { + SchemaProps: spec.SchemaProps{ + Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + Type: []string{"string"}, + Format: "", + }, + }, + "metadata": { + SchemaProps: spec.SchemaProps{ + Default: map[string]interface{}{}, + Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), + }, + }, + "spec": { + SchemaProps: spec.SchemaProps{ + Default: map[string]interface{}{}, + Ref: ref("kubedb.dev/apimachinery/apis/catalog/v1alpha1.MSSQLServerVersionSpec"), + }, + }, + }, + }, + }, + Dependencies: []string{ + "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta", "kubedb.dev/apimachinery/apis/catalog/v1alpha1.MSSQLServerVersionSpec"}, + } +} + +func schema_apimachinery_apis_catalog_v1alpha1_MSSQLServerVersionList(ref common.ReferenceCallback) common.OpenAPIDefinition { + return common.OpenAPIDefinition{ + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Description: "MSSQLServerVersionList contains a list of MSSQLServerVersion", + Type: []string{"object"}, + Properties: map[string]spec.Schema{ + "kind": { + SchemaProps: spec.SchemaProps{ + Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + Type: []string{"string"}, + Format: "", + }, + }, + "apiVersion": { + SchemaProps: spec.SchemaProps{ + Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + Type: []string{"string"}, + Format: "", + }, + }, + "metadata": { + SchemaProps: spec.SchemaProps{ + Default: map[string]interface{}{}, + Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), + }, + }, + "items": { + SchemaProps: spec.SchemaProps{ + Type: []string{"array"}, + Items: &spec.SchemaOrArray{ + Schema: &spec.Schema{ + SchemaProps: spec.SchemaProps{ + Default: map[string]interface{}{}, + Ref: ref("kubedb.dev/apimachinery/apis/catalog/v1alpha1.MSSQLServerVersion"), + }, + }, + }, + }, + }, + }, + Required: []string{"items"}, + }, + }, + Dependencies: []string{ + "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "kubedb.dev/apimachinery/apis/catalog/v1alpha1.MSSQLServerVersion"}, + } +} + +func schema_apimachinery_apis_catalog_v1alpha1_MSSQLServerVersionSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { + return common.OpenAPIDefinition{ + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Description: "MSSQLServerVersionSpec defines the desired state of MSSQLServer Version", + Type: []string{"object"}, + Properties: map[string]spec.Schema{ + "version": { + SchemaProps: spec.SchemaProps{ + Description: "Version", + Default: "", + Type: []string{"string"}, + Format: "", + }, + }, + "db": { + SchemaProps: spec.SchemaProps{ + Description: "Database Image", + Default: map[string]interface{}{}, + Ref: ref("kubedb.dev/apimachinery/apis/catalog/v1alpha1.MSSQLServerDatabase"), + }, + }, + "coordinator": { + SchemaProps: spec.SchemaProps{ + Description: "Coordinator Image", + Default: map[string]interface{}{}, + Ref: ref("kubedb.dev/apimachinery/apis/catalog/v1alpha1.MSSQLServerCoordinator"), + }, + }, + "initContainer": { + SchemaProps: spec.SchemaProps{ + Description: "Init container Image", + Default: map[string]interface{}{}, + Ref: ref("kubedb.dev/apimachinery/apis/catalog/v1alpha1.MSSQLServerInitContainer"), + }, + }, + "deprecated": { + SchemaProps: spec.SchemaProps{ + Description: "Deprecated versions usable but regarded as obsolete and best avoided, typically due to having been superseded.", + Type: []string{"boolean"}, + Format: "", + }, + }, + "stash": { + SchemaProps: spec.SchemaProps{ + Description: "Stash defines backup and restore task definitions.", + Default: map[string]interface{}{}, + Ref: ref("kmodules.xyz/custom-resources/apis/appcatalog/v1alpha1.StashAddonSpec"), + }, + }, + "securityContext": { + SchemaProps: spec.SchemaProps{ + Description: "SecurityContext is for the additional config for the DB container", + Default: map[string]interface{}{}, + Ref: ref("kubedb.dev/apimachinery/apis/catalog/v1alpha1.SecurityContext"), + }, + }, + "updateConstraints": { + SchemaProps: spec.SchemaProps{ + Description: "update constraints", + Default: map[string]interface{}{}, + Ref: ref("kubedb.dev/apimachinery/apis/catalog/v1alpha1.UpdateConstraints"), + }, + }, + }, + Required: []string{"version", "db", "initContainer"}, + }, + }, + Dependencies: []string{ + "kmodules.xyz/custom-resources/apis/appcatalog/v1alpha1.StashAddonSpec", "kubedb.dev/apimachinery/apis/catalog/v1alpha1.MSSQLServerCoordinator", "kubedb.dev/apimachinery/apis/catalog/v1alpha1.MSSQLServerDatabase", "kubedb.dev/apimachinery/apis/catalog/v1alpha1.MSSQLServerInitContainer", "kubedb.dev/apimachinery/apis/catalog/v1alpha1.SecurityContext", "kubedb.dev/apimachinery/apis/catalog/v1alpha1.UpdateConstraints"}, + } +} + func schema_apimachinery_apis_catalog_v1alpha1_ManifestBackup(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ diff --git a/vendor/kubedb.dev/apimachinery/apis/catalog/v1alpha1/register.go b/vendor/kubedb.dev/apimachinery/apis/catalog/v1alpha1/register.go index 3e7b29e064..35f8bbc438 100644 --- a/vendor/kubedb.dev/apimachinery/apis/catalog/v1alpha1/register.go +++ b/vendor/kubedb.dev/apimachinery/apis/catalog/v1alpha1/register.go @@ -92,6 +92,8 @@ func addKnownTypes(scheme *runtime.Scheme) error { &SolrVersionList{}, &ZooKeeperVersion{}, &ZooKeeperVersionList{}, + &MSSQLServerVersion{}, + &MSSQLServerVersionList{}, ) scheme.AddKnownTypes(SchemeGroupVersion, diff --git a/vendor/kubedb.dev/apimachinery/apis/catalog/v1alpha1/zz_generated.deepcopy.go b/vendor/kubedb.dev/apimachinery/apis/catalog/v1alpha1/zz_generated.deepcopy.go index 5d4af642c1..a88f52960d 100644 --- a/vendor/kubedb.dev/apimachinery/apis/catalog/v1alpha1/zz_generated.deepcopy.go +++ b/vendor/kubedb.dev/apimachinery/apis/catalog/v1alpha1/zz_generated.deepcopy.go @@ -858,6 +858,136 @@ func (in *KafkaVersionSpec) DeepCopy() *KafkaVersionSpec { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MSSQLServerCoordinator) DeepCopyInto(out *MSSQLServerCoordinator) { + *out = *in + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MSSQLServerCoordinator. +func (in *MSSQLServerCoordinator) DeepCopy() *MSSQLServerCoordinator { + if in == nil { + return nil + } + out := new(MSSQLServerCoordinator) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MSSQLServerDatabase) DeepCopyInto(out *MSSQLServerDatabase) { + *out = *in + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MSSQLServerDatabase. +func (in *MSSQLServerDatabase) DeepCopy() *MSSQLServerDatabase { + if in == nil { + return nil + } + out := new(MSSQLServerDatabase) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MSSQLServerInitContainer) DeepCopyInto(out *MSSQLServerInitContainer) { + *out = *in + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MSSQLServerInitContainer. +func (in *MSSQLServerInitContainer) DeepCopy() *MSSQLServerInitContainer { + if in == nil { + return nil + } + out := new(MSSQLServerInitContainer) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MSSQLServerVersion) DeepCopyInto(out *MSSQLServerVersion) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MSSQLServerVersion. +func (in *MSSQLServerVersion) DeepCopy() *MSSQLServerVersion { + if in == nil { + return nil + } + out := new(MSSQLServerVersion) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *MSSQLServerVersion) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MSSQLServerVersionList) DeepCopyInto(out *MSSQLServerVersionList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]MSSQLServerVersion, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MSSQLServerVersionList. +func (in *MSSQLServerVersionList) DeepCopy() *MSSQLServerVersionList { + if in == nil { + return nil + } + out := new(MSSQLServerVersionList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *MSSQLServerVersionList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MSSQLServerVersionSpec) DeepCopyInto(out *MSSQLServerVersionSpec) { + *out = *in + out.DB = in.DB + out.Coordinator = in.Coordinator + out.InitContainer = in.InitContainer + in.Stash.DeepCopyInto(&out.Stash) + in.SecurityContext.DeepCopyInto(&out.SecurityContext) + in.UpdateConstraints.DeepCopyInto(&out.UpdateConstraints) + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MSSQLServerVersionSpec. +func (in *MSSQLServerVersionSpec) DeepCopy() *MSSQLServerVersionSpec { + if in == nil { + return nil + } + out := new(MSSQLServerVersionSpec) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ManifestBackup) DeepCopyInto(out *ManifestBackup) { *out = *in diff --git a/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/constants.go b/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/constants.go index f247797e9e..22218a398d 100644 --- a/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/constants.go +++ b/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/constants.go @@ -127,7 +127,7 @@ const ( MemcachedDatabasePortName = "db" MemcachedPrimaryServicePortName = "primary" MemcachedDatabasePort = 11211 - + MemcachedShardKey = MemcachedKey + "/shard" // =========================== MongoDB Constants ============================ MongoDBDatabasePortName = "db" @@ -231,9 +231,10 @@ const ( MySQLRouterTLSDirectoryPath = "/etc/mysql/certs" MySQLReplicationUser = "repl" - MySQLComponentKey = MySQLKey + "/component" - MySQLComponentDB = "database" - MySQLComponentRouter = "router" + MySQLComponentKey = MySQLKey + "/component" + MySQLComponentDB = "database" + MySQLComponentRouter = "router" + MySQLCustomConfigFile = "my-inline.cnf" // mysql volume and volume Mounts @@ -325,19 +326,22 @@ const ( SinglestoreDatabasePortName = "db" SinglestorePrimaryServicePortName = "primary" SinglestoreStudioPortName = "studio" - SinglestoreDatabasePort = 3306 - SinglestoreStudioPort = 8081 - SinglestoreExporterPort = 9104 - SinglestoreRootUserName = "ROOT_USERNAME" - SinglestoreRootPassword = "ROOT_PASSWORD" - SinglestoreRootUser = "root" - DatabasePodMaster = "Master" - DatabasePodAggregator = "Aggregator" - DatabasePodLeaf = "Leaf" - PetSetTypeAggregator = "aggregator" - PetSetTypeLeaf = "leaf" - SinglestoreDatabaseHealth = "singlestore_health" - SinglestoreTableHealth = "singlestore_health_table" + + SinglestoreDatabasePort = 3306 + SinglestoreStudioPort = 8081 + SinglestoreExporterPort = 9104 + + SinglestoreRootUserName = "ROOT_USERNAME" + SinglestoreRootPassword = "ROOT_PASSWORD" + SinglestoreRootUser = "root" + DatabasePodMaster = "Master" + DatabasePodAggregator = "Aggregator" + DatabasePodLeaf = "Leaf" + PetSetTypeAggregator = "aggregator" + PetSetTypeLeaf = "leaf" + + SinglestoreDatabaseHealth = "singlestore_health" + SinglestoreTableHealth = "singlestore_health_table" SinglestoreCoordinatorContainerName = "singlestore-coordinator" SinglestoreContainerName = "singlestore" @@ -351,6 +355,56 @@ const ( SinglestoreVolumeMountPathInitScript = "/scripts" SinglestoreVolumeNameData = "data" SinglestoreVolumeMountPathData = "/var/lib/memsql" + SinglestoreVolumeNameTLS = "tls-volume" + SinglestoreVolumeMountPathTLS = "/etc/memsql/certs" + + SinglestoreTLSConfigCustom = "custom" + SinglestoreTLSConfigSkipVerify = "skip-verify" + SinglestoreTLSConfigTrue = "true" + SinglestoreTLSConfigFalse = "false" + SinglestoreTLSConfigPreferred = "preferred" + + // =========================== MSSQLServer Constants ============================ + MSSQLSAUser = "sa" + MSSQLEndpointCertsSecretName = "endpoint-cert" + MSSQLDbmLoginSecretName = "dbm-login-secret" + MSSQLMasterKeySecretName = "master-key-secret" + + AGPrimaryReplicaReadyCondition = "AGPrimaryReplicaReady" + + MSSQLDatabasePodPrimary = "primary" + MSSQLDatabasePodSecondary = "secondary" + MSSQLSecondaryServiceAlias = "secondary" + MSSQLSecondaryServicePortName = "secondary" + + // port related + MSSQLDatabasePortName = "db" + MSSQLPrimaryServicePortName = "primary" + MSSQLDatabasePort = 1433 + MSSQLDatabaseMirroringEndpointPort = 5022 + MSSQLCoordinatorPort = 2381 + // environment variables + EnvAcceptEula = "ACCEPT_EULA" + EnvMSSQLEnableHADR = "MSSQL_ENABLE_HADR" + EnvMSSQLAgentEnabled = "MSSQL_AGENT_ENABLED" + EnvMSSQLSAUsername = "MSSQL_SA_USERNAME" + EnvMSSQLSAPassword = "MSSQL_SA_PASSWORD" + // container related + MSSQLContainerName = "mssql" + MSSQLCoordinatorContainerName = "mssql-coordinator" + MSSQLInitContainerName = "mssql-init" + // volume related + MSSQLVolumeNameData = "data" + MSSQLVolumeMountPathData = "/var/opt/mssql" + MSSQLVolumeNameInitScript = "init-scripts" + MSSQLVolumeMountPathInitScript = "/scripts" + MSSQLVolumeNameEndpointCert = "endpoint-cert" + MSSQLVolumeMountPathEndpointCert = "/var/opt/mssql/endpoint-cert" + MSSQLVolumeNameCerts = "certs" + MSSQLVolumeMountPathCerts = "/var/opt/mssql/certs" + // tls related + MSSQLInternalTLSCrt = "tls.crt" + MSSQLInternalTLSKey = "tls.key" // =========================== PostgreSQL Constants ============================ PostgresDatabasePortName = "db" @@ -389,6 +443,7 @@ const ( PostgresSharedScriptsDir = "/scripts" PostgresSharedTlsVolumeName = "certs" PostgresSharedTlsVolumeMountPath = "/tls/certs" + PostgresCustomConfigFile = "user.conf" PostgresKeyFileSecretSuffix = "key" PostgresPEMSecretSuffix = "pem" @@ -516,10 +571,18 @@ const ( EnvPgpoolService = "PGPOOL_SERVICE" EnvPgpoolServicePort = "PGPOOL_SERVICE_PORT" EnvPgpoolSSLMode = "SSLMODE" + EnvPgpoolExporterConnectionString = "DATA_SOURCE_NAME" PgpoolDefaultSSLMode = "disable" PgpoolExporterContainerName = "exporter" PgpoolAuthUsername = "pcp" SyncPeriod = 10 + PgpoolTlsVolumeName = "certs" + PgpoolTlsVolumeMountPath = "/config/tls" + PgpoolExporterTlsVolumeName = "exporter-certs" + PgpoolExporterTlsVolumeMountPath = "/tls/certs" + PgpoolRootUser = "postgres" + PgpoolPrimaryServicePortName = "primary" + PgpoolDatabasePortName = "db" // ========================================== ZooKeeper Constants =================================================// KubeDBZooKeeperRoleName = "kubedb:zookeeper-version-reader" @@ -767,6 +830,7 @@ const ( ResourcePluralSolr = "solrs" SolrPortName = "http" SolrRestPort = 8983 + SolrExporterPort = 9854 SolrSecretKey = "solr.xml" SolrContainerName = "solr" SolrInitContainerName = "init-solr" @@ -880,6 +944,7 @@ const ( DruidPortMiddleManagers = 8091 DruidPortBrokers = 8082 DruidPortRouters = 8888 + DruidExporterPort = 9104 // Common Runtime Configurations Properties // ZooKeeperSpec @@ -959,8 +1024,9 @@ const ( DruidEmitter = "druid.emitter" DruidEmitterPrometheus = "prometheus" DruidEmitterPrometheusPortKey = "druid.emitter.prometheus.port" - DruidEmitterPrometheusPortVal = 8080 + DruidEmitterPrometheusPortVal = 9104 DruidMonitoringMonitorsKey = "druid.monitoring.monitors" + DruidEmitterPrometheusDimensionMapPath = "druid.emitter.prometheus.dimensionMapPath" DruidEmitterPrometheusStrategy = "druid.emitter.prometheus.strategy" DruidMetricsJVMMonitor = "org.apache.druid.java.util.metrics.JvmMonitor" DruidMetricsServiceStatusMonitor = "org.apache.druid.server.metrics.ServiceStatusMonitor" @@ -1068,43 +1134,48 @@ const ( RabbitMQPluginsVolName = "rabbitmq-plugins" RabbitMQTempConfigVolName = "temp-config" - RabbitMQContainerName = "rabbitmq" - RabbitMQInitContainerName = "rabbitmq-init" - RabbitMQManagementPlugin = "rabbitmq_management" - RabbitMQPeerdiscoveryPlugin = "rabbitmq_peer_discovery_k8s" - RabbitMQLoopBackUserKey = "loopback_users" - RabbitMQLoopBackUserVal = "none" - RabbitMQDefaultTCPListenerKey = "listeners.tcp.default" - RabbitMQDefaultTCPListenerVal = "5672" - RabbitMQQueueMasterLocatorKey = "queue_master_locator" - RabbitMQQueueMasterLocatorVal = "min-masters" - RabbitMQDiskFreeLimitKey = "disk_free_limit.absolute" - RabbitMQDiskFreeLimitVal = "2GB" - RabbitMQPartitionHandingKey = "cluster_partition_handling" - RabbitMQPartitionHandingVal = "pause_minority" - RabbitMQPeerDiscoveryKey = "cluster_formation.peer_discovery_backend" - RabbitMQPeerDiscoveryVal = "rabbit_peer_discovery_k8s" - RabbitMQK8sHostKey = "cluster_formation.k8s.host" - RabbitMQK8sHostVal = "kubernetes.default.svc.cluster.local" - RabbitMQK8sAddressTypeKey = "cluster_formation.k8s.address_type" - RabbitMQK8sAddressTypeVal = "hostname" - RabbitMQNodeCleanupWarningKey = "cluster_formation.node_cleanup.only_log_warning" - RabbitMQNodeCleanupWarningVal = "true" - RabbitMQLogFileLevelKey = "log.file.level" - RabbitMQLogFileLevelVal = "info" - RabbitMQLogConsoleKey = "log.console" - RabbitMQLogConsoleVal = "true" - RabbitMQLogConsoleLevelKey = "log.console.level" - RabbitMQLogConsoleLevelVal = "info" - RabbitMQDefaultUserKey = "default_user" - RabbitMQDefaultUserVal = "$(RABBITMQ_DEFAULT_USER)" - RabbitMQDefaultPasswordKey = "default_pass" - RabbitMQDefaultPasswordVal = "$(RABBITMQ_DEFAULT_PASS)" - RabbitMQClusterNameKey = "cluster_name" - RabbitMQK8sSvcNameKey = "cluster_formation.k8s.service_name" - RabbitMQConfigFileName = "rabbitmq.conf" - RabbitMQEnabledPluginsFileName = "enabled_plugins" - RabbitMQHealthCheckerQueueName = "kubedb-system" + RabbitMQContainerName = "rabbitmq" + RabbitMQInitContainerName = "rabbitmq-init" + RabbitMQManagementPlugin = "rabbitmq_management" + RabbitMQPeerdiscoveryPlugin = "rabbitmq_peer_discovery_k8s" + RabbitMQFederationPlugin = "rabbitmq_federation" + RabbitMQFederationManagementPlugin = "rabbitmq_federation_management" + RabbitMQShovelPlugin = "rabbitmq_shovel" + RabbitMQShovelManagementPlugin = "rabbitmq_shovel_management" + RabbitMQWebDispatchPlugin = "rabbitmq_web_dispatch" + RabbitMQLoopBackUserKey = "loopback_users" + RabbitMQLoopBackUserVal = "none" + RabbitMQDefaultTCPListenerKey = "listeners.tcp.default" + RabbitMQDefaultTCPListenerVal = "5672" + RabbitMQQueueMasterLocatorKey = "queue_master_locator" + RabbitMQQueueMasterLocatorVal = "min-masters" + RabbitMQDiskFreeLimitKey = "disk_free_limit.absolute" + RabbitMQDiskFreeLimitVal = "2GB" + RabbitMQPartitionHandingKey = "cluster_partition_handling" + RabbitMQPartitionHandingVal = "pause_minority" + RabbitMQPeerDiscoveryKey = "cluster_formation.peer_discovery_backend" + RabbitMQPeerDiscoveryVal = "rabbit_peer_discovery_k8s" + RabbitMQK8sHostKey = "cluster_formation.k8s.host" + RabbitMQK8sHostVal = "kubernetes.default.svc.cluster.local" + RabbitMQK8sAddressTypeKey = "cluster_formation.k8s.address_type" + RabbitMQK8sAddressTypeVal = "hostname" + RabbitMQNodeCleanupWarningKey = "cluster_formation.node_cleanup.only_log_warning" + RabbitMQNodeCleanupWarningVal = "true" + RabbitMQLogFileLevelKey = "log.file.level" + RabbitMQLogFileLevelVal = "info" + RabbitMQLogConsoleKey = "log.console" + RabbitMQLogConsoleVal = "true" + RabbitMQLogConsoleLevelKey = "log.console.level" + RabbitMQLogConsoleLevelVal = "info" + RabbitMQDefaultUserKey = "default_user" + RabbitMQDefaultUserVal = "$(RABBITMQ_DEFAULT_USER)" + RabbitMQDefaultPasswordKey = "default_pass" + RabbitMQDefaultPasswordVal = "$(RABBITMQ_DEFAULT_PASS)" + RabbitMQClusterNameKey = "cluster_name" + RabbitMQK8sSvcNameKey = "cluster_formation.k8s.service_name" + RabbitMQConfigFileName = "rabbitmq.conf" + RabbitMQEnabledPluginsFileName = "enabled_plugins" + RabbitMQHealthCheckerQueueName = "kubedb-system" ) // =========================== FerretDB Constants ============================ @@ -1224,6 +1295,17 @@ var ( core.ResourceMemory: resource.MustParse("2Gi"), }, } + + // DefaultResourcesMemoryIntensive must be used for Druid MiddleManagers + DefaultResourcesMemoryIntensiveDruid = core.ResourceRequirements{ + Requests: core.ResourceList{ + core.ResourceCPU: resource.MustParse(".500"), + core.ResourceMemory: resource.MustParse("2.5Gi"), + }, + Limits: core.ResourceList{ + core.ResourceMemory: resource.MustParse("2.5Gi"), + }, + } ) func DefaultArbiter(computeOnly bool) core.ResourceRequirements { diff --git a/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/druid_helpers.go b/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/druid_helpers.go index e3515ab210..0d56d49938 100644 --- a/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/druid_helpers.go +++ b/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/druid_helpers.go @@ -380,7 +380,7 @@ func (d *Druid) SetDefaults() { d.Spec.Topology.Coordinators.PodTemplate.Spec.SecurityContext = &v1.PodSecurityContext{FSGroup: druidVersion.Spec.SecurityContext.RunAsUser} } d.setDefaultContainerSecurityContext(&druidVersion, &d.Spec.Topology.Coordinators.PodTemplate) - d.setDefaultContainerResourceLimits(&d.Spec.Topology.Coordinators.PodTemplate) + d.setDefaultContainerResourceLimits(&d.Spec.Topology.Coordinators.PodTemplate, DruidNodeRoleCoordinators) } } if d.Spec.Topology.Overlords != nil { @@ -392,7 +392,7 @@ func (d *Druid) SetDefaults() { d.Spec.Topology.Overlords.PodTemplate.Spec.SecurityContext = &v1.PodSecurityContext{FSGroup: druidVersion.Spec.SecurityContext.RunAsUser} } d.setDefaultContainerSecurityContext(&druidVersion, &d.Spec.Topology.Overlords.PodTemplate) - d.setDefaultContainerResourceLimits(&d.Spec.Topology.Overlords.PodTemplate) + d.setDefaultContainerResourceLimits(&d.Spec.Topology.Overlords.PodTemplate, DruidNodeRoleOverlords) } } if d.Spec.Topology.MiddleManagers != nil { @@ -404,7 +404,7 @@ func (d *Druid) SetDefaults() { d.Spec.Topology.MiddleManagers.PodTemplate.Spec.SecurityContext = &v1.PodSecurityContext{FSGroup: druidVersion.Spec.SecurityContext.RunAsUser} } d.setDefaultContainerSecurityContext(&druidVersion, &d.Spec.Topology.MiddleManagers.PodTemplate) - d.setDefaultContainerResourceLimits(&d.Spec.Topology.MiddleManagers.PodTemplate) + d.setDefaultContainerResourceLimits(&d.Spec.Topology.MiddleManagers.PodTemplate, DruidNodeRoleMiddleManagers) } } if d.Spec.Topology.Historicals != nil { @@ -416,7 +416,7 @@ func (d *Druid) SetDefaults() { d.Spec.Topology.Historicals.PodTemplate.Spec.SecurityContext = &v1.PodSecurityContext{FSGroup: druidVersion.Spec.SecurityContext.RunAsUser} } d.setDefaultContainerSecurityContext(&druidVersion, &d.Spec.Topology.Historicals.PodTemplate) - d.setDefaultContainerResourceLimits(&d.Spec.Topology.Historicals.PodTemplate) + d.setDefaultContainerResourceLimits(&d.Spec.Topology.Historicals.PodTemplate, DruidNodeRoleHistoricals) } } if d.Spec.Topology.Brokers != nil { @@ -428,7 +428,7 @@ func (d *Druid) SetDefaults() { d.Spec.Topology.Brokers.PodTemplate.Spec.SecurityContext = &v1.PodSecurityContext{FSGroup: druidVersion.Spec.SecurityContext.RunAsUser} } d.setDefaultContainerSecurityContext(&druidVersion, &d.Spec.Topology.Brokers.PodTemplate) - d.setDefaultContainerResourceLimits(&d.Spec.Topology.Brokers.PodTemplate) + d.setDefaultContainerResourceLimits(&d.Spec.Topology.Brokers.PodTemplate, DruidNodeRoleBrokers) } } @@ -441,7 +441,7 @@ func (d *Druid) SetDefaults() { d.Spec.Topology.Routers.PodTemplate.Spec.SecurityContext = &v1.PodSecurityContext{FSGroup: druidVersion.Spec.SecurityContext.RunAsUser} } d.setDefaultContainerSecurityContext(&druidVersion, &d.Spec.Topology.Routers.PodTemplate) - d.setDefaultContainerResourceLimits(&d.Spec.Topology.Routers.PodTemplate) + d.setDefaultContainerResourceLimits(&d.Spec.Topology.Routers.PodTemplate, DruidNodeRoleRouters) } } } @@ -450,6 +450,15 @@ func (d *Druid) SetDefaults() { d.Spec.MetadataStorage.Namespace = d.Namespace } } + if d.Spec.Monitor != nil { + if d.Spec.Monitor.Prometheus == nil { + d.Spec.Monitor.Prometheus = &mona.PrometheusSpec{} + } + if d.Spec.Monitor.Prometheus != nil && d.Spec.Monitor.Prometheus.Exporter.Port == 0 { + d.Spec.Monitor.Prometheus.Exporter.Port = DruidExporterPort + } + d.Spec.Monitor.SetDefaults() + } } func (d *Druid) setDefaultContainerSecurityContext(druidVersion *catalog.DruidVersion, podTemplate *ofst.PodTemplateSpec) { @@ -498,10 +507,14 @@ func (d *Druid) assignDefaultContainerSecurityContext(druidVersion *catalog.Drui } } -func (d *Druid) setDefaultContainerResourceLimits(podTemplate *ofst.PodTemplateSpec) { +func (d *Druid) setDefaultContainerResourceLimits(podTemplate *ofst.PodTemplateSpec, nodeRole DruidNodeRoleType) { dbContainer := coreutil.GetContainerByName(podTemplate.Spec.Containers, DruidContainerName) if dbContainer != nil && (dbContainer.Resources.Requests == nil && dbContainer.Resources.Limits == nil) { - apis.SetDefaultResourceLimits(&dbContainer.Resources, DefaultResources) + if nodeRole == DruidNodeRoleMiddleManagers { + apis.SetDefaultResourceLimits(&dbContainer.Resources, DefaultResourcesMemoryIntensiveDruid) + } else { + apis.SetDefaultResourceLimits(&dbContainer.Resources, DefaultResources) + } } initContainer := coreutil.GetContainerByName(podTemplate.Spec.InitContainers, DruidInitContainerName) diff --git a/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/memcached_helpers.go b/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/memcached_helpers.go index 62ea815916..584b57dbe6 100644 --- a/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/memcached_helpers.go +++ b/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/memcached_helpers.go @@ -20,17 +20,23 @@ import ( "fmt" "kubedb.dev/apimachinery/apis" + catalog "kubedb.dev/apimachinery/apis/catalog/v1alpha1" "kubedb.dev/apimachinery/apis/kubedb" "kubedb.dev/apimachinery/crds" promapi "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" + "gomodules.xyz/pointer" + core "k8s.io/api/core/v1" + corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/labels" appslister "k8s.io/client-go/listers/apps/v1" "kmodules.xyz/client-go/apiextensions" meta_util "kmodules.xyz/client-go/meta" + "kmodules.xyz/client-go/policy/secomp" appcat "kmodules.xyz/custom-resources/apis/appcatalog/v1alpha1" mona "kmodules.xyz/monitoring-agent-api/api/v1" + ofst "kmodules.xyz/offshoot-api/api/v1" ) func (_ Memcached) CustomResourceDefinition() *apiextensions.CustomResourceDefinition { @@ -125,6 +131,10 @@ type memcachedStatsService struct { *Memcached } +func (m Memcached) Address() string { + return fmt.Sprintf("%s.%s.svc:11211", m.ServiceName(), m.Namespace) +} + func (m memcachedStatsService) GetNamespace() string { return m.Memcached.GetNamespace() } @@ -161,24 +171,76 @@ func (m Memcached) StatsServiceLabels() map[string]string { return m.ServiceLabels(StatsServiceAlias, map[string]string{LabelRole: RoleStats}) } -func (m *Memcached) SetDefaults() { +func (m *Memcached) SetDefaults(mcVersion *catalog.MemcachedVersion) { if m == nil { return } + m.setDefaultContainerSecurityContext(mcVersion, &m.Spec.PodTemplate) // perform defaulting if m.Spec.TerminationPolicy == "" { m.Spec.TerminationPolicy = TerminationPolicyDelete } - if m.Spec.PodTemplate.Spec.ServiceAccountName == "" { m.Spec.PodTemplate.Spec.ServiceAccountName = m.OffshootName() } m.Spec.Monitor.SetDefaults() + m.SetHealthCheckerDefaults() apis.SetDefaultResourceLimits(&m.Spec.PodTemplate.Spec.Resources, DefaultResources) } +func (m *Memcached) SetHealthCheckerDefaults() { + if m.Spec.HealthChecker.PeriodSeconds == nil { + m.Spec.HealthChecker.PeriodSeconds = pointer.Int32P(10) + } + if m.Spec.HealthChecker.TimeoutSeconds == nil { + m.Spec.HealthChecker.TimeoutSeconds = pointer.Int32P(10) + } + if m.Spec.HealthChecker.FailureThreshold == nil { + m.Spec.HealthChecker.FailureThreshold = pointer.Int32P(10) + } +} + +func (m *Memcached) setDefaultContainerSecurityContext(mcVersion *catalog.MemcachedVersion, podTemplate *ofst.PodTemplateSpec) { + if podTemplate == nil { + return + } + if podTemplate.Spec.ContainerSecurityContext == nil { + podTemplate.Spec.ContainerSecurityContext = &corev1.SecurityContext{} + } + if podTemplate.Spec.SecurityContext == nil { + podTemplate.Spec.SecurityContext = &corev1.PodSecurityContext{} + } + if podTemplate.Spec.SecurityContext.FSGroup == nil { + podTemplate.Spec.SecurityContext.FSGroup = mcVersion.Spec.SecurityContext.RunAsUser + } + m.assignDefaultContainerSecurityContext(mcVersion, podTemplate.Spec.ContainerSecurityContext) +} + +func (m *Memcached) assignDefaultContainerSecurityContext(mcVersion *catalog.MemcachedVersion, sc *core.SecurityContext) { + if sc.AllowPrivilegeEscalation == nil { + sc.AllowPrivilegeEscalation = pointer.BoolP(false) + } + if sc.Capabilities == nil { + sc.Capabilities = &corev1.Capabilities{ + Drop: []corev1.Capability{"ALL"}, + } + } + if sc.RunAsNonRoot == nil { + sc.RunAsNonRoot = pointer.BoolP(true) + } + if sc.RunAsUser == nil { + sc.RunAsUser = mcVersion.Spec.SecurityContext.RunAsUser + } + if sc.RunAsGroup == nil { + sc.RunAsGroup = mcVersion.Spec.SecurityContext.RunAsUser + } + if sc.SeccompProfile == nil { + sc.SeccompProfile = secomp.DefaultSeccompProfile() + } +} + func (m *MemcachedSpec) GetPersistentSecrets() []string { return nil } diff --git a/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/memcached_types.go b/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/memcached_types.go index 8ec14235d3..ce92339055 100644 --- a/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/memcached_types.go +++ b/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/memcached_types.go @@ -102,6 +102,11 @@ type MemcachedSpec struct { // TerminationPolicy controls the delete operation for database // +optional TerminationPolicy TerminationPolicy `json:"terminationPolicy,omitempty"` + + // HealthChecker defines attributes of the health checker + // +optional + // +kubebuilder:default={periodSeconds: 10, timeoutSeconds: 10, failureThreshold: 1} + HealthChecker kmapi.HealthCheckSpec `json:"healthChecker"` } // +kubebuilder:validation:Enum=server;metrics-exporter diff --git a/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/mssql_helpers.go b/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/mssql_helpers.go new file mode 100644 index 0000000000..25d80be877 --- /dev/null +++ b/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/mssql_helpers.go @@ -0,0 +1,405 @@ +/* +Copyright AppsCode Inc. and Contributors + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package v1alpha2 + +import ( + "context" + "fmt" + "regexp" + "strings" + "time" + + "kubedb.dev/apimachinery/apis" + catalog "kubedb.dev/apimachinery/apis/catalog/v1alpha1" + "kubedb.dev/apimachinery/apis/kubedb" + "kubedb.dev/apimachinery/crds" + + "gomodules.xyz/pointer" + core "k8s.io/api/core/v1" + meta "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/labels" + "k8s.io/apimachinery/pkg/types" + "k8s.io/klog/v2" + "kmodules.xyz/client-go/apiextensions" + coreutil "kmodules.xyz/client-go/core/v1" + metautil "kmodules.xyz/client-go/meta" + "kmodules.xyz/client-go/policy/secomp" + appcat "kmodules.xyz/custom-resources/apis/appcatalog/v1alpha1" + ofst "kmodules.xyz/offshoot-api/api/v2" + pslister "kubeops.dev/petset/client/listers/apps/v1" +) + +type MSSQLServerApp struct { + *MSSQLServer +} + +func (m *MSSQLServer) CustomResourceDefinition() *apiextensions.CustomResourceDefinition { + return crds.MustCustomResourceDefinition(SchemeGroupVersion.WithResource(ResourcePluralMSSQLServer)) +} + +func (m MSSQLServerApp) Name() string { + return m.MSSQLServer.Name +} + +func (m MSSQLServerApp) Type() appcat.AppType { + return appcat.AppType(fmt.Sprintf("%s/%s", kubedb.GroupName, ResourceSingularMSSQLServer)) +} + +func (m *MSSQLServer) ResourceKind() string { + return ResourceKindMSSQLServer +} + +func (m *MSSQLServer) ResourcePlural() string { + return ResourcePluralMSSQLServer +} + +func (m *MSSQLServer) ResourceFQN() string { + return fmt.Sprintf("%s.%s", m.ResourcePlural(), kubedb.GroupName) +} + +// Owner returns owner reference to resources +func (m *MSSQLServer) Owner() *meta.OwnerReference { + return meta.NewControllerRef(m, SchemeGroupVersion.WithKind(m.ResourceKind())) +} + +func (m *MSSQLServer) OffshootName() string { + return m.Name +} + +func (m *MSSQLServer) ServiceName() string { + return m.OffshootName() +} + +func (m *MSSQLServer) SecondaryServiceName() string { + return metautil.NameWithPrefix(m.ServiceName(), "secondary") +} + +func (m *MSSQLServer) GoverningServiceName() string { + return metautil.NameWithSuffix(m.ServiceName(), "pods") +} + +func (m *MSSQLServer) DefaultUserCredSecretName(username string) string { + return metautil.NameWithSuffix(m.Name, strings.ReplaceAll(fmt.Sprintf("%s-cred", username), "_", "-")) +} + +func (m *MSSQLServer) offshootLabels(selector, override map[string]string) map[string]string { + selector[metautil.ComponentLabelKey] = ComponentDatabase + return metautil.FilterKeys(kubedb.GroupName, selector, metautil.OverwriteKeys(nil, m.Labels, override)) +} + +func (m *MSSQLServer) ServiceLabels(alias ServiceAlias, extraLabels ...map[string]string) map[string]string { + svcTemplate := GetServiceTemplate(m.Spec.ServiceTemplates, alias) + return m.offshootLabels(metautil.OverwriteKeys(m.OffshootSelectors(), extraLabels...), svcTemplate.Labels) +} + +func (m *MSSQLServer) OffshootLabels() map[string]string { + return m.offshootLabels(m.OffshootSelectors(), nil) +} + +func (m *MSSQLServer) OffshootSelectors(extraSelectors ...map[string]string) map[string]string { + selector := map[string]string{ + metautil.NameLabelKey: m.ResourceFQN(), + metautil.InstanceLabelKey: m.Name, + metautil.ManagedByLabelKey: kubedb.GroupName, + } + return metautil.OverwriteKeys(selector, extraSelectors...) +} + +func (m *MSSQLServer) IsAvailabilityGroup() bool { + return m.Spec.Topology != nil && + m.Spec.Topology.Mode != nil && + *m.Spec.Topology.Mode == MSSQLServerModeAvailabilityGroup +} + +func (m *MSSQLServer) IsStandalone() bool { + return m.Spec.Topology == nil +} + +func (m *MSSQLServer) PVCName(alias string) string { + return metautil.NameWithSuffix(m.Name, alias) +} + +func (m *MSSQLServer) PodLabels(extraLabels ...map[string]string) map[string]string { + return m.offshootLabels(metautil.OverwriteKeys(m.OffshootSelectors(), extraLabels...), m.Spec.PodTemplate.Labels) +} + +func (m *MSSQLServer) PodLabel(podTemplate *ofst.PodTemplateSpec) map[string]string { + if podTemplate != nil && podTemplate.Labels != nil { + return m.offshootLabels(m.OffshootSelectors(), m.Spec.PodTemplate.Labels) + } + return m.offshootLabels(m.OffshootSelectors(), nil) +} + +func (m *MSSQLServer) ConfigSecretName() string { + return metautil.NameWithSuffix(m.OffshootName(), "config") +} + +func (m *MSSQLServer) PetSetName() string { + return m.OffshootName() +} + +func (m *MSSQLServer) ServiceAccountName() string { + return m.OffshootName() +} + +func (m *MSSQLServer) AvailabilityGroupName() string { + // Get the database name + dbName := m.Name + + // Regular expression pattern to match allowed characters (alphanumeric only) + allowedPattern := regexp.MustCompile(`[a-zA-Z0-9]+`) + + // Extract valid characters from the database name + validChars := allowedPattern.FindAllString(dbName, -1) + + // Ensure that the availability group name is not empty + var availabilityGroupName string + if len(validChars) == 0 { + klog.Warningf("Database name '%s' contains no valid characters for the availability group name. Setting availability group name to 'DefaultGroupName'.", dbName) + availabilityGroupName = "DefaultGroupName" // Provide a default name if the database name contains no valid characters + } else { + // Concatenate the valid characters to form the availability group name + availabilityGroupName = "" + for _, char := range validChars { + availabilityGroupName += char + } + } + + return availabilityGroupName +} + +func (m *MSSQLServer) PodControllerLabels(extraLabels ...map[string]string) map[string]string { + return m.offshootLabels(metautil.OverwriteKeys(m.OffshootSelectors(), extraLabels...), m.Spec.PodTemplate.Controller.Labels) +} + +func (m *MSSQLServer) PodControllerLabel(podTemplate *ofst.PodTemplateSpec) map[string]string { + if podTemplate != nil && podTemplate.Controller.Labels != nil { + return m.offshootLabels(m.OffshootSelectors(), podTemplate.Controller.Labels) + } + return m.offshootLabels(m.OffshootSelectors(), nil) +} + +func (m *MSSQLServer) GetPersistentSecrets() []string { + var secrets []string + if m.Spec.AuthSecret != nil { + secrets = append(secrets, m.Spec.AuthSecret.Name) + } + + secrets = append(secrets, MSSQLEndpointCertsSecretName) + secrets = append(secrets, MSSQLDbmLoginSecretName) + secrets = append(secrets, MSSQLMasterKeySecretName) + + return secrets +} + +func (m *MSSQLServer) AppBindingMeta() appcat.AppBindingMeta { + return &MSSQLServerApp{m} +} + +func (m MSSQLServer) SetHealthCheckerDefaults() { + if m.Spec.HealthChecker.PeriodSeconds == nil { + m.Spec.HealthChecker.PeriodSeconds = pointer.Int32P(10) + } + if m.Spec.HealthChecker.TimeoutSeconds == nil { + m.Spec.HealthChecker.TimeoutSeconds = pointer.Int32P(10) + } + if m.Spec.HealthChecker.FailureThreshold == nil { + m.Spec.HealthChecker.FailureThreshold = pointer.Int32P(1) + } +} + +func (m MSSQLServer) GetAuthSecretName() string { + if m.Spec.AuthSecret != nil && m.Spec.AuthSecret.Name != "" { + return m.Spec.AuthSecret.Name + } + return metautil.NameWithSuffix(m.OffshootName(), "auth") +} + +func (m *MSSQLServer) GetNameSpacedName() string { + return m.Namespace + "/" + m.Name +} + +func (m *MSSQLServer) PrimaryServiceDNS() string { + return fmt.Sprintf("%s.%s.svc", m.ServiceName(), m.Namespace) +} + +func (m *MSSQLServer) SetDefaults() { + if m == nil { + return + } + if m.Spec.StorageType == "" { + m.Spec.StorageType = StorageTypeDurable + } + if m.Spec.TerminationPolicy == "" { + m.Spec.TerminationPolicy = TerminationPolicyDelete + } + + if m.IsStandalone() { + if m.Spec.Replicas == nil { + m.Spec.Replicas = pointer.Int32P(1) + } + } else { + if m.Spec.LeaderElection == nil { + m.Spec.LeaderElection = &MSSQLServerLeaderElectionConfig{ + // The upper limit of election timeout is 50000ms (50s), which should only be used when deploying a + // globally-distributed etcd cluster. A reasonable round-trip time for the continental United States is around 130-150ms, + // and the time between US and Japan is around 350-400ms. If the network has uneven performance or regular packet + // delays/loss then it is possible that a couple of retries may be necessary to successfully send a packet. + // So 5s is a safe upper limit of global round-trip time. As the election timeout should be an order of magnitude + // bigger than broadcast time, in the case of ~5s for a globally distributed cluster, then 50 seconds becomes + // a reasonable maximum. + Period: meta.Duration{Duration: 300 * time.Millisecond}, + // the amount of HeartbeatTick can be missed before the failOver + ElectionTick: 10, + // this value should be one. + HeartbeatTick: 1, + } + } + if m.Spec.LeaderElection.TransferLeadershipInterval == nil { + m.Spec.LeaderElection.TransferLeadershipInterval = &meta.Duration{Duration: 1 * time.Second} + } + if m.Spec.LeaderElection.TransferLeadershipTimeout == nil { + m.Spec.LeaderElection.TransferLeadershipTimeout = &meta.Duration{Duration: 60 * time.Second} + } + } + + if m.Spec.PodTemplate == nil { + m.Spec.PodTemplate = &ofst.PodTemplateSpec{} + } + + var mssqlVersion catalog.MSSQLServerVersion + err := DefaultClient.Get(context.TODO(), types.NamespacedName{ + Name: m.Spec.Version, + }, &mssqlVersion) + if err != nil { + klog.Errorf("can't get the MSSQLServer version object %s for %s \n", m.Spec.Version, err.Error()) + return + } + + m.setDefaultContainerSecurityContext(&mssqlVersion, m.Spec.PodTemplate) + + m.SetHealthCheckerDefaults() + + m.setDefaultContainerResourceLimits(m.Spec.PodTemplate) +} + +func (m *MSSQLServer) setDefaultContainerSecurityContext(mssqlVersion *catalog.MSSQLServerVersion, podTemplate *ofst.PodTemplateSpec) { + if podTemplate == nil { + return + } + if podTemplate.Spec.SecurityContext == nil { + podTemplate.Spec.SecurityContext = &core.PodSecurityContext{} + } + if podTemplate.Spec.SecurityContext.FSGroup == nil { + podTemplate.Spec.SecurityContext.FSGroup = mssqlVersion.Spec.SecurityContext.RunAsUser + } + + container := coreutil.GetContainerByName(podTemplate.Spec.Containers, MSSQLContainerName) + if container == nil { + container = &core.Container{ + Name: MSSQLContainerName, + } + } + if container.SecurityContext == nil { + container.SecurityContext = &core.SecurityContext{} + } + + m.assignDefaultContainerSecurityContext(mssqlVersion, container.SecurityContext, true) + + podTemplate.Spec.Containers = coreutil.UpsertContainer(podTemplate.Spec.Containers, *container) + + initContainer := coreutil.GetContainerByName(podTemplate.Spec.InitContainers, MSSQLInitContainerName) + if initContainer == nil { + initContainer = &core.Container{ + Name: MSSQLInitContainerName, + } + } + if initContainer.SecurityContext == nil { + initContainer.SecurityContext = &core.SecurityContext{} + } + m.assignDefaultContainerSecurityContext(mssqlVersion, initContainer.SecurityContext, false) + podTemplate.Spec.InitContainers = coreutil.UpsertContainer(podTemplate.Spec.InitContainers, *initContainer) + + if m.IsAvailabilityGroup() { + coordinatorContainer := coreutil.GetContainerByName(podTemplate.Spec.Containers, MSSQLCoordinatorContainerName) + if coordinatorContainer == nil { + coordinatorContainer = &core.Container{ + Name: MSSQLCoordinatorContainerName, + } + } + if coordinatorContainer.SecurityContext == nil { + coordinatorContainer.SecurityContext = &core.SecurityContext{} + } + m.assignDefaultContainerSecurityContext(mssqlVersion, coordinatorContainer.SecurityContext, false) + podTemplate.Spec.Containers = coreutil.UpsertContainer(podTemplate.Spec.Containers, *coordinatorContainer) + } +} + +func (m *MSSQLServer) assignDefaultContainerSecurityContext(mssqlVersion *catalog.MSSQLServerVersion, sc *core.SecurityContext, isMainContainer bool) { + if sc.AllowPrivilegeEscalation == nil { + sc.AllowPrivilegeEscalation = pointer.BoolP(false) + } + if sc.Capabilities == nil { + if isMainContainer { + sc.Capabilities = &core.Capabilities{ + Drop: []core.Capability{"ALL"}, + Add: []core.Capability{"NET_BIND_SERVICE"}, + } + } else { + sc.Capabilities = &core.Capabilities{ + Drop: []core.Capability{"ALL"}, + } + } + } + if sc.RunAsNonRoot == nil { + sc.RunAsNonRoot = pointer.BoolP(true) + } + if sc.RunAsUser == nil { + sc.RunAsUser = mssqlVersion.Spec.SecurityContext.RunAsUser + } + if sc.RunAsGroup == nil { + sc.RunAsGroup = mssqlVersion.Spec.SecurityContext.RunAsUser + } + if sc.SeccompProfile == nil { + sc.SeccompProfile = secomp.DefaultSeccompProfile() + } +} + +func (m *MSSQLServer) setDefaultContainerResourceLimits(podTemplate *ofst.PodTemplateSpec) { + dbContainer := coreutil.GetContainerByName(podTemplate.Spec.Containers, MSSQLContainerName) + if dbContainer != nil && (dbContainer.Resources.Requests == nil && dbContainer.Resources.Limits == nil) { + apis.SetDefaultResourceLimits(&dbContainer.Resources, DefaultResourcesMemoryIntensive) + } + + initContainer := coreutil.GetContainerByName(podTemplate.Spec.InitContainers, MSSQLInitContainerName) + if initContainer != nil && (initContainer.Resources.Requests == nil && initContainer.Resources.Limits == nil) { + apis.SetDefaultResourceLimits(&initContainer.Resources, DefaultInitContainerResource) + } + + if m.IsAvailabilityGroup() { + coordinatorContainer := coreutil.GetContainerByName(podTemplate.Spec.Containers, MSSQLCoordinatorContainerName) + if coordinatorContainer != nil && (coordinatorContainer.Resources.Requests == nil && coordinatorContainer.Resources.Limits == nil) { + apis.SetDefaultResourceLimits(&coordinatorContainer.Resources, CoordinatorDefaultResources) + } + } +} + +func (m *MSSQLServer) ReplicasAreReady(lister pslister.PetSetLister) (bool, string, error) { + // Desire number of petSets + expectedItems := 1 + return checkReplicasOfPetSet(lister.PetSets(m.Namespace), labels.SelectorFromSet(m.OffshootLabels()), expectedItems) +} diff --git a/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/mssql_types.go b/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/mssql_types.go new file mode 100644 index 0000000000..702e08c5db --- /dev/null +++ b/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/mssql_types.go @@ -0,0 +1,210 @@ +/* +Copyright 2023. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package v1alpha2 + +import ( + core "k8s.io/api/core/v1" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + kmapi "kmodules.xyz/client-go/api/v1" + ofst "kmodules.xyz/offshoot-api/api/v2" +) + +const ( + ResourceCodeMSSQLServer = "ms" + ResourceKindMSSQLServer = "MSSQLServer" + ResourceSingularMSSQLServer = "mssqlserver" + ResourcePluralMSSQLServer = "mssqlservers" +) + +// +kubebuilder:validation:Enum=AvailabilityGroup;RemoteReplica +type MSSQLServerMode string + +const ( + MSSQLServerModeAvailabilityGroup MSSQLServerMode = "AvailabilityGroup" + MSSQLServerModeRemoteReplica MSSQLServerMode = "RemoteReplica" +) + +// MSSQLServer defines a MSSQLServer database. + +// +genclient +// +k8s:openapi-gen=true +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object + +// +kubebuilder:object:root=true +// +kubebuilder:resource:path=mssqlservers,singular=mssqlserver,shortName=ms,categories={datastore,kubedb,appscode,all} +// +kubebuilder:subresource:status +// +kubebuilder:printcolumn:name="Version",type="string",JSONPath=".spec.version" +// +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase" +// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp" +type MSSQLServer struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + + Spec MSSQLServerSpec `json:"spec,omitempty"` + Status MSSQLServerStatus `json:"status,omitempty"` +} + +// MSSQLServerSpec defines the desired state of MSSQLServer +type MSSQLServerSpec struct { + // Version of MSSQLServer to be deployed. + Version string `json:"version"` + + // Number of instances to deploy for a MSSQLServer database. In case of MSSQLServer Availability Group. + Replicas *int32 `json:"replicas,omitempty"` + + // MSSQLServer cluster topology + // +optional + Topology *MSSQLServerTopology `json:"topology,omitempty"` + + // StorageType can be durable (default) or ephemeral + StorageType StorageType `json:"storageType,omitempty"` + + // Storage spec to specify how storage shall be used. + Storage *core.PersistentVolumeClaimSpec `json:"storage,omitempty"` + + // Database authentication secret + // +optional + AuthSecret *SecretReference `json:"authSecret,omitempty"` + + // InternalAuth is used to authenticate endpoint + // +optional + // +nullable + InternalAuth *InternalAuthentication `json:"internalAuth,omitempty"` + + // Init is used to initialize database + // +optional + Init *InitSpec `json:"init,omitempty"` + + // PodTemplate is an optional configuration for pods used to expose database + // +optional + PodTemplate *ofst.PodTemplateSpec `json:"podTemplate,omitempty"` + + // ServiceTemplates is an optional configuration for services used to expose database + // +optional + ServiceTemplates []NamedServiceTemplateSpec `json:"serviceTemplates,omitempty"` + + // Indicates that the database is halted and all offshoot Kubernetes resources except PVCs are deleted. + // +optional + Halted bool `json:"halted,omitempty"` + + // TerminationPolicy controls the delete operation for database + // +optional + TerminationPolicy TerminationPolicy `json:"terminationPolicy,omitempty"` + + // Coordinator defines attributes of the coordinator container + // +optional + Coordinator CoordinatorSpec `json:"coordinator,omitempty"` + + // Leader election configuration + // +optional + LeaderElection *MSSQLServerLeaderElectionConfig `json:"leaderElection,omitempty"` + + // HealthChecker defines attributes of the health checker + // +optional + // +kubebuilder:default={periodSeconds: 10, timeoutSeconds: 10, failureThreshold: 1} + HealthChecker kmapi.HealthCheckSpec `json:"healthChecker"` + + // PodPlacementPolicy is the reference of the podPlacementPolicy + // +kubebuilder:default={name: "default"} + // +optional + PodPlacementPolicy *core.LocalObjectReference `json:"podPlacementPolicy,omitempty"` +} + +// InternalAuthentication provides different way of endpoint authentication +type InternalAuthentication struct { + // EndpointCert is used for endpoint authentication of MSSql Server + EndpointCert *kmapi.TLSConfig `json:"endpointCert"` +} + +type MSSQLServerTopology struct { + // If set to - + // "AvailabilityGroup", MSSQLAvailabilityGroupSpec is required and MSSQLServer servers will start an Availability Group + Mode *MSSQLServerMode `json:"mode,omitempty"` + + // AvailabilityGroup info for MSSQLServer + // +optional + AvailabilityGroup *MSSQLServerAvailabilityGroupSpec `json:"availabilityGroup,omitempty"` +} + +// MSSQLServerAvailabilityGroupSpec defines the availability group spec for MSSQLServer +type MSSQLServerAvailabilityGroupSpec struct { + // AvailabilityDatabases is an array of databases to be included in the availability group + // +optional + Databases []string `json:"databases"` +} + +// MSSQLServerStatus defines the observed state of MSSQLServer +type MSSQLServerStatus struct { + // Specifies the current phase of the database + // +optional + Phase DatabasePhase `json:"phase,omitempty"` + // observedGeneration is the most recent generation observed for this resource. It corresponds to the + // resource's generation, which is updated on mutation by the API Server. + // +optional + ObservedGeneration int64 `json:"observedGeneration,omitempty"` + // Conditions applied to the database, such as approval or denial. + // +optional + Conditions []kmapi.Condition `json:"conditions,omitempty"` +} + +// MSSQLServerLeaderElectionConfig contains essential attributes of leader election. +type MSSQLServerLeaderElectionConfig struct { + // Period between Node.Tick invocations + // +kubebuilder:default="100ms" + // +optional + Period metav1.Duration `json:"period,omitempty"` + + // ElectionTick is the number of Node.Tick invocations that must pass between + // elections. That is, if a follower does not receive any message from the + // leader of current term before ElectionTick has elapsed, it will become + // candidate and start an election. ElectionTick must be greater than + // HeartbeatTick. We suggest ElectionTick = 10 * HeartbeatTick to avoid + // unnecessary leader switching. default value is 10. + // +default=10 + // +kubebuilder:default=10 + // +optional + ElectionTick int32 `json:"electionTick,omitempty"` + + // HeartbeatTick is the number of Node.Tick invocations that must pass between + // heartbeats. That is, a leader sends heartbeat messages to maintain its + // leadership every HeartbeatTick ticks. default value is 1. + // +default=1 + // +kubebuilder:default=1 + // +optional + HeartbeatTick int32 `json:"heartbeatTick,omitempty"` + + // TransferLeadershipInterval retry interval for transfer leadership + // to the healthiest node + // +kubebuilder:default="1s" + // +optional + TransferLeadershipInterval *metav1.Duration `json:"transferLeadershipInterval,omitempty"` + + // TransferLeadershipTimeout retry timeout for transfer leadership + // to the healthiest node + // +kubebuilder:default="60s" + // +optional + TransferLeadershipTimeout *metav1.Duration `json:"transferLeadershipTimeout,omitempty"` +} + +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object + +// MSSQLServerList contains a list of MSSQLServer +type MSSQLServerList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []MSSQLServer `json:"items"` +} diff --git a/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/mssql_webhook.go b/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/mssql_webhook.go new file mode 100644 index 0000000000..79a433b778 --- /dev/null +++ b/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/mssql_webhook.go @@ -0,0 +1,262 @@ +/* +Copyright 2023. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package v1alpha2 + +import ( + "context" + "errors" + + catalog "kubedb.dev/apimachinery/apis/catalog/v1alpha1" + "kubedb.dev/apimachinery/apis/kubedb" + + apierrors "k8s.io/apimachinery/pkg/api/errors" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" + "k8s.io/apimachinery/pkg/types" + "k8s.io/apimachinery/pkg/util/validation/field" + "k8s.io/utils/ptr" + ofst "kmodules.xyz/offshoot-api/api/v2" + ctrl "sigs.k8s.io/controller-runtime" + logf "sigs.k8s.io/controller-runtime/pkg/log" + "sigs.k8s.io/controller-runtime/pkg/webhook" + "sigs.k8s.io/controller-runtime/pkg/webhook/admission" +) + +// log is for logging in this package. +var mssqllog = logf.Log.WithName("mssql-resource") + +// SetupWebhookWithManager will setup the manager to manage the webhooks +func (r *MSSQLServer) SetupWebhookWithManager(mgr ctrl.Manager) error { + return ctrl.NewWebhookManagedBy(mgr). + For(r). + Complete() +} + +//+kubebuilder:webhook:path=/mutate-kubedb-com-v1alpha2-mssqlserver,mutating=true,failurePolicy=fail,sideEffects=None,groups=kubedb.com,resources=mssqlservers,verbs=create;update,versions=v1alpha2,name=mmssqlserver.kb.io,admissionReviewVersions=v1 + +var _ webhook.Defaulter = &MSSQLServer{} + +// Default implements webhook.Defaulter so a webhook will be registered for the type +func (m *MSSQLServer) Default() { + if m == nil { + return + } + mssqllog.Info("default", "name", m.Name) + + m.SetDefaults() +} + +//+kubebuilder:webhook:path=/validate-kubedb-com-v1alpha2-mssqlserver,mutating=false,failurePolicy=fail,sideEffects=None,groups=kubedb.com,resources=mssqlservers,verbs=create;update,versions=v1alpha2,name=vmssqlserver.kb.io,admissionReviewVersions=v1 + +var _ webhook.Validator = &MSSQLServer{} + +// ValidateCreate implements webhook.Validator so a webhook will be registered for the type +func (m *MSSQLServer) ValidateCreate() (admission.Warnings, error) { + mssqllog.Info("validate create", "name", m.Name) + + allErr := m.ValidateCreateOrUpdate() + if len(allErr) == 0 { + return nil, nil + } + return nil, apierrors.NewInvalid(schema.GroupKind{Group: kubedb.GroupName, Kind: ResourceKindMSSQLServer}, m.Name, allErr) +} + +// ValidateUpdate implements webhook.Validator so a webhook will be registered for the type +func (m *MSSQLServer) ValidateUpdate(old runtime.Object) (admission.Warnings, error) { + mssqllog.Info("validate update", "name", m.Name) + + allErr := m.ValidateCreateOrUpdate() + if len(allErr) == 0 { + return nil, nil + } + + return nil, apierrors.NewInvalid(schema.GroupKind{Group: kubedb.GroupName, Kind: ResourceKindMSSQLServer}, m.Name, allErr) +} + +// ValidateDelete implements webhook.Validator so a webhook will be registered for the type +func (m *MSSQLServer) ValidateDelete() (admission.Warnings, error) { + mssqllog.Info("validate delete", "name", m.Name) + + var allErr field.ErrorList + if m.Spec.TerminationPolicy == TerminationPolicyDoNotTerminate { + allErr = append(allErr, field.Invalid(field.NewPath("spec").Child("terminationPolicy"), + m.Name, + "Can not delete as terminationPolicy is set to \"DoNotTerminate\"")) + return nil, apierrors.NewInvalid(schema.GroupKind{Group: kubedb.GroupName, Kind: ResourceKindMSSQLServer}, m.Name, allErr) + } + return nil, nil +} + +func (m *MSSQLServer) ValidateCreateOrUpdate() field.ErrorList { + var allErr field.ErrorList + + err := mssqlValidateVersion(m) + if err != nil { + allErr = append(allErr, field.Invalid(field.NewPath("spec").Child("version"), + m.Name, + err.Error())) + } + + if m.IsStandalone() { + if ptr.Deref(m.Spec.Replicas, 0) != 1 { + allErr = append(allErr, field.Invalid(field.NewPath("spec").Child("replicas"), + m.Name, + "number of replicas for standalone must be one ")) + } + } else { + if m.Spec.Topology.Mode == nil { + allErr = append(allErr, field.Invalid(field.NewPath("spec").Child("topology").Child("mode"), + m.Name, + ".spec.topology.mode can't be empty in cluster mode")) + } + + if ptr.Deref(m.Spec.Replicas, 0) <= 0 { + allErr = append(allErr, field.Invalid(field.NewPath("spec").Child("replicas"), + m.Name, + "number of replicas can not be nil and can not be less than or equal to 0")) + } + + if m.Spec.InternalAuth == nil { + allErr = append(allErr, field.Invalid(field.NewPath("spec").Child("internalAuth"), + m.Name, "spec.internalAuth, spec.internalAuth.endpointCert, spec.internalAuth.endpointCert.issuerRef' is missing")) + } else if m.Spec.InternalAuth.EndpointCert == nil { + allErr = append(allErr, field.Invalid(field.NewPath("spec").Child("internalAuth").Child("endpointCert"), + m.Name, "spec.internalAuth.endpointCert, spec.internalAuth.endpointCert.issuerRef' is missing")) + } else if m.Spec.InternalAuth.EndpointCert != nil { + if m.Spec.InternalAuth.EndpointCert.IssuerRef == nil { + allErr = append(allErr, field.Invalid(field.NewPath("spec").Child("internalAuth").Child("endpointCert").Child("issuerRef"), + m.Name, "spec.internalAuth.endpointCert.issuerRef' is missing")) + } + if len(m.Spec.InternalAuth.EndpointCert.Certificates) > 1 { + allErr = append(allErr, field.Invalid(field.NewPath("spec").Child("internalAuth").Child("endpointCert").Child("certificates"), + m.Name, "spec.internalAuth.endpointCert.certificates' can have only one certificate")) + } + } + } + + err = mssqlValidateVolumes(m.Spec.PodTemplate) + if err != nil { + allErr = append(allErr, field.Invalid(field.NewPath("spec").Child("podTemplate").Child("spec").Child("volumes"), + m.Name, + err.Error())) + } + + err = mssqlValidateVolumesMountPaths(m.Spec.PodTemplate) + if err != nil { + allErr = append(allErr, field.Invalid(field.NewPath("spec").Child("podTemplate").Child("spec").Child("containers"), + m.Name, + err.Error())) + } + + if m.Spec.StorageType == "" { + allErr = append(allErr, field.Invalid(field.NewPath("spec").Child("storageType"), + m.Name, + "StorageType can not be empty")) + } else { + if m.Spec.StorageType != StorageTypeDurable && m.Spec.StorageType != StorageTypeEphemeral { + allErr = append(allErr, field.Invalid(field.NewPath("spec").Child("storageType"), + m.Name, + "StorageType should be either durable or ephemeral")) + } + } + + if len(allErr) == 0 { + return nil + } + + return allErr +} + +// reserved volume and volumes mounts for mssql +var mssqlReservedVolumes = []string{ + MSSQLVolumeNameData, + MSSQLVolumeNameInitScript, + MSSQLVolumeNameEndpointCert, + MSSQLVolumeNameCerts, +} + +var mssqlReservedVolumesMountPaths = []string{ + MSSQLVolumeMountPathData, + MSSQLVolumeMountPathInitScript, + MSSQLVolumeMountPathEndpointCert, + MSSQLVolumeMountPathCerts, +} + +func mssqlValidateVersion(m *MSSQLServer) error { + var mssqlVersion catalog.MSSQLServerVersion + + return DefaultClient.Get(context.TODO(), types.NamespacedName{ + Name: m.Spec.Version, + }, &mssqlVersion) +} + +func mssqlValidateVolumes(podTemplate *ofst.PodTemplateSpec) error { + if podTemplate == nil { + return nil + } + if podTemplate.Spec.Volumes == nil { + return nil + } + + for _, rv := range mssqlReservedVolumes { + for _, ugv := range podTemplate.Spec.Volumes { + if ugv.Name == rv { + return errors.New("Can't use a reserved volume name: " + rv) + } + } + } + + return nil +} + +func mssqlValidateVolumesMountPaths(podTemplate *ofst.PodTemplateSpec) error { + if podTemplate == nil { + return nil + } + + if podTemplate.Spec.Containers != nil { + // Check container volume mounts + for _, rvmp := range mssqlReservedVolumesMountPaths { + containerList := podTemplate.Spec.Containers + for i := range containerList { + mountPathList := containerList[i].VolumeMounts + for j := range mountPathList { + if mountPathList[j].MountPath == rvmp { + return errors.New("Can't use a reserve volume mount path name: " + rvmp) + } + } + } + } + } + + if podTemplate.Spec.InitContainers != nil { + // Check init container volume mounts + for _, rvmp := range mssqlReservedVolumesMountPaths { + containerList := podTemplate.Spec.InitContainers + for i := range containerList { + mountPathList := containerList[i].VolumeMounts + for j := range mountPathList { + if mountPathList[j].MountPath == rvmp { + return errors.New("Can't use a reserve volume mount path name: " + rvmp) + } + } + } + } + } + + return nil +} diff --git a/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/openapi_generated.go b/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/openapi_generated.go index ea07f8eb65..5fb3abe6a4 100644 --- a/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/openapi_generated.go +++ b/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/openapi_generated.go @@ -34,610 +34,621 @@ import ( func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition { return map[string]common.OpenAPIDefinition{ - "k8s.io/api/apps/v1.ControllerRevision": schema_k8sio_api_apps_v1_ControllerRevision(ref), - "k8s.io/api/apps/v1.ControllerRevisionList": schema_k8sio_api_apps_v1_ControllerRevisionList(ref), - "k8s.io/api/apps/v1.DaemonSet": schema_k8sio_api_apps_v1_DaemonSet(ref), - "k8s.io/api/apps/v1.DaemonSetCondition": schema_k8sio_api_apps_v1_DaemonSetCondition(ref), - "k8s.io/api/apps/v1.DaemonSetList": schema_k8sio_api_apps_v1_DaemonSetList(ref), - "k8s.io/api/apps/v1.DaemonSetSpec": schema_k8sio_api_apps_v1_DaemonSetSpec(ref), - "k8s.io/api/apps/v1.DaemonSetStatus": schema_k8sio_api_apps_v1_DaemonSetStatus(ref), - "k8s.io/api/apps/v1.DaemonSetUpdateStrategy": schema_k8sio_api_apps_v1_DaemonSetUpdateStrategy(ref), - "k8s.io/api/apps/v1.Deployment": schema_k8sio_api_apps_v1_Deployment(ref), - "k8s.io/api/apps/v1.DeploymentCondition": schema_k8sio_api_apps_v1_DeploymentCondition(ref), - "k8s.io/api/apps/v1.DeploymentList": schema_k8sio_api_apps_v1_DeploymentList(ref), - "k8s.io/api/apps/v1.DeploymentSpec": schema_k8sio_api_apps_v1_DeploymentSpec(ref), - "k8s.io/api/apps/v1.DeploymentStatus": schema_k8sio_api_apps_v1_DeploymentStatus(ref), - "k8s.io/api/apps/v1.DeploymentStrategy": schema_k8sio_api_apps_v1_DeploymentStrategy(ref), - "k8s.io/api/apps/v1.ReplicaSet": schema_k8sio_api_apps_v1_ReplicaSet(ref), - "k8s.io/api/apps/v1.ReplicaSetCondition": schema_k8sio_api_apps_v1_ReplicaSetCondition(ref), - "k8s.io/api/apps/v1.ReplicaSetList": schema_k8sio_api_apps_v1_ReplicaSetList(ref), - "k8s.io/api/apps/v1.ReplicaSetSpec": schema_k8sio_api_apps_v1_ReplicaSetSpec(ref), - "k8s.io/api/apps/v1.ReplicaSetStatus": schema_k8sio_api_apps_v1_ReplicaSetStatus(ref), - "k8s.io/api/apps/v1.RollingUpdateDaemonSet": schema_k8sio_api_apps_v1_RollingUpdateDaemonSet(ref), - "k8s.io/api/apps/v1.RollingUpdateDeployment": schema_k8sio_api_apps_v1_RollingUpdateDeployment(ref), - "k8s.io/api/apps/v1.RollingUpdateStatefulSetStrategy": schema_k8sio_api_apps_v1_RollingUpdateStatefulSetStrategy(ref), - "k8s.io/api/apps/v1.StatefulSet": schema_k8sio_api_apps_v1_StatefulSet(ref), - "k8s.io/api/apps/v1.StatefulSetCondition": schema_k8sio_api_apps_v1_StatefulSetCondition(ref), - "k8s.io/api/apps/v1.StatefulSetList": schema_k8sio_api_apps_v1_StatefulSetList(ref), - "k8s.io/api/apps/v1.StatefulSetOrdinals": schema_k8sio_api_apps_v1_StatefulSetOrdinals(ref), - "k8s.io/api/apps/v1.StatefulSetPersistentVolumeClaimRetentionPolicy": schema_k8sio_api_apps_v1_StatefulSetPersistentVolumeClaimRetentionPolicy(ref), - "k8s.io/api/apps/v1.StatefulSetSpec": schema_k8sio_api_apps_v1_StatefulSetSpec(ref), - "k8s.io/api/apps/v1.StatefulSetStatus": schema_k8sio_api_apps_v1_StatefulSetStatus(ref), - "k8s.io/api/apps/v1.StatefulSetUpdateStrategy": schema_k8sio_api_apps_v1_StatefulSetUpdateStrategy(ref), - "k8s.io/api/autoscaling/v2beta2.ContainerResourceMetricSource": schema_k8sio_api_autoscaling_v2beta2_ContainerResourceMetricSource(ref), - "k8s.io/api/autoscaling/v2beta2.ContainerResourceMetricStatus": schema_k8sio_api_autoscaling_v2beta2_ContainerResourceMetricStatus(ref), - "k8s.io/api/autoscaling/v2beta2.CrossVersionObjectReference": schema_k8sio_api_autoscaling_v2beta2_CrossVersionObjectReference(ref), - "k8s.io/api/autoscaling/v2beta2.ExternalMetricSource": schema_k8sio_api_autoscaling_v2beta2_ExternalMetricSource(ref), - "k8s.io/api/autoscaling/v2beta2.ExternalMetricStatus": schema_k8sio_api_autoscaling_v2beta2_ExternalMetricStatus(ref), - "k8s.io/api/autoscaling/v2beta2.HPAScalingPolicy": schema_k8sio_api_autoscaling_v2beta2_HPAScalingPolicy(ref), - "k8s.io/api/autoscaling/v2beta2.HPAScalingRules": schema_k8sio_api_autoscaling_v2beta2_HPAScalingRules(ref), - "k8s.io/api/autoscaling/v2beta2.HorizontalPodAutoscaler": schema_k8sio_api_autoscaling_v2beta2_HorizontalPodAutoscaler(ref), - "k8s.io/api/autoscaling/v2beta2.HorizontalPodAutoscalerBehavior": schema_k8sio_api_autoscaling_v2beta2_HorizontalPodAutoscalerBehavior(ref), - "k8s.io/api/autoscaling/v2beta2.HorizontalPodAutoscalerCondition": schema_k8sio_api_autoscaling_v2beta2_HorizontalPodAutoscalerCondition(ref), - "k8s.io/api/autoscaling/v2beta2.HorizontalPodAutoscalerList": schema_k8sio_api_autoscaling_v2beta2_HorizontalPodAutoscalerList(ref), - "k8s.io/api/autoscaling/v2beta2.HorizontalPodAutoscalerSpec": schema_k8sio_api_autoscaling_v2beta2_HorizontalPodAutoscalerSpec(ref), - "k8s.io/api/autoscaling/v2beta2.HorizontalPodAutoscalerStatus": schema_k8sio_api_autoscaling_v2beta2_HorizontalPodAutoscalerStatus(ref), - "k8s.io/api/autoscaling/v2beta2.MetricIdentifier": schema_k8sio_api_autoscaling_v2beta2_MetricIdentifier(ref), - "k8s.io/api/autoscaling/v2beta2.MetricSpec": schema_k8sio_api_autoscaling_v2beta2_MetricSpec(ref), - "k8s.io/api/autoscaling/v2beta2.MetricStatus": schema_k8sio_api_autoscaling_v2beta2_MetricStatus(ref), - "k8s.io/api/autoscaling/v2beta2.MetricTarget": schema_k8sio_api_autoscaling_v2beta2_MetricTarget(ref), - "k8s.io/api/autoscaling/v2beta2.MetricValueStatus": schema_k8sio_api_autoscaling_v2beta2_MetricValueStatus(ref), - "k8s.io/api/autoscaling/v2beta2.ObjectMetricSource": schema_k8sio_api_autoscaling_v2beta2_ObjectMetricSource(ref), - "k8s.io/api/autoscaling/v2beta2.ObjectMetricStatus": schema_k8sio_api_autoscaling_v2beta2_ObjectMetricStatus(ref), - "k8s.io/api/autoscaling/v2beta2.PodsMetricSource": schema_k8sio_api_autoscaling_v2beta2_PodsMetricSource(ref), - "k8s.io/api/autoscaling/v2beta2.PodsMetricStatus": schema_k8sio_api_autoscaling_v2beta2_PodsMetricStatus(ref), - "k8s.io/api/autoscaling/v2beta2.ResourceMetricSource": schema_k8sio_api_autoscaling_v2beta2_ResourceMetricSource(ref), - "k8s.io/api/autoscaling/v2beta2.ResourceMetricStatus": schema_k8sio_api_autoscaling_v2beta2_ResourceMetricStatus(ref), - "k8s.io/api/core/v1.AWSElasticBlockStoreVolumeSource": schema_k8sio_api_core_v1_AWSElasticBlockStoreVolumeSource(ref), - "k8s.io/api/core/v1.Affinity": schema_k8sio_api_core_v1_Affinity(ref), - "k8s.io/api/core/v1.AttachedVolume": schema_k8sio_api_core_v1_AttachedVolume(ref), - "k8s.io/api/core/v1.AvoidPods": schema_k8sio_api_core_v1_AvoidPods(ref), - "k8s.io/api/core/v1.AzureDiskVolumeSource": schema_k8sio_api_core_v1_AzureDiskVolumeSource(ref), - "k8s.io/api/core/v1.AzureFilePersistentVolumeSource": schema_k8sio_api_core_v1_AzureFilePersistentVolumeSource(ref), - "k8s.io/api/core/v1.AzureFileVolumeSource": schema_k8sio_api_core_v1_AzureFileVolumeSource(ref), - "k8s.io/api/core/v1.Binding": schema_k8sio_api_core_v1_Binding(ref), - "k8s.io/api/core/v1.CSIPersistentVolumeSource": schema_k8sio_api_core_v1_CSIPersistentVolumeSource(ref), - "k8s.io/api/core/v1.CSIVolumeSource": schema_k8sio_api_core_v1_CSIVolumeSource(ref), - "k8s.io/api/core/v1.Capabilities": schema_k8sio_api_core_v1_Capabilities(ref), - "k8s.io/api/core/v1.CephFSPersistentVolumeSource": schema_k8sio_api_core_v1_CephFSPersistentVolumeSource(ref), - "k8s.io/api/core/v1.CephFSVolumeSource": schema_k8sio_api_core_v1_CephFSVolumeSource(ref), - "k8s.io/api/core/v1.CinderPersistentVolumeSource": schema_k8sio_api_core_v1_CinderPersistentVolumeSource(ref), - "k8s.io/api/core/v1.CinderVolumeSource": schema_k8sio_api_core_v1_CinderVolumeSource(ref), - "k8s.io/api/core/v1.ClaimSource": schema_k8sio_api_core_v1_ClaimSource(ref), - "k8s.io/api/core/v1.ClientIPConfig": schema_k8sio_api_core_v1_ClientIPConfig(ref), - "k8s.io/api/core/v1.ClusterTrustBundleProjection": schema_k8sio_api_core_v1_ClusterTrustBundleProjection(ref), - "k8s.io/api/core/v1.ComponentCondition": schema_k8sio_api_core_v1_ComponentCondition(ref), - "k8s.io/api/core/v1.ComponentStatus": schema_k8sio_api_core_v1_ComponentStatus(ref), - "k8s.io/api/core/v1.ComponentStatusList": schema_k8sio_api_core_v1_ComponentStatusList(ref), - "k8s.io/api/core/v1.ConfigMap": schema_k8sio_api_core_v1_ConfigMap(ref), - "k8s.io/api/core/v1.ConfigMapEnvSource": schema_k8sio_api_core_v1_ConfigMapEnvSource(ref), - "k8s.io/api/core/v1.ConfigMapKeySelector": schema_k8sio_api_core_v1_ConfigMapKeySelector(ref), - "k8s.io/api/core/v1.ConfigMapList": schema_k8sio_api_core_v1_ConfigMapList(ref), - "k8s.io/api/core/v1.ConfigMapNodeConfigSource": schema_k8sio_api_core_v1_ConfigMapNodeConfigSource(ref), - "k8s.io/api/core/v1.ConfigMapProjection": schema_k8sio_api_core_v1_ConfigMapProjection(ref), - "k8s.io/api/core/v1.ConfigMapVolumeSource": schema_k8sio_api_core_v1_ConfigMapVolumeSource(ref), - "k8s.io/api/core/v1.Container": schema_k8sio_api_core_v1_Container(ref), - "k8s.io/api/core/v1.ContainerImage": schema_k8sio_api_core_v1_ContainerImage(ref), - "k8s.io/api/core/v1.ContainerPort": schema_k8sio_api_core_v1_ContainerPort(ref), - "k8s.io/api/core/v1.ContainerResizePolicy": schema_k8sio_api_core_v1_ContainerResizePolicy(ref), - "k8s.io/api/core/v1.ContainerState": schema_k8sio_api_core_v1_ContainerState(ref), - "k8s.io/api/core/v1.ContainerStateRunning": schema_k8sio_api_core_v1_ContainerStateRunning(ref), - "k8s.io/api/core/v1.ContainerStateTerminated": schema_k8sio_api_core_v1_ContainerStateTerminated(ref), - "k8s.io/api/core/v1.ContainerStateWaiting": schema_k8sio_api_core_v1_ContainerStateWaiting(ref), - "k8s.io/api/core/v1.ContainerStatus": schema_k8sio_api_core_v1_ContainerStatus(ref), - "k8s.io/api/core/v1.DaemonEndpoint": schema_k8sio_api_core_v1_DaemonEndpoint(ref), - "k8s.io/api/core/v1.DownwardAPIProjection": schema_k8sio_api_core_v1_DownwardAPIProjection(ref), - "k8s.io/api/core/v1.DownwardAPIVolumeFile": schema_k8sio_api_core_v1_DownwardAPIVolumeFile(ref), - "k8s.io/api/core/v1.DownwardAPIVolumeSource": schema_k8sio_api_core_v1_DownwardAPIVolumeSource(ref), - "k8s.io/api/core/v1.EmptyDirVolumeSource": schema_k8sio_api_core_v1_EmptyDirVolumeSource(ref), - "k8s.io/api/core/v1.EndpointAddress": schema_k8sio_api_core_v1_EndpointAddress(ref), - "k8s.io/api/core/v1.EndpointPort": schema_k8sio_api_core_v1_EndpointPort(ref), - "k8s.io/api/core/v1.EndpointSubset": schema_k8sio_api_core_v1_EndpointSubset(ref), - "k8s.io/api/core/v1.Endpoints": schema_k8sio_api_core_v1_Endpoints(ref), - "k8s.io/api/core/v1.EndpointsList": schema_k8sio_api_core_v1_EndpointsList(ref), - "k8s.io/api/core/v1.EnvFromSource": schema_k8sio_api_core_v1_EnvFromSource(ref), - "k8s.io/api/core/v1.EnvVar": schema_k8sio_api_core_v1_EnvVar(ref), - "k8s.io/api/core/v1.EnvVarSource": schema_k8sio_api_core_v1_EnvVarSource(ref), - "k8s.io/api/core/v1.EphemeralContainer": schema_k8sio_api_core_v1_EphemeralContainer(ref), - "k8s.io/api/core/v1.EphemeralContainerCommon": schema_k8sio_api_core_v1_EphemeralContainerCommon(ref), - "k8s.io/api/core/v1.EphemeralVolumeSource": schema_k8sio_api_core_v1_EphemeralVolumeSource(ref), - "k8s.io/api/core/v1.Event": schema_k8sio_api_core_v1_Event(ref), - "k8s.io/api/core/v1.EventList": schema_k8sio_api_core_v1_EventList(ref), - "k8s.io/api/core/v1.EventSeries": schema_k8sio_api_core_v1_EventSeries(ref), - "k8s.io/api/core/v1.EventSource": schema_k8sio_api_core_v1_EventSource(ref), - "k8s.io/api/core/v1.ExecAction": schema_k8sio_api_core_v1_ExecAction(ref), - "k8s.io/api/core/v1.FCVolumeSource": schema_k8sio_api_core_v1_FCVolumeSource(ref), - "k8s.io/api/core/v1.FlexPersistentVolumeSource": schema_k8sio_api_core_v1_FlexPersistentVolumeSource(ref), - "k8s.io/api/core/v1.FlexVolumeSource": schema_k8sio_api_core_v1_FlexVolumeSource(ref), - "k8s.io/api/core/v1.FlockerVolumeSource": schema_k8sio_api_core_v1_FlockerVolumeSource(ref), - "k8s.io/api/core/v1.GCEPersistentDiskVolumeSource": schema_k8sio_api_core_v1_GCEPersistentDiskVolumeSource(ref), - "k8s.io/api/core/v1.GRPCAction": schema_k8sio_api_core_v1_GRPCAction(ref), - "k8s.io/api/core/v1.GitRepoVolumeSource": schema_k8sio_api_core_v1_GitRepoVolumeSource(ref), - "k8s.io/api/core/v1.GlusterfsPersistentVolumeSource": schema_k8sio_api_core_v1_GlusterfsPersistentVolumeSource(ref), - "k8s.io/api/core/v1.GlusterfsVolumeSource": schema_k8sio_api_core_v1_GlusterfsVolumeSource(ref), - "k8s.io/api/core/v1.HTTPGetAction": schema_k8sio_api_core_v1_HTTPGetAction(ref), - "k8s.io/api/core/v1.HTTPHeader": schema_k8sio_api_core_v1_HTTPHeader(ref), - "k8s.io/api/core/v1.HostAlias": schema_k8sio_api_core_v1_HostAlias(ref), - "k8s.io/api/core/v1.HostIP": schema_k8sio_api_core_v1_HostIP(ref), - "k8s.io/api/core/v1.HostPathVolumeSource": schema_k8sio_api_core_v1_HostPathVolumeSource(ref), - "k8s.io/api/core/v1.ISCSIPersistentVolumeSource": schema_k8sio_api_core_v1_ISCSIPersistentVolumeSource(ref), - "k8s.io/api/core/v1.ISCSIVolumeSource": schema_k8sio_api_core_v1_ISCSIVolumeSource(ref), - "k8s.io/api/core/v1.KeyToPath": schema_k8sio_api_core_v1_KeyToPath(ref), - "k8s.io/api/core/v1.Lifecycle": schema_k8sio_api_core_v1_Lifecycle(ref), - "k8s.io/api/core/v1.LifecycleHandler": schema_k8sio_api_core_v1_LifecycleHandler(ref), - "k8s.io/api/core/v1.LimitRange": schema_k8sio_api_core_v1_LimitRange(ref), - "k8s.io/api/core/v1.LimitRangeItem": schema_k8sio_api_core_v1_LimitRangeItem(ref), - "k8s.io/api/core/v1.LimitRangeList": schema_k8sio_api_core_v1_LimitRangeList(ref), - "k8s.io/api/core/v1.LimitRangeSpec": schema_k8sio_api_core_v1_LimitRangeSpec(ref), - "k8s.io/api/core/v1.List": schema_k8sio_api_core_v1_List(ref), - "k8s.io/api/core/v1.LoadBalancerIngress": schema_k8sio_api_core_v1_LoadBalancerIngress(ref), - "k8s.io/api/core/v1.LoadBalancerStatus": schema_k8sio_api_core_v1_LoadBalancerStatus(ref), - "k8s.io/api/core/v1.LocalObjectReference": schema_k8sio_api_core_v1_LocalObjectReference(ref), - "k8s.io/api/core/v1.LocalVolumeSource": schema_k8sio_api_core_v1_LocalVolumeSource(ref), - "k8s.io/api/core/v1.ModifyVolumeStatus": schema_k8sio_api_core_v1_ModifyVolumeStatus(ref), - "k8s.io/api/core/v1.NFSVolumeSource": schema_k8sio_api_core_v1_NFSVolumeSource(ref), - "k8s.io/api/core/v1.Namespace": schema_k8sio_api_core_v1_Namespace(ref), - "k8s.io/api/core/v1.NamespaceCondition": schema_k8sio_api_core_v1_NamespaceCondition(ref), - "k8s.io/api/core/v1.NamespaceList": schema_k8sio_api_core_v1_NamespaceList(ref), - "k8s.io/api/core/v1.NamespaceSpec": schema_k8sio_api_core_v1_NamespaceSpec(ref), - "k8s.io/api/core/v1.NamespaceStatus": schema_k8sio_api_core_v1_NamespaceStatus(ref), - "k8s.io/api/core/v1.Node": schema_k8sio_api_core_v1_Node(ref), - "k8s.io/api/core/v1.NodeAddress": schema_k8sio_api_core_v1_NodeAddress(ref), - "k8s.io/api/core/v1.NodeAffinity": schema_k8sio_api_core_v1_NodeAffinity(ref), - "k8s.io/api/core/v1.NodeCondition": schema_k8sio_api_core_v1_NodeCondition(ref), - "k8s.io/api/core/v1.NodeConfigSource": schema_k8sio_api_core_v1_NodeConfigSource(ref), - "k8s.io/api/core/v1.NodeConfigStatus": schema_k8sio_api_core_v1_NodeConfigStatus(ref), - "k8s.io/api/core/v1.NodeDaemonEndpoints": schema_k8sio_api_core_v1_NodeDaemonEndpoints(ref), - "k8s.io/api/core/v1.NodeList": schema_k8sio_api_core_v1_NodeList(ref), - "k8s.io/api/core/v1.NodeProxyOptions": schema_k8sio_api_core_v1_NodeProxyOptions(ref), - "k8s.io/api/core/v1.NodeResources": schema_k8sio_api_core_v1_NodeResources(ref), - "k8s.io/api/core/v1.NodeSelector": schema_k8sio_api_core_v1_NodeSelector(ref), - "k8s.io/api/core/v1.NodeSelectorRequirement": schema_k8sio_api_core_v1_NodeSelectorRequirement(ref), - "k8s.io/api/core/v1.NodeSelectorTerm": schema_k8sio_api_core_v1_NodeSelectorTerm(ref), - "k8s.io/api/core/v1.NodeSpec": schema_k8sio_api_core_v1_NodeSpec(ref), - "k8s.io/api/core/v1.NodeStatus": schema_k8sio_api_core_v1_NodeStatus(ref), - "k8s.io/api/core/v1.NodeSystemInfo": schema_k8sio_api_core_v1_NodeSystemInfo(ref), - "k8s.io/api/core/v1.ObjectFieldSelector": schema_k8sio_api_core_v1_ObjectFieldSelector(ref), - "k8s.io/api/core/v1.ObjectReference": schema_k8sio_api_core_v1_ObjectReference(ref), - "k8s.io/api/core/v1.PersistentVolume": schema_k8sio_api_core_v1_PersistentVolume(ref), - "k8s.io/api/core/v1.PersistentVolumeClaim": schema_k8sio_api_core_v1_PersistentVolumeClaim(ref), - "k8s.io/api/core/v1.PersistentVolumeClaimCondition": schema_k8sio_api_core_v1_PersistentVolumeClaimCondition(ref), - "k8s.io/api/core/v1.PersistentVolumeClaimList": schema_k8sio_api_core_v1_PersistentVolumeClaimList(ref), - "k8s.io/api/core/v1.PersistentVolumeClaimSpec": schema_k8sio_api_core_v1_PersistentVolumeClaimSpec(ref), - "k8s.io/api/core/v1.PersistentVolumeClaimStatus": schema_k8sio_api_core_v1_PersistentVolumeClaimStatus(ref), - "k8s.io/api/core/v1.PersistentVolumeClaimTemplate": schema_k8sio_api_core_v1_PersistentVolumeClaimTemplate(ref), - "k8s.io/api/core/v1.PersistentVolumeClaimVolumeSource": schema_k8sio_api_core_v1_PersistentVolumeClaimVolumeSource(ref), - "k8s.io/api/core/v1.PersistentVolumeList": schema_k8sio_api_core_v1_PersistentVolumeList(ref), - "k8s.io/api/core/v1.PersistentVolumeSource": schema_k8sio_api_core_v1_PersistentVolumeSource(ref), - "k8s.io/api/core/v1.PersistentVolumeSpec": schema_k8sio_api_core_v1_PersistentVolumeSpec(ref), - "k8s.io/api/core/v1.PersistentVolumeStatus": schema_k8sio_api_core_v1_PersistentVolumeStatus(ref), - "k8s.io/api/core/v1.PhotonPersistentDiskVolumeSource": schema_k8sio_api_core_v1_PhotonPersistentDiskVolumeSource(ref), - "k8s.io/api/core/v1.Pod": schema_k8sio_api_core_v1_Pod(ref), - "k8s.io/api/core/v1.PodAffinity": schema_k8sio_api_core_v1_PodAffinity(ref), - "k8s.io/api/core/v1.PodAffinityTerm": schema_k8sio_api_core_v1_PodAffinityTerm(ref), - "k8s.io/api/core/v1.PodAntiAffinity": schema_k8sio_api_core_v1_PodAntiAffinity(ref), - "k8s.io/api/core/v1.PodAttachOptions": schema_k8sio_api_core_v1_PodAttachOptions(ref), - "k8s.io/api/core/v1.PodCondition": schema_k8sio_api_core_v1_PodCondition(ref), - "k8s.io/api/core/v1.PodDNSConfig": schema_k8sio_api_core_v1_PodDNSConfig(ref), - "k8s.io/api/core/v1.PodDNSConfigOption": schema_k8sio_api_core_v1_PodDNSConfigOption(ref), - "k8s.io/api/core/v1.PodExecOptions": schema_k8sio_api_core_v1_PodExecOptions(ref), - "k8s.io/api/core/v1.PodIP": schema_k8sio_api_core_v1_PodIP(ref), - "k8s.io/api/core/v1.PodList": schema_k8sio_api_core_v1_PodList(ref), - "k8s.io/api/core/v1.PodLogOptions": schema_k8sio_api_core_v1_PodLogOptions(ref), - "k8s.io/api/core/v1.PodOS": schema_k8sio_api_core_v1_PodOS(ref), - "k8s.io/api/core/v1.PodPortForwardOptions": schema_k8sio_api_core_v1_PodPortForwardOptions(ref), - "k8s.io/api/core/v1.PodProxyOptions": schema_k8sio_api_core_v1_PodProxyOptions(ref), - "k8s.io/api/core/v1.PodReadinessGate": schema_k8sio_api_core_v1_PodReadinessGate(ref), - "k8s.io/api/core/v1.PodResourceClaim": schema_k8sio_api_core_v1_PodResourceClaim(ref), - "k8s.io/api/core/v1.PodResourceClaimStatus": schema_k8sio_api_core_v1_PodResourceClaimStatus(ref), - "k8s.io/api/core/v1.PodSchedulingGate": schema_k8sio_api_core_v1_PodSchedulingGate(ref), - "k8s.io/api/core/v1.PodSecurityContext": schema_k8sio_api_core_v1_PodSecurityContext(ref), - "k8s.io/api/core/v1.PodSignature": schema_k8sio_api_core_v1_PodSignature(ref), - "k8s.io/api/core/v1.PodSpec": schema_k8sio_api_core_v1_PodSpec(ref), - "k8s.io/api/core/v1.PodStatus": schema_k8sio_api_core_v1_PodStatus(ref), - "k8s.io/api/core/v1.PodStatusResult": schema_k8sio_api_core_v1_PodStatusResult(ref), - "k8s.io/api/core/v1.PodTemplate": schema_k8sio_api_core_v1_PodTemplate(ref), - "k8s.io/api/core/v1.PodTemplateList": schema_k8sio_api_core_v1_PodTemplateList(ref), - "k8s.io/api/core/v1.PodTemplateSpec": schema_k8sio_api_core_v1_PodTemplateSpec(ref), - "k8s.io/api/core/v1.PortStatus": schema_k8sio_api_core_v1_PortStatus(ref), - "k8s.io/api/core/v1.PortworxVolumeSource": schema_k8sio_api_core_v1_PortworxVolumeSource(ref), - "k8s.io/api/core/v1.PreferAvoidPodsEntry": schema_k8sio_api_core_v1_PreferAvoidPodsEntry(ref), - "k8s.io/api/core/v1.PreferredSchedulingTerm": schema_k8sio_api_core_v1_PreferredSchedulingTerm(ref), - "k8s.io/api/core/v1.Probe": schema_k8sio_api_core_v1_Probe(ref), - "k8s.io/api/core/v1.ProbeHandler": schema_k8sio_api_core_v1_ProbeHandler(ref), - "k8s.io/api/core/v1.ProjectedVolumeSource": schema_k8sio_api_core_v1_ProjectedVolumeSource(ref), - "k8s.io/api/core/v1.QuobyteVolumeSource": schema_k8sio_api_core_v1_QuobyteVolumeSource(ref), - "k8s.io/api/core/v1.RBDPersistentVolumeSource": schema_k8sio_api_core_v1_RBDPersistentVolumeSource(ref), - "k8s.io/api/core/v1.RBDVolumeSource": schema_k8sio_api_core_v1_RBDVolumeSource(ref), - "k8s.io/api/core/v1.RangeAllocation": schema_k8sio_api_core_v1_RangeAllocation(ref), - "k8s.io/api/core/v1.ReplicationController": schema_k8sio_api_core_v1_ReplicationController(ref), - "k8s.io/api/core/v1.ReplicationControllerCondition": schema_k8sio_api_core_v1_ReplicationControllerCondition(ref), - "k8s.io/api/core/v1.ReplicationControllerList": schema_k8sio_api_core_v1_ReplicationControllerList(ref), - "k8s.io/api/core/v1.ReplicationControllerSpec": schema_k8sio_api_core_v1_ReplicationControllerSpec(ref), - "k8s.io/api/core/v1.ReplicationControllerStatus": schema_k8sio_api_core_v1_ReplicationControllerStatus(ref), - "k8s.io/api/core/v1.ResourceClaim": schema_k8sio_api_core_v1_ResourceClaim(ref), - "k8s.io/api/core/v1.ResourceFieldSelector": schema_k8sio_api_core_v1_ResourceFieldSelector(ref), - "k8s.io/api/core/v1.ResourceQuota": schema_k8sio_api_core_v1_ResourceQuota(ref), - "k8s.io/api/core/v1.ResourceQuotaList": schema_k8sio_api_core_v1_ResourceQuotaList(ref), - "k8s.io/api/core/v1.ResourceQuotaSpec": schema_k8sio_api_core_v1_ResourceQuotaSpec(ref), - "k8s.io/api/core/v1.ResourceQuotaStatus": schema_k8sio_api_core_v1_ResourceQuotaStatus(ref), - "k8s.io/api/core/v1.ResourceRequirements": schema_k8sio_api_core_v1_ResourceRequirements(ref), - "k8s.io/api/core/v1.SELinuxOptions": schema_k8sio_api_core_v1_SELinuxOptions(ref), - "k8s.io/api/core/v1.ScaleIOPersistentVolumeSource": schema_k8sio_api_core_v1_ScaleIOPersistentVolumeSource(ref), - "k8s.io/api/core/v1.ScaleIOVolumeSource": schema_k8sio_api_core_v1_ScaleIOVolumeSource(ref), - "k8s.io/api/core/v1.ScopeSelector": schema_k8sio_api_core_v1_ScopeSelector(ref), - "k8s.io/api/core/v1.ScopedResourceSelectorRequirement": schema_k8sio_api_core_v1_ScopedResourceSelectorRequirement(ref), - "k8s.io/api/core/v1.SeccompProfile": schema_k8sio_api_core_v1_SeccompProfile(ref), - "k8s.io/api/core/v1.Secret": schema_k8sio_api_core_v1_Secret(ref), - "k8s.io/api/core/v1.SecretEnvSource": schema_k8sio_api_core_v1_SecretEnvSource(ref), - "k8s.io/api/core/v1.SecretKeySelector": schema_k8sio_api_core_v1_SecretKeySelector(ref), - "k8s.io/api/core/v1.SecretList": schema_k8sio_api_core_v1_SecretList(ref), - "k8s.io/api/core/v1.SecretProjection": schema_k8sio_api_core_v1_SecretProjection(ref), - "k8s.io/api/core/v1.SecretReference": schema_k8sio_api_core_v1_SecretReference(ref), - "k8s.io/api/core/v1.SecretVolumeSource": schema_k8sio_api_core_v1_SecretVolumeSource(ref), - "k8s.io/api/core/v1.SecurityContext": schema_k8sio_api_core_v1_SecurityContext(ref), - "k8s.io/api/core/v1.SerializedReference": schema_k8sio_api_core_v1_SerializedReference(ref), - "k8s.io/api/core/v1.Service": schema_k8sio_api_core_v1_Service(ref), - "k8s.io/api/core/v1.ServiceAccount": schema_k8sio_api_core_v1_ServiceAccount(ref), - "k8s.io/api/core/v1.ServiceAccountList": schema_k8sio_api_core_v1_ServiceAccountList(ref), - "k8s.io/api/core/v1.ServiceAccountTokenProjection": schema_k8sio_api_core_v1_ServiceAccountTokenProjection(ref), - "k8s.io/api/core/v1.ServiceList": schema_k8sio_api_core_v1_ServiceList(ref), - "k8s.io/api/core/v1.ServicePort": schema_k8sio_api_core_v1_ServicePort(ref), - "k8s.io/api/core/v1.ServiceProxyOptions": schema_k8sio_api_core_v1_ServiceProxyOptions(ref), - "k8s.io/api/core/v1.ServiceSpec": schema_k8sio_api_core_v1_ServiceSpec(ref), - "k8s.io/api/core/v1.ServiceStatus": schema_k8sio_api_core_v1_ServiceStatus(ref), - "k8s.io/api/core/v1.SessionAffinityConfig": schema_k8sio_api_core_v1_SessionAffinityConfig(ref), - "k8s.io/api/core/v1.SleepAction": schema_k8sio_api_core_v1_SleepAction(ref), - "k8s.io/api/core/v1.StorageOSPersistentVolumeSource": schema_k8sio_api_core_v1_StorageOSPersistentVolumeSource(ref), - "k8s.io/api/core/v1.StorageOSVolumeSource": schema_k8sio_api_core_v1_StorageOSVolumeSource(ref), - "k8s.io/api/core/v1.Sysctl": schema_k8sio_api_core_v1_Sysctl(ref), - "k8s.io/api/core/v1.TCPSocketAction": schema_k8sio_api_core_v1_TCPSocketAction(ref), - "k8s.io/api/core/v1.Taint": schema_k8sio_api_core_v1_Taint(ref), - "k8s.io/api/core/v1.Toleration": schema_k8sio_api_core_v1_Toleration(ref), - "k8s.io/api/core/v1.TopologySelectorLabelRequirement": schema_k8sio_api_core_v1_TopologySelectorLabelRequirement(ref), - "k8s.io/api/core/v1.TopologySelectorTerm": schema_k8sio_api_core_v1_TopologySelectorTerm(ref), - "k8s.io/api/core/v1.TopologySpreadConstraint": schema_k8sio_api_core_v1_TopologySpreadConstraint(ref), - "k8s.io/api/core/v1.TypedLocalObjectReference": schema_k8sio_api_core_v1_TypedLocalObjectReference(ref), - "k8s.io/api/core/v1.TypedObjectReference": schema_k8sio_api_core_v1_TypedObjectReference(ref), - "k8s.io/api/core/v1.Volume": schema_k8sio_api_core_v1_Volume(ref), - "k8s.io/api/core/v1.VolumeDevice": schema_k8sio_api_core_v1_VolumeDevice(ref), - "k8s.io/api/core/v1.VolumeMount": schema_k8sio_api_core_v1_VolumeMount(ref), - "k8s.io/api/core/v1.VolumeNodeAffinity": schema_k8sio_api_core_v1_VolumeNodeAffinity(ref), - "k8s.io/api/core/v1.VolumeProjection": schema_k8sio_api_core_v1_VolumeProjection(ref), - "k8s.io/api/core/v1.VolumeResourceRequirements": schema_k8sio_api_core_v1_VolumeResourceRequirements(ref), - "k8s.io/api/core/v1.VolumeSource": schema_k8sio_api_core_v1_VolumeSource(ref), - "k8s.io/api/core/v1.VsphereVirtualDiskVolumeSource": schema_k8sio_api_core_v1_VsphereVirtualDiskVolumeSource(ref), - "k8s.io/api/core/v1.WeightedPodAffinityTerm": schema_k8sio_api_core_v1_WeightedPodAffinityTerm(ref), - "k8s.io/api/core/v1.WindowsSecurityContextOptions": schema_k8sio_api_core_v1_WindowsSecurityContextOptions(ref), - "k8s.io/api/rbac/v1.AggregationRule": schema_k8sio_api_rbac_v1_AggregationRule(ref), - "k8s.io/api/rbac/v1.ClusterRole": schema_k8sio_api_rbac_v1_ClusterRole(ref), - "k8s.io/api/rbac/v1.ClusterRoleBinding": schema_k8sio_api_rbac_v1_ClusterRoleBinding(ref), - "k8s.io/api/rbac/v1.ClusterRoleBindingList": schema_k8sio_api_rbac_v1_ClusterRoleBindingList(ref), - "k8s.io/api/rbac/v1.ClusterRoleList": schema_k8sio_api_rbac_v1_ClusterRoleList(ref), - "k8s.io/api/rbac/v1.PolicyRule": schema_k8sio_api_rbac_v1_PolicyRule(ref), - "k8s.io/api/rbac/v1.Role": schema_k8sio_api_rbac_v1_Role(ref), - "k8s.io/api/rbac/v1.RoleBinding": schema_k8sio_api_rbac_v1_RoleBinding(ref), - "k8s.io/api/rbac/v1.RoleBindingList": schema_k8sio_api_rbac_v1_RoleBindingList(ref), - "k8s.io/api/rbac/v1.RoleList": schema_k8sio_api_rbac_v1_RoleList(ref), - "k8s.io/api/rbac/v1.RoleRef": schema_k8sio_api_rbac_v1_RoleRef(ref), - "k8s.io/api/rbac/v1.Subject": schema_k8sio_api_rbac_v1_Subject(ref), - "k8s.io/apimachinery/pkg/api/resource.Quantity": schema_apimachinery_pkg_api_resource_Quantity(ref), - "k8s.io/apimachinery/pkg/api/resource.int64Amount": schema_apimachinery_pkg_api_resource_int64Amount(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.APIGroup": schema_pkg_apis_meta_v1_APIGroup(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.APIGroupList": schema_pkg_apis_meta_v1_APIGroupList(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.APIResource": schema_pkg_apis_meta_v1_APIResource(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.APIResourceList": schema_pkg_apis_meta_v1_APIResourceList(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.APIVersions": schema_pkg_apis_meta_v1_APIVersions(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.ApplyOptions": schema_pkg_apis_meta_v1_ApplyOptions(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.Condition": schema_pkg_apis_meta_v1_Condition(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.CreateOptions": schema_pkg_apis_meta_v1_CreateOptions(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.DeleteOptions": schema_pkg_apis_meta_v1_DeleteOptions(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.Duration": schema_pkg_apis_meta_v1_Duration(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.FieldsV1": schema_pkg_apis_meta_v1_FieldsV1(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.GetOptions": schema_pkg_apis_meta_v1_GetOptions(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.GroupKind": schema_pkg_apis_meta_v1_GroupKind(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.GroupResource": schema_pkg_apis_meta_v1_GroupResource(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersion": schema_pkg_apis_meta_v1_GroupVersion(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersionForDiscovery": schema_pkg_apis_meta_v1_GroupVersionForDiscovery(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersionKind": schema_pkg_apis_meta_v1_GroupVersionKind(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersionResource": schema_pkg_apis_meta_v1_GroupVersionResource(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.InternalEvent": schema_pkg_apis_meta_v1_InternalEvent(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector": schema_pkg_apis_meta_v1_LabelSelector(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelectorRequirement": schema_pkg_apis_meta_v1_LabelSelectorRequirement(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.List": schema_pkg_apis_meta_v1_List(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta": schema_pkg_apis_meta_v1_ListMeta(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.ListOptions": schema_pkg_apis_meta_v1_ListOptions(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.ManagedFieldsEntry": schema_pkg_apis_meta_v1_ManagedFieldsEntry(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime": schema_pkg_apis_meta_v1_MicroTime(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta": schema_pkg_apis_meta_v1_ObjectMeta(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.OwnerReference": schema_pkg_apis_meta_v1_OwnerReference(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.PartialObjectMetadata": schema_pkg_apis_meta_v1_PartialObjectMetadata(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.PartialObjectMetadataList": schema_pkg_apis_meta_v1_PartialObjectMetadataList(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.Patch": schema_pkg_apis_meta_v1_Patch(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.PatchOptions": schema_pkg_apis_meta_v1_PatchOptions(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.Preconditions": schema_pkg_apis_meta_v1_Preconditions(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.RootPaths": schema_pkg_apis_meta_v1_RootPaths(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.ServerAddressByClientCIDR": schema_pkg_apis_meta_v1_ServerAddressByClientCIDR(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.Status": schema_pkg_apis_meta_v1_Status(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.StatusCause": schema_pkg_apis_meta_v1_StatusCause(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.StatusDetails": schema_pkg_apis_meta_v1_StatusDetails(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.Table": schema_pkg_apis_meta_v1_Table(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.TableColumnDefinition": schema_pkg_apis_meta_v1_TableColumnDefinition(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.TableOptions": schema_pkg_apis_meta_v1_TableOptions(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.TableRow": schema_pkg_apis_meta_v1_TableRow(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.TableRowCondition": schema_pkg_apis_meta_v1_TableRowCondition(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.Time": schema_pkg_apis_meta_v1_Time(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.Timestamp": schema_pkg_apis_meta_v1_Timestamp(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.TypeMeta": schema_pkg_apis_meta_v1_TypeMeta(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.UpdateOptions": schema_pkg_apis_meta_v1_UpdateOptions(ref), - "k8s.io/apimachinery/pkg/apis/meta/v1.WatchEvent": schema_pkg_apis_meta_v1_WatchEvent(ref), - "k8s.io/apimachinery/pkg/runtime.RawExtension": schema_k8sio_apimachinery_pkg_runtime_RawExtension(ref), - "k8s.io/apimachinery/pkg/runtime.TypeMeta": schema_k8sio_apimachinery_pkg_runtime_TypeMeta(ref), - "k8s.io/apimachinery/pkg/runtime.Unknown": schema_k8sio_apimachinery_pkg_runtime_Unknown(ref), - "k8s.io/apimachinery/pkg/util/intstr.IntOrString": schema_apimachinery_pkg_util_intstr_IntOrString(ref), - "k8s.io/apimachinery/pkg/version.Info": schema_k8sio_apimachinery_pkg_version_Info(ref), - "kmodules.xyz/client-go/api/v1.CAPIClusterInfo": schema_kmodulesxyz_client_go_api_v1_CAPIClusterInfo(ref), - "kmodules.xyz/client-go/api/v1.CertificatePrivateKey": schema_kmodulesxyz_client_go_api_v1_CertificatePrivateKey(ref), - "kmodules.xyz/client-go/api/v1.CertificateSpec": schema_kmodulesxyz_client_go_api_v1_CertificateSpec(ref), - "kmodules.xyz/client-go/api/v1.ClusterMetadata": schema_kmodulesxyz_client_go_api_v1_ClusterMetadata(ref), - "kmodules.xyz/client-go/api/v1.Condition": schema_kmodulesxyz_client_go_api_v1_Condition(ref), - "kmodules.xyz/client-go/api/v1.HealthCheckSpec": schema_kmodulesxyz_client_go_api_v1_HealthCheckSpec(ref), - "kmodules.xyz/client-go/api/v1.ImageInfo": schema_kmodulesxyz_client_go_api_v1_ImageInfo(ref), - "kmodules.xyz/client-go/api/v1.Lineage": schema_kmodulesxyz_client_go_api_v1_Lineage(ref), - "kmodules.xyz/client-go/api/v1.ObjectID": schema_kmodulesxyz_client_go_api_v1_ObjectID(ref), - "kmodules.xyz/client-go/api/v1.ObjectInfo": schema_kmodulesxyz_client_go_api_v1_ObjectInfo(ref), - "kmodules.xyz/client-go/api/v1.ObjectReference": schema_kmodulesxyz_client_go_api_v1_ObjectReference(ref), - "kmodules.xyz/client-go/api/v1.PullCredentials": schema_kmodulesxyz_client_go_api_v1_PullCredentials(ref), - "kmodules.xyz/client-go/api/v1.ReadonlyHealthCheckSpec": schema_kmodulesxyz_client_go_api_v1_ReadonlyHealthCheckSpec(ref), - "kmodules.xyz/client-go/api/v1.ResourceID": schema_kmodulesxyz_client_go_api_v1_ResourceID(ref), - "kmodules.xyz/client-go/api/v1.TLSConfig": schema_kmodulesxyz_client_go_api_v1_TLSConfig(ref), - "kmodules.xyz/client-go/api/v1.TimeOfDay": schema_kmodulesxyz_client_go_api_v1_TimeOfDay(ref), - "kmodules.xyz/client-go/api/v1.TypedObjectReference": schema_kmodulesxyz_client_go_api_v1_TypedObjectReference(ref), - "kmodules.xyz/client-go/api/v1.X509Subject": schema_kmodulesxyz_client_go_api_v1_X509Subject(ref), - "kmodules.xyz/client-go/api/v1.stringSetMerger": schema_kmodulesxyz_client_go_api_v1_stringSetMerger(ref), - "kmodules.xyz/custom-resources/apis/appcatalog/v1alpha1.AddKeyTransform": schema_custom_resources_apis_appcatalog_v1alpha1_AddKeyTransform(ref), - "kmodules.xyz/custom-resources/apis/appcatalog/v1alpha1.AddKeysFromTransform": schema_custom_resources_apis_appcatalog_v1alpha1_AddKeysFromTransform(ref), - "kmodules.xyz/custom-resources/apis/appcatalog/v1alpha1.AppBinding": schema_custom_resources_apis_appcatalog_v1alpha1_AppBinding(ref), - "kmodules.xyz/custom-resources/apis/appcatalog/v1alpha1.AppBindingList": schema_custom_resources_apis_appcatalog_v1alpha1_AppBindingList(ref), - "kmodules.xyz/custom-resources/apis/appcatalog/v1alpha1.AppBindingSpec": schema_custom_resources_apis_appcatalog_v1alpha1_AppBindingSpec(ref), - "kmodules.xyz/custom-resources/apis/appcatalog/v1alpha1.AppReference": schema_custom_resources_apis_appcatalog_v1alpha1_AppReference(ref), - "kmodules.xyz/custom-resources/apis/appcatalog/v1alpha1.ClientConfig": schema_custom_resources_apis_appcatalog_v1alpha1_ClientConfig(ref), - "kmodules.xyz/custom-resources/apis/appcatalog/v1alpha1.ObjectReference": schema_custom_resources_apis_appcatalog_v1alpha1_ObjectReference(ref), - "kmodules.xyz/custom-resources/apis/appcatalog/v1alpha1.Param": schema_custom_resources_apis_appcatalog_v1alpha1_Param(ref), - "kmodules.xyz/custom-resources/apis/appcatalog/v1alpha1.RemoveKeyTransform": schema_custom_resources_apis_appcatalog_v1alpha1_RemoveKeyTransform(ref), - "kmodules.xyz/custom-resources/apis/appcatalog/v1alpha1.RenameKeyTransform": schema_custom_resources_apis_appcatalog_v1alpha1_RenameKeyTransform(ref), - "kmodules.xyz/custom-resources/apis/appcatalog/v1alpha1.SecretTransform": schema_custom_resources_apis_appcatalog_v1alpha1_SecretTransform(ref), - "kmodules.xyz/custom-resources/apis/appcatalog/v1alpha1.ServiceReference": schema_custom_resources_apis_appcatalog_v1alpha1_ServiceReference(ref), - "kmodules.xyz/custom-resources/apis/appcatalog/v1alpha1.StashAddon": schema_custom_resources_apis_appcatalog_v1alpha1_StashAddon(ref), - "kmodules.xyz/custom-resources/apis/appcatalog/v1alpha1.StashAddonSpec": schema_custom_resources_apis_appcatalog_v1alpha1_StashAddonSpec(ref), - "kmodules.xyz/custom-resources/apis/appcatalog/v1alpha1.StashTaskSpec": schema_custom_resources_apis_appcatalog_v1alpha1_StashTaskSpec(ref), - "kmodules.xyz/custom-resources/apis/appcatalog/v1alpha1.TaskRef": schema_custom_resources_apis_appcatalog_v1alpha1_TaskRef(ref), - "kmodules.xyz/monitoring-agent-api/api/v1.AgentSpec": schema_kmodulesxyz_monitoring_agent_api_api_v1_AgentSpec(ref), - "kmodules.xyz/monitoring-agent-api/api/v1.AlertPreset": schema_kmodulesxyz_monitoring_agent_api_api_v1_AlertPreset(ref), - "kmodules.xyz/monitoring-agent-api/api/v1.BasicAuth": schema_kmodulesxyz_monitoring_agent_api_api_v1_BasicAuth(ref), - "kmodules.xyz/monitoring-agent-api/api/v1.DashboardSpec": schema_kmodulesxyz_monitoring_agent_api_api_v1_DashboardSpec(ref), - "kmodules.xyz/monitoring-agent-api/api/v1.GrafanaConfig": schema_kmodulesxyz_monitoring_agent_api_api_v1_GrafanaConfig(ref), - "kmodules.xyz/monitoring-agent-api/api/v1.GrafanaContext": schema_kmodulesxyz_monitoring_agent_api_api_v1_GrafanaContext(ref), - "kmodules.xyz/monitoring-agent-api/api/v1.MonitoringPresets": schema_kmodulesxyz_monitoring_agent_api_api_v1_MonitoringPresets(ref), - "kmodules.xyz/monitoring-agent-api/api/v1.MonitoringPresetsForm": schema_kmodulesxyz_monitoring_agent_api_api_v1_MonitoringPresetsForm(ref), - "kmodules.xyz/monitoring-agent-api/api/v1.MonitoringPresetsSpec": schema_kmodulesxyz_monitoring_agent_api_api_v1_MonitoringPresetsSpec(ref), - "kmodules.xyz/monitoring-agent-api/api/v1.PrometheusConfig": schema_kmodulesxyz_monitoring_agent_api_api_v1_PrometheusConfig(ref), - "kmodules.xyz/monitoring-agent-api/api/v1.PrometheusContext": schema_kmodulesxyz_monitoring_agent_api_api_v1_PrometheusContext(ref), - "kmodules.xyz/monitoring-agent-api/api/v1.PrometheusExporterSpec": schema_kmodulesxyz_monitoring_agent_api_api_v1_PrometheusExporterSpec(ref), - "kmodules.xyz/monitoring-agent-api/api/v1.PrometheusSpec": schema_kmodulesxyz_monitoring_agent_api_api_v1_PrometheusSpec(ref), - "kmodules.xyz/monitoring-agent-api/api/v1.ServiceMonitorLabels": schema_kmodulesxyz_monitoring_agent_api_api_v1_ServiceMonitorLabels(ref), - "kmodules.xyz/monitoring-agent-api/api/v1.ServiceMonitorPreset": schema_kmodulesxyz_monitoring_agent_api_api_v1_ServiceMonitorPreset(ref), - "kmodules.xyz/monitoring-agent-api/api/v1.ServiceMonitorSpec": schema_kmodulesxyz_monitoring_agent_api_api_v1_ServiceMonitorSpec(ref), - "kmodules.xyz/monitoring-agent-api/api/v1.ServiceSpec": schema_kmodulesxyz_monitoring_agent_api_api_v1_ServiceSpec(ref), - "kmodules.xyz/monitoring-agent-api/api/v1.TLSConfig": schema_kmodulesxyz_monitoring_agent_api_api_v1_TLSConfig(ref), - "kmodules.xyz/objectstore-api/api/v1.AzureSpec": schema_kmodulesxyz_objectstore_api_api_v1_AzureSpec(ref), - "kmodules.xyz/objectstore-api/api/v1.B2Spec": schema_kmodulesxyz_objectstore_api_api_v1_B2Spec(ref), - "kmodules.xyz/objectstore-api/api/v1.Backend": schema_kmodulesxyz_objectstore_api_api_v1_Backend(ref), - "kmodules.xyz/objectstore-api/api/v1.GCSSpec": schema_kmodulesxyz_objectstore_api_api_v1_GCSSpec(ref), - "kmodules.xyz/objectstore-api/api/v1.LocalSpec": schema_kmodulesxyz_objectstore_api_api_v1_LocalSpec(ref), - "kmodules.xyz/objectstore-api/api/v1.RestServerSpec": schema_kmodulesxyz_objectstore_api_api_v1_RestServerSpec(ref), - "kmodules.xyz/objectstore-api/api/v1.S3Spec": schema_kmodulesxyz_objectstore_api_api_v1_S3Spec(ref), - "kmodules.xyz/objectstore-api/api/v1.SwiftSpec": schema_kmodulesxyz_objectstore_api_api_v1_SwiftSpec(ref), - "kmodules.xyz/offshoot-api/api/v1.ContainerRuntimeSettings": schema_kmodulesxyz_offshoot_api_api_v1_ContainerRuntimeSettings(ref), - "kmodules.xyz/offshoot-api/api/v1.EphemeralVolumeSource": schema_kmodulesxyz_offshoot_api_api_v1_EphemeralVolumeSource(ref), - "kmodules.xyz/offshoot-api/api/v1.IONiceSettings": schema_kmodulesxyz_offshoot_api_api_v1_IONiceSettings(ref), - "kmodules.xyz/offshoot-api/api/v1.NiceSettings": schema_kmodulesxyz_offshoot_api_api_v1_NiceSettings(ref), - "kmodules.xyz/offshoot-api/api/v1.ObjectMeta": schema_kmodulesxyz_offshoot_api_api_v1_ObjectMeta(ref), - "kmodules.xyz/offshoot-api/api/v1.PartialObjectMeta": schema_kmodulesxyz_offshoot_api_api_v1_PartialObjectMeta(ref), - "kmodules.xyz/offshoot-api/api/v1.PersistentVolumeClaim": schema_kmodulesxyz_offshoot_api_api_v1_PersistentVolumeClaim(ref), - "kmodules.xyz/offshoot-api/api/v1.PersistentVolumeClaimTemplate": schema_kmodulesxyz_offshoot_api_api_v1_PersistentVolumeClaimTemplate(ref), - "kmodules.xyz/offshoot-api/api/v1.PodRuntimeSettings": schema_kmodulesxyz_offshoot_api_api_v1_PodRuntimeSettings(ref), - "kmodules.xyz/offshoot-api/api/v1.PodSpec": schema_kmodulesxyz_offshoot_api_api_v1_PodSpec(ref), - "kmodules.xyz/offshoot-api/api/v1.PodTemplateSpec": schema_kmodulesxyz_offshoot_api_api_v1_PodTemplateSpec(ref), - "kmodules.xyz/offshoot-api/api/v1.RuntimeSettings": schema_kmodulesxyz_offshoot_api_api_v1_RuntimeSettings(ref), - "kmodules.xyz/offshoot-api/api/v1.ServicePort": schema_kmodulesxyz_offshoot_api_api_v1_ServicePort(ref), - "kmodules.xyz/offshoot-api/api/v1.ServiceSpec": schema_kmodulesxyz_offshoot_api_api_v1_ServiceSpec(ref), - "kmodules.xyz/offshoot-api/api/v1.ServiceTemplateSpec": schema_kmodulesxyz_offshoot_api_api_v1_ServiceTemplateSpec(ref), - "kmodules.xyz/offshoot-api/api/v1.Volume": schema_kmodulesxyz_offshoot_api_api_v1_Volume(ref), - "kmodules.xyz/offshoot-api/api/v1.VolumeSource": schema_kmodulesxyz_offshoot_api_api_v1_VolumeSource(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.Age": schema_apimachinery_apis_kubedb_v1alpha2_Age(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.AllowedConsumers": schema_apimachinery_apis_kubedb_v1alpha2_AllowedConsumers(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.ArbiterSpec": schema_apimachinery_apis_kubedb_v1alpha2_ArbiterSpec(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.Archiver": schema_apimachinery_apis_kubedb_v1alpha2_Archiver(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.ArchiverRecovery": schema_apimachinery_apis_kubedb_v1alpha2_ArchiverRecovery(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.AutoOpsSpec": schema_apimachinery_apis_kubedb_v1alpha2_AutoOpsSpec(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.ConnectionPoolConfig": schema_apimachinery_apis_kubedb_v1alpha2_ConnectionPoolConfig(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.ConsumerNamespaces": schema_apimachinery_apis_kubedb_v1alpha2_ConsumerNamespaces(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.CoordinatorSpec": schema_apimachinery_apis_kubedb_v1alpha2_CoordinatorSpec(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.Databases": schema_apimachinery_apis_kubedb_v1alpha2_Databases(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.DeepStorageSpec": schema_apimachinery_apis_kubedb_v1alpha2_DeepStorageSpec(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.Druid": schema_apimachinery_apis_kubedb_v1alpha2_Druid(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.DruidApp": schema_apimachinery_apis_kubedb_v1alpha2_DruidApp(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.DruidClusterTopology": schema_apimachinery_apis_kubedb_v1alpha2_DruidClusterTopology(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.DruidList": schema_apimachinery_apis_kubedb_v1alpha2_DruidList(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.DruidNode": schema_apimachinery_apis_kubedb_v1alpha2_DruidNode(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.DruidSpec": schema_apimachinery_apis_kubedb_v1alpha2_DruidSpec(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.DruidStatsService": schema_apimachinery_apis_kubedb_v1alpha2_DruidStatsService(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.DruidStatus": schema_apimachinery_apis_kubedb_v1alpha2_DruidStatus(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.Elasticsearch": schema_apimachinery_apis_kubedb_v1alpha2_Elasticsearch(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.ElasticsearchClusterTopology": schema_apimachinery_apis_kubedb_v1alpha2_ElasticsearchClusterTopology(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.ElasticsearchList": schema_apimachinery_apis_kubedb_v1alpha2_ElasticsearchList(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.ElasticsearchNode": schema_apimachinery_apis_kubedb_v1alpha2_ElasticsearchNode(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.ElasticsearchRoleMapSpec": schema_apimachinery_apis_kubedb_v1alpha2_ElasticsearchRoleMapSpec(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.ElasticsearchSpec": schema_apimachinery_apis_kubedb_v1alpha2_ElasticsearchSpec(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.ElasticsearchStatus": schema_apimachinery_apis_kubedb_v1alpha2_ElasticsearchStatus(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.ElasticsearchUserSpec": schema_apimachinery_apis_kubedb_v1alpha2_ElasticsearchUserSpec(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.Etcd": schema_apimachinery_apis_kubedb_v1alpha2_Etcd(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.EtcdList": schema_apimachinery_apis_kubedb_v1alpha2_EtcdList(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.EtcdSpec": schema_apimachinery_apis_kubedb_v1alpha2_EtcdSpec(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.EtcdStatus": schema_apimachinery_apis_kubedb_v1alpha2_EtcdStatus(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.FerretDB": schema_apimachinery_apis_kubedb_v1alpha2_FerretDB(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.FerretDBApp": schema_apimachinery_apis_kubedb_v1alpha2_FerretDBApp(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.FerretDBBackend": schema_apimachinery_apis_kubedb_v1alpha2_FerretDBBackend(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.FerretDBList": schema_apimachinery_apis_kubedb_v1alpha2_FerretDBList(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.FerretDBSpec": schema_apimachinery_apis_kubedb_v1alpha2_FerretDBSpec(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.FerretDBStatsService": schema_apimachinery_apis_kubedb_v1alpha2_FerretDBStatsService(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.FerretDBStatus": schema_apimachinery_apis_kubedb_v1alpha2_FerretDBStatus(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.Gateway": schema_apimachinery_apis_kubedb_v1alpha2_Gateway(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.GitRepo": schema_apimachinery_apis_kubedb_v1alpha2_GitRepo(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.InitSpec": schema_apimachinery_apis_kubedb_v1alpha2_InitSpec(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.Kafka": schema_apimachinery_apis_kubedb_v1alpha2_Kafka(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.KafkaApp": schema_apimachinery_apis_kubedb_v1alpha2_KafkaApp(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.KafkaBrokerCapacity": schema_apimachinery_apis_kubedb_v1alpha2_KafkaBrokerCapacity(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.KafkaClusterTopology": schema_apimachinery_apis_kubedb_v1alpha2_KafkaClusterTopology(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.KafkaCruiseControl": schema_apimachinery_apis_kubedb_v1alpha2_KafkaCruiseControl(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.KafkaList": schema_apimachinery_apis_kubedb_v1alpha2_KafkaList(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.KafkaNode": schema_apimachinery_apis_kubedb_v1alpha2_KafkaNode(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.KafkaSpec": schema_apimachinery_apis_kubedb_v1alpha2_KafkaSpec(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.KafkaStatus": schema_apimachinery_apis_kubedb_v1alpha2_KafkaStatus(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.KernelSettings": schema_apimachinery_apis_kubedb_v1alpha2_KernelSettings(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MariaDB": schema_apimachinery_apis_kubedb_v1alpha2_MariaDB(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MariaDBList": schema_apimachinery_apis_kubedb_v1alpha2_MariaDBList(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MariaDBSpec": schema_apimachinery_apis_kubedb_v1alpha2_MariaDBSpec(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MariaDBStatus": schema_apimachinery_apis_kubedb_v1alpha2_MariaDBStatus(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MemberSecret": schema_apimachinery_apis_kubedb_v1alpha2_MemberSecret(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.Memcached": schema_apimachinery_apis_kubedb_v1alpha2_Memcached(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MemcachedList": schema_apimachinery_apis_kubedb_v1alpha2_MemcachedList(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MemcachedSpec": schema_apimachinery_apis_kubedb_v1alpha2_MemcachedSpec(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MemcachedStatus": schema_apimachinery_apis_kubedb_v1alpha2_MemcachedStatus(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MetadataStorage": schema_apimachinery_apis_kubedb_v1alpha2_MetadataStorage(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MongoArbiterNode": schema_apimachinery_apis_kubedb_v1alpha2_MongoArbiterNode(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MongoDB": schema_apimachinery_apis_kubedb_v1alpha2_MongoDB(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MongoDBConfigNode": schema_apimachinery_apis_kubedb_v1alpha2_MongoDBConfigNode(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MongoDBList": schema_apimachinery_apis_kubedb_v1alpha2_MongoDBList(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MongoDBMongosNode": schema_apimachinery_apis_kubedb_v1alpha2_MongoDBMongosNode(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MongoDBNode": schema_apimachinery_apis_kubedb_v1alpha2_MongoDBNode(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MongoDBReplicaSet": schema_apimachinery_apis_kubedb_v1alpha2_MongoDBReplicaSet(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MongoDBShardNode": schema_apimachinery_apis_kubedb_v1alpha2_MongoDBShardNode(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MongoDBShardingTopology": schema_apimachinery_apis_kubedb_v1alpha2_MongoDBShardingTopology(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MongoDBSpec": schema_apimachinery_apis_kubedb_v1alpha2_MongoDBSpec(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MongoDBStatus": schema_apimachinery_apis_kubedb_v1alpha2_MongoDBStatus(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MongoHiddenNode": schema_apimachinery_apis_kubedb_v1alpha2_MongoHiddenNode(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MySQL": schema_apimachinery_apis_kubedb_v1alpha2_MySQL(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MySQLGroupSpec": schema_apimachinery_apis_kubedb_v1alpha2_MySQLGroupSpec(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MySQLInnoDBClusterSpec": schema_apimachinery_apis_kubedb_v1alpha2_MySQLInnoDBClusterSpec(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MySQLList": schema_apimachinery_apis_kubedb_v1alpha2_MySQLList(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MySQLRouterSpec": schema_apimachinery_apis_kubedb_v1alpha2_MySQLRouterSpec(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MySQLSpec": schema_apimachinery_apis_kubedb_v1alpha2_MySQLSpec(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MySQLStatus": schema_apimachinery_apis_kubedb_v1alpha2_MySQLStatus(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MySQLTopology": schema_apimachinery_apis_kubedb_v1alpha2_MySQLTopology(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MySQLUser": schema_apimachinery_apis_kubedb_v1alpha2_MySQLUser(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.NamedServiceStatus": schema_apimachinery_apis_kubedb_v1alpha2_NamedServiceStatus(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.NamedServiceTemplateSpec": schema_apimachinery_apis_kubedb_v1alpha2_NamedServiceTemplateSpec(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.NamedURL": schema_apimachinery_apis_kubedb_v1alpha2_NamedURL(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.PerconaXtraDB": schema_apimachinery_apis_kubedb_v1alpha2_PerconaXtraDB(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.PerconaXtraDBList": schema_apimachinery_apis_kubedb_v1alpha2_PerconaXtraDBList(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.PerconaXtraDBSpec": schema_apimachinery_apis_kubedb_v1alpha2_PerconaXtraDBSpec(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.PerconaXtraDBStatus": schema_apimachinery_apis_kubedb_v1alpha2_PerconaXtraDBStatus(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.PgBouncer": schema_apimachinery_apis_kubedb_v1alpha2_PgBouncer(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.PgBouncerList": schema_apimachinery_apis_kubedb_v1alpha2_PgBouncerList(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.PgBouncerSpec": schema_apimachinery_apis_kubedb_v1alpha2_PgBouncerSpec(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.PgBouncerStatus": schema_apimachinery_apis_kubedb_v1alpha2_PgBouncerStatus(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.Pgpool": schema_apimachinery_apis_kubedb_v1alpha2_Pgpool(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.PgpoolConfiguration": schema_apimachinery_apis_kubedb_v1alpha2_PgpoolConfiguration(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.PgpoolList": schema_apimachinery_apis_kubedb_v1alpha2_PgpoolList(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.PgpoolSpec": schema_apimachinery_apis_kubedb_v1alpha2_PgpoolSpec(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.PgpoolStatsService": schema_apimachinery_apis_kubedb_v1alpha2_PgpoolStatsService(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.PgpoolStatus": schema_apimachinery_apis_kubedb_v1alpha2_PgpoolStatus(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.PostgreLeaderElectionConfig": schema_apimachinery_apis_kubedb_v1alpha2_PostgreLeaderElectionConfig(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.Postgres": schema_apimachinery_apis_kubedb_v1alpha2_Postgres(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.PostgresList": schema_apimachinery_apis_kubedb_v1alpha2_PostgresList(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.PostgresRef": schema_apimachinery_apis_kubedb_v1alpha2_PostgresRef(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.PostgresReplication": schema_apimachinery_apis_kubedb_v1alpha2_PostgresReplication(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.PostgresServiceRef": schema_apimachinery_apis_kubedb_v1alpha2_PostgresServiceRef(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.PostgresSpec": schema_apimachinery_apis_kubedb_v1alpha2_PostgresSpec(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.PostgresStatus": schema_apimachinery_apis_kubedb_v1alpha2_PostgresStatus(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.ProxySQL": schema_apimachinery_apis_kubedb_v1alpha2_ProxySQL(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.ProxySQLConfiguration": schema_apimachinery_apis_kubedb_v1alpha2_ProxySQLConfiguration(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.ProxySQLList": schema_apimachinery_apis_kubedb_v1alpha2_ProxySQLList(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.ProxySQLSpec": schema_apimachinery_apis_kubedb_v1alpha2_ProxySQLSpec(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.ProxySQLStatus": schema_apimachinery_apis_kubedb_v1alpha2_ProxySQLStatus(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.RabbitMQ": schema_apimachinery_apis_kubedb_v1alpha2_RabbitMQ(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.RabbitMQList": schema_apimachinery_apis_kubedb_v1alpha2_RabbitMQList(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.RabbitMQSpec": schema_apimachinery_apis_kubedb_v1alpha2_RabbitMQSpec(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.RabbitMQStatus": schema_apimachinery_apis_kubedb_v1alpha2_RabbitMQStatus(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.RabbitmqApp": schema_apimachinery_apis_kubedb_v1alpha2_RabbitmqApp(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.RabbitmqStatsService": schema_apimachinery_apis_kubedb_v1alpha2_RabbitmqStatsService(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.RecoveryTarget": schema_apimachinery_apis_kubedb_v1alpha2_RecoveryTarget(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.Redis": schema_apimachinery_apis_kubedb_v1alpha2_Redis(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.RedisClusterSpec": schema_apimachinery_apis_kubedb_v1alpha2_RedisClusterSpec(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.RedisList": schema_apimachinery_apis_kubedb_v1alpha2_RedisList(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.RedisSentinel": schema_apimachinery_apis_kubedb_v1alpha2_RedisSentinel(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.RedisSentinelList": schema_apimachinery_apis_kubedb_v1alpha2_RedisSentinelList(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.RedisSentinelRef": schema_apimachinery_apis_kubedb_v1alpha2_RedisSentinelRef(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.RedisSentinelSpec": schema_apimachinery_apis_kubedb_v1alpha2_RedisSentinelSpec(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.RedisSentinelStatus": schema_apimachinery_apis_kubedb_v1alpha2_RedisSentinelStatus(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.RedisSpec": schema_apimachinery_apis_kubedb_v1alpha2_RedisSpec(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.RedisStatus": schema_apimachinery_apis_kubedb_v1alpha2_RedisStatus(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.RemoteReplicaSpec": schema_apimachinery_apis_kubedb_v1alpha2_RemoteReplicaSpec(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.ScriptSourceSpec": schema_apimachinery_apis_kubedb_v1alpha2_ScriptSourceSpec(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.SecretReference": schema_apimachinery_apis_kubedb_v1alpha2_SecretReference(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.SemiSyncSpec": schema_apimachinery_apis_kubedb_v1alpha2_SemiSyncSpec(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.Singlestore": schema_apimachinery_apis_kubedb_v1alpha2_Singlestore(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.SinglestoreList": schema_apimachinery_apis_kubedb_v1alpha2_SinglestoreList(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.SinglestoreNode": schema_apimachinery_apis_kubedb_v1alpha2_SinglestoreNode(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.SinglestoreSpec": schema_apimachinery_apis_kubedb_v1alpha2_SinglestoreSpec(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.SinglestoreStatus": schema_apimachinery_apis_kubedb_v1alpha2_SinglestoreStatus(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.SinglestoreTopology": schema_apimachinery_apis_kubedb_v1alpha2_SinglestoreTopology(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.Solr": schema_apimachinery_apis_kubedb_v1alpha2_Solr(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.SolrApp": schema_apimachinery_apis_kubedb_v1alpha2_SolrApp(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.SolrClusterTopology": schema_apimachinery_apis_kubedb_v1alpha2_SolrClusterTopology(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.SolrList": schema_apimachinery_apis_kubedb_v1alpha2_SolrList(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.SolrNode": schema_apimachinery_apis_kubedb_v1alpha2_SolrNode(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.SolrSpec": schema_apimachinery_apis_kubedb_v1alpha2_SolrSpec(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.SolrStatus": schema_apimachinery_apis_kubedb_v1alpha2_SolrStatus(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.SystemUserSecretsSpec": schema_apimachinery_apis_kubedb_v1alpha2_SystemUserSecretsSpec(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.TLSPolicy": schema_apimachinery_apis_kubedb_v1alpha2_TLSPolicy(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.ZooKeeper": schema_apimachinery_apis_kubedb_v1alpha2_ZooKeeper(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.ZooKeeperApp": schema_apimachinery_apis_kubedb_v1alpha2_ZooKeeperApp(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.ZooKeeperList": schema_apimachinery_apis_kubedb_v1alpha2_ZooKeeperList(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.ZooKeeperSpec": schema_apimachinery_apis_kubedb_v1alpha2_ZooKeeperSpec(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.ZooKeeperStatus": schema_apimachinery_apis_kubedb_v1alpha2_ZooKeeperStatus(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.ZookeeperRef": schema_apimachinery_apis_kubedb_v1alpha2_ZookeeperRef(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.elasticsearchApp": schema_apimachinery_apis_kubedb_v1alpha2_elasticsearchApp(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.elasticsearchStatsService": schema_apimachinery_apis_kubedb_v1alpha2_elasticsearchStatsService(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.etcdApp": schema_apimachinery_apis_kubedb_v1alpha2_etcdApp(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.etcdStatsService": schema_apimachinery_apis_kubedb_v1alpha2_etcdStatsService(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.kafkaStatsService": schema_apimachinery_apis_kubedb_v1alpha2_kafkaStatsService(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.mariadbApp": schema_apimachinery_apis_kubedb_v1alpha2_mariadbApp(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.mariadbStatsService": schema_apimachinery_apis_kubedb_v1alpha2_mariadbStatsService(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.memcachedApp": schema_apimachinery_apis_kubedb_v1alpha2_memcachedApp(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.memcachedStatsService": schema_apimachinery_apis_kubedb_v1alpha2_memcachedStatsService(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.mongoDBApp": schema_apimachinery_apis_kubedb_v1alpha2_mongoDBApp(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.mongoDBStatsService": schema_apimachinery_apis_kubedb_v1alpha2_mongoDBStatsService(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.mysqlApp": schema_apimachinery_apis_kubedb_v1alpha2_mysqlApp(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.mysqlStatsService": schema_apimachinery_apis_kubedb_v1alpha2_mysqlStatsService(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.perconaXtraDBApp": schema_apimachinery_apis_kubedb_v1alpha2_perconaXtraDBApp(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.perconaXtraDBStatsService": schema_apimachinery_apis_kubedb_v1alpha2_perconaXtraDBStatsService(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.pgbouncerApp": schema_apimachinery_apis_kubedb_v1alpha2_pgbouncerApp(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.pgbouncerStatsService": schema_apimachinery_apis_kubedb_v1alpha2_pgbouncerStatsService(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.postgresApp": schema_apimachinery_apis_kubedb_v1alpha2_postgresApp(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.postgresStatsService": schema_apimachinery_apis_kubedb_v1alpha2_postgresStatsService(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.proxysqlApp": schema_apimachinery_apis_kubedb_v1alpha2_proxysqlApp(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.proxysqlStatsService": schema_apimachinery_apis_kubedb_v1alpha2_proxysqlStatsService(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.redisApp": schema_apimachinery_apis_kubedb_v1alpha2_redisApp(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.redisSentinelApp": schema_apimachinery_apis_kubedb_v1alpha2_redisSentinelApp(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.redisSentinelStatsService": schema_apimachinery_apis_kubedb_v1alpha2_redisSentinelStatsService(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.redisStatsService": schema_apimachinery_apis_kubedb_v1alpha2_redisStatsService(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.singlestoreApp": schema_apimachinery_apis_kubedb_v1alpha2_singlestoreApp(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.singlestoreStatsService": schema_apimachinery_apis_kubedb_v1alpha2_singlestoreStatsService(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.solrStatsService": schema_apimachinery_apis_kubedb_v1alpha2_solrStatsService(ref), - "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.zookeeperStatsService": schema_apimachinery_apis_kubedb_v1alpha2_zookeeperStatsService(ref), + "k8s.io/api/apps/v1.ControllerRevision": schema_k8sio_api_apps_v1_ControllerRevision(ref), + "k8s.io/api/apps/v1.ControllerRevisionList": schema_k8sio_api_apps_v1_ControllerRevisionList(ref), + "k8s.io/api/apps/v1.DaemonSet": schema_k8sio_api_apps_v1_DaemonSet(ref), + "k8s.io/api/apps/v1.DaemonSetCondition": schema_k8sio_api_apps_v1_DaemonSetCondition(ref), + "k8s.io/api/apps/v1.DaemonSetList": schema_k8sio_api_apps_v1_DaemonSetList(ref), + "k8s.io/api/apps/v1.DaemonSetSpec": schema_k8sio_api_apps_v1_DaemonSetSpec(ref), + "k8s.io/api/apps/v1.DaemonSetStatus": schema_k8sio_api_apps_v1_DaemonSetStatus(ref), + "k8s.io/api/apps/v1.DaemonSetUpdateStrategy": schema_k8sio_api_apps_v1_DaemonSetUpdateStrategy(ref), + "k8s.io/api/apps/v1.Deployment": schema_k8sio_api_apps_v1_Deployment(ref), + "k8s.io/api/apps/v1.DeploymentCondition": schema_k8sio_api_apps_v1_DeploymentCondition(ref), + "k8s.io/api/apps/v1.DeploymentList": schema_k8sio_api_apps_v1_DeploymentList(ref), + "k8s.io/api/apps/v1.DeploymentSpec": schema_k8sio_api_apps_v1_DeploymentSpec(ref), + "k8s.io/api/apps/v1.DeploymentStatus": schema_k8sio_api_apps_v1_DeploymentStatus(ref), + "k8s.io/api/apps/v1.DeploymentStrategy": schema_k8sio_api_apps_v1_DeploymentStrategy(ref), + "k8s.io/api/apps/v1.ReplicaSet": schema_k8sio_api_apps_v1_ReplicaSet(ref), + "k8s.io/api/apps/v1.ReplicaSetCondition": schema_k8sio_api_apps_v1_ReplicaSetCondition(ref), + "k8s.io/api/apps/v1.ReplicaSetList": schema_k8sio_api_apps_v1_ReplicaSetList(ref), + "k8s.io/api/apps/v1.ReplicaSetSpec": schema_k8sio_api_apps_v1_ReplicaSetSpec(ref), + "k8s.io/api/apps/v1.ReplicaSetStatus": schema_k8sio_api_apps_v1_ReplicaSetStatus(ref), + "k8s.io/api/apps/v1.RollingUpdateDaemonSet": schema_k8sio_api_apps_v1_RollingUpdateDaemonSet(ref), + "k8s.io/api/apps/v1.RollingUpdateDeployment": schema_k8sio_api_apps_v1_RollingUpdateDeployment(ref), + "k8s.io/api/apps/v1.RollingUpdateStatefulSetStrategy": schema_k8sio_api_apps_v1_RollingUpdateStatefulSetStrategy(ref), + "k8s.io/api/apps/v1.StatefulSet": schema_k8sio_api_apps_v1_StatefulSet(ref), + "k8s.io/api/apps/v1.StatefulSetCondition": schema_k8sio_api_apps_v1_StatefulSetCondition(ref), + "k8s.io/api/apps/v1.StatefulSetList": schema_k8sio_api_apps_v1_StatefulSetList(ref), + "k8s.io/api/apps/v1.StatefulSetOrdinals": schema_k8sio_api_apps_v1_StatefulSetOrdinals(ref), + "k8s.io/api/apps/v1.StatefulSetPersistentVolumeClaimRetentionPolicy": schema_k8sio_api_apps_v1_StatefulSetPersistentVolumeClaimRetentionPolicy(ref), + "k8s.io/api/apps/v1.StatefulSetSpec": schema_k8sio_api_apps_v1_StatefulSetSpec(ref), + "k8s.io/api/apps/v1.StatefulSetStatus": schema_k8sio_api_apps_v1_StatefulSetStatus(ref), + "k8s.io/api/apps/v1.StatefulSetUpdateStrategy": schema_k8sio_api_apps_v1_StatefulSetUpdateStrategy(ref), + "k8s.io/api/autoscaling/v2beta2.ContainerResourceMetricSource": schema_k8sio_api_autoscaling_v2beta2_ContainerResourceMetricSource(ref), + "k8s.io/api/autoscaling/v2beta2.ContainerResourceMetricStatus": schema_k8sio_api_autoscaling_v2beta2_ContainerResourceMetricStatus(ref), + "k8s.io/api/autoscaling/v2beta2.CrossVersionObjectReference": schema_k8sio_api_autoscaling_v2beta2_CrossVersionObjectReference(ref), + "k8s.io/api/autoscaling/v2beta2.ExternalMetricSource": schema_k8sio_api_autoscaling_v2beta2_ExternalMetricSource(ref), + "k8s.io/api/autoscaling/v2beta2.ExternalMetricStatus": schema_k8sio_api_autoscaling_v2beta2_ExternalMetricStatus(ref), + "k8s.io/api/autoscaling/v2beta2.HPAScalingPolicy": schema_k8sio_api_autoscaling_v2beta2_HPAScalingPolicy(ref), + "k8s.io/api/autoscaling/v2beta2.HPAScalingRules": schema_k8sio_api_autoscaling_v2beta2_HPAScalingRules(ref), + "k8s.io/api/autoscaling/v2beta2.HorizontalPodAutoscaler": schema_k8sio_api_autoscaling_v2beta2_HorizontalPodAutoscaler(ref), + "k8s.io/api/autoscaling/v2beta2.HorizontalPodAutoscalerBehavior": schema_k8sio_api_autoscaling_v2beta2_HorizontalPodAutoscalerBehavior(ref), + "k8s.io/api/autoscaling/v2beta2.HorizontalPodAutoscalerCondition": schema_k8sio_api_autoscaling_v2beta2_HorizontalPodAutoscalerCondition(ref), + "k8s.io/api/autoscaling/v2beta2.HorizontalPodAutoscalerList": schema_k8sio_api_autoscaling_v2beta2_HorizontalPodAutoscalerList(ref), + "k8s.io/api/autoscaling/v2beta2.HorizontalPodAutoscalerSpec": schema_k8sio_api_autoscaling_v2beta2_HorizontalPodAutoscalerSpec(ref), + "k8s.io/api/autoscaling/v2beta2.HorizontalPodAutoscalerStatus": schema_k8sio_api_autoscaling_v2beta2_HorizontalPodAutoscalerStatus(ref), + "k8s.io/api/autoscaling/v2beta2.MetricIdentifier": schema_k8sio_api_autoscaling_v2beta2_MetricIdentifier(ref), + "k8s.io/api/autoscaling/v2beta2.MetricSpec": schema_k8sio_api_autoscaling_v2beta2_MetricSpec(ref), + "k8s.io/api/autoscaling/v2beta2.MetricStatus": schema_k8sio_api_autoscaling_v2beta2_MetricStatus(ref), + "k8s.io/api/autoscaling/v2beta2.MetricTarget": schema_k8sio_api_autoscaling_v2beta2_MetricTarget(ref), + "k8s.io/api/autoscaling/v2beta2.MetricValueStatus": schema_k8sio_api_autoscaling_v2beta2_MetricValueStatus(ref), + "k8s.io/api/autoscaling/v2beta2.ObjectMetricSource": schema_k8sio_api_autoscaling_v2beta2_ObjectMetricSource(ref), + "k8s.io/api/autoscaling/v2beta2.ObjectMetricStatus": schema_k8sio_api_autoscaling_v2beta2_ObjectMetricStatus(ref), + "k8s.io/api/autoscaling/v2beta2.PodsMetricSource": schema_k8sio_api_autoscaling_v2beta2_PodsMetricSource(ref), + "k8s.io/api/autoscaling/v2beta2.PodsMetricStatus": schema_k8sio_api_autoscaling_v2beta2_PodsMetricStatus(ref), + "k8s.io/api/autoscaling/v2beta2.ResourceMetricSource": schema_k8sio_api_autoscaling_v2beta2_ResourceMetricSource(ref), + "k8s.io/api/autoscaling/v2beta2.ResourceMetricStatus": schema_k8sio_api_autoscaling_v2beta2_ResourceMetricStatus(ref), + "k8s.io/api/core/v1.AWSElasticBlockStoreVolumeSource": schema_k8sio_api_core_v1_AWSElasticBlockStoreVolumeSource(ref), + "k8s.io/api/core/v1.Affinity": schema_k8sio_api_core_v1_Affinity(ref), + "k8s.io/api/core/v1.AttachedVolume": schema_k8sio_api_core_v1_AttachedVolume(ref), + "k8s.io/api/core/v1.AvoidPods": schema_k8sio_api_core_v1_AvoidPods(ref), + "k8s.io/api/core/v1.AzureDiskVolumeSource": schema_k8sio_api_core_v1_AzureDiskVolumeSource(ref), + "k8s.io/api/core/v1.AzureFilePersistentVolumeSource": schema_k8sio_api_core_v1_AzureFilePersistentVolumeSource(ref), + "k8s.io/api/core/v1.AzureFileVolumeSource": schema_k8sio_api_core_v1_AzureFileVolumeSource(ref), + "k8s.io/api/core/v1.Binding": schema_k8sio_api_core_v1_Binding(ref), + "k8s.io/api/core/v1.CSIPersistentVolumeSource": schema_k8sio_api_core_v1_CSIPersistentVolumeSource(ref), + "k8s.io/api/core/v1.CSIVolumeSource": schema_k8sio_api_core_v1_CSIVolumeSource(ref), + "k8s.io/api/core/v1.Capabilities": schema_k8sio_api_core_v1_Capabilities(ref), + "k8s.io/api/core/v1.CephFSPersistentVolumeSource": schema_k8sio_api_core_v1_CephFSPersistentVolumeSource(ref), + "k8s.io/api/core/v1.CephFSVolumeSource": schema_k8sio_api_core_v1_CephFSVolumeSource(ref), + "k8s.io/api/core/v1.CinderPersistentVolumeSource": schema_k8sio_api_core_v1_CinderPersistentVolumeSource(ref), + "k8s.io/api/core/v1.CinderVolumeSource": schema_k8sio_api_core_v1_CinderVolumeSource(ref), + "k8s.io/api/core/v1.ClaimSource": schema_k8sio_api_core_v1_ClaimSource(ref), + "k8s.io/api/core/v1.ClientIPConfig": schema_k8sio_api_core_v1_ClientIPConfig(ref), + "k8s.io/api/core/v1.ClusterTrustBundleProjection": schema_k8sio_api_core_v1_ClusterTrustBundleProjection(ref), + "k8s.io/api/core/v1.ComponentCondition": schema_k8sio_api_core_v1_ComponentCondition(ref), + "k8s.io/api/core/v1.ComponentStatus": schema_k8sio_api_core_v1_ComponentStatus(ref), + "k8s.io/api/core/v1.ComponentStatusList": schema_k8sio_api_core_v1_ComponentStatusList(ref), + "k8s.io/api/core/v1.ConfigMap": schema_k8sio_api_core_v1_ConfigMap(ref), + "k8s.io/api/core/v1.ConfigMapEnvSource": schema_k8sio_api_core_v1_ConfigMapEnvSource(ref), + "k8s.io/api/core/v1.ConfigMapKeySelector": schema_k8sio_api_core_v1_ConfigMapKeySelector(ref), + "k8s.io/api/core/v1.ConfigMapList": schema_k8sio_api_core_v1_ConfigMapList(ref), + "k8s.io/api/core/v1.ConfigMapNodeConfigSource": schema_k8sio_api_core_v1_ConfigMapNodeConfigSource(ref), + "k8s.io/api/core/v1.ConfigMapProjection": schema_k8sio_api_core_v1_ConfigMapProjection(ref), + "k8s.io/api/core/v1.ConfigMapVolumeSource": schema_k8sio_api_core_v1_ConfigMapVolumeSource(ref), + "k8s.io/api/core/v1.Container": schema_k8sio_api_core_v1_Container(ref), + "k8s.io/api/core/v1.ContainerImage": schema_k8sio_api_core_v1_ContainerImage(ref), + "k8s.io/api/core/v1.ContainerPort": schema_k8sio_api_core_v1_ContainerPort(ref), + "k8s.io/api/core/v1.ContainerResizePolicy": schema_k8sio_api_core_v1_ContainerResizePolicy(ref), + "k8s.io/api/core/v1.ContainerState": schema_k8sio_api_core_v1_ContainerState(ref), + "k8s.io/api/core/v1.ContainerStateRunning": schema_k8sio_api_core_v1_ContainerStateRunning(ref), + "k8s.io/api/core/v1.ContainerStateTerminated": schema_k8sio_api_core_v1_ContainerStateTerminated(ref), + "k8s.io/api/core/v1.ContainerStateWaiting": schema_k8sio_api_core_v1_ContainerStateWaiting(ref), + "k8s.io/api/core/v1.ContainerStatus": schema_k8sio_api_core_v1_ContainerStatus(ref), + "k8s.io/api/core/v1.DaemonEndpoint": schema_k8sio_api_core_v1_DaemonEndpoint(ref), + "k8s.io/api/core/v1.DownwardAPIProjection": schema_k8sio_api_core_v1_DownwardAPIProjection(ref), + "k8s.io/api/core/v1.DownwardAPIVolumeFile": schema_k8sio_api_core_v1_DownwardAPIVolumeFile(ref), + "k8s.io/api/core/v1.DownwardAPIVolumeSource": schema_k8sio_api_core_v1_DownwardAPIVolumeSource(ref), + "k8s.io/api/core/v1.EmptyDirVolumeSource": schema_k8sio_api_core_v1_EmptyDirVolumeSource(ref), + "k8s.io/api/core/v1.EndpointAddress": schema_k8sio_api_core_v1_EndpointAddress(ref), + "k8s.io/api/core/v1.EndpointPort": schema_k8sio_api_core_v1_EndpointPort(ref), + "k8s.io/api/core/v1.EndpointSubset": schema_k8sio_api_core_v1_EndpointSubset(ref), + "k8s.io/api/core/v1.Endpoints": schema_k8sio_api_core_v1_Endpoints(ref), + "k8s.io/api/core/v1.EndpointsList": schema_k8sio_api_core_v1_EndpointsList(ref), + "k8s.io/api/core/v1.EnvFromSource": schema_k8sio_api_core_v1_EnvFromSource(ref), + "k8s.io/api/core/v1.EnvVar": schema_k8sio_api_core_v1_EnvVar(ref), + "k8s.io/api/core/v1.EnvVarSource": schema_k8sio_api_core_v1_EnvVarSource(ref), + "k8s.io/api/core/v1.EphemeralContainer": schema_k8sio_api_core_v1_EphemeralContainer(ref), + "k8s.io/api/core/v1.EphemeralContainerCommon": schema_k8sio_api_core_v1_EphemeralContainerCommon(ref), + "k8s.io/api/core/v1.EphemeralVolumeSource": schema_k8sio_api_core_v1_EphemeralVolumeSource(ref), + "k8s.io/api/core/v1.Event": schema_k8sio_api_core_v1_Event(ref), + "k8s.io/api/core/v1.EventList": schema_k8sio_api_core_v1_EventList(ref), + "k8s.io/api/core/v1.EventSeries": schema_k8sio_api_core_v1_EventSeries(ref), + "k8s.io/api/core/v1.EventSource": schema_k8sio_api_core_v1_EventSource(ref), + "k8s.io/api/core/v1.ExecAction": schema_k8sio_api_core_v1_ExecAction(ref), + "k8s.io/api/core/v1.FCVolumeSource": schema_k8sio_api_core_v1_FCVolumeSource(ref), + "k8s.io/api/core/v1.FlexPersistentVolumeSource": schema_k8sio_api_core_v1_FlexPersistentVolumeSource(ref), + "k8s.io/api/core/v1.FlexVolumeSource": schema_k8sio_api_core_v1_FlexVolumeSource(ref), + "k8s.io/api/core/v1.FlockerVolumeSource": schema_k8sio_api_core_v1_FlockerVolumeSource(ref), + "k8s.io/api/core/v1.GCEPersistentDiskVolumeSource": schema_k8sio_api_core_v1_GCEPersistentDiskVolumeSource(ref), + "k8s.io/api/core/v1.GRPCAction": schema_k8sio_api_core_v1_GRPCAction(ref), + "k8s.io/api/core/v1.GitRepoVolumeSource": schema_k8sio_api_core_v1_GitRepoVolumeSource(ref), + "k8s.io/api/core/v1.GlusterfsPersistentVolumeSource": schema_k8sio_api_core_v1_GlusterfsPersistentVolumeSource(ref), + "k8s.io/api/core/v1.GlusterfsVolumeSource": schema_k8sio_api_core_v1_GlusterfsVolumeSource(ref), + "k8s.io/api/core/v1.HTTPGetAction": schema_k8sio_api_core_v1_HTTPGetAction(ref), + "k8s.io/api/core/v1.HTTPHeader": schema_k8sio_api_core_v1_HTTPHeader(ref), + "k8s.io/api/core/v1.HostAlias": schema_k8sio_api_core_v1_HostAlias(ref), + "k8s.io/api/core/v1.HostIP": schema_k8sio_api_core_v1_HostIP(ref), + "k8s.io/api/core/v1.HostPathVolumeSource": schema_k8sio_api_core_v1_HostPathVolumeSource(ref), + "k8s.io/api/core/v1.ISCSIPersistentVolumeSource": schema_k8sio_api_core_v1_ISCSIPersistentVolumeSource(ref), + "k8s.io/api/core/v1.ISCSIVolumeSource": schema_k8sio_api_core_v1_ISCSIVolumeSource(ref), + "k8s.io/api/core/v1.KeyToPath": schema_k8sio_api_core_v1_KeyToPath(ref), + "k8s.io/api/core/v1.Lifecycle": schema_k8sio_api_core_v1_Lifecycle(ref), + "k8s.io/api/core/v1.LifecycleHandler": schema_k8sio_api_core_v1_LifecycleHandler(ref), + "k8s.io/api/core/v1.LimitRange": schema_k8sio_api_core_v1_LimitRange(ref), + "k8s.io/api/core/v1.LimitRangeItem": schema_k8sio_api_core_v1_LimitRangeItem(ref), + "k8s.io/api/core/v1.LimitRangeList": schema_k8sio_api_core_v1_LimitRangeList(ref), + "k8s.io/api/core/v1.LimitRangeSpec": schema_k8sio_api_core_v1_LimitRangeSpec(ref), + "k8s.io/api/core/v1.List": schema_k8sio_api_core_v1_List(ref), + "k8s.io/api/core/v1.LoadBalancerIngress": schema_k8sio_api_core_v1_LoadBalancerIngress(ref), + "k8s.io/api/core/v1.LoadBalancerStatus": schema_k8sio_api_core_v1_LoadBalancerStatus(ref), + "k8s.io/api/core/v1.LocalObjectReference": schema_k8sio_api_core_v1_LocalObjectReference(ref), + "k8s.io/api/core/v1.LocalVolumeSource": schema_k8sio_api_core_v1_LocalVolumeSource(ref), + "k8s.io/api/core/v1.ModifyVolumeStatus": schema_k8sio_api_core_v1_ModifyVolumeStatus(ref), + "k8s.io/api/core/v1.NFSVolumeSource": schema_k8sio_api_core_v1_NFSVolumeSource(ref), + "k8s.io/api/core/v1.Namespace": schema_k8sio_api_core_v1_Namespace(ref), + "k8s.io/api/core/v1.NamespaceCondition": schema_k8sio_api_core_v1_NamespaceCondition(ref), + "k8s.io/api/core/v1.NamespaceList": schema_k8sio_api_core_v1_NamespaceList(ref), + "k8s.io/api/core/v1.NamespaceSpec": schema_k8sio_api_core_v1_NamespaceSpec(ref), + "k8s.io/api/core/v1.NamespaceStatus": schema_k8sio_api_core_v1_NamespaceStatus(ref), + "k8s.io/api/core/v1.Node": schema_k8sio_api_core_v1_Node(ref), + "k8s.io/api/core/v1.NodeAddress": schema_k8sio_api_core_v1_NodeAddress(ref), + "k8s.io/api/core/v1.NodeAffinity": schema_k8sio_api_core_v1_NodeAffinity(ref), + "k8s.io/api/core/v1.NodeCondition": schema_k8sio_api_core_v1_NodeCondition(ref), + "k8s.io/api/core/v1.NodeConfigSource": schema_k8sio_api_core_v1_NodeConfigSource(ref), + "k8s.io/api/core/v1.NodeConfigStatus": schema_k8sio_api_core_v1_NodeConfigStatus(ref), + "k8s.io/api/core/v1.NodeDaemonEndpoints": schema_k8sio_api_core_v1_NodeDaemonEndpoints(ref), + "k8s.io/api/core/v1.NodeList": schema_k8sio_api_core_v1_NodeList(ref), + "k8s.io/api/core/v1.NodeProxyOptions": schema_k8sio_api_core_v1_NodeProxyOptions(ref), + "k8s.io/api/core/v1.NodeResources": schema_k8sio_api_core_v1_NodeResources(ref), + "k8s.io/api/core/v1.NodeSelector": schema_k8sio_api_core_v1_NodeSelector(ref), + "k8s.io/api/core/v1.NodeSelectorRequirement": schema_k8sio_api_core_v1_NodeSelectorRequirement(ref), + "k8s.io/api/core/v1.NodeSelectorTerm": schema_k8sio_api_core_v1_NodeSelectorTerm(ref), + "k8s.io/api/core/v1.NodeSpec": schema_k8sio_api_core_v1_NodeSpec(ref), + "k8s.io/api/core/v1.NodeStatus": schema_k8sio_api_core_v1_NodeStatus(ref), + "k8s.io/api/core/v1.NodeSystemInfo": schema_k8sio_api_core_v1_NodeSystemInfo(ref), + "k8s.io/api/core/v1.ObjectFieldSelector": schema_k8sio_api_core_v1_ObjectFieldSelector(ref), + "k8s.io/api/core/v1.ObjectReference": schema_k8sio_api_core_v1_ObjectReference(ref), + "k8s.io/api/core/v1.PersistentVolume": schema_k8sio_api_core_v1_PersistentVolume(ref), + "k8s.io/api/core/v1.PersistentVolumeClaim": schema_k8sio_api_core_v1_PersistentVolumeClaim(ref), + "k8s.io/api/core/v1.PersistentVolumeClaimCondition": schema_k8sio_api_core_v1_PersistentVolumeClaimCondition(ref), + "k8s.io/api/core/v1.PersistentVolumeClaimList": schema_k8sio_api_core_v1_PersistentVolumeClaimList(ref), + "k8s.io/api/core/v1.PersistentVolumeClaimSpec": schema_k8sio_api_core_v1_PersistentVolumeClaimSpec(ref), + "k8s.io/api/core/v1.PersistentVolumeClaimStatus": schema_k8sio_api_core_v1_PersistentVolumeClaimStatus(ref), + "k8s.io/api/core/v1.PersistentVolumeClaimTemplate": schema_k8sio_api_core_v1_PersistentVolumeClaimTemplate(ref), + "k8s.io/api/core/v1.PersistentVolumeClaimVolumeSource": schema_k8sio_api_core_v1_PersistentVolumeClaimVolumeSource(ref), + "k8s.io/api/core/v1.PersistentVolumeList": schema_k8sio_api_core_v1_PersistentVolumeList(ref), + "k8s.io/api/core/v1.PersistentVolumeSource": schema_k8sio_api_core_v1_PersistentVolumeSource(ref), + "k8s.io/api/core/v1.PersistentVolumeSpec": schema_k8sio_api_core_v1_PersistentVolumeSpec(ref), + "k8s.io/api/core/v1.PersistentVolumeStatus": schema_k8sio_api_core_v1_PersistentVolumeStatus(ref), + "k8s.io/api/core/v1.PhotonPersistentDiskVolumeSource": schema_k8sio_api_core_v1_PhotonPersistentDiskVolumeSource(ref), + "k8s.io/api/core/v1.Pod": schema_k8sio_api_core_v1_Pod(ref), + "k8s.io/api/core/v1.PodAffinity": schema_k8sio_api_core_v1_PodAffinity(ref), + "k8s.io/api/core/v1.PodAffinityTerm": schema_k8sio_api_core_v1_PodAffinityTerm(ref), + "k8s.io/api/core/v1.PodAntiAffinity": schema_k8sio_api_core_v1_PodAntiAffinity(ref), + "k8s.io/api/core/v1.PodAttachOptions": schema_k8sio_api_core_v1_PodAttachOptions(ref), + "k8s.io/api/core/v1.PodCondition": schema_k8sio_api_core_v1_PodCondition(ref), + "k8s.io/api/core/v1.PodDNSConfig": schema_k8sio_api_core_v1_PodDNSConfig(ref), + "k8s.io/api/core/v1.PodDNSConfigOption": schema_k8sio_api_core_v1_PodDNSConfigOption(ref), + "k8s.io/api/core/v1.PodExecOptions": schema_k8sio_api_core_v1_PodExecOptions(ref), + "k8s.io/api/core/v1.PodIP": schema_k8sio_api_core_v1_PodIP(ref), + "k8s.io/api/core/v1.PodList": schema_k8sio_api_core_v1_PodList(ref), + "k8s.io/api/core/v1.PodLogOptions": schema_k8sio_api_core_v1_PodLogOptions(ref), + "k8s.io/api/core/v1.PodOS": schema_k8sio_api_core_v1_PodOS(ref), + "k8s.io/api/core/v1.PodPortForwardOptions": schema_k8sio_api_core_v1_PodPortForwardOptions(ref), + "k8s.io/api/core/v1.PodProxyOptions": schema_k8sio_api_core_v1_PodProxyOptions(ref), + "k8s.io/api/core/v1.PodReadinessGate": schema_k8sio_api_core_v1_PodReadinessGate(ref), + "k8s.io/api/core/v1.PodResourceClaim": schema_k8sio_api_core_v1_PodResourceClaim(ref), + "k8s.io/api/core/v1.PodResourceClaimStatus": schema_k8sio_api_core_v1_PodResourceClaimStatus(ref), + "k8s.io/api/core/v1.PodSchedulingGate": schema_k8sio_api_core_v1_PodSchedulingGate(ref), + "k8s.io/api/core/v1.PodSecurityContext": schema_k8sio_api_core_v1_PodSecurityContext(ref), + "k8s.io/api/core/v1.PodSignature": schema_k8sio_api_core_v1_PodSignature(ref), + "k8s.io/api/core/v1.PodSpec": schema_k8sio_api_core_v1_PodSpec(ref), + "k8s.io/api/core/v1.PodStatus": schema_k8sio_api_core_v1_PodStatus(ref), + "k8s.io/api/core/v1.PodStatusResult": schema_k8sio_api_core_v1_PodStatusResult(ref), + "k8s.io/api/core/v1.PodTemplate": schema_k8sio_api_core_v1_PodTemplate(ref), + "k8s.io/api/core/v1.PodTemplateList": schema_k8sio_api_core_v1_PodTemplateList(ref), + "k8s.io/api/core/v1.PodTemplateSpec": schema_k8sio_api_core_v1_PodTemplateSpec(ref), + "k8s.io/api/core/v1.PortStatus": schema_k8sio_api_core_v1_PortStatus(ref), + "k8s.io/api/core/v1.PortworxVolumeSource": schema_k8sio_api_core_v1_PortworxVolumeSource(ref), + "k8s.io/api/core/v1.PreferAvoidPodsEntry": schema_k8sio_api_core_v1_PreferAvoidPodsEntry(ref), + "k8s.io/api/core/v1.PreferredSchedulingTerm": schema_k8sio_api_core_v1_PreferredSchedulingTerm(ref), + "k8s.io/api/core/v1.Probe": schema_k8sio_api_core_v1_Probe(ref), + "k8s.io/api/core/v1.ProbeHandler": schema_k8sio_api_core_v1_ProbeHandler(ref), + "k8s.io/api/core/v1.ProjectedVolumeSource": schema_k8sio_api_core_v1_ProjectedVolumeSource(ref), + "k8s.io/api/core/v1.QuobyteVolumeSource": schema_k8sio_api_core_v1_QuobyteVolumeSource(ref), + "k8s.io/api/core/v1.RBDPersistentVolumeSource": schema_k8sio_api_core_v1_RBDPersistentVolumeSource(ref), + "k8s.io/api/core/v1.RBDVolumeSource": schema_k8sio_api_core_v1_RBDVolumeSource(ref), + "k8s.io/api/core/v1.RangeAllocation": schema_k8sio_api_core_v1_RangeAllocation(ref), + "k8s.io/api/core/v1.ReplicationController": schema_k8sio_api_core_v1_ReplicationController(ref), + "k8s.io/api/core/v1.ReplicationControllerCondition": schema_k8sio_api_core_v1_ReplicationControllerCondition(ref), + "k8s.io/api/core/v1.ReplicationControllerList": schema_k8sio_api_core_v1_ReplicationControllerList(ref), + "k8s.io/api/core/v1.ReplicationControllerSpec": schema_k8sio_api_core_v1_ReplicationControllerSpec(ref), + "k8s.io/api/core/v1.ReplicationControllerStatus": schema_k8sio_api_core_v1_ReplicationControllerStatus(ref), + "k8s.io/api/core/v1.ResourceClaim": schema_k8sio_api_core_v1_ResourceClaim(ref), + "k8s.io/api/core/v1.ResourceFieldSelector": schema_k8sio_api_core_v1_ResourceFieldSelector(ref), + "k8s.io/api/core/v1.ResourceQuota": schema_k8sio_api_core_v1_ResourceQuota(ref), + "k8s.io/api/core/v1.ResourceQuotaList": schema_k8sio_api_core_v1_ResourceQuotaList(ref), + "k8s.io/api/core/v1.ResourceQuotaSpec": schema_k8sio_api_core_v1_ResourceQuotaSpec(ref), + "k8s.io/api/core/v1.ResourceQuotaStatus": schema_k8sio_api_core_v1_ResourceQuotaStatus(ref), + "k8s.io/api/core/v1.ResourceRequirements": schema_k8sio_api_core_v1_ResourceRequirements(ref), + "k8s.io/api/core/v1.SELinuxOptions": schema_k8sio_api_core_v1_SELinuxOptions(ref), + "k8s.io/api/core/v1.ScaleIOPersistentVolumeSource": schema_k8sio_api_core_v1_ScaleIOPersistentVolumeSource(ref), + "k8s.io/api/core/v1.ScaleIOVolumeSource": schema_k8sio_api_core_v1_ScaleIOVolumeSource(ref), + "k8s.io/api/core/v1.ScopeSelector": schema_k8sio_api_core_v1_ScopeSelector(ref), + "k8s.io/api/core/v1.ScopedResourceSelectorRequirement": schema_k8sio_api_core_v1_ScopedResourceSelectorRequirement(ref), + "k8s.io/api/core/v1.SeccompProfile": schema_k8sio_api_core_v1_SeccompProfile(ref), + "k8s.io/api/core/v1.Secret": schema_k8sio_api_core_v1_Secret(ref), + "k8s.io/api/core/v1.SecretEnvSource": schema_k8sio_api_core_v1_SecretEnvSource(ref), + "k8s.io/api/core/v1.SecretKeySelector": schema_k8sio_api_core_v1_SecretKeySelector(ref), + "k8s.io/api/core/v1.SecretList": schema_k8sio_api_core_v1_SecretList(ref), + "k8s.io/api/core/v1.SecretProjection": schema_k8sio_api_core_v1_SecretProjection(ref), + "k8s.io/api/core/v1.SecretReference": schema_k8sio_api_core_v1_SecretReference(ref), + "k8s.io/api/core/v1.SecretVolumeSource": schema_k8sio_api_core_v1_SecretVolumeSource(ref), + "k8s.io/api/core/v1.SecurityContext": schema_k8sio_api_core_v1_SecurityContext(ref), + "k8s.io/api/core/v1.SerializedReference": schema_k8sio_api_core_v1_SerializedReference(ref), + "k8s.io/api/core/v1.Service": schema_k8sio_api_core_v1_Service(ref), + "k8s.io/api/core/v1.ServiceAccount": schema_k8sio_api_core_v1_ServiceAccount(ref), + "k8s.io/api/core/v1.ServiceAccountList": schema_k8sio_api_core_v1_ServiceAccountList(ref), + "k8s.io/api/core/v1.ServiceAccountTokenProjection": schema_k8sio_api_core_v1_ServiceAccountTokenProjection(ref), + "k8s.io/api/core/v1.ServiceList": schema_k8sio_api_core_v1_ServiceList(ref), + "k8s.io/api/core/v1.ServicePort": schema_k8sio_api_core_v1_ServicePort(ref), + "k8s.io/api/core/v1.ServiceProxyOptions": schema_k8sio_api_core_v1_ServiceProxyOptions(ref), + "k8s.io/api/core/v1.ServiceSpec": schema_k8sio_api_core_v1_ServiceSpec(ref), + "k8s.io/api/core/v1.ServiceStatus": schema_k8sio_api_core_v1_ServiceStatus(ref), + "k8s.io/api/core/v1.SessionAffinityConfig": schema_k8sio_api_core_v1_SessionAffinityConfig(ref), + "k8s.io/api/core/v1.SleepAction": schema_k8sio_api_core_v1_SleepAction(ref), + "k8s.io/api/core/v1.StorageOSPersistentVolumeSource": schema_k8sio_api_core_v1_StorageOSPersistentVolumeSource(ref), + "k8s.io/api/core/v1.StorageOSVolumeSource": schema_k8sio_api_core_v1_StorageOSVolumeSource(ref), + "k8s.io/api/core/v1.Sysctl": schema_k8sio_api_core_v1_Sysctl(ref), + "k8s.io/api/core/v1.TCPSocketAction": schema_k8sio_api_core_v1_TCPSocketAction(ref), + "k8s.io/api/core/v1.Taint": schema_k8sio_api_core_v1_Taint(ref), + "k8s.io/api/core/v1.Toleration": schema_k8sio_api_core_v1_Toleration(ref), + "k8s.io/api/core/v1.TopologySelectorLabelRequirement": schema_k8sio_api_core_v1_TopologySelectorLabelRequirement(ref), + "k8s.io/api/core/v1.TopologySelectorTerm": schema_k8sio_api_core_v1_TopologySelectorTerm(ref), + "k8s.io/api/core/v1.TopologySpreadConstraint": schema_k8sio_api_core_v1_TopologySpreadConstraint(ref), + "k8s.io/api/core/v1.TypedLocalObjectReference": schema_k8sio_api_core_v1_TypedLocalObjectReference(ref), + "k8s.io/api/core/v1.TypedObjectReference": schema_k8sio_api_core_v1_TypedObjectReference(ref), + "k8s.io/api/core/v1.Volume": schema_k8sio_api_core_v1_Volume(ref), + "k8s.io/api/core/v1.VolumeDevice": schema_k8sio_api_core_v1_VolumeDevice(ref), + "k8s.io/api/core/v1.VolumeMount": schema_k8sio_api_core_v1_VolumeMount(ref), + "k8s.io/api/core/v1.VolumeNodeAffinity": schema_k8sio_api_core_v1_VolumeNodeAffinity(ref), + "k8s.io/api/core/v1.VolumeProjection": schema_k8sio_api_core_v1_VolumeProjection(ref), + "k8s.io/api/core/v1.VolumeResourceRequirements": schema_k8sio_api_core_v1_VolumeResourceRequirements(ref), + "k8s.io/api/core/v1.VolumeSource": schema_k8sio_api_core_v1_VolumeSource(ref), + "k8s.io/api/core/v1.VsphereVirtualDiskVolumeSource": schema_k8sio_api_core_v1_VsphereVirtualDiskVolumeSource(ref), + "k8s.io/api/core/v1.WeightedPodAffinityTerm": schema_k8sio_api_core_v1_WeightedPodAffinityTerm(ref), + "k8s.io/api/core/v1.WindowsSecurityContextOptions": schema_k8sio_api_core_v1_WindowsSecurityContextOptions(ref), + "k8s.io/api/rbac/v1.AggregationRule": schema_k8sio_api_rbac_v1_AggregationRule(ref), + "k8s.io/api/rbac/v1.ClusterRole": schema_k8sio_api_rbac_v1_ClusterRole(ref), + "k8s.io/api/rbac/v1.ClusterRoleBinding": schema_k8sio_api_rbac_v1_ClusterRoleBinding(ref), + "k8s.io/api/rbac/v1.ClusterRoleBindingList": schema_k8sio_api_rbac_v1_ClusterRoleBindingList(ref), + "k8s.io/api/rbac/v1.ClusterRoleList": schema_k8sio_api_rbac_v1_ClusterRoleList(ref), + "k8s.io/api/rbac/v1.PolicyRule": schema_k8sio_api_rbac_v1_PolicyRule(ref), + "k8s.io/api/rbac/v1.Role": schema_k8sio_api_rbac_v1_Role(ref), + "k8s.io/api/rbac/v1.RoleBinding": schema_k8sio_api_rbac_v1_RoleBinding(ref), + "k8s.io/api/rbac/v1.RoleBindingList": schema_k8sio_api_rbac_v1_RoleBindingList(ref), + "k8s.io/api/rbac/v1.RoleList": schema_k8sio_api_rbac_v1_RoleList(ref), + "k8s.io/api/rbac/v1.RoleRef": schema_k8sio_api_rbac_v1_RoleRef(ref), + "k8s.io/api/rbac/v1.Subject": schema_k8sio_api_rbac_v1_Subject(ref), + "k8s.io/apimachinery/pkg/api/resource.Quantity": schema_apimachinery_pkg_api_resource_Quantity(ref), + "k8s.io/apimachinery/pkg/api/resource.int64Amount": schema_apimachinery_pkg_api_resource_int64Amount(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.APIGroup": schema_pkg_apis_meta_v1_APIGroup(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.APIGroupList": schema_pkg_apis_meta_v1_APIGroupList(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.APIResource": schema_pkg_apis_meta_v1_APIResource(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.APIResourceList": schema_pkg_apis_meta_v1_APIResourceList(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.APIVersions": schema_pkg_apis_meta_v1_APIVersions(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.ApplyOptions": schema_pkg_apis_meta_v1_ApplyOptions(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.Condition": schema_pkg_apis_meta_v1_Condition(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.CreateOptions": schema_pkg_apis_meta_v1_CreateOptions(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.DeleteOptions": schema_pkg_apis_meta_v1_DeleteOptions(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.Duration": schema_pkg_apis_meta_v1_Duration(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.FieldsV1": schema_pkg_apis_meta_v1_FieldsV1(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.GetOptions": schema_pkg_apis_meta_v1_GetOptions(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.GroupKind": schema_pkg_apis_meta_v1_GroupKind(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.GroupResource": schema_pkg_apis_meta_v1_GroupResource(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersion": schema_pkg_apis_meta_v1_GroupVersion(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersionForDiscovery": schema_pkg_apis_meta_v1_GroupVersionForDiscovery(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersionKind": schema_pkg_apis_meta_v1_GroupVersionKind(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.GroupVersionResource": schema_pkg_apis_meta_v1_GroupVersionResource(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.InternalEvent": schema_pkg_apis_meta_v1_InternalEvent(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector": schema_pkg_apis_meta_v1_LabelSelector(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelectorRequirement": schema_pkg_apis_meta_v1_LabelSelectorRequirement(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.List": schema_pkg_apis_meta_v1_List(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta": schema_pkg_apis_meta_v1_ListMeta(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.ListOptions": schema_pkg_apis_meta_v1_ListOptions(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.ManagedFieldsEntry": schema_pkg_apis_meta_v1_ManagedFieldsEntry(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.MicroTime": schema_pkg_apis_meta_v1_MicroTime(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta": schema_pkg_apis_meta_v1_ObjectMeta(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.OwnerReference": schema_pkg_apis_meta_v1_OwnerReference(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.PartialObjectMetadata": schema_pkg_apis_meta_v1_PartialObjectMetadata(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.PartialObjectMetadataList": schema_pkg_apis_meta_v1_PartialObjectMetadataList(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.Patch": schema_pkg_apis_meta_v1_Patch(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.PatchOptions": schema_pkg_apis_meta_v1_PatchOptions(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.Preconditions": schema_pkg_apis_meta_v1_Preconditions(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.RootPaths": schema_pkg_apis_meta_v1_RootPaths(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.ServerAddressByClientCIDR": schema_pkg_apis_meta_v1_ServerAddressByClientCIDR(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.Status": schema_pkg_apis_meta_v1_Status(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.StatusCause": schema_pkg_apis_meta_v1_StatusCause(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.StatusDetails": schema_pkg_apis_meta_v1_StatusDetails(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.Table": schema_pkg_apis_meta_v1_Table(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.TableColumnDefinition": schema_pkg_apis_meta_v1_TableColumnDefinition(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.TableOptions": schema_pkg_apis_meta_v1_TableOptions(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.TableRow": schema_pkg_apis_meta_v1_TableRow(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.TableRowCondition": schema_pkg_apis_meta_v1_TableRowCondition(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.Time": schema_pkg_apis_meta_v1_Time(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.Timestamp": schema_pkg_apis_meta_v1_Timestamp(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.TypeMeta": schema_pkg_apis_meta_v1_TypeMeta(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.UpdateOptions": schema_pkg_apis_meta_v1_UpdateOptions(ref), + "k8s.io/apimachinery/pkg/apis/meta/v1.WatchEvent": schema_pkg_apis_meta_v1_WatchEvent(ref), + "k8s.io/apimachinery/pkg/runtime.RawExtension": schema_k8sio_apimachinery_pkg_runtime_RawExtension(ref), + "k8s.io/apimachinery/pkg/runtime.TypeMeta": schema_k8sio_apimachinery_pkg_runtime_TypeMeta(ref), + "k8s.io/apimachinery/pkg/runtime.Unknown": schema_k8sio_apimachinery_pkg_runtime_Unknown(ref), + "k8s.io/apimachinery/pkg/util/intstr.IntOrString": schema_apimachinery_pkg_util_intstr_IntOrString(ref), + "k8s.io/apimachinery/pkg/version.Info": schema_k8sio_apimachinery_pkg_version_Info(ref), + "kmodules.xyz/client-go/api/v1.CAPIClusterInfo": schema_kmodulesxyz_client_go_api_v1_CAPIClusterInfo(ref), + "kmodules.xyz/client-go/api/v1.CertificatePrivateKey": schema_kmodulesxyz_client_go_api_v1_CertificatePrivateKey(ref), + "kmodules.xyz/client-go/api/v1.CertificateSpec": schema_kmodulesxyz_client_go_api_v1_CertificateSpec(ref), + "kmodules.xyz/client-go/api/v1.ClusterMetadata": schema_kmodulesxyz_client_go_api_v1_ClusterMetadata(ref), + "kmodules.xyz/client-go/api/v1.Condition": schema_kmodulesxyz_client_go_api_v1_Condition(ref), + "kmodules.xyz/client-go/api/v1.HealthCheckSpec": schema_kmodulesxyz_client_go_api_v1_HealthCheckSpec(ref), + "kmodules.xyz/client-go/api/v1.ImageInfo": schema_kmodulesxyz_client_go_api_v1_ImageInfo(ref), + "kmodules.xyz/client-go/api/v1.Lineage": schema_kmodulesxyz_client_go_api_v1_Lineage(ref), + "kmodules.xyz/client-go/api/v1.ObjectID": schema_kmodulesxyz_client_go_api_v1_ObjectID(ref), + "kmodules.xyz/client-go/api/v1.ObjectInfo": schema_kmodulesxyz_client_go_api_v1_ObjectInfo(ref), + "kmodules.xyz/client-go/api/v1.ObjectReference": schema_kmodulesxyz_client_go_api_v1_ObjectReference(ref), + "kmodules.xyz/client-go/api/v1.PullCredentials": schema_kmodulesxyz_client_go_api_v1_PullCredentials(ref), + "kmodules.xyz/client-go/api/v1.ReadonlyHealthCheckSpec": schema_kmodulesxyz_client_go_api_v1_ReadonlyHealthCheckSpec(ref), + "kmodules.xyz/client-go/api/v1.ResourceID": schema_kmodulesxyz_client_go_api_v1_ResourceID(ref), + "kmodules.xyz/client-go/api/v1.TLSConfig": schema_kmodulesxyz_client_go_api_v1_TLSConfig(ref), + "kmodules.xyz/client-go/api/v1.TimeOfDay": schema_kmodulesxyz_client_go_api_v1_TimeOfDay(ref), + "kmodules.xyz/client-go/api/v1.TypedObjectReference": schema_kmodulesxyz_client_go_api_v1_TypedObjectReference(ref), + "kmodules.xyz/client-go/api/v1.X509Subject": schema_kmodulesxyz_client_go_api_v1_X509Subject(ref), + "kmodules.xyz/client-go/api/v1.stringSetMerger": schema_kmodulesxyz_client_go_api_v1_stringSetMerger(ref), + "kmodules.xyz/custom-resources/apis/appcatalog/v1alpha1.AddKeyTransform": schema_custom_resources_apis_appcatalog_v1alpha1_AddKeyTransform(ref), + "kmodules.xyz/custom-resources/apis/appcatalog/v1alpha1.AddKeysFromTransform": schema_custom_resources_apis_appcatalog_v1alpha1_AddKeysFromTransform(ref), + "kmodules.xyz/custom-resources/apis/appcatalog/v1alpha1.AppBinding": schema_custom_resources_apis_appcatalog_v1alpha1_AppBinding(ref), + "kmodules.xyz/custom-resources/apis/appcatalog/v1alpha1.AppBindingList": schema_custom_resources_apis_appcatalog_v1alpha1_AppBindingList(ref), + "kmodules.xyz/custom-resources/apis/appcatalog/v1alpha1.AppBindingSpec": schema_custom_resources_apis_appcatalog_v1alpha1_AppBindingSpec(ref), + "kmodules.xyz/custom-resources/apis/appcatalog/v1alpha1.AppReference": schema_custom_resources_apis_appcatalog_v1alpha1_AppReference(ref), + "kmodules.xyz/custom-resources/apis/appcatalog/v1alpha1.ClientConfig": schema_custom_resources_apis_appcatalog_v1alpha1_ClientConfig(ref), + "kmodules.xyz/custom-resources/apis/appcatalog/v1alpha1.ObjectReference": schema_custom_resources_apis_appcatalog_v1alpha1_ObjectReference(ref), + "kmodules.xyz/custom-resources/apis/appcatalog/v1alpha1.Param": schema_custom_resources_apis_appcatalog_v1alpha1_Param(ref), + "kmodules.xyz/custom-resources/apis/appcatalog/v1alpha1.RemoveKeyTransform": schema_custom_resources_apis_appcatalog_v1alpha1_RemoveKeyTransform(ref), + "kmodules.xyz/custom-resources/apis/appcatalog/v1alpha1.RenameKeyTransform": schema_custom_resources_apis_appcatalog_v1alpha1_RenameKeyTransform(ref), + "kmodules.xyz/custom-resources/apis/appcatalog/v1alpha1.SecretTransform": schema_custom_resources_apis_appcatalog_v1alpha1_SecretTransform(ref), + "kmodules.xyz/custom-resources/apis/appcatalog/v1alpha1.ServiceReference": schema_custom_resources_apis_appcatalog_v1alpha1_ServiceReference(ref), + "kmodules.xyz/custom-resources/apis/appcatalog/v1alpha1.StashAddon": schema_custom_resources_apis_appcatalog_v1alpha1_StashAddon(ref), + "kmodules.xyz/custom-resources/apis/appcatalog/v1alpha1.StashAddonSpec": schema_custom_resources_apis_appcatalog_v1alpha1_StashAddonSpec(ref), + "kmodules.xyz/custom-resources/apis/appcatalog/v1alpha1.StashTaskSpec": schema_custom_resources_apis_appcatalog_v1alpha1_StashTaskSpec(ref), + "kmodules.xyz/custom-resources/apis/appcatalog/v1alpha1.TaskRef": schema_custom_resources_apis_appcatalog_v1alpha1_TaskRef(ref), + "kmodules.xyz/monitoring-agent-api/api/v1.AgentSpec": schema_kmodulesxyz_monitoring_agent_api_api_v1_AgentSpec(ref), + "kmodules.xyz/monitoring-agent-api/api/v1.AlertPreset": schema_kmodulesxyz_monitoring_agent_api_api_v1_AlertPreset(ref), + "kmodules.xyz/monitoring-agent-api/api/v1.BasicAuth": schema_kmodulesxyz_monitoring_agent_api_api_v1_BasicAuth(ref), + "kmodules.xyz/monitoring-agent-api/api/v1.DashboardSpec": schema_kmodulesxyz_monitoring_agent_api_api_v1_DashboardSpec(ref), + "kmodules.xyz/monitoring-agent-api/api/v1.GrafanaConfig": schema_kmodulesxyz_monitoring_agent_api_api_v1_GrafanaConfig(ref), + "kmodules.xyz/monitoring-agent-api/api/v1.GrafanaContext": schema_kmodulesxyz_monitoring_agent_api_api_v1_GrafanaContext(ref), + "kmodules.xyz/monitoring-agent-api/api/v1.MonitoringPresets": schema_kmodulesxyz_monitoring_agent_api_api_v1_MonitoringPresets(ref), + "kmodules.xyz/monitoring-agent-api/api/v1.MonitoringPresetsForm": schema_kmodulesxyz_monitoring_agent_api_api_v1_MonitoringPresetsForm(ref), + "kmodules.xyz/monitoring-agent-api/api/v1.MonitoringPresetsSpec": schema_kmodulesxyz_monitoring_agent_api_api_v1_MonitoringPresetsSpec(ref), + "kmodules.xyz/monitoring-agent-api/api/v1.PrometheusConfig": schema_kmodulesxyz_monitoring_agent_api_api_v1_PrometheusConfig(ref), + "kmodules.xyz/monitoring-agent-api/api/v1.PrometheusContext": schema_kmodulesxyz_monitoring_agent_api_api_v1_PrometheusContext(ref), + "kmodules.xyz/monitoring-agent-api/api/v1.PrometheusExporterSpec": schema_kmodulesxyz_monitoring_agent_api_api_v1_PrometheusExporterSpec(ref), + "kmodules.xyz/monitoring-agent-api/api/v1.PrometheusSpec": schema_kmodulesxyz_monitoring_agent_api_api_v1_PrometheusSpec(ref), + "kmodules.xyz/monitoring-agent-api/api/v1.ServiceMonitorLabels": schema_kmodulesxyz_monitoring_agent_api_api_v1_ServiceMonitorLabels(ref), + "kmodules.xyz/monitoring-agent-api/api/v1.ServiceMonitorPreset": schema_kmodulesxyz_monitoring_agent_api_api_v1_ServiceMonitorPreset(ref), + "kmodules.xyz/monitoring-agent-api/api/v1.ServiceMonitorSpec": schema_kmodulesxyz_monitoring_agent_api_api_v1_ServiceMonitorSpec(ref), + "kmodules.xyz/monitoring-agent-api/api/v1.ServiceSpec": schema_kmodulesxyz_monitoring_agent_api_api_v1_ServiceSpec(ref), + "kmodules.xyz/monitoring-agent-api/api/v1.TLSConfig": schema_kmodulesxyz_monitoring_agent_api_api_v1_TLSConfig(ref), + "kmodules.xyz/objectstore-api/api/v1.AzureSpec": schema_kmodulesxyz_objectstore_api_api_v1_AzureSpec(ref), + "kmodules.xyz/objectstore-api/api/v1.B2Spec": schema_kmodulesxyz_objectstore_api_api_v1_B2Spec(ref), + "kmodules.xyz/objectstore-api/api/v1.Backend": schema_kmodulesxyz_objectstore_api_api_v1_Backend(ref), + "kmodules.xyz/objectstore-api/api/v1.GCSSpec": schema_kmodulesxyz_objectstore_api_api_v1_GCSSpec(ref), + "kmodules.xyz/objectstore-api/api/v1.LocalSpec": schema_kmodulesxyz_objectstore_api_api_v1_LocalSpec(ref), + "kmodules.xyz/objectstore-api/api/v1.RestServerSpec": schema_kmodulesxyz_objectstore_api_api_v1_RestServerSpec(ref), + "kmodules.xyz/objectstore-api/api/v1.S3Spec": schema_kmodulesxyz_objectstore_api_api_v1_S3Spec(ref), + "kmodules.xyz/objectstore-api/api/v1.SwiftSpec": schema_kmodulesxyz_objectstore_api_api_v1_SwiftSpec(ref), + "kmodules.xyz/offshoot-api/api/v1.ContainerRuntimeSettings": schema_kmodulesxyz_offshoot_api_api_v1_ContainerRuntimeSettings(ref), + "kmodules.xyz/offshoot-api/api/v1.EphemeralVolumeSource": schema_kmodulesxyz_offshoot_api_api_v1_EphemeralVolumeSource(ref), + "kmodules.xyz/offshoot-api/api/v1.GatewayPort": schema_kmodulesxyz_offshoot_api_api_v1_GatewayPort(ref), + "kmodules.xyz/offshoot-api/api/v1.IONiceSettings": schema_kmodulesxyz_offshoot_api_api_v1_IONiceSettings(ref), + "kmodules.xyz/offshoot-api/api/v1.NiceSettings": schema_kmodulesxyz_offshoot_api_api_v1_NiceSettings(ref), + "kmodules.xyz/offshoot-api/api/v1.ObjectMeta": schema_kmodulesxyz_offshoot_api_api_v1_ObjectMeta(ref), + "kmodules.xyz/offshoot-api/api/v1.PartialObjectMeta": schema_kmodulesxyz_offshoot_api_api_v1_PartialObjectMeta(ref), + "kmodules.xyz/offshoot-api/api/v1.PersistentVolumeClaim": schema_kmodulesxyz_offshoot_api_api_v1_PersistentVolumeClaim(ref), + "kmodules.xyz/offshoot-api/api/v1.PersistentVolumeClaimTemplate": schema_kmodulesxyz_offshoot_api_api_v1_PersistentVolumeClaimTemplate(ref), + "kmodules.xyz/offshoot-api/api/v1.PodRuntimeSettings": schema_kmodulesxyz_offshoot_api_api_v1_PodRuntimeSettings(ref), + "kmodules.xyz/offshoot-api/api/v1.PodSpec": schema_kmodulesxyz_offshoot_api_api_v1_PodSpec(ref), + "kmodules.xyz/offshoot-api/api/v1.PodTemplateSpec": schema_kmodulesxyz_offshoot_api_api_v1_PodTemplateSpec(ref), + "kmodules.xyz/offshoot-api/api/v1.RuntimeSettings": schema_kmodulesxyz_offshoot_api_api_v1_RuntimeSettings(ref), + "kmodules.xyz/offshoot-api/api/v1.ServicePort": schema_kmodulesxyz_offshoot_api_api_v1_ServicePort(ref), + "kmodules.xyz/offshoot-api/api/v1.ServiceSpec": schema_kmodulesxyz_offshoot_api_api_v1_ServiceSpec(ref), + "kmodules.xyz/offshoot-api/api/v1.ServiceTemplateSpec": schema_kmodulesxyz_offshoot_api_api_v1_ServiceTemplateSpec(ref), + "kmodules.xyz/offshoot-api/api/v1.Volume": schema_kmodulesxyz_offshoot_api_api_v1_Volume(ref), + "kmodules.xyz/offshoot-api/api/v1.VolumeSource": schema_kmodulesxyz_offshoot_api_api_v1_VolumeSource(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.Age": schema_apimachinery_apis_kubedb_v1alpha2_Age(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.AllowedConsumers": schema_apimachinery_apis_kubedb_v1alpha2_AllowedConsumers(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.ArbiterSpec": schema_apimachinery_apis_kubedb_v1alpha2_ArbiterSpec(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.Archiver": schema_apimachinery_apis_kubedb_v1alpha2_Archiver(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.ArchiverRecovery": schema_apimachinery_apis_kubedb_v1alpha2_ArchiverRecovery(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.AutoOpsSpec": schema_apimachinery_apis_kubedb_v1alpha2_AutoOpsSpec(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.ConnectionPoolConfig": schema_apimachinery_apis_kubedb_v1alpha2_ConnectionPoolConfig(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.ConsumerNamespaces": schema_apimachinery_apis_kubedb_v1alpha2_ConsumerNamespaces(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.CoordinatorSpec": schema_apimachinery_apis_kubedb_v1alpha2_CoordinatorSpec(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.Databases": schema_apimachinery_apis_kubedb_v1alpha2_Databases(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.DeepStorageSpec": schema_apimachinery_apis_kubedb_v1alpha2_DeepStorageSpec(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.Druid": schema_apimachinery_apis_kubedb_v1alpha2_Druid(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.DruidApp": schema_apimachinery_apis_kubedb_v1alpha2_DruidApp(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.DruidClusterTopology": schema_apimachinery_apis_kubedb_v1alpha2_DruidClusterTopology(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.DruidList": schema_apimachinery_apis_kubedb_v1alpha2_DruidList(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.DruidNode": schema_apimachinery_apis_kubedb_v1alpha2_DruidNode(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.DruidSpec": schema_apimachinery_apis_kubedb_v1alpha2_DruidSpec(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.DruidStatsService": schema_apimachinery_apis_kubedb_v1alpha2_DruidStatsService(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.DruidStatus": schema_apimachinery_apis_kubedb_v1alpha2_DruidStatus(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.Elasticsearch": schema_apimachinery_apis_kubedb_v1alpha2_Elasticsearch(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.ElasticsearchClusterTopology": schema_apimachinery_apis_kubedb_v1alpha2_ElasticsearchClusterTopology(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.ElasticsearchList": schema_apimachinery_apis_kubedb_v1alpha2_ElasticsearchList(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.ElasticsearchNode": schema_apimachinery_apis_kubedb_v1alpha2_ElasticsearchNode(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.ElasticsearchRoleMapSpec": schema_apimachinery_apis_kubedb_v1alpha2_ElasticsearchRoleMapSpec(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.ElasticsearchSpec": schema_apimachinery_apis_kubedb_v1alpha2_ElasticsearchSpec(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.ElasticsearchStatus": schema_apimachinery_apis_kubedb_v1alpha2_ElasticsearchStatus(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.ElasticsearchUserSpec": schema_apimachinery_apis_kubedb_v1alpha2_ElasticsearchUserSpec(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.Etcd": schema_apimachinery_apis_kubedb_v1alpha2_Etcd(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.EtcdList": schema_apimachinery_apis_kubedb_v1alpha2_EtcdList(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.EtcdSpec": schema_apimachinery_apis_kubedb_v1alpha2_EtcdSpec(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.EtcdStatus": schema_apimachinery_apis_kubedb_v1alpha2_EtcdStatus(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.FerretDB": schema_apimachinery_apis_kubedb_v1alpha2_FerretDB(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.FerretDBApp": schema_apimachinery_apis_kubedb_v1alpha2_FerretDBApp(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.FerretDBBackend": schema_apimachinery_apis_kubedb_v1alpha2_FerretDBBackend(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.FerretDBList": schema_apimachinery_apis_kubedb_v1alpha2_FerretDBList(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.FerretDBSpec": schema_apimachinery_apis_kubedb_v1alpha2_FerretDBSpec(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.FerretDBStatsService": schema_apimachinery_apis_kubedb_v1alpha2_FerretDBStatsService(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.FerretDBStatus": schema_apimachinery_apis_kubedb_v1alpha2_FerretDBStatus(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.Gateway": schema_apimachinery_apis_kubedb_v1alpha2_Gateway(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.GitRepo": schema_apimachinery_apis_kubedb_v1alpha2_GitRepo(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.InitSpec": schema_apimachinery_apis_kubedb_v1alpha2_InitSpec(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.InternalAuthentication": schema_apimachinery_apis_kubedb_v1alpha2_InternalAuthentication(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.Kafka": schema_apimachinery_apis_kubedb_v1alpha2_Kafka(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.KafkaApp": schema_apimachinery_apis_kubedb_v1alpha2_KafkaApp(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.KafkaBrokerCapacity": schema_apimachinery_apis_kubedb_v1alpha2_KafkaBrokerCapacity(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.KafkaClusterTopology": schema_apimachinery_apis_kubedb_v1alpha2_KafkaClusterTopology(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.KafkaCruiseControl": schema_apimachinery_apis_kubedb_v1alpha2_KafkaCruiseControl(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.KafkaList": schema_apimachinery_apis_kubedb_v1alpha2_KafkaList(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.KafkaNode": schema_apimachinery_apis_kubedb_v1alpha2_KafkaNode(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.KafkaSpec": schema_apimachinery_apis_kubedb_v1alpha2_KafkaSpec(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.KafkaStatus": schema_apimachinery_apis_kubedb_v1alpha2_KafkaStatus(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.KernelSettings": schema_apimachinery_apis_kubedb_v1alpha2_KernelSettings(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MSSQLServer": schema_apimachinery_apis_kubedb_v1alpha2_MSSQLServer(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MSSQLServerApp": schema_apimachinery_apis_kubedb_v1alpha2_MSSQLServerApp(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MSSQLServerAvailabilityGroupSpec": schema_apimachinery_apis_kubedb_v1alpha2_MSSQLServerAvailabilityGroupSpec(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MSSQLServerLeaderElectionConfig": schema_apimachinery_apis_kubedb_v1alpha2_MSSQLServerLeaderElectionConfig(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MSSQLServerList": schema_apimachinery_apis_kubedb_v1alpha2_MSSQLServerList(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MSSQLServerSpec": schema_apimachinery_apis_kubedb_v1alpha2_MSSQLServerSpec(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MSSQLServerStatus": schema_apimachinery_apis_kubedb_v1alpha2_MSSQLServerStatus(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MSSQLServerTopology": schema_apimachinery_apis_kubedb_v1alpha2_MSSQLServerTopology(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MariaDB": schema_apimachinery_apis_kubedb_v1alpha2_MariaDB(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MariaDBList": schema_apimachinery_apis_kubedb_v1alpha2_MariaDBList(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MariaDBSpec": schema_apimachinery_apis_kubedb_v1alpha2_MariaDBSpec(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MariaDBStatus": schema_apimachinery_apis_kubedb_v1alpha2_MariaDBStatus(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MemberSecret": schema_apimachinery_apis_kubedb_v1alpha2_MemberSecret(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.Memcached": schema_apimachinery_apis_kubedb_v1alpha2_Memcached(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MemcachedList": schema_apimachinery_apis_kubedb_v1alpha2_MemcachedList(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MemcachedSpec": schema_apimachinery_apis_kubedb_v1alpha2_MemcachedSpec(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MemcachedStatus": schema_apimachinery_apis_kubedb_v1alpha2_MemcachedStatus(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MetadataStorage": schema_apimachinery_apis_kubedb_v1alpha2_MetadataStorage(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MongoArbiterNode": schema_apimachinery_apis_kubedb_v1alpha2_MongoArbiterNode(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MongoDB": schema_apimachinery_apis_kubedb_v1alpha2_MongoDB(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MongoDBConfigNode": schema_apimachinery_apis_kubedb_v1alpha2_MongoDBConfigNode(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MongoDBList": schema_apimachinery_apis_kubedb_v1alpha2_MongoDBList(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MongoDBMongosNode": schema_apimachinery_apis_kubedb_v1alpha2_MongoDBMongosNode(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MongoDBNode": schema_apimachinery_apis_kubedb_v1alpha2_MongoDBNode(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MongoDBReplicaSet": schema_apimachinery_apis_kubedb_v1alpha2_MongoDBReplicaSet(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MongoDBShardNode": schema_apimachinery_apis_kubedb_v1alpha2_MongoDBShardNode(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MongoDBShardingTopology": schema_apimachinery_apis_kubedb_v1alpha2_MongoDBShardingTopology(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MongoDBSpec": schema_apimachinery_apis_kubedb_v1alpha2_MongoDBSpec(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MongoDBStatus": schema_apimachinery_apis_kubedb_v1alpha2_MongoDBStatus(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MongoHiddenNode": schema_apimachinery_apis_kubedb_v1alpha2_MongoHiddenNode(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MySQL": schema_apimachinery_apis_kubedb_v1alpha2_MySQL(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MySQLGroupSpec": schema_apimachinery_apis_kubedb_v1alpha2_MySQLGroupSpec(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MySQLInnoDBClusterSpec": schema_apimachinery_apis_kubedb_v1alpha2_MySQLInnoDBClusterSpec(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MySQLList": schema_apimachinery_apis_kubedb_v1alpha2_MySQLList(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MySQLRouterSpec": schema_apimachinery_apis_kubedb_v1alpha2_MySQLRouterSpec(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MySQLSpec": schema_apimachinery_apis_kubedb_v1alpha2_MySQLSpec(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MySQLStatus": schema_apimachinery_apis_kubedb_v1alpha2_MySQLStatus(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MySQLTopology": schema_apimachinery_apis_kubedb_v1alpha2_MySQLTopology(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MySQLUser": schema_apimachinery_apis_kubedb_v1alpha2_MySQLUser(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.NamedServiceStatus": schema_apimachinery_apis_kubedb_v1alpha2_NamedServiceStatus(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.NamedServiceTemplateSpec": schema_apimachinery_apis_kubedb_v1alpha2_NamedServiceTemplateSpec(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.NamedURL": schema_apimachinery_apis_kubedb_v1alpha2_NamedURL(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.PerconaXtraDB": schema_apimachinery_apis_kubedb_v1alpha2_PerconaXtraDB(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.PerconaXtraDBList": schema_apimachinery_apis_kubedb_v1alpha2_PerconaXtraDBList(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.PerconaXtraDBSpec": schema_apimachinery_apis_kubedb_v1alpha2_PerconaXtraDBSpec(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.PerconaXtraDBStatus": schema_apimachinery_apis_kubedb_v1alpha2_PerconaXtraDBStatus(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.PgBouncer": schema_apimachinery_apis_kubedb_v1alpha2_PgBouncer(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.PgBouncerList": schema_apimachinery_apis_kubedb_v1alpha2_PgBouncerList(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.PgBouncerSpec": schema_apimachinery_apis_kubedb_v1alpha2_PgBouncerSpec(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.PgBouncerStatus": schema_apimachinery_apis_kubedb_v1alpha2_PgBouncerStatus(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.Pgpool": schema_apimachinery_apis_kubedb_v1alpha2_Pgpool(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.PgpoolConfiguration": schema_apimachinery_apis_kubedb_v1alpha2_PgpoolConfiguration(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.PgpoolList": schema_apimachinery_apis_kubedb_v1alpha2_PgpoolList(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.PgpoolSpec": schema_apimachinery_apis_kubedb_v1alpha2_PgpoolSpec(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.PgpoolStatsService": schema_apimachinery_apis_kubedb_v1alpha2_PgpoolStatsService(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.PgpoolStatus": schema_apimachinery_apis_kubedb_v1alpha2_PgpoolStatus(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.PostgreLeaderElectionConfig": schema_apimachinery_apis_kubedb_v1alpha2_PostgreLeaderElectionConfig(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.Postgres": schema_apimachinery_apis_kubedb_v1alpha2_Postgres(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.PostgresList": schema_apimachinery_apis_kubedb_v1alpha2_PostgresList(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.PostgresRef": schema_apimachinery_apis_kubedb_v1alpha2_PostgresRef(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.PostgresReplication": schema_apimachinery_apis_kubedb_v1alpha2_PostgresReplication(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.PostgresServiceRef": schema_apimachinery_apis_kubedb_v1alpha2_PostgresServiceRef(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.PostgresSpec": schema_apimachinery_apis_kubedb_v1alpha2_PostgresSpec(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.PostgresStatus": schema_apimachinery_apis_kubedb_v1alpha2_PostgresStatus(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.ProxySQL": schema_apimachinery_apis_kubedb_v1alpha2_ProxySQL(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.ProxySQLConfiguration": schema_apimachinery_apis_kubedb_v1alpha2_ProxySQLConfiguration(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.ProxySQLList": schema_apimachinery_apis_kubedb_v1alpha2_ProxySQLList(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.ProxySQLSpec": schema_apimachinery_apis_kubedb_v1alpha2_ProxySQLSpec(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.ProxySQLStatus": schema_apimachinery_apis_kubedb_v1alpha2_ProxySQLStatus(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.RabbitMQ": schema_apimachinery_apis_kubedb_v1alpha2_RabbitMQ(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.RabbitMQList": schema_apimachinery_apis_kubedb_v1alpha2_RabbitMQList(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.RabbitMQSpec": schema_apimachinery_apis_kubedb_v1alpha2_RabbitMQSpec(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.RabbitMQStatus": schema_apimachinery_apis_kubedb_v1alpha2_RabbitMQStatus(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.RabbitmqApp": schema_apimachinery_apis_kubedb_v1alpha2_RabbitmqApp(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.RabbitmqStatsService": schema_apimachinery_apis_kubedb_v1alpha2_RabbitmqStatsService(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.RecoveryTarget": schema_apimachinery_apis_kubedb_v1alpha2_RecoveryTarget(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.Redis": schema_apimachinery_apis_kubedb_v1alpha2_Redis(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.RedisClusterSpec": schema_apimachinery_apis_kubedb_v1alpha2_RedisClusterSpec(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.RedisList": schema_apimachinery_apis_kubedb_v1alpha2_RedisList(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.RedisSentinel": schema_apimachinery_apis_kubedb_v1alpha2_RedisSentinel(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.RedisSentinelList": schema_apimachinery_apis_kubedb_v1alpha2_RedisSentinelList(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.RedisSentinelRef": schema_apimachinery_apis_kubedb_v1alpha2_RedisSentinelRef(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.RedisSentinelSpec": schema_apimachinery_apis_kubedb_v1alpha2_RedisSentinelSpec(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.RedisSentinelStatus": schema_apimachinery_apis_kubedb_v1alpha2_RedisSentinelStatus(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.RedisSpec": schema_apimachinery_apis_kubedb_v1alpha2_RedisSpec(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.RedisStatus": schema_apimachinery_apis_kubedb_v1alpha2_RedisStatus(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.RemoteReplicaSpec": schema_apimachinery_apis_kubedb_v1alpha2_RemoteReplicaSpec(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.ScriptSourceSpec": schema_apimachinery_apis_kubedb_v1alpha2_ScriptSourceSpec(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.SecretReference": schema_apimachinery_apis_kubedb_v1alpha2_SecretReference(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.SemiSyncSpec": schema_apimachinery_apis_kubedb_v1alpha2_SemiSyncSpec(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.Singlestore": schema_apimachinery_apis_kubedb_v1alpha2_Singlestore(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.SinglestoreList": schema_apimachinery_apis_kubedb_v1alpha2_SinglestoreList(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.SinglestoreNode": schema_apimachinery_apis_kubedb_v1alpha2_SinglestoreNode(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.SinglestoreSpec": schema_apimachinery_apis_kubedb_v1alpha2_SinglestoreSpec(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.SinglestoreStatus": schema_apimachinery_apis_kubedb_v1alpha2_SinglestoreStatus(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.SinglestoreTopology": schema_apimachinery_apis_kubedb_v1alpha2_SinglestoreTopology(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.Solr": schema_apimachinery_apis_kubedb_v1alpha2_Solr(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.SolrApp": schema_apimachinery_apis_kubedb_v1alpha2_SolrApp(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.SolrClusterTopology": schema_apimachinery_apis_kubedb_v1alpha2_SolrClusterTopology(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.SolrList": schema_apimachinery_apis_kubedb_v1alpha2_SolrList(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.SolrNode": schema_apimachinery_apis_kubedb_v1alpha2_SolrNode(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.SolrSpec": schema_apimachinery_apis_kubedb_v1alpha2_SolrSpec(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.SolrStatus": schema_apimachinery_apis_kubedb_v1alpha2_SolrStatus(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.SystemUserSecretsSpec": schema_apimachinery_apis_kubedb_v1alpha2_SystemUserSecretsSpec(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.TLSPolicy": schema_apimachinery_apis_kubedb_v1alpha2_TLSPolicy(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.ZooKeeper": schema_apimachinery_apis_kubedb_v1alpha2_ZooKeeper(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.ZooKeeperApp": schema_apimachinery_apis_kubedb_v1alpha2_ZooKeeperApp(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.ZooKeeperList": schema_apimachinery_apis_kubedb_v1alpha2_ZooKeeperList(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.ZooKeeperSpec": schema_apimachinery_apis_kubedb_v1alpha2_ZooKeeperSpec(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.ZooKeeperStatus": schema_apimachinery_apis_kubedb_v1alpha2_ZooKeeperStatus(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.ZookeeperRef": schema_apimachinery_apis_kubedb_v1alpha2_ZookeeperRef(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.elasticsearchApp": schema_apimachinery_apis_kubedb_v1alpha2_elasticsearchApp(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.elasticsearchStatsService": schema_apimachinery_apis_kubedb_v1alpha2_elasticsearchStatsService(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.etcdApp": schema_apimachinery_apis_kubedb_v1alpha2_etcdApp(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.etcdStatsService": schema_apimachinery_apis_kubedb_v1alpha2_etcdStatsService(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.kafkaStatsService": schema_apimachinery_apis_kubedb_v1alpha2_kafkaStatsService(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.mariadbApp": schema_apimachinery_apis_kubedb_v1alpha2_mariadbApp(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.mariadbStatsService": schema_apimachinery_apis_kubedb_v1alpha2_mariadbStatsService(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.memcachedApp": schema_apimachinery_apis_kubedb_v1alpha2_memcachedApp(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.memcachedStatsService": schema_apimachinery_apis_kubedb_v1alpha2_memcachedStatsService(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.mongoDBApp": schema_apimachinery_apis_kubedb_v1alpha2_mongoDBApp(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.mongoDBStatsService": schema_apimachinery_apis_kubedb_v1alpha2_mongoDBStatsService(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.mysqlApp": schema_apimachinery_apis_kubedb_v1alpha2_mysqlApp(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.mysqlStatsService": schema_apimachinery_apis_kubedb_v1alpha2_mysqlStatsService(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.perconaXtraDBApp": schema_apimachinery_apis_kubedb_v1alpha2_perconaXtraDBApp(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.perconaXtraDBStatsService": schema_apimachinery_apis_kubedb_v1alpha2_perconaXtraDBStatsService(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.pgbouncerApp": schema_apimachinery_apis_kubedb_v1alpha2_pgbouncerApp(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.pgbouncerStatsService": schema_apimachinery_apis_kubedb_v1alpha2_pgbouncerStatsService(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.pgpoolApp": schema_apimachinery_apis_kubedb_v1alpha2_pgpoolApp(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.postgresApp": schema_apimachinery_apis_kubedb_v1alpha2_postgresApp(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.postgresStatsService": schema_apimachinery_apis_kubedb_v1alpha2_postgresStatsService(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.proxysqlApp": schema_apimachinery_apis_kubedb_v1alpha2_proxysqlApp(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.proxysqlStatsService": schema_apimachinery_apis_kubedb_v1alpha2_proxysqlStatsService(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.redisApp": schema_apimachinery_apis_kubedb_v1alpha2_redisApp(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.redisSentinelApp": schema_apimachinery_apis_kubedb_v1alpha2_redisSentinelApp(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.redisSentinelStatsService": schema_apimachinery_apis_kubedb_v1alpha2_redisSentinelStatsService(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.redisStatsService": schema_apimachinery_apis_kubedb_v1alpha2_redisStatsService(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.singlestoreApp": schema_apimachinery_apis_kubedb_v1alpha2_singlestoreApp(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.singlestoreStatsService": schema_apimachinery_apis_kubedb_v1alpha2_singlestoreStatsService(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.solrStatsService": schema_apimachinery_apis_kubedb_v1alpha2_solrStatsService(ref), + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.zookeeperStatsService": schema_apimachinery_apis_kubedb_v1alpha2_zookeeperStatsService(ref), } } @@ -21418,6 +21429,49 @@ func schema_kmodulesxyz_offshoot_api_api_v1_EphemeralVolumeSource(ref common.Ref } } +func schema_kmodulesxyz_offshoot_api_api_v1_GatewayPort(ref common.ReferenceCallback) common.OpenAPIDefinition { + return common.OpenAPIDefinition{ + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Description: "GatewayPort contains information on Gateway service's port.", + Type: []string{"object"}, + Properties: map[string]spec.Schema{ + "name": { + SchemaProps: spec.SchemaProps{ + Description: "The name of this port within the gateway service.", + Type: []string{"string"}, + Format: "", + }, + }, + "port": { + SchemaProps: spec.SchemaProps{ + Description: "The port that will be exposed by the gateway service.", + Default: 0, + Type: []string{"integer"}, + Format: "int32", + }, + }, + "backendServicePort": { + SchemaProps: spec.SchemaProps{ + Description: "Number of the port to access the backend service.", + Type: []string{"integer"}, + Format: "int32", + }, + }, + "nodePort": { + SchemaProps: spec.SchemaProps{ + Description: "The port on each node on which this gateway service is exposed when type is NodePort or LoadBalancer.", + Type: []string{"integer"}, + Format: "int32", + }, + }, + }, + Required: []string{"port"}, + }, + }, + } +} + func schema_kmodulesxyz_offshoot_api_api_v1_IONiceSettings(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ @@ -23159,6 +23213,13 @@ func schema_apimachinery_apis_kubedb_v1alpha2_Databases(ref common.ReferenceCall SchemaProps: spec.SchemaProps{ Type: []string{"object"}, Properties: map[string]spec.Schema{ + "syncUsers": { + SchemaProps: spec.SchemaProps{ + Description: "SyncUsers is a boolean type and when enabled, operator fetches users of backend server from externally managed secrets to the PgBouncer server. Secrets updation or deletion are also synced in pgBouncer when it is enabled.", + Type: []string{"boolean"}, + Format: "", + }, + }, "alias": { SchemaProps: spec.SchemaProps{ Description: "Alias to uniquely identify a target database running inside a specific Postgres instance.", @@ -25142,6 +25203,28 @@ func schema_apimachinery_apis_kubedb_v1alpha2_InitSpec(ref common.ReferenceCallb } } +func schema_apimachinery_apis_kubedb_v1alpha2_InternalAuthentication(ref common.ReferenceCallback) common.OpenAPIDefinition { + return common.OpenAPIDefinition{ + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Description: "InternalAuthentication provides different way of endpoint authentication", + Type: []string{"object"}, + Properties: map[string]spec.Schema{ + "endpointCert": { + SchemaProps: spec.SchemaProps{ + Description: "EndpointCert is used for endpoint authentication of MSSql Server", + Ref: ref("kmodules.xyz/client-go/api/v1.TLSConfig"), + }, + }, + }, + Required: []string{"endpointCert"}, + }, + }, + Dependencies: []string{ + "kmodules.xyz/client-go/api/v1.TLSConfig"}, + } +} + func schema_apimachinery_apis_kubedb_v1alpha2_Kafka(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ @@ -25661,6 +25744,396 @@ func schema_apimachinery_apis_kubedb_v1alpha2_KernelSettings(ref common.Referenc } } +func schema_apimachinery_apis_kubedb_v1alpha2_MSSQLServer(ref common.ReferenceCallback) common.OpenAPIDefinition { + return common.OpenAPIDefinition{ + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Type: []string{"object"}, + Properties: map[string]spec.Schema{ + "kind": { + SchemaProps: spec.SchemaProps{ + Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + Type: []string{"string"}, + Format: "", + }, + }, + "apiVersion": { + SchemaProps: spec.SchemaProps{ + Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + Type: []string{"string"}, + Format: "", + }, + }, + "metadata": { + SchemaProps: spec.SchemaProps{ + Default: map[string]interface{}{}, + Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), + }, + }, + "spec": { + SchemaProps: spec.SchemaProps{ + Default: map[string]interface{}{}, + Ref: ref("kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MSSQLServerSpec"), + }, + }, + "status": { + SchemaProps: spec.SchemaProps{ + Default: map[string]interface{}{}, + Ref: ref("kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MSSQLServerStatus"), + }, + }, + }, + }, + }, + Dependencies: []string{ + "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta", "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MSSQLServerSpec", "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MSSQLServerStatus"}, + } +} + +func schema_apimachinery_apis_kubedb_v1alpha2_MSSQLServerApp(ref common.ReferenceCallback) common.OpenAPIDefinition { + return common.OpenAPIDefinition{ + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Type: []string{"object"}, + Properties: map[string]spec.Schema{ + "MSSQLServer": { + SchemaProps: spec.SchemaProps{ + Ref: ref("kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MSSQLServer"), + }, + }, + }, + Required: []string{"MSSQLServer"}, + }, + }, + Dependencies: []string{ + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MSSQLServer"}, + } +} + +func schema_apimachinery_apis_kubedb_v1alpha2_MSSQLServerAvailabilityGroupSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { + return common.OpenAPIDefinition{ + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Description: "MSSQLServerAvailabilityGroupSpec defines the availability group spec for MSSQLServer", + Type: []string{"object"}, + Properties: map[string]spec.Schema{ + "databases": { + SchemaProps: spec.SchemaProps{ + Description: "AvailabilityDatabases is an array of databases to be included in the availability group", + Type: []string{"array"}, + Items: &spec.SchemaOrArray{ + Schema: &spec.Schema{ + SchemaProps: spec.SchemaProps{ + Default: "", + Type: []string{"string"}, + Format: "", + }, + }, + }, + }, + }, + }, + }, + }, + } +} + +func schema_apimachinery_apis_kubedb_v1alpha2_MSSQLServerLeaderElectionConfig(ref common.ReferenceCallback) common.OpenAPIDefinition { + return common.OpenAPIDefinition{ + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Description: "MSSQLServerLeaderElectionConfig contains essential attributes of leader election.", + Type: []string{"object"}, + Properties: map[string]spec.Schema{ + "period": { + SchemaProps: spec.SchemaProps{ + Description: "Period between Node.Tick invocations", + Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Duration"), + }, + }, + "electionTick": { + SchemaProps: spec.SchemaProps{ + Description: "ElectionTick is the number of Node.Tick invocations that must pass between\n\telections. That is, if a follower does not receive any message from the\n leader of current term before ElectionTick has elapsed, it will become\n\tcandidate and start an election. ElectionTick must be greater than\n HeartbeatTick. We suggest ElectionTick = 10 * HeartbeatTick to avoid\n unnecessary leader switching. default value is 10.", + Default: 10, + Type: []string{"integer"}, + Format: "int32", + }, + }, + "heartbeatTick": { + SchemaProps: spec.SchemaProps{ + Description: "HeartbeatTick is the number of Node.Tick invocations that must pass between heartbeats. That is, a leader sends heartbeat messages to maintain its leadership every HeartbeatTick ticks. default value is 1.", + Default: 1, + Type: []string{"integer"}, + Format: "int32", + }, + }, + "transferLeadershipInterval": { + SchemaProps: spec.SchemaProps{ + Description: "TransferLeadershipInterval retry interval for transfer leadership to the healthiest node", + Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Duration"), + }, + }, + "transferLeadershipTimeout": { + SchemaProps: spec.SchemaProps{ + Description: "TransferLeadershipTimeout retry timeout for transfer leadership to the healthiest node", + Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Duration"), + }, + }, + }, + }, + }, + Dependencies: []string{ + "k8s.io/apimachinery/pkg/apis/meta/v1.Duration"}, + } +} + +func schema_apimachinery_apis_kubedb_v1alpha2_MSSQLServerList(ref common.ReferenceCallback) common.OpenAPIDefinition { + return common.OpenAPIDefinition{ + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Description: "MSSQLServerList contains a list of MSSQLServer", + Type: []string{"object"}, + Properties: map[string]spec.Schema{ + "kind": { + SchemaProps: spec.SchemaProps{ + Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + Type: []string{"string"}, + Format: "", + }, + }, + "apiVersion": { + SchemaProps: spec.SchemaProps{ + Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + Type: []string{"string"}, + Format: "", + }, + }, + "metadata": { + SchemaProps: spec.SchemaProps{ + Default: map[string]interface{}{}, + Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), + }, + }, + "items": { + SchemaProps: spec.SchemaProps{ + Type: []string{"array"}, + Items: &spec.SchemaOrArray{ + Schema: &spec.Schema{ + SchemaProps: spec.SchemaProps{ + Default: map[string]interface{}{}, + Ref: ref("kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MSSQLServer"), + }, + }, + }, + }, + }, + }, + Required: []string{"items"}, + }, + }, + Dependencies: []string{ + "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MSSQLServer"}, + } +} + +func schema_apimachinery_apis_kubedb_v1alpha2_MSSQLServerSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { + return common.OpenAPIDefinition{ + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Description: "MSSQLServerSpec defines the desired state of MSSQLServer", + Type: []string{"object"}, + Properties: map[string]spec.Schema{ + "version": { + SchemaProps: spec.SchemaProps{ + Description: "Version of MSSQLServer to be deployed.", + Default: "", + Type: []string{"string"}, + Format: "", + }, + }, + "replicas": { + SchemaProps: spec.SchemaProps{ + Description: "Number of instances to deploy for a MSSQLServer database. In case of MSSQLServer Availability Group.", + Type: []string{"integer"}, + Format: "int32", + }, + }, + "topology": { + SchemaProps: spec.SchemaProps{ + Description: "MSSQLServer cluster topology", + Ref: ref("kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MSSQLServerTopology"), + }, + }, + "storageType": { + SchemaProps: spec.SchemaProps{ + Description: "StorageType can be durable (default) or ephemeral", + Type: []string{"string"}, + Format: "", + }, + }, + "storage": { + SchemaProps: spec.SchemaProps{ + Description: "Storage spec to specify how storage shall be used.", + Ref: ref("k8s.io/api/core/v1.PersistentVolumeClaimSpec"), + }, + }, + "authSecret": { + SchemaProps: spec.SchemaProps{ + Description: "Database authentication secret", + Ref: ref("kubedb.dev/apimachinery/apis/kubedb/v1alpha2.SecretReference"), + }, + }, + "internalAuth": { + SchemaProps: spec.SchemaProps{ + Description: "InternalAuth is used to authenticate endpoint", + Ref: ref("kubedb.dev/apimachinery/apis/kubedb/v1alpha2.InternalAuthentication"), + }, + }, + "init": { + SchemaProps: spec.SchemaProps{ + Description: "Init is used to initialize database", + Ref: ref("kubedb.dev/apimachinery/apis/kubedb/v1alpha2.InitSpec"), + }, + }, + "podTemplate": { + SchemaProps: spec.SchemaProps{ + Description: "PodTemplate is an optional configuration for pods used to expose database", + Ref: ref("kmodules.xyz/offshoot-api/api/v2.PodTemplateSpec"), + }, + }, + "serviceTemplates": { + SchemaProps: spec.SchemaProps{ + Description: "ServiceTemplates is an optional configuration for services used to expose database", + Type: []string{"array"}, + Items: &spec.SchemaOrArray{ + Schema: &spec.Schema{ + SchemaProps: spec.SchemaProps{ + Default: map[string]interface{}{}, + Ref: ref("kubedb.dev/apimachinery/apis/kubedb/v1alpha2.NamedServiceTemplateSpec"), + }, + }, + }, + }, + }, + "halted": { + SchemaProps: spec.SchemaProps{ + Description: "Indicates that the database is halted and all offshoot Kubernetes resources except PVCs are deleted.", + Type: []string{"boolean"}, + Format: "", + }, + }, + "terminationPolicy": { + SchemaProps: spec.SchemaProps{ + Description: "TerminationPolicy controls the delete operation for database", + Type: []string{"string"}, + Format: "", + }, + }, + "coordinator": { + SchemaProps: spec.SchemaProps{ + Description: "Coordinator defines attributes of the coordinator container", + Default: map[string]interface{}{}, + Ref: ref("kubedb.dev/apimachinery/apis/kubedb/v1alpha2.CoordinatorSpec"), + }, + }, + "leaderElection": { + SchemaProps: spec.SchemaProps{ + Description: "Leader election configuration", + Ref: ref("kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MSSQLServerLeaderElectionConfig"), + }, + }, + "healthChecker": { + SchemaProps: spec.SchemaProps{ + Description: "HealthChecker defines attributes of the health checker", + Default: map[string]interface{}{}, + Ref: ref("kmodules.xyz/client-go/api/v1.HealthCheckSpec"), + }, + }, + "podPlacementPolicy": { + SchemaProps: spec.SchemaProps{ + Description: "PodPlacementPolicy is the reference of the podPlacementPolicy", + Ref: ref("k8s.io/api/core/v1.LocalObjectReference"), + }, + }, + }, + Required: []string{"version"}, + }, + }, + Dependencies: []string{ + "k8s.io/api/core/v1.LocalObjectReference", "k8s.io/api/core/v1.PersistentVolumeClaimSpec", "kmodules.xyz/client-go/api/v1.HealthCheckSpec", "kmodules.xyz/offshoot-api/api/v2.PodTemplateSpec", "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.CoordinatorSpec", "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.InitSpec", "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.InternalAuthentication", "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MSSQLServerLeaderElectionConfig", "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MSSQLServerTopology", "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.NamedServiceTemplateSpec", "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.SecretReference"}, + } +} + +func schema_apimachinery_apis_kubedb_v1alpha2_MSSQLServerStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { + return common.OpenAPIDefinition{ + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Description: "MSSQLServerStatus defines the observed state of MSSQLServer", + Type: []string{"object"}, + Properties: map[string]spec.Schema{ + "phase": { + SchemaProps: spec.SchemaProps{ + Description: "Specifies the current phase of the database", + Type: []string{"string"}, + Format: "", + }, + }, + "observedGeneration": { + SchemaProps: spec.SchemaProps{ + Description: "observedGeneration is the most recent generation observed for this resource. It corresponds to the resource's generation, which is updated on mutation by the API Server.", + Type: []string{"integer"}, + Format: "int64", + }, + }, + "conditions": { + SchemaProps: spec.SchemaProps{ + Description: "Conditions applied to the database, such as approval or denial.", + Type: []string{"array"}, + Items: &spec.SchemaOrArray{ + Schema: &spec.Schema{ + SchemaProps: spec.SchemaProps{ + Default: map[string]interface{}{}, + Ref: ref("kmodules.xyz/client-go/api/v1.Condition"), + }, + }, + }, + }, + }, + }, + }, + }, + Dependencies: []string{ + "kmodules.xyz/client-go/api/v1.Condition"}, + } +} + +func schema_apimachinery_apis_kubedb_v1alpha2_MSSQLServerTopology(ref common.ReferenceCallback) common.OpenAPIDefinition { + return common.OpenAPIDefinition{ + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Type: []string{"object"}, + Properties: map[string]spec.Schema{ + "mode": { + SchemaProps: spec.SchemaProps{ + Description: "If set to - \"AvailabilityGroup\", MSSQLAvailabilityGroupSpec is required and MSSQLServer servers will start an Availability Group", + Type: []string{"string"}, + Format: "", + }, + }, + "availabilityGroup": { + SchemaProps: spec.SchemaProps{ + Description: "AvailabilityGroup info for MSSQLServer", + Ref: ref("kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MSSQLServerAvailabilityGroupSpec"), + }, + }, + }, + }, + }, + Dependencies: []string{ + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.MSSQLServerAvailabilityGroupSpec"}, + } +} + func schema_apimachinery_apis_kubedb_v1alpha2_MariaDB(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ @@ -26162,12 +26635,19 @@ func schema_apimachinery_apis_kubedb_v1alpha2_MemcachedSpec(ref common.Reference Format: "", }, }, + "healthChecker": { + SchemaProps: spec.SchemaProps{ + Description: "HealthChecker defines attributes of the health checker", + Default: map[string]interface{}{}, + Ref: ref("kmodules.xyz/client-go/api/v1.HealthCheckSpec"), + }, + }, }, Required: []string{"version"}, }, }, Dependencies: []string{ - "k8s.io/api/core/v1.LocalObjectReference", "k8s.io/api/core/v1.VolumeSource", "kmodules.xyz/client-go/api/v1.TLSConfig", "kmodules.xyz/monitoring-agent-api/api/v1.AgentSpec", "kmodules.xyz/offshoot-api/api/v1.PodTemplateSpec", "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.NamedServiceTemplateSpec"}, + "k8s.io/api/core/v1.LocalObjectReference", "k8s.io/api/core/v1.VolumeSource", "kmodules.xyz/client-go/api/v1.HealthCheckSpec", "kmodules.xyz/client-go/api/v1.TLSConfig", "kmodules.xyz/monitoring-agent-api/api/v1.AgentSpec", "kmodules.xyz/offshoot-api/api/v1.PodTemplateSpec", "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.NamedServiceTemplateSpec"}, } } @@ -27467,7 +27947,7 @@ func schema_apimachinery_apis_kubedb_v1alpha2_NamedServiceStatus(ref common.Refe Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Default: map[string]interface{}{}, - Ref: ref("kmodules.xyz/offshoot-api/api/v1.ServicePort"), + Ref: ref("kmodules.xyz/offshoot-api/api/v1.GatewayPort"), }, }, }, @@ -27478,7 +27958,7 @@ func schema_apimachinery_apis_kubedb_v1alpha2_NamedServiceStatus(ref common.Refe }, }, Dependencies: []string{ - "kmodules.xyz/offshoot-api/api/v1.ServicePort"}, + "kmodules.xyz/offshoot-api/api/v1.GatewayPort"}, } } @@ -27541,6 +28021,12 @@ func schema_apimachinery_apis_kubedb_v1alpha2_NamedURL(ref common.ReferenceCallb Format: "", }, }, + "port": { + SchemaProps: spec.SchemaProps{ + Default: map[string]interface{}{}, + Ref: ref("kmodules.xyz/offshoot-api/api/v1.GatewayPort"), + }, + }, "helmRelease": { SchemaProps: spec.SchemaProps{ Description: "HelmRelease is the name of the helm release used to deploy this ui The name format is typically -", @@ -27552,7 +28038,7 @@ func schema_apimachinery_apis_kubedb_v1alpha2_NamedURL(ref common.ReferenceCallb }, }, Dependencies: []string{ - "k8s.io/api/core/v1.LocalObjectReference"}, + "k8s.io/api/core/v1.LocalObjectReference", "kmodules.xyz/offshoot-api/api/v1.GatewayPort"}, } } @@ -28327,12 +28813,32 @@ func schema_apimachinery_apis_kubedb_v1alpha2_PgpoolSpec(ref common.ReferenceCal Ref: ref("k8s.io/api/core/v1.LocalObjectReference"), }, }, + "sslMode": { + SchemaProps: spec.SchemaProps{ + Description: "SSLMode for both standalone and clusters. [disable;allow;prefer;require;verify-ca;verify-full]", + Type: []string{"string"}, + Format: "", + }, + }, + "clientAuthMode": { + SchemaProps: spec.SchemaProps{ + Description: "ClientAuthMode for sidecar or sharding. (default will be md5. [md5;scram;cert])", + Type: []string{"string"}, + Format: "", + }, + }, + "tls": { + SchemaProps: spec.SchemaProps{ + Description: "TLS contains tls configurations for client and server.", + Ref: ref("kmodules.xyz/client-go/api/v1.TLSConfig"), + }, + }, }, Required: []string{"version", "postgresRef"}, }, }, Dependencies: []string{ - "k8s.io/api/core/v1.LocalObjectReference", "kmodules.xyz/client-go/api/v1.HealthCheckSpec", "kmodules.xyz/client-go/api/v1.ObjectReference", "kmodules.xyz/monitoring-agent-api/api/v1.AgentSpec", "kmodules.xyz/offshoot-api/api/v2.PodTemplateSpec", "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.NamedServiceTemplateSpec", "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.PgpoolConfiguration", "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.SecretReference"}, + "k8s.io/api/core/v1.LocalObjectReference", "kmodules.xyz/client-go/api/v1.HealthCheckSpec", "kmodules.xyz/client-go/api/v1.ObjectReference", "kmodules.xyz/client-go/api/v1.TLSConfig", "kmodules.xyz/monitoring-agent-api/api/v1.AgentSpec", "kmodules.xyz/offshoot-api/api/v2.PodTemplateSpec", "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.NamedServiceTemplateSpec", "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.PgpoolConfiguration", "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.SecretReference"}, } } @@ -31563,7 +32069,7 @@ func schema_apimachinery_apis_kubedb_v1alpha2_ZooKeeperSpec(ref common.Reference }, }, }, - Required: []string{"version", "adminServerPort"}, + Required: []string{"version"}, }, }, Dependencies: []string{ @@ -31978,6 +32484,26 @@ func schema_apimachinery_apis_kubedb_v1alpha2_pgbouncerStatsService(ref common.R } } +func schema_apimachinery_apis_kubedb_v1alpha2_pgpoolApp(ref common.ReferenceCallback) common.OpenAPIDefinition { + return common.OpenAPIDefinition{ + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Type: []string{"object"}, + Properties: map[string]spec.Schema{ + "Pgpool": { + SchemaProps: spec.SchemaProps{ + Ref: ref("kubedb.dev/apimachinery/apis/kubedb/v1alpha2.Pgpool"), + }, + }, + }, + Required: []string{"Pgpool"}, + }, + }, + Dependencies: []string{ + "kubedb.dev/apimachinery/apis/kubedb/v1alpha2.Pgpool"}, + } +} + func schema_apimachinery_apis_kubedb_v1alpha2_postgresApp(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ diff --git a/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/pgbouncer_types.go b/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/pgbouncer_types.go index a513a0f20a..b2e6085aea 100644 --- a/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/pgbouncer_types.go +++ b/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/pgbouncer_types.go @@ -118,10 +118,17 @@ const ( ) type Databases struct { + // SyncUsers is a boolean type and when enabled, operator fetches users of backend server from externally managed + // secrets to the PgBouncer server. Secrets updation or deletion are also synced in pgBouncer when it is enabled. + // +optional + SyncUsers bool `json:"syncUsers,omitempty"` + // Alias to uniquely identify a target database running inside a specific Postgres instance. Alias string `json:"alias"` + // DatabaseRef specifies the database appbinding reference in any namespace. DatabaseRef appcat.AppReference `json:"databaseRef"` + // DatabaseName is the name of the target database inside a Postgres instance. DatabaseName string `json:"databaseName"` } diff --git a/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/pgpool_helpers.go b/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/pgpool_helpers.go index 6728115769..29a45b334a 100644 --- a/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/pgpool_helpers.go +++ b/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/pgpool_helpers.go @@ -19,6 +19,7 @@ package v1alpha2 import ( "context" "fmt" + "strings" "kubedb.dev/apimachinery/apis" catalog "kubedb.dev/apimachinery/apis/catalog/v1alpha1" @@ -32,10 +33,12 @@ import ( "k8s.io/apimachinery/pkg/labels" "k8s.io/apimachinery/pkg/types" "k8s.io/klog/v2" + kmapi "kmodules.xyz/client-go/api/v1" "kmodules.xyz/client-go/apiextensions" core_util "kmodules.xyz/client-go/core/v1" meta_util "kmodules.xyz/client-go/meta" "kmodules.xyz/client-go/policy/secomp" + appcat "kmodules.xyz/custom-resources/apis/appcatalog/v1alpha1" mona "kmodules.xyz/monitoring-agent-api/api/v1" ofst "kmodules.xyz/offshoot-api/api/v2" pslister "kubeops.dev/petset/client/listers/apps/v1" @@ -45,6 +48,22 @@ func (p *Pgpool) CustomResourceDefinition() *apiextensions.CustomResourceDefinit return crds.MustCustomResourceDefinition(SchemeGroupVersion.WithResource(ResourcePluralPgpool)) } +type pgpoolApp struct { + *Pgpool +} + +func (p *pgpoolApp) Name() string { + return p.Pgpool.Name +} + +func (p *pgpoolApp) Type() appcat.AppType { + return appcat.AppType(fmt.Sprintf("%s/%s", kubedb.GroupName, ResourceSingularPgpool)) +} + +func (p *Pgpool) AppBindingMeta() appcat.AppBindingMeta { + return &pgpoolApp{p} +} + func (p *Pgpool) ResourceFQN() string { return fmt.Sprintf("%s.%s", p.ResourcePlural(), kubedb.GroupName) } @@ -69,6 +88,10 @@ func (p *Pgpool) ConfigSecretName() string { return meta_util.NameWithSuffix(p.OffshootName(), "config") } +func (p *Pgpool) TLSSecretName() string { + return meta_util.NameWithSuffix(p.OffshootName(), "tls-certs") +} + func (p *Pgpool) ServiceAccountName() string { return p.OffshootName() } @@ -203,6 +226,66 @@ func (p *Pgpool) ServiceLabels(alias ServiceAlias, extraLabels ...map[string]str return p.offshootLabels(meta_util.OverwriteKeys(p.OffshootSelectors(), extraLabels...), svcTemplate.Labels) } +func (p *Pgpool) GetSSLMODE(appBinding *appcat.AppBinding) (PgpoolSSLMode, error) { + if appBinding.Spec.ClientConfig.Service == nil { + return PgpoolSSLModeDisable, nil + } + sslmodeString := appBinding.Spec.ClientConfig.Service.Query + if sslmodeString == "" { + return PgpoolSSLModeDisable, nil + } + temps := strings.Split(sslmodeString, "=") + if len(temps) != 2 { + return "", fmt.Errorf("the sslmode is not valid. please provide the valid template. the temlpate should be like this: sslmode=") + } + return PgpoolSSLMode(strings.TrimSpace(temps[1])), nil +} + +func (p *Pgpool) IsBackendTLSEnabled() (bool, error) { + apb := appcat.AppBinding{} + err := DefaultClient.Get(context.TODO(), types.NamespacedName{ + Name: p.Spec.PostgresRef.Name, + Namespace: p.Spec.PostgresRef.Namespace, + }, &apb) + if err != nil { + return false, err + } + sslMode, err := p.GetSSLMODE(&apb) + if err != nil { + return false, err + } + if apb.Spec.TLSSecret != nil || len(apb.Spec.ClientConfig.CABundle) > 0 || sslMode != PgpoolSSLModeDisable { + return true, nil + } + return false, nil +} + +// CertificateName returns the default certificate name and/or certificate secret name for a certificate alias +func (p *Pgpool) CertificateName(alias PgpoolCertificateAlias) string { + return meta_util.NameWithSuffix(p.Name, fmt.Sprintf("%s-cert", string(alias))) +} + +// GetCertSecretName returns the secret name for a certificate alias if any provide, +// otherwise returns default certificate secret name for the given alias. +func (p *Pgpool) GetCertSecretName(alias PgpoolCertificateAlias) string { + if p.Spec.TLS != nil { + name, ok := kmapi.GetCertificateSecretName(p.Spec.TLS.Certificates, string(alias)) + if ok { + return name + } + } + return p.CertificateName(alias) +} + +func (p *Pgpool) SetTLSDefaults() { + if p.Spec.TLS == nil || p.Spec.TLS.IssuerRef == nil { + return + } + p.Spec.TLS.Certificates = kmapi.SetMissingSecretNameForCertificate(p.Spec.TLS.Certificates, string(PgpoolServerCert), p.CertificateName(PgpoolServerCert)) + p.Spec.TLS.Certificates = kmapi.SetMissingSecretNameForCertificate(p.Spec.TLS.Certificates, string(PgpoolClientCert), p.CertificateName(PgpoolClientCert)) + p.Spec.TLS.Certificates = kmapi.SetMissingSecretNameForCertificate(p.Spec.TLS.Certificates, string(PgpoolMetricsExporterCert), p.CertificateName(PgpoolMetricsExporterCert)) +} + func (p *Pgpool) SetSecurityContext(ppVersion *catalog.PgpoolVersion, podTemplate *ofst.PodTemplateSpec) { if podTemplate == nil { return @@ -272,6 +355,16 @@ func (p *Pgpool) SetDefaults() { p.Spec.PodTemplate.Spec.Containers = []core.Container{} } + if p.Spec.TLS != nil { + if p.Spec.SSLMode == "" { + p.Spec.SSLMode = PgpoolSSLModeVerifyFull + } + } else { + if p.Spec.SSLMode == "" { + p.Spec.SSLMode = PgpoolSSLModeDisable + } + } + ppVersion := catalog.PgpoolVersion{} err := DefaultClient.Get(context.TODO(), types.NamespacedName{ Name: p.Spec.Version, @@ -297,6 +390,7 @@ func (p *Pgpool) SetDefaults() { } } + p.SetTLSDefaults() p.SetHealthCheckerDefaults() p.SetSecurityContext(&ppVersion, p.Spec.PodTemplate) p.setContainerResourceLimits(p.Spec.PodTemplate) diff --git a/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/pgpool_types.go b/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/pgpool_types.go index 50d3d8344c..80ef7813fe 100644 --- a/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/pgpool_types.go +++ b/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/pgpool_types.go @@ -111,6 +111,17 @@ type PgpoolSpec struct { // +kubebuilder:default={name: "default"} // +optional PodPlacementPolicy *core.LocalObjectReference `json:"podPlacementPolicy,omitempty"` + + // SSLMode for both standalone and clusters. [disable;allow;prefer;require;verify-ca;verify-full] + SSLMode PgpoolSSLMode `json:"sslMode,omitempty"` + + // ClientAuthMode for sidecar or sharding. (default will be md5. [md5;scram;cert]) + // +kubebuilder:default=md5 + ClientAuthMode PgpoolClientAuthMode `json:"clientAuthMode,omitempty"` + + // TLS contains tls configurations for client and server. + // +optional + TLS *kmapi.TLSConfig `json:"tls,omitempty"` } // PgpoolStatus defines the observed state of Pgpool @@ -148,3 +159,65 @@ type PgpoolList struct { meta.ListMeta `json:"metadata,omitempty"` Items []Pgpool `json:"items"` } + +// +kubebuilder:validation:Enum=server;client;metrics-exporter +type PgpoolCertificateAlias string + +const ( + PgpoolServerCert PgpoolCertificateAlias = "server" + PgpoolClientCert PgpoolCertificateAlias = "client" + PgpoolMetricsExporterCert PgpoolCertificateAlias = "metrics-exporter" +) + +// ref: https://www.postgresql.org/docs/13/libpq-ssl.html +// +kubebuilder:validation:Enum=disable;allow;prefer;require;verify-ca;verify-full +type PgpoolSSLMode string + +const ( + // PgpoolSSLModeDisable represents `disable` sslMode. It ensures that the server does not use TLS/SSL. + PgpoolSSLModeDisable PgpoolSSLMode = "disable" + + // PgpoolSSLModeAllow represents `allow` sslMode. I don't care about security, + // but I will pay the overhead of encryption if the server insists on it. + PgpoolSSLModeAllow PgpoolSSLMode = "allow" + + // PgpoolSSLModePrefer represents `preferSSL` sslMode. + // I don't care about encryption, but I wish to pay the overhead of encryption if the server supports it. + PgpoolSSLModePrefer PgpoolSSLMode = "prefer" + + // PgpoolSSLModeRequire represents `requiteSSL` sslmode. I want my data to be encrypted, and I accept the overhead. + // I trust that the network will make sure I always connect to the server I want. + PgpoolSSLModeRequire PgpoolSSLMode = "require" + + // PgpoolSSLModeVerifyCA represents `verify-ca` sslmode. I want my data encrypted, and I accept the overhead. + // I want to be sure that I connect to a server that I trust. + PgpoolSSLModeVerifyCA PgpoolSSLMode = "verify-ca" + + // PgpoolSSLModeVerifyFull represents `verify-full` sslmode. I want my data encrypted, and I accept the overhead. + // I want to be sure that I connect to a server I trust, and that it's the one I specify. + PgpoolSSLModeVerifyFull PgpoolSSLMode = "verify-full" +) + +// PgpoolClientAuthMode represents the ClientAuthMode of Pgpool clusters ( replicaset ) +// ref: https://www.postgresql.org/docs/12/auth-methods.html +// +kubebuilder:validation:Enum=md5;scram;cert +type PgpoolClientAuthMode string + +const ( + // PgpoolClientAuthModeMD5 uses a custom less secure challenge-response mechanism. + // It prevents password sniffing and avoids storing passwords on the server in plain text but provides no protection + // if an attacker manages to steal the password hash from the server. + // Also, the MD5 hash algorithm is nowadays no longer considered secure against determined attacks + PgpoolClientAuthModeMD5 PgpoolClientAuthMode = "md5" + + // PgpoolClientAuthModeScram performs SCRAM-SHA-256 authentication, as described in RFC 7677. + // It is a challenge-response scheme that prevents password sniffing on untrusted connections + // and supports storing passwords on the server in a cryptographically hashed form that is thought to be secure. + // This is the most secure of the currently provided methods, but it is not supported by older client libraries. + PgpoolClientAuthModeScram PgpoolClientAuthMode = "scram" + + // PgpoolClientAuthModeCert represents `cert clientcert=1` auth mode where client need to provide cert and private key for authentication. + // When server is config with this auth method. Client can't connect with pgpool server with password. They need + // to Send the client cert and client key certificate for authentication. + PgpoolClientAuthModeCert PgpoolClientAuthMode = "cert" +) diff --git a/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/pgpool_webhook.go b/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/pgpool_webhook.go index 59ac256b60..018ece3b6f 100644 --- a/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/pgpool_webhook.go +++ b/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/pgpool_webhook.go @@ -31,6 +31,7 @@ import ( "k8s.io/apimachinery/pkg/types" "k8s.io/apimachinery/pkg/util/validation/field" kmapi "kmodules.xyz/client-go/api/v1" + appcat "kmodules.xyz/custom-resources/apis/appcatalog/v1alpha1" ofst "kmodules.xyz/offshoot-api/api/v2" ctrl "sigs.k8s.io/controller-runtime" logf "sigs.k8s.io/controller-runtime/pkg/log" @@ -120,6 +121,48 @@ func (p *Pgpool) ValidateCreateOrUpdate() field.ErrorList { )) } + apb := appcat.AppBinding{} + err := DefaultClient.Get(context.TODO(), types.NamespacedName{ + Name: p.Spec.PostgresRef.Name, + Namespace: p.Spec.PostgresRef.Namespace, + }, &apb) + if err != nil { + errorList = append(errorList, field.Invalid(field.NewPath("spec").Child("postgresRef"), + p.Name, + err.Error(), + )) + } + + backendSSL, err := p.IsBackendTLSEnabled() + if err != nil { + errorList = append(errorList, field.Invalid(field.NewPath("spec").Child("postgresRef"), + p.Name, + err.Error(), + )) + } + + if p.Spec.TLS == nil && backendSSL { + errorList = append(errorList, field.Required(field.NewPath("spec").Child("tls"), + "`spec.tls` must be set because backend postgres is tls enabled", + )) + } + + if p.Spec.TLS == nil { + if p.Spec.SSLMode != "disable" { + errorList = append(errorList, field.Invalid(field.NewPath("spec").Child("sslMode"), + p.Name, + "Tls is not enabled, enable it to use this sslMode", + )) + } + + if p.Spec.ClientAuthMode == "cert" { + errorList = append(errorList, field.Invalid(field.NewPath("spec").Child("clientAuthMode"), + p.Name, + "Tls is not enabled, enable it to use this clientAuthMode", + )) + } + } + if p.Spec.Replicas != nil { if *p.Spec.Replicas <= 0 { errorList = append(errorList, field.Required(field.NewPath("spec").Child("replicas"), @@ -207,6 +250,7 @@ func PgpoolValidateVersion(p *Pgpool) error { var PgpoolReservedVolumes = []string{ PgpoolConfigVolumeName, + PgpoolTlsVolumeName, } func PgpoolValidateVolumes(p *Pgpool) error { @@ -278,4 +322,5 @@ func PgpoolValidateVolumesMountPaths(podTemplate *ofst.PodTemplateSpec) error { var PgpoolReservedVolumesMountPaths = []string{ PgpoolConfigSecretMountPath, + PgpoolTlsVolumeMountPath, } diff --git a/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/register.go b/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/register.go index 6e071d91e7..644d456ef1 100644 --- a/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/register.go +++ b/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/register.go @@ -94,6 +94,8 @@ func addKnownTypes(scheme *runtime.Scheme) error { &ZooKeeperList{}, &Solr{}, &SolrList{}, + &MSSQLServer{}, + &MSSQLServerList{}, ) scheme.AddKnownTypes(SchemeGroupVersion, diff --git a/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/singlestore_helpers.go b/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/singlestore_helpers.go index 1859319238..1ab309d897 100644 --- a/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/singlestore_helpers.go +++ b/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/singlestore_helpers.go @@ -118,7 +118,36 @@ func (s singlestoreStatsService) Scheme() string { } func (s singlestoreStatsService) TLSConfig() *promapi.TLSConfig { - return nil + if s.Spec.TLS == nil { + return nil + } + return &promapi.TLSConfig{ + SafeTLSConfig: promapi.SafeTLSConfig{ + CA: promapi.SecretOrConfigMap{ + Secret: &core.SecretKeySelector{ + LocalObjectReference: core.LocalObjectReference{ + Name: s.GetCertSecretName(SinglestoreClientCert), + }, + Key: CACert, + }, + }, + Cert: promapi.SecretOrConfigMap{ + Secret: &core.SecretKeySelector{ + LocalObjectReference: core.LocalObjectReference{ + Name: s.GetCertSecretName(SinglestoreClientCert), + }, + Key: core.TLSCertKey, + }, + }, + KeySecret: &core.SecretKeySelector{ + LocalObjectReference: core.LocalObjectReference{ + Name: s.GetCertSecretName(SinglestoreClientCert), + }, + Key: core.TLSPrivateKeyKey, + }, + InsecureSkipVerify: false, + }, + } } func (s Singlestore) StatsService() mona.StatsAccessor { @@ -251,6 +280,23 @@ func (s *Singlestore) SetHealthCheckerDefaults() { } } +// CertificateName returns the default certificate name and/or certificate secret name for a certificate alias +func (s *Singlestore) CertificateName(alias SinglestoreCertificateAlias) string { + return metautil.NameWithSuffix(s.Name, fmt.Sprintf("%s-cert", string(alias))) +} + +// GetCertSecretName returns the secret name for a certificate alias if any +// otherwise returns default certificate secret name for the given alias. +func (s *Singlestore) GetCertSecretName(alias SinglestoreCertificateAlias) string { + if s.Spec.TLS != nil { + name, ok := kmapi.GetCertificateSecretName(s.Spec.TLS.Certificates, string(alias)) + if ok { + return name + } + } + return s.CertificateName(alias) +} + func (s *Singlestore) GetAuthSecretName() string { if s.Spec.AuthSecret != nil && s.Spec.AuthSecret.Name != "" { return s.Spec.AuthSecret.Name @@ -461,11 +507,6 @@ func (s *Singlestore) SetTLSDefaults() { s.Spec.TLS.Certificates = kmapi.SetMissingSecretNameForCertificate(s.Spec.TLS.Certificates, string(SinglestoreClientCert), s.CertificateName(SinglestoreClientCert)) } -// CertificateName returns the default certificate name and/or certificate secret name for a certificate alias -func (s *Singlestore) CertificateName(alias SinglestoreCertificateAlias) string { - return metautil.NameWithSuffix(s.Name, fmt.Sprintf("%s-cert", string(alias))) -} - func (s *Singlestore) ReplicasAreReady(lister pslister.PetSetLister) (bool, string, error) { // Desire number of petSets expectedItems := 1 diff --git a/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/singlestore_webhook.go b/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/singlestore_webhook.go index 2bb627e9d8..f2171cb01f 100644 --- a/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/singlestore_webhook.go +++ b/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/singlestore_webhook.go @@ -215,6 +215,7 @@ var sdbReservedVolumes = []string{ SinglestoreVolumeNameCustomConfig, SinglestoreVolmeNameInitScript, SinglestoreVolumeNameData, + SinglestoreVolumeNameTLS, } var sdbReservedVolumesMountPaths = []string{ @@ -222,6 +223,7 @@ var sdbReservedVolumesMountPaths = []string{ SinglestoreVolumeMountPathInitScript, SinglestoreVolumeMountPathCustomConfig, SinglestoreVolumeMountPathUserInitScript, + SinglestoreVolumeMountPathTLS, } func sdbValidateVersion(s *Singlestore) error { diff --git a/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/solr_helpers.go b/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/solr_helpers.go index 681233b1b0..fa8a7cfa6b 100644 --- a/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/solr_helpers.go +++ b/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/solr_helpers.go @@ -320,6 +320,16 @@ func (s *Solr) SetDefaults(slVersion *catalog.SolrVersion) { s.setDefaultContainerSecurityContext(slVersion, &s.Spec.PodTemplate) s.setDefaultContainerResourceLimits(&s.Spec.PodTemplate) } + + if s.Spec.Monitor != nil { + if s.Spec.Monitor.Prometheus == nil { + s.Spec.Monitor.Prometheus = &mona.PrometheusSpec{} + } + if s.Spec.Monitor.Prometheus != nil && s.Spec.Monitor.Prometheus.Exporter.Port == 0 { + s.Spec.Monitor.Prometheus.Exporter.Port = SolrExporterPort + } + s.Spec.Monitor.SetDefaults() + } } func (s *Solr) setDefaultContainerSecurityContext(slVersion *catalog.SolrVersion, podTemplate *ofst.PodTemplateSpec) { diff --git a/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/types.go b/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/types.go index 0fcbd5d566..6567c3e65c 100644 --- a/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/types.go +++ b/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/types.go @@ -251,7 +251,7 @@ type NamedServiceStatus struct { // Alias represents the identifier of the service. Alias ServiceAlias `json:"alias"` - Ports []ofst.ServicePort `json:"ports"` + Ports []ofst.GatewayPort `json:"ports"` } type NamedURL struct { @@ -262,6 +262,9 @@ type NamedURL struct { // URL of the database ui URL string `json:"url"` + // +optional + Port ofst.GatewayPort `json:"port,omitempty"` + // HelmRelease is the name of the helm release used to deploy this ui // The name format is typically - // +optional diff --git a/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/zookeeper_types.go b/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/zookeeper_types.go index 8e17187acc..bbd310b8b5 100644 --- a/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/zookeeper_types.go +++ b/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/zookeeper_types.go @@ -61,6 +61,7 @@ type ZooKeeperSpec struct { // +optional Replicas *int32 `json:"replicas"` + // +optional // +kubebuilder:default=8080 AdminServerPort int32 `json:"adminServerPort"` diff --git a/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/zz_generated.deepcopy.go b/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/zz_generated.deepcopy.go index 1edb9868c4..0f976c41f6 100644 --- a/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/zz_generated.deepcopy.go +++ b/vendor/kubedb.dev/apimachinery/apis/kubedb/v1alpha2/zz_generated.deepcopy.go @@ -1459,6 +1459,27 @@ func (in *InitSpec) DeepCopy() *InitSpec { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InternalAuthentication) DeepCopyInto(out *InternalAuthentication) { + *out = *in + if in.EndpointCert != nil { + in, out := &in.EndpointCert, &out.EndpointCert + *out = new(apiv1.TLSConfig) + (*in).DeepCopyInto(*out) + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternalAuthentication. +func (in *InternalAuthentication) DeepCopy() *InternalAuthentication { + if in == nil { + return nil + } + out := new(InternalAuthentication) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *Kafka) DeepCopyInto(out *Kafka) { *out = *in @@ -1776,6 +1797,255 @@ func (in *KernelSettings) DeepCopy() *KernelSettings { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MSSQLServer) DeepCopyInto(out *MSSQLServer) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + in.Status.DeepCopyInto(&out.Status) + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MSSQLServer. +func (in *MSSQLServer) DeepCopy() *MSSQLServer { + if in == nil { + return nil + } + out := new(MSSQLServer) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *MSSQLServer) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MSSQLServerApp) DeepCopyInto(out *MSSQLServerApp) { + *out = *in + if in.MSSQLServer != nil { + in, out := &in.MSSQLServer, &out.MSSQLServer + *out = new(MSSQLServer) + (*in).DeepCopyInto(*out) + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MSSQLServerApp. +func (in *MSSQLServerApp) DeepCopy() *MSSQLServerApp { + if in == nil { + return nil + } + out := new(MSSQLServerApp) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MSSQLServerAvailabilityGroupSpec) DeepCopyInto(out *MSSQLServerAvailabilityGroupSpec) { + *out = *in + if in.Databases != nil { + in, out := &in.Databases, &out.Databases + *out = make([]string, len(*in)) + copy(*out, *in) + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MSSQLServerAvailabilityGroupSpec. +func (in *MSSQLServerAvailabilityGroupSpec) DeepCopy() *MSSQLServerAvailabilityGroupSpec { + if in == nil { + return nil + } + out := new(MSSQLServerAvailabilityGroupSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MSSQLServerLeaderElectionConfig) DeepCopyInto(out *MSSQLServerLeaderElectionConfig) { + *out = *in + out.Period = in.Period + if in.TransferLeadershipInterval != nil { + in, out := &in.TransferLeadershipInterval, &out.TransferLeadershipInterval + *out = new(v1.Duration) + **out = **in + } + if in.TransferLeadershipTimeout != nil { + in, out := &in.TransferLeadershipTimeout, &out.TransferLeadershipTimeout + *out = new(v1.Duration) + **out = **in + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MSSQLServerLeaderElectionConfig. +func (in *MSSQLServerLeaderElectionConfig) DeepCopy() *MSSQLServerLeaderElectionConfig { + if in == nil { + return nil + } + out := new(MSSQLServerLeaderElectionConfig) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MSSQLServerList) DeepCopyInto(out *MSSQLServerList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]MSSQLServer, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MSSQLServerList. +func (in *MSSQLServerList) DeepCopy() *MSSQLServerList { + if in == nil { + return nil + } + out := new(MSSQLServerList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *MSSQLServerList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MSSQLServerSpec) DeepCopyInto(out *MSSQLServerSpec) { + *out = *in + if in.Replicas != nil { + in, out := &in.Replicas, &out.Replicas + *out = new(int32) + **out = **in + } + if in.Topology != nil { + in, out := &in.Topology, &out.Topology + *out = new(MSSQLServerTopology) + (*in).DeepCopyInto(*out) + } + if in.Storage != nil { + in, out := &in.Storage, &out.Storage + *out = new(corev1.PersistentVolumeClaimSpec) + (*in).DeepCopyInto(*out) + } + if in.AuthSecret != nil { + in, out := &in.AuthSecret, &out.AuthSecret + *out = new(SecretReference) + **out = **in + } + if in.InternalAuth != nil { + in, out := &in.InternalAuth, &out.InternalAuth + *out = new(InternalAuthentication) + (*in).DeepCopyInto(*out) + } + if in.Init != nil { + in, out := &in.Init, &out.Init + *out = new(InitSpec) + (*in).DeepCopyInto(*out) + } + if in.PodTemplate != nil { + in, out := &in.PodTemplate, &out.PodTemplate + *out = new(v2.PodTemplateSpec) + (*in).DeepCopyInto(*out) + } + if in.ServiceTemplates != nil { + in, out := &in.ServiceTemplates, &out.ServiceTemplates + *out = make([]NamedServiceTemplateSpec, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + in.Coordinator.DeepCopyInto(&out.Coordinator) + if in.LeaderElection != nil { + in, out := &in.LeaderElection, &out.LeaderElection + *out = new(MSSQLServerLeaderElectionConfig) + (*in).DeepCopyInto(*out) + } + in.HealthChecker.DeepCopyInto(&out.HealthChecker) + if in.PodPlacementPolicy != nil { + in, out := &in.PodPlacementPolicy, &out.PodPlacementPolicy + *out = new(corev1.LocalObjectReference) + **out = **in + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MSSQLServerSpec. +func (in *MSSQLServerSpec) DeepCopy() *MSSQLServerSpec { + if in == nil { + return nil + } + out := new(MSSQLServerSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MSSQLServerStatus) DeepCopyInto(out *MSSQLServerStatus) { + *out = *in + if in.Conditions != nil { + in, out := &in.Conditions, &out.Conditions + *out = make([]apiv1.Condition, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MSSQLServerStatus. +func (in *MSSQLServerStatus) DeepCopy() *MSSQLServerStatus { + if in == nil { + return nil + } + out := new(MSSQLServerStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *MSSQLServerTopology) DeepCopyInto(out *MSSQLServerTopology) { + *out = *in + if in.Mode != nil { + in, out := &in.Mode, &out.Mode + *out = new(MSSQLServerMode) + **out = **in + } + if in.AvailabilityGroup != nil { + in, out := &in.AvailabilityGroup, &out.AvailabilityGroup + *out = new(MSSQLServerAvailabilityGroupSpec) + (*in).DeepCopyInto(*out) + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MSSQLServerTopology. +func (in *MSSQLServerTopology) DeepCopy() *MSSQLServerTopology { + if in == nil { + return nil + } + out := new(MSSQLServerTopology) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *MariaDB) DeepCopyInto(out *MariaDB) { *out = *in @@ -2055,6 +2325,7 @@ func (in *MemcachedSpec) DeepCopyInto(out *MemcachedSpec) { *out = new(apiv1.TLSConfig) (*in).DeepCopyInto(*out) } + in.HealthChecker.DeepCopyInto(&out.HealthChecker) return } @@ -2827,7 +3098,7 @@ func (in *NamedServiceStatus) DeepCopyInto(out *NamedServiceStatus) { *out = *in if in.Ports != nil { in, out := &in.Ports, &out.Ports - *out = make([]offshootapiapiv1.ServicePort, len(*in)) + *out = make([]offshootapiapiv1.GatewayPort, len(*in)) copy(*out, *in) } return @@ -2863,6 +3134,7 @@ func (in *NamedServiceTemplateSpec) DeepCopy() *NamedServiceTemplateSpec { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *NamedURL) DeepCopyInto(out *NamedURL) { *out = *in + out.Port = in.Port if in.HelmRelease != nil { in, out := &in.HelmRelease, &out.HelmRelease *out = new(corev1.LocalObjectReference) @@ -3332,6 +3604,11 @@ func (in *PgpoolSpec) DeepCopyInto(out *PgpoolSpec) { *out = new(corev1.LocalObjectReference) **out = **in } + if in.TLS != nil { + in, out := &in.TLS, &out.TLS + *out = new(apiv1.TLSConfig) + (*in).DeepCopyInto(*out) + } return } diff --git a/vendor/kubedb.dev/apimachinery/crds/autoscaling.kubedb.com_elasticsearchautoscalers.yaml b/vendor/kubedb.dev/apimachinery/crds/autoscaling.kubedb.com_elasticsearchautoscalers.yaml index 584665f214..099ae5311e 100644 --- a/vendor/kubedb.dev/apimachinery/crds/autoscaling.kubedb.com_elasticsearchautoscalers.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/autoscaling.kubedb.com_elasticsearchautoscalers.yaml @@ -604,11 +604,29 @@ spec: - Offline - Online type: string + scalingRules: + items: + properties: + appliesUpto: + type: string + threshold: + type: string + required: + - appliesUpto + - threshold + type: object + type: array scalingThreshold: format: int32 type: integer trigger: type: string + upperBound: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true usageThreshold: format: int32 type: integer @@ -622,11 +640,29 @@ spec: - Offline - Online type: string + scalingRules: + items: + properties: + appliesUpto: + type: string + threshold: + type: string + required: + - appliesUpto + - threshold + type: object + type: array scalingThreshold: format: int32 type: integer trigger: type: string + upperBound: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true usageThreshold: format: int32 type: integer @@ -640,11 +676,29 @@ spec: - Offline - Online type: string + scalingRules: + items: + properties: + appliesUpto: + type: string + threshold: + type: string + required: + - appliesUpto + - threshold + type: object + type: array scalingThreshold: format: int32 type: integer trigger: type: string + upperBound: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true usageThreshold: format: int32 type: integer @@ -658,11 +712,29 @@ spec: - Offline - Online type: string + scalingRules: + items: + properties: + appliesUpto: + type: string + threshold: + type: string + required: + - appliesUpto + - threshold + type: object + type: array scalingThreshold: format: int32 type: integer trigger: type: string + upperBound: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true usageThreshold: format: int32 type: integer @@ -676,11 +748,29 @@ spec: - Offline - Online type: string + scalingRules: + items: + properties: + appliesUpto: + type: string + threshold: + type: string + required: + - appliesUpto + - threshold + type: object + type: array scalingThreshold: format: int32 type: integer trigger: type: string + upperBound: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true usageThreshold: format: int32 type: integer @@ -694,11 +784,29 @@ spec: - Offline - Online type: string + scalingRules: + items: + properties: + appliesUpto: + type: string + threshold: + type: string + required: + - appliesUpto + - threshold + type: object + type: array scalingThreshold: format: int32 type: integer trigger: type: string + upperBound: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true usageThreshold: format: int32 type: integer @@ -712,11 +820,29 @@ spec: - Offline - Online type: string + scalingRules: + items: + properties: + appliesUpto: + type: string + threshold: + type: string + required: + - appliesUpto + - threshold + type: object + type: array scalingThreshold: format: int32 type: integer trigger: type: string + upperBound: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true usageThreshold: format: int32 type: integer @@ -730,11 +856,29 @@ spec: - Offline - Online type: string + scalingRules: + items: + properties: + appliesUpto: + type: string + threshold: + type: string + required: + - appliesUpto + - threshold + type: object + type: array scalingThreshold: format: int32 type: integer trigger: type: string + upperBound: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true usageThreshold: format: int32 type: integer @@ -748,11 +892,29 @@ spec: - Offline - Online type: string + scalingRules: + items: + properties: + appliesUpto: + type: string + threshold: + type: string + required: + - appliesUpto + - threshold + type: object + type: array scalingThreshold: format: int32 type: integer trigger: type: string + upperBound: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true usageThreshold: format: int32 type: integer @@ -766,11 +928,29 @@ spec: - Offline - Online type: string + scalingRules: + items: + properties: + appliesUpto: + type: string + threshold: + type: string + required: + - appliesUpto + - threshold + type: object + type: array scalingThreshold: format: int32 type: integer trigger: type: string + upperBound: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true usageThreshold: format: int32 type: integer @@ -784,11 +964,29 @@ spec: - Offline - Online type: string + scalingRules: + items: + properties: + appliesUpto: + type: string + threshold: + type: string + required: + - appliesUpto + - threshold + type: object + type: array scalingThreshold: format: int32 type: integer trigger: type: string + upperBound: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true usageThreshold: format: int32 type: integer @@ -802,11 +1000,29 @@ spec: - Offline - Online type: string + scalingRules: + items: + properties: + appliesUpto: + type: string + threshold: + type: string + required: + - appliesUpto + - threshold + type: object + type: array scalingThreshold: format: int32 type: integer trigger: type: string + upperBound: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true usageThreshold: format: int32 type: integer diff --git a/vendor/kubedb.dev/apimachinery/crds/autoscaling.kubedb.com_kafkaautoscalers.yaml b/vendor/kubedb.dev/apimachinery/crds/autoscaling.kubedb.com_kafkaautoscalers.yaml index 8a712dee20..09cb2daa43 100644 --- a/vendor/kubedb.dev/apimachinery/crds/autoscaling.kubedb.com_kafkaautoscalers.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/autoscaling.kubedb.com_kafkaautoscalers.yaml @@ -206,11 +206,29 @@ spec: - Offline - Online type: string + scalingRules: + items: + properties: + appliesUpto: + type: string + threshold: + type: string + required: + - appliesUpto + - threshold + type: object + type: array scalingThreshold: format: int32 type: integer trigger: type: string + upperBound: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true usageThreshold: format: int32 type: integer @@ -224,11 +242,29 @@ spec: - Offline - Online type: string + scalingRules: + items: + properties: + appliesUpto: + type: string + threshold: + type: string + required: + - appliesUpto + - threshold + type: object + type: array scalingThreshold: format: int32 type: integer trigger: type: string + upperBound: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true usageThreshold: format: int32 type: integer @@ -242,11 +278,29 @@ spec: - Offline - Online type: string + scalingRules: + items: + properties: + appliesUpto: + type: string + threshold: + type: string + required: + - appliesUpto + - threshold + type: object + type: array scalingThreshold: format: int32 type: integer trigger: type: string + upperBound: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true usageThreshold: format: int32 type: integer diff --git a/vendor/kubedb.dev/apimachinery/crds/autoscaling.kubedb.com_mariadbautoscalers.yaml b/vendor/kubedb.dev/apimachinery/crds/autoscaling.kubedb.com_mariadbautoscalers.yaml index ef33b55856..e360bb5aa6 100644 --- a/vendor/kubedb.dev/apimachinery/crds/autoscaling.kubedb.com_mariadbautoscalers.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/autoscaling.kubedb.com_mariadbautoscalers.yaml @@ -120,11 +120,29 @@ spec: - Offline - Online type: string + scalingRules: + items: + properties: + appliesUpto: + type: string + threshold: + type: string + required: + - appliesUpto + - threshold + type: object + type: array scalingThreshold: format: int32 type: integer trigger: type: string + upperBound: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true usageThreshold: format: int32 type: integer diff --git a/vendor/kubedb.dev/apimachinery/crds/autoscaling.kubedb.com_mongodbautoscalers.yaml b/vendor/kubedb.dev/apimachinery/crds/autoscaling.kubedb.com_mongodbautoscalers.yaml index 63b98b8acf..07c8da1b50 100644 --- a/vendor/kubedb.dev/apimachinery/crds/autoscaling.kubedb.com_mongodbautoscalers.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/autoscaling.kubedb.com_mongodbautoscalers.yaml @@ -394,11 +394,29 @@ spec: - Offline - Online type: string + scalingRules: + items: + properties: + appliesUpto: + type: string + threshold: + type: string + required: + - appliesUpto + - threshold + type: object + type: array scalingThreshold: format: int32 type: integer trigger: type: string + upperBound: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true usageThreshold: format: int32 type: integer @@ -412,11 +430,29 @@ spec: - Offline - Online type: string + scalingRules: + items: + properties: + appliesUpto: + type: string + threshold: + type: string + required: + - appliesUpto + - threshold + type: object + type: array scalingThreshold: format: int32 type: integer trigger: type: string + upperBound: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true usageThreshold: format: int32 type: integer @@ -430,11 +466,29 @@ spec: - Offline - Online type: string + scalingRules: + items: + properties: + appliesUpto: + type: string + threshold: + type: string + required: + - appliesUpto + - threshold + type: object + type: array scalingThreshold: format: int32 type: integer trigger: type: string + upperBound: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true usageThreshold: format: int32 type: integer @@ -448,11 +502,29 @@ spec: - Offline - Online type: string + scalingRules: + items: + properties: + appliesUpto: + type: string + threshold: + type: string + required: + - appliesUpto + - threshold + type: object + type: array scalingThreshold: format: int32 type: integer trigger: type: string + upperBound: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true usageThreshold: format: int32 type: integer @@ -466,11 +538,29 @@ spec: - Offline - Online type: string + scalingRules: + items: + properties: + appliesUpto: + type: string + threshold: + type: string + required: + - appliesUpto + - threshold + type: object + type: array scalingThreshold: format: int32 type: integer trigger: type: string + upperBound: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true usageThreshold: format: int32 type: integer diff --git a/vendor/kubedb.dev/apimachinery/crds/autoscaling.kubedb.com_mysqlautoscalers.yaml b/vendor/kubedb.dev/apimachinery/crds/autoscaling.kubedb.com_mysqlautoscalers.yaml index f5ade32fa6..493361f973 100644 --- a/vendor/kubedb.dev/apimachinery/crds/autoscaling.kubedb.com_mysqlautoscalers.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/autoscaling.kubedb.com_mysqlautoscalers.yaml @@ -120,11 +120,29 @@ spec: - Offline - Online type: string + scalingRules: + items: + properties: + appliesUpto: + type: string + threshold: + type: string + required: + - appliesUpto + - threshold + type: object + type: array scalingThreshold: format: int32 type: integer trigger: type: string + upperBound: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true usageThreshold: format: int32 type: integer diff --git a/vendor/kubedb.dev/apimachinery/crds/autoscaling.kubedb.com_perconaxtradbautoscalers.yaml b/vendor/kubedb.dev/apimachinery/crds/autoscaling.kubedb.com_perconaxtradbautoscalers.yaml index afc4c66cab..e762cc3912 100644 --- a/vendor/kubedb.dev/apimachinery/crds/autoscaling.kubedb.com_perconaxtradbautoscalers.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/autoscaling.kubedb.com_perconaxtradbautoscalers.yaml @@ -120,11 +120,29 @@ spec: - Offline - Online type: string + scalingRules: + items: + properties: + appliesUpto: + type: string + threshold: + type: string + required: + - appliesUpto + - threshold + type: object + type: array scalingThreshold: format: int32 type: integer trigger: type: string + upperBound: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true usageThreshold: format: int32 type: integer diff --git a/vendor/kubedb.dev/apimachinery/crds/autoscaling.kubedb.com_postgresautoscalers.yaml b/vendor/kubedb.dev/apimachinery/crds/autoscaling.kubedb.com_postgresautoscalers.yaml index 6a0cf05783..3f57f40d12 100644 --- a/vendor/kubedb.dev/apimachinery/crds/autoscaling.kubedb.com_postgresautoscalers.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/autoscaling.kubedb.com_postgresautoscalers.yaml @@ -118,11 +118,29 @@ spec: - Offline - Online type: string + scalingRules: + items: + properties: + appliesUpto: + type: string + threshold: + type: string + required: + - appliesUpto + - threshold + type: object + type: array scalingThreshold: format: int32 type: integer trigger: type: string + upperBound: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true usageThreshold: format: int32 type: integer diff --git a/vendor/kubedb.dev/apimachinery/crds/autoscaling.kubedb.com_rabbitmqautoscalers.yaml b/vendor/kubedb.dev/apimachinery/crds/autoscaling.kubedb.com_rabbitmqautoscalers.yaml new file mode 100644 index 0000000000..65d995a67d --- /dev/null +++ b/vendor/kubedb.dev/apimachinery/crds/autoscaling.kubedb.com_rabbitmqautoscalers.yaml @@ -0,0 +1,346 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + creationTimestamp: null + labels: + app.kubernetes.io/name: kubedb + name: rabbitmqautoscalers.autoscaling.kubedb.com +spec: + group: autoscaling.kubedb.com + names: + categories: + - datastore + - kubedb + - appscode + kind: RabbitMQAutoscaler + listKind: RabbitMQAutoscalerList + plural: rabbitmqautoscalers + shortNames: + - rmscaler + singular: rabbitmqautoscaler + scope: Namespaced + versions: + - name: v1alpha1 + schema: + openAPIV3Schema: + properties: + apiVersion: + type: string + kind: + type: string + metadata: + type: object + spec: + properties: + compute: + properties: + nodeTopology: + properties: + name: + type: string + scaleDownDiffPercentage: + default: 25 + format: int32 + type: integer + scaleUpDiffPercentage: + default: 15 + format: int32 + type: integer + type: object + rabbitmq: + properties: + containerControlledValues: + enum: + - RequestsAndLimits + - RequestsOnly + type: string + controlledResources: + items: + type: string + type: array + inMemoryStorage: + properties: + scalingFactorPercentage: + format: int32 + type: integer + usageThresholdPercentage: + format: int32 + type: integer + type: object + maxAllowed: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + minAllowed: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + podLifeTimeThreshold: + type: string + resourceDiffPercentage: + format: int32 + type: integer + trigger: + type: string + type: object + type: object + databaseRef: + properties: + name: + type: string + type: object + x-kubernetes-map-type: atomic + opsRequestOptions: + properties: + apply: + default: IfReady + enum: + - IfReady + - Always + type: string + readinessCriteria: + type: object + timeout: + type: string + type: object + storage: + properties: + rabbitmq: + properties: + expansionMode: + enum: + - Offline + - Online + type: string + scalingRules: + items: + properties: + appliesUpto: + type: string + threshold: + type: string + required: + - appliesUpto + - threshold + type: object + type: array + scalingThreshold: + format: int32 + type: integer + trigger: + type: string + upperBound: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + usageThreshold: + format: int32 + type: integer + required: + - expansionMode + type: object + type: object + required: + - databaseRef + type: object + status: + properties: + checkpoints: + items: + properties: + cpuHistogram: + properties: + bucketWeights: + items: + properties: + index: + type: integer + weight: + format: int32 + type: integer + required: + - index + - weight + type: object + type: array + x-kubernetes-preserve-unknown-fields: true + referenceTimestamp: + format: date-time + nullable: true + type: string + totalWeight: + format: double + type: number + type: object + firstSampleStart: + format: date-time + nullable: true + type: string + lastSampleStart: + format: date-time + nullable: true + type: string + lastUpdateTime: + format: date-time + nullable: true + type: string + memoryHistogram: + properties: + bucketWeights: + items: + properties: + index: + type: integer + weight: + format: int32 + type: integer + required: + - index + - weight + type: object + type: array + x-kubernetes-preserve-unknown-fields: true + referenceTimestamp: + format: date-time + nullable: true + type: string + totalWeight: + format: double + type: number + type: object + ref: + properties: + containerName: + type: string + vpaObjectName: + type: string + type: object + totalSamplesCount: + type: integer + version: + type: string + type: object + type: array + conditions: + items: + properties: + lastTransitionTime: + format: date-time + type: string + message: + type: string + observedGeneration: + format: int64 + type: integer + reason: + type: string + severity: + type: string + status: + type: string + type: + type: string + required: + - lastTransitionTime + - status + - type + type: object + type: array + observedGeneration: + format: int64 + type: integer + phase: + enum: + - InProgress + - Current + - Terminating + - Failed + type: string + vpas: + items: + properties: + conditions: + items: + properties: + lastTransitionTime: + format: date-time + type: string + message: + type: string + reason: + type: string + status: + type: string + type: + type: string + required: + - status + - type + type: object + type: array + recommendation: + properties: + containerRecommendations: + items: + properties: + containerName: + type: string + lowerBound: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + target: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + uncappedTarget: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + upperBound: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + required: + - target + type: object + type: array + type: object + vpaName: + type: string + type: object + type: array + type: object + required: + - spec + type: object + served: true + storage: true + subresources: + status: {} diff --git a/vendor/kubedb.dev/apimachinery/crds/autoscaling.kubedb.com_redisautoscalers.yaml b/vendor/kubedb.dev/apimachinery/crds/autoscaling.kubedb.com_redisautoscalers.yaml index e397775780..9e62ded424 100644 --- a/vendor/kubedb.dev/apimachinery/crds/autoscaling.kubedb.com_redisautoscalers.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/autoscaling.kubedb.com_redisautoscalers.yaml @@ -206,11 +206,29 @@ spec: - Offline - Online type: string + scalingRules: + items: + properties: + appliesUpto: + type: string + threshold: + type: string + required: + - appliesUpto + - threshold + type: object + type: array scalingThreshold: format: int32 type: integer trigger: type: string + upperBound: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true usageThreshold: format: int32 type: integer @@ -224,11 +242,29 @@ spec: - Offline - Online type: string + scalingRules: + items: + properties: + appliesUpto: + type: string + threshold: + type: string + required: + - appliesUpto + - threshold + type: object + type: array scalingThreshold: format: int32 type: integer trigger: type: string + upperBound: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true usageThreshold: format: int32 type: integer @@ -242,11 +278,29 @@ spec: - Offline - Online type: string + scalingRules: + items: + properties: + appliesUpto: + type: string + threshold: + type: string + required: + - appliesUpto + - threshold + type: object + type: array scalingThreshold: format: int32 type: integer trigger: type: string + upperBound: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true usageThreshold: format: int32 type: integer diff --git a/vendor/kubedb.dev/apimachinery/crds/catalog.kubedb.com_mssqlserverversions.yaml b/vendor/kubedb.dev/apimachinery/crds/catalog.kubedb.com_mssqlserverversions.yaml new file mode 100644 index 0000000000..c53de43e05 --- /dev/null +++ b/vendor/kubedb.dev/apimachinery/crds/catalog.kubedb.com_mssqlserverversions.yaml @@ -0,0 +1,145 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + creationTimestamp: null + labels: + app.kubernetes.io/name: kubedb + name: mssqlserverversions.catalog.kubedb.com +spec: + group: catalog.kubedb.com + names: + categories: + - datastore + - kubedb + - appscode + kind: MSSQLServerVersion + listKind: MSSQLServerVersionList + plural: mssqlserverversions + shortNames: + - msversion + singular: mssqlserverversion + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .spec.version + name: Version + type: string + - jsonPath: .spec.db.image + name: DB_IMAGE + type: string + - jsonPath: .spec.deprecated + name: Deprecated + type: boolean + - jsonPath: .metadata.creationTimestamp + name: Age + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + properties: + apiVersion: + type: string + kind: + type: string + metadata: + type: object + spec: + properties: + coordinator: + properties: + image: + type: string + required: + - image + type: object + db: + properties: + image: + type: string + required: + - image + type: object + deprecated: + type: boolean + initContainer: + properties: + image: + type: string + required: + - image + type: object + securityContext: + properties: + runAsUser: + format: int64 + type: integer + type: object + stash: + properties: + addon: + properties: + backupTask: + properties: + name: + type: string + params: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + required: + - name + type: object + restoreTask: + properties: + name: + type: string + params: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + required: + - name + type: object + required: + - backupTask + - restoreTask + type: object + type: object + updateConstraints: + properties: + allowlist: + items: + type: string + type: array + denylist: + items: + type: string + type: array + type: object + version: + type: string + required: + - db + - initContainer + - version + type: object + type: object + served: true + storage: true + subresources: {} diff --git a/vendor/kubedb.dev/apimachinery/crds/kafka.kubedb.com_connectclusters.yaml b/vendor/kubedb.dev/apimachinery/crds/kafka.kubedb.com_connectclusters.yaml index c89c1b1cf9..02c81958de 100644 --- a/vendor/kubedb.dev/apimachinery/crds/kafka.kubedb.com_connectclusters.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/kafka.kubedb.com_connectclusters.yaml @@ -318,411 +318,6 @@ spec: activeDeadlineSeconds: format: int64 type: integer - affinity: - properties: - nodeAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - preference: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchFields: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - type: object - x-kubernetes-map-type: atomic - weight: - format: int32 - type: integer - required: - - preference - - weight - type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - properties: - nodeSelectorTerms: - items: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchFields: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - type: object - x-kubernetes-map-type: atomic - type: array - required: - - nodeSelectorTerms - type: object - x-kubernetes-map-type: atomic - type: object - podAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - podAffinityTerm: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - weight: - format: int32 - type: integer - required: - - podAffinityTerm - - weight - type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - type: array - type: object - podAntiAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - podAffinityTerm: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - weight: - format: int32 - type: integer - required: - - podAffinityTerm - - weight - type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - type: array - type: object - type: object automountServiceAccountToken: type: boolean containers: @@ -2819,62 +2414,6 @@ spec: type: string type: object type: array - topologySpreadConstraints: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - maxSkew: - format: int32 - type: integer - minDomains: - format: int32 - type: integer - nodeAffinityPolicy: - type: string - nodeTaintsPolicy: - type: string - topologyKey: - type: string - whenUnsatisfiable: - type: string - required: - - maxSkew - - topologyKey - - whenUnsatisfiable - type: object - type: array - x-kubernetes-list-map-keys: - - topologyKey - - whenUnsatisfiable - x-kubernetes-list-type: map volumes: items: properties: diff --git a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_druids.yaml b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_druids.yaml index 83ccef40bd..33e5ec93f2 100644 --- a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_druids.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_druids.yaml @@ -329,683 +329,278 @@ spec: activeDeadlineSeconds: format: int64 type: integer - affinity: - properties: - nodeAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: + automountServiceAccountToken: + type: boolean + containers: + items: + properties: + args: + items: + type: string + type: array + command: + items: + type: string + type: array + env: + items: + properties: + name: + type: string + value: + type: string + valueFrom: + properties: + configMapKeyRef: + properties: + key: + type: string + name: + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + resourceFieldRef: + properties: + containerName: + type: string + divisor: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + secretKeyRef: + properties: + key: + type: string + name: + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + required: + - name + type: object + type: array + envFrom: + items: + properties: + configMapRef: + properties: + name: + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + prefix: + type: string + secretRef: + properties: + name: + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + type: object + type: array + image: + type: string + imagePullPolicy: + type: string + lifecycle: + properties: + postStart: properties: - preference: + exec: properties: - matchExpressions: + command: items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object + type: string type: array - matchFields: + type: object + httpGet: + properties: + host: + type: string + httpHeaders: items: properties: - key: + name: type: string - operator: + value: type: string - values: - items: - type: string - type: array required: - - key - - operator + - name + - value type: object type: array + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port type: object - x-kubernetes-map-type: atomic - weight: - format: int32 - type: integer - required: - - preference - - weight type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - properties: - nodeSelectorTerms: - items: + preStop: + properties: + exec: properties: - matchExpressions: + command: items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object + type: string type: array - matchFields: + type: object + httpGet: + properties: + host: + type: string + httpHeaders: items: properties: - key: + name: type: string - operator: + value: type: string - values: - items: - type: string - type: array required: - - key - - operator + - name + - value type: object type: array + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port type: object - x-kubernetes-map-type: atomic - type: array - required: - - nodeSelectorTerms - type: object - x-kubernetes-map-type: atomic - type: object - podAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - podAffinityTerm: + sleep: properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true required: - - topologyKey + - port type: object - weight: - format: int32 - type: integer - required: - - podAffinityTerm - - weight type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - items: + type: object + livenessProbe: + properties: + exec: properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: + command: items: type: string type: array - topologyKey: - type: string - required: - - topologyKey type: object - type: array - type: object - podAntiAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: + failureThreshold: + format: int32 + type: integer + grpc: properties: - podAffinityTerm: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - weight: + port: format: int32 type: integer + service: + type: string required: - - podAffinityTerm - - weight + - port type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - items: + httpGet: properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: + host: + type: string + httpHeaders: items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: + properties: + name: type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string + value: + type: string + required: + - name + - value + type: object type: array - topologyKey: + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: type: string required: - - topologyKey - type: object - type: array - type: object - type: object - automountServiceAccountToken: - type: boolean - containers: - items: - properties: - args: - items: - type: string - type: array - command: - items: - type: string - type: array - env: - items: - properties: - name: - type: string - value: - type: string - valueFrom: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - fieldRef: - properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath - type: object - x-kubernetes-map-type: atomic - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - x-kubernetes-map-type: atomic - secretKeyRef: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - required: - - name - type: object - type: array - envFrom: - items: - properties: - configMapRef: - properties: - name: - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - prefix: - type: string - secretRef: - properties: - name: - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - type: object - type: array - image: - type: string - imagePullPolicy: - type: string - lifecycle: - properties: - postStart: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - preStop: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - type: object - livenessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port + - port type: object initialDelaySeconds: format: int32 @@ -2830,63 +2425,7 @@ spec: type: string type: object type: array - topologySpreadConstraints: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - maxSkew: - format: int32 - type: integer - minDomains: - format: int32 - type: integer - nodeAffinityPolicy: - type: string - nodeTaintsPolicy: - type: string - topologyKey: - type: string - whenUnsatisfiable: - type: string - required: - - maxSkew - - topologyKey - - whenUnsatisfiable - type: object - type: array - x-kubernetes-list-map-keys: - - topologyKey - - whenUnsatisfiable - x-kubernetes-list-type: map - volumes: + volumes: items: properties: awsElasticBlockStore: @@ -3781,635 +3320,334 @@ spec: activeDeadlineSeconds: format: int64 type: integer - affinity: - properties: - nodeAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: + automountServiceAccountToken: + type: boolean + containers: + items: + properties: + args: + items: + type: string + type: array + command: + items: + type: string + type: array + env: + items: + properties: + name: + type: string + value: + type: string + valueFrom: + properties: + configMapKeyRef: + properties: + key: + type: string + name: + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + resourceFieldRef: + properties: + containerName: + type: string + divisor: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + secretKeyRef: + properties: + key: + type: string + name: + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + required: + - name + type: object + type: array + envFrom: + items: + properties: + configMapRef: + properties: + name: + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + prefix: + type: string + secretRef: + properties: + name: + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + type: object + type: array + image: + type: string + imagePullPolicy: + type: string + lifecycle: + properties: + postStart: properties: - preference: + exec: properties: - matchExpressions: + command: items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object + type: string type: array - matchFields: + type: object + httpGet: + properties: + host: + type: string + httpHeaders: items: properties: - key: + name: type: string - operator: + value: type: string - values: - items: - type: string - type: array required: - - key - - operator + - name + - value type: object type: array + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port type: object - x-kubernetes-map-type: atomic - weight: - format: int32 - type: integer - required: - - preference - - weight type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - properties: - nodeSelectorTerms: - items: + preStop: + properties: + exec: properties: - matchExpressions: + command: items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object + type: string type: array - matchFields: + type: object + httpGet: + properties: + host: + type: string + httpHeaders: items: properties: - key: + name: type: string - operator: + value: type: string - values: - items: - type: string - type: array required: - - key - - operator + - name + - value type: object type: array + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port type: object - x-kubernetes-map-type: atomic - type: array - required: - - nodeSelectorTerms - type: object - x-kubernetes-map-type: atomic - type: object - podAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - podAffinityTerm: + sleep: properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true required: - - topologyKey + - port type: object - weight: - format: int32 - type: integer - required: - - podAffinityTerm - - weight type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - items: + type: object + livenessProbe: + properties: + exec: properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: + command: items: type: string type: array - topologyKey: - type: string - required: - - topologyKey type: object - type: array - type: object - podAntiAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: + failureThreshold: + format: int32 + type: integer + grpc: properties: - podAffinityTerm: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - weight: + port: format: int32 type: integer + service: + type: string required: - - podAffinityTerm - - weight + - port type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - items: + httpGet: properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: + host: + type: string + httpHeaders: items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: + properties: + name: type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string + value: + type: string + required: + - name + - value + type: object type: array - topologyKey: + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: type: string required: - - topologyKey + - port type: object - type: array - type: object - type: object - automountServiceAccountToken: - type: boolean - containers: - items: - properties: - args: - items: - type: string - type: array - command: - items: - type: string - type: array - env: + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + name: + type: string + ports: items: properties: + containerPort: + format: int32 + type: integer + hostIP: + type: string + hostPort: + format: int32 + type: integer name: type: string - value: + protocol: + default: TCP type: string - valueFrom: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - fieldRef: - properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath - type: object - x-kubernetes-map-type: atomic - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - x-kubernetes-map-type: atomic - secretKeyRef: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object required: - - name - type: object - type: array - envFrom: - items: - properties: - configMapRef: - properties: - name: - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - prefix: - type: string - secretRef: - properties: - name: - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic + - containerPort type: object type: array - image: - type: string - imagePullPolicy: - type: string - lifecycle: - properties: - postStart: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - preStop: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - type: object - livenessProbe: + x-kubernetes-list-map-keys: + - containerPort + - protocol + x-kubernetes-list-type: map + readinessProbe: properties: exec: properties: @@ -4487,111 +3725,7 @@ spec: format: int32 type: integer type: object - name: - type: string - ports: - items: - properties: - containerPort: - format: int32 - type: integer - hostIP: - type: string - hostPort: - format: int32 - type: integer - name: - type: string - protocol: - default: TCP - type: string - required: - - containerPort - type: object - type: array - x-kubernetes-list-map-keys: - - containerPort - - protocol - x-kubernetes-list-type: map - readinessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - resizePolicy: + resizePolicy: items: properties: resourceName: @@ -6282,62 +5416,6 @@ spec: type: string type: object type: array - topologySpreadConstraints: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - maxSkew: - format: int32 - type: integer - minDomains: - format: int32 - type: integer - nodeAffinityPolicy: - type: string - nodeTaintsPolicy: - type: string - topologyKey: - type: string - whenUnsatisfiable: - type: string - required: - - maxSkew - - topologyKey - - whenUnsatisfiable - type: object - type: array - x-kubernetes-list-map-keys: - - topologyKey - - whenUnsatisfiable - x-kubernetes-list-type: map volumes: items: properties: @@ -7256,438 +6334,33 @@ spec: activeDeadlineSeconds: format: int64 type: integer - affinity: - properties: - nodeAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - preference: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchFields: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - type: object - x-kubernetes-map-type: atomic - weight: - format: int32 - type: integer - required: - - preference - - weight - type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: + automountServiceAccountToken: + type: boolean + containers: + items: + properties: + args: + items: + type: string + type: array + command: + items: + type: string + type: array + env: + items: properties: - nodeSelectorTerms: - items: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchFields: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - type: object - x-kubernetes-map-type: atomic - type: array - required: - - nodeSelectorTerms - type: object - x-kubernetes-map-type: atomic - type: object - podAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - podAffinityTerm: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: + name: + type: string + value: + type: string + valueFrom: + properties: + configMapKeyRef: + properties: + key: type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - weight: - format: int32 - type: integer - required: - - podAffinityTerm - - weight - type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - type: array - type: object - podAntiAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - podAffinityTerm: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - weight: - format: int32 - type: integer - required: - - podAffinityTerm - - weight - type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - type: array - type: object - type: object - automountServiceAccountToken: - type: boolean - containers: - items: - properties: - args: - items: - type: string - type: array - command: - items: - type: string - type: array - env: - items: - properties: - name: - type: string - value: - type: string - valueFrom: - properties: - configMapKeyRef: - properties: - key: - type: string - name: + name: type: string optional: type: boolean @@ -9757,62 +8430,6 @@ spec: type: string type: object type: array - topologySpreadConstraints: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - maxSkew: - format: int32 - type: integer - minDomains: - format: int32 - type: integer - nodeAffinityPolicy: - type: string - nodeTaintsPolicy: - type: string - topologyKey: - type: string - whenUnsatisfiable: - type: string - required: - - maxSkew - - topologyKey - - whenUnsatisfiable - type: object - type: array - x-kubernetes-list-map-keys: - - topologyKey - - whenUnsatisfiable - x-kubernetes-list-type: map volumes: items: properties: @@ -10731,635 +9348,334 @@ spec: activeDeadlineSeconds: format: int64 type: integer - affinity: - properties: - nodeAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - preference: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object + automountServiceAccountToken: + type: boolean + containers: + items: + properties: + args: + items: + type: string + type: array + command: + items: + type: string + type: array + env: + items: + properties: + name: + type: string + value: + type: string + valueFrom: + properties: + configMapKeyRef: + properties: + key: + type: string + name: + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + resourceFieldRef: + properties: + containerName: + type: string + divisor: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + secretKeyRef: + properties: + key: + type: string + name: + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + required: + - name + type: object + type: array + envFrom: + items: + properties: + configMapRef: + properties: + name: + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + prefix: + type: string + secretRef: + properties: + name: + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + type: object + type: array + image: + type: string + imagePullPolicy: + type: string + lifecycle: + properties: + postStart: + properties: + exec: + properties: + command: + items: + type: string type: array - matchFields: + type: object + httpGet: + properties: + host: + type: string + httpHeaders: items: properties: - key: + name: type: string - operator: + value: type: string - values: - items: - type: string - type: array required: - - key - - operator + - name + - value type: object type: array + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port type: object - x-kubernetes-map-type: atomic - weight: - format: int32 - type: integer - required: - - preference - - weight type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - properties: - nodeSelectorTerms: - items: + preStop: + properties: + exec: properties: - matchExpressions: + command: items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object + type: string type: array - matchFields: + type: object + httpGet: + properties: + host: + type: string + httpHeaders: items: properties: - key: + name: type: string - operator: + value: type: string - values: - items: - type: string - type: array required: - - key - - operator + - name + - value type: object type: array + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port type: object - x-kubernetes-map-type: atomic - type: array - required: - - nodeSelectorTerms - type: object - x-kubernetes-map-type: atomic - type: object - podAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - podAffinityTerm: + sleep: properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true required: - - topologyKey + - port type: object - weight: - format: int32 - type: integer - required: - - podAffinityTerm - - weight type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - items: + type: object + livenessProbe: + properties: + exec: properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: + command: items: type: string type: array - topologyKey: - type: string - required: - - topologyKey type: object - type: array - type: object - podAntiAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: + failureThreshold: + format: int32 + type: integer + grpc: properties: - podAffinityTerm: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - weight: + port: format: int32 type: integer + service: + type: string required: - - podAffinityTerm - - weight + - port type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - items: + httpGet: properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: + host: + type: string + httpHeaders: items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: + properties: + name: type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string + value: + type: string + required: + - name + - value + type: object type: array - topologyKey: + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: type: string required: - - topologyKey + - port type: object - type: array - type: object - type: object - automountServiceAccountToken: - type: boolean - containers: - items: - properties: - args: - items: - type: string - type: array - command: - items: - type: string - type: array - env: + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + name: + type: string + ports: items: properties: - name: + containerPort: + format: int32 + type: integer + hostIP: type: string - value: + hostPort: + format: int32 + type: integer + name: type: string - valueFrom: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - fieldRef: - properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath - type: object - x-kubernetes-map-type: atomic - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - x-kubernetes-map-type: atomic - secretKeyRef: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - required: - - name - type: object - type: array - envFrom: - items: - properties: - configMapRef: - properties: - name: - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - prefix: + protocol: + default: TCP type: string - secretRef: - properties: - name: - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic + required: + - containerPort type: object type: array - image: - type: string - imagePullPolicy: - type: string - lifecycle: - properties: - postStart: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - preStop: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - type: object - livenessProbe: + x-kubernetes-list-map-keys: + - containerPort + - protocol + x-kubernetes-list-type: map + readinessProbe: properties: exec: properties: @@ -11437,129 +9753,25 @@ spec: format: int32 type: integer type: object - name: - type: string - ports: + resizePolicy: items: properties: - containerPort: - format: int32 - type: integer - hostIP: - type: string - hostPort: - format: int32 - type: integer - name: + resourceName: type: string - protocol: - default: TCP + restartPolicy: type: string required: - - containerPort + - resourceName + - restartPolicy type: object type: array - x-kubernetes-list-map-keys: - - containerPort - - protocol - x-kubernetes-list-type: map - readinessProbe: + x-kubernetes-list-type: atomic + resources: properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - resizePolicy: - items: - properties: - resourceName: - type: string - restartPolicy: - type: string - required: - - resourceName - - restartPolicy - type: object - type: array - x-kubernetes-list-type: atomic - resources: - properties: - claims: - items: - properties: - name: + claims: + items: + properties: + name: type: string required: - name @@ -13232,62 +11444,6 @@ spec: type: string type: object type: array - topologySpreadConstraints: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - maxSkew: - format: int32 - type: integer - minDomains: - format: int32 - type: integer - nodeAffinityPolicy: - type: string - nodeTaintsPolicy: - type: string - topologyKey: - type: string - whenUnsatisfiable: - type: string - required: - - maxSkew - - topologyKey - - whenUnsatisfiable - type: object - type: array - x-kubernetes-list-map-keys: - - topologyKey - - whenUnsatisfiable - x-kubernetes-list-type: map volumes: items: properties: @@ -14206,768 +12362,363 @@ spec: activeDeadlineSeconds: format: int64 type: integer - affinity: - properties: - nodeAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: + automountServiceAccountToken: + type: boolean + containers: + items: + properties: + args: + items: + type: string + type: array + command: + items: + type: string + type: array + env: + items: + properties: + name: + type: string + value: + type: string + valueFrom: + properties: + configMapKeyRef: + properties: + key: + type: string + name: + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + resourceFieldRef: + properties: + containerName: + type: string + divisor: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + secretKeyRef: + properties: + key: + type: string + name: + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + required: + - name + type: object + type: array + envFrom: + items: + properties: + configMapRef: + properties: + name: + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + prefix: + type: string + secretRef: + properties: + name: + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + type: object + type: array + image: + type: string + imagePullPolicy: + type: string + lifecycle: + properties: + postStart: properties: - preference: + exec: properties: - matchExpressions: + command: items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object + type: string type: array - matchFields: + type: object + httpGet: + properties: + host: + type: string + httpHeaders: items: properties: - key: + name: type: string - operator: + value: type: string - values: - items: - type: string - type: array required: - - key - - operator + - name + - value type: object type: array + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port type: object - x-kubernetes-map-type: atomic - weight: - format: int32 - type: integer - required: - - preference - - weight - type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - properties: - nodeSelectorTerms: - items: + sleep: properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchFields: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array + seconds: + format: int64 + type: integer + required: + - seconds type: object - x-kubernetes-map-type: atomic - type: array - required: - - nodeSelectorTerms - type: object - x-kubernetes-map-type: atomic - type: object - podAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - podAffinityTerm: + tcpSocket: properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: + host: type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true required: - - topologyKey + - port type: object - weight: - format: int32 - type: integer - required: - - podAffinityTerm - - weight type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - items: + preStop: properties: - labelSelector: + exec: properties: - matchExpressions: + command: items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: type: string - type: object + type: array type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: + httpGet: properties: - matchExpressions: + host: + type: string + httpHeaders: items: properties: - key: + name: type: string - operator: + value: type: string - values: - items: - type: string - type: array required: - - key - - operator + - name + - value type: object type: array - matchLabels: - additionalProperties: - type: string - type: object + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port type: object - x-kubernetes-map-type: atomic - namespaces: + type: object + type: object + livenessProbe: + properties: + exec: + properties: + command: items: type: string type: array - topologyKey: + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: type: string required: - - topologyKey + - port type: object - type: array - type: object - podAntiAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: + httpGet: properties: - podAffinityTerm: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: + host: + type: string + httpHeaders: + items: + properties: + name: type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: + value: type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - weight: - format: int32 - type: integer + required: + - name + - value + type: object + type: array + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string required: - - podAffinityTerm - - weight + - port type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - items: + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: + host: type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true required: - - topologyKey + - port type: object - type: array - type: object - type: object - automountServiceAccountToken: - type: boolean - containers: - items: - properties: - args: - items: - type: string - type: array - command: - items: - type: string - type: array - env: + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + name: + type: string + ports: items: properties: + containerPort: + format: int32 + type: integer + hostIP: + type: string + hostPort: + format: int32 + type: integer name: type: string - value: + protocol: + default: TCP type: string - valueFrom: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - fieldRef: - properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath - type: object - x-kubernetes-map-type: atomic - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - x-kubernetes-map-type: atomic - secretKeyRef: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object required: - - name - type: object - type: array - envFrom: - items: - properties: - configMapRef: - properties: - name: - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - prefix: - type: string - secretRef: - properties: - name: - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic + - containerPort type: object type: array - image: - type: string - imagePullPolicy: - type: string - lifecycle: + x-kubernetes-list-map-keys: + - containerPort + - protocol + x-kubernetes-list-type: map + readinessProbe: properties: - postStart: + exec: properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - preStop: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - type: object - livenessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - name: - type: string - ports: - items: - properties: - containerPort: - format: int32 - type: integer - hostIP: - type: string - hostPort: - format: int32 - type: integer - name: - type: string - protocol: - default: TCP - type: string - required: - - containerPort - type: object - type: array - x-kubernetes-list-map-keys: - - containerPort - - protocol - x-kubernetes-list-type: map - readinessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: + command: + items: + type: string + type: array + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: type: string value: type: string @@ -16707,66 +14458,10 @@ spec: type: string type: object type: array - topologySpreadConstraints: + volumes: items: properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - maxSkew: - format: int32 - type: integer - minDomains: - format: int32 - type: integer - nodeAffinityPolicy: - type: string - nodeTaintsPolicy: - type: string - topologyKey: - type: string - whenUnsatisfiable: - type: string - required: - - maxSkew - - topologyKey - - whenUnsatisfiable - type: object - type: array - x-kubernetes-list-map-keys: - - topologyKey - - whenUnsatisfiable - x-kubernetes-list-type: map - volumes: - items: - properties: - awsElasticBlockStore: + awsElasticBlockStore: properties: fsType: type: string @@ -17681,670 +15376,265 @@ spec: activeDeadlineSeconds: format: int64 type: integer - affinity: - properties: - nodeAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: + automountServiceAccountToken: + type: boolean + containers: + items: + properties: + args: + items: + type: string + type: array + command: + items: + type: string + type: array + env: + items: + properties: + name: + type: string + value: + type: string + valueFrom: + properties: + configMapKeyRef: + properties: + key: + type: string + name: + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + resourceFieldRef: + properties: + containerName: + type: string + divisor: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + secretKeyRef: + properties: + key: + type: string + name: + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + required: + - name + type: object + type: array + envFrom: + items: + properties: + configMapRef: + properties: + name: + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + prefix: + type: string + secretRef: + properties: + name: + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + type: object + type: array + image: + type: string + imagePullPolicy: + type: string + lifecycle: + properties: + postStart: properties: - preference: + exec: properties: - matchExpressions: + command: items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object + type: string type: array - matchFields: + type: object + httpGet: + properties: + host: + type: string + httpHeaders: items: properties: - key: + name: type: string - operator: + value: type: string - values: - items: - type: string - type: array required: - - key - - operator + - name + - value type: object type: array + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port type: object - x-kubernetes-map-type: atomic - weight: - format: int32 - type: integer - required: - - preference - - weight type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - properties: - nodeSelectorTerms: - items: + preStop: + properties: + exec: properties: - matchExpressions: + command: items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object + type: string type: array - matchFields: + type: object + httpGet: + properties: + host: + type: string + httpHeaders: items: properties: - key: + name: type: string - operator: + value: type: string - values: - items: - type: string - type: array required: - - key - - operator + - name + - value type: object type: array + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port type: object - x-kubernetes-map-type: atomic - type: array - required: - - nodeSelectorTerms - type: object - x-kubernetes-map-type: atomic - type: object - podAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - podAffinityTerm: + sleep: properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true required: - - topologyKey + - port type: object - weight: - format: int32 - type: integer - required: - - podAffinityTerm - - weight type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - items: + type: object + livenessProbe: + properties: + exec: properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: + command: items: type: string type: array - topologyKey: - type: string - required: - - topologyKey type: object - type: array - type: object - podAntiAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: + failureThreshold: + format: int32 + type: integer + grpc: properties: - podAffinityTerm: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - weight: + port: format: int32 type: integer + service: + type: string required: - - podAffinityTerm - - weight + - port type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - items: + httpGet: properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: + host: type: string - required: - - topologyKey - type: object - type: array - type: object - type: object - automountServiceAccountToken: - type: boolean - containers: - items: - properties: - args: - items: - type: string - type: array - command: - items: - type: string - type: array - env: - items: - properties: - name: - type: string - value: - type: string - valueFrom: - properties: - configMapKeyRef: + httpHeaders: + items: properties: - key: - type: string name: type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - fieldRef: - properties: - apiVersion: - type: string - fieldPath: + value: type: string required: - - fieldPath - type: object - x-kubernetes-map-type: atomic - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - x-kubernetes-map-type: atomic - secretKeyRef: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - required: - - name - type: object - type: array - envFrom: - items: - properties: - configMapRef: - properties: - name: - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - prefix: - type: string - secretRef: - properties: - name: - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - type: object - type: array - image: - type: string - imagePullPolicy: - type: string - lifecycle: - properties: - postStart: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - preStop: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - type: object - livenessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value + - name + - value type: object type: array path: @@ -20182,62 +17472,6 @@ spec: type: string type: object type: array - topologySpreadConstraints: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - maxSkew: - format: int32 - type: integer - minDomains: - format: int32 - type: integer - nodeAffinityPolicy: - type: string - nodeTaintsPolicy: - type: string - topologyKey: - type: string - whenUnsatisfiable: - type: string - required: - - maxSkew - - topologyKey - - whenUnsatisfiable - type: object - type: array - x-kubernetes-list-map-keys: - - topologyKey - - whenUnsatisfiable - x-kubernetes-list-type: map volumes: items: properties: @@ -20949,618 +18183,213 @@ spec: defaultMode: format: int32 type: integer - items: - items: - properties: - key: - type: string - mode: - format: int32 - type: integer - path: - type: string - required: - - key - - path - type: object - type: array - optional: - type: boolean - secretName: - type: string - type: object - storageos: - properties: - fsType: - type: string - readOnly: - type: boolean - secretRef: - properties: - name: - type: string - type: object - x-kubernetes-map-type: atomic - volumeName: - type: string - volumeNamespace: - type: string - type: object - vsphereVolume: - properties: - fsType: - type: string - storagePolicyID: - type: string - storagePolicyName: - type: string - volumePath: - type: string - required: - - volumePath - type: object - required: - - name - type: object - type: array - type: object - type: object - replicas: - format: int32 - type: integer - storage: - properties: - accessModes: - items: - type: string - type: array - dataSource: - properties: - apiGroup: - type: string - kind: - type: string - name: - type: string - required: - - kind - - name - type: object - x-kubernetes-map-type: atomic - dataSourceRef: - properties: - apiGroup: - type: string - kind: - type: string - name: - type: string - namespace: - type: string - required: - - kind - - name - type: object - resources: - properties: - limits: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - requests: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - type: object - selector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - storageClassName: - type: string - volumeAttributesClassName: - type: string - volumeMode: - type: string - volumeName: - type: string - type: object - suffix: - type: string - tolerations: - items: - properties: - effect: - type: string - key: - type: string - operator: - type: string - tolerationSeconds: - format: int64 - type: integer - value: - type: string - type: object - type: array - type: object - routers: - properties: - nodeSelector: - additionalProperties: - type: string - type: object - x-kubernetes-map-type: atomic - podPlacementPolicy: - default: - name: default - properties: - name: - type: string - type: object - x-kubernetes-map-type: atomic - podTemplate: - properties: - controller: - properties: - annotations: - additionalProperties: - type: string - type: object - labels: - additionalProperties: - type: string - type: object - type: object - metadata: - properties: - annotations: - additionalProperties: - type: string - type: object - labels: - additionalProperties: - type: string - type: object - type: object - spec: - properties: - activeDeadlineSeconds: - format: int64 - type: integer - affinity: - properties: - nodeAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - preference: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchFields: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - type: object - x-kubernetes-map-type: atomic - weight: - format: int32 - type: integer - required: - - preference - - weight - type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - properties: - nodeSelectorTerms: - items: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchFields: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - type: object - x-kubernetes-map-type: atomic - type: array - required: - - nodeSelectorTerms - type: object - x-kubernetes-map-type: atomic - type: object - podAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - podAffinityTerm: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - weight: - format: int32 - type: integer - required: - - podAffinityTerm - - weight - type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - type: array - type: object - podAntiAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - podAffinityTerm: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - weight: - format: int32 - type: integer - required: - - podAffinityTerm - - weight - type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: + items: + items: + properties: + key: type: string - type: array - topologyKey: + mode: + format: int32 + type: integer + path: + type: string + required: + - key + - path + type: object + type: array + optional: + type: boolean + secretName: + type: string + type: object + storageos: + properties: + fsType: + type: string + readOnly: + type: boolean + secretRef: + properties: + name: type: string - required: - - topologyKey type: object - type: array - type: object + x-kubernetes-map-type: atomic + volumeName: + type: string + volumeNamespace: + type: string + type: object + vsphereVolume: + properties: + fsType: + type: string + storagePolicyID: + type: string + storagePolicyName: + type: string + volumePath: + type: string + required: + - volumePath + type: object + required: + - name + type: object + type: array + type: object + type: object + replicas: + format: int32 + type: integer + storage: + properties: + accessModes: + items: + type: string + type: array + dataSource: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + required: + - kind + - name + type: object + x-kubernetes-map-type: atomic + dataSourceRef: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + namespace: + type: string + required: + - kind + - name + type: object + resources: + properties: + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + selector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + required: + - key + - operator + type: object + type: array + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + storageClassName: + type: string + volumeAttributesClassName: + type: string + volumeMode: + type: string + volumeName: + type: string + type: object + suffix: + type: string + tolerations: + items: + properties: + effect: + type: string + key: + type: string + operator: + type: string + tolerationSeconds: + format: int64 + type: integer + value: + type: string + type: object + type: array + type: object + routers: + properties: + nodeSelector: + additionalProperties: + type: string + type: object + x-kubernetes-map-type: atomic + podPlacementPolicy: + default: + name: default + properties: + name: + type: string + type: object + x-kubernetes-map-type: atomic + podTemplate: + properties: + controller: + properties: + annotations: + additionalProperties: + type: string + type: object + labels: + additionalProperties: + type: string + type: object + type: object + metadata: + properties: + annotations: + additionalProperties: + type: string + type: object + labels: + additionalProperties: + type: string type: object + type: object + spec: + properties: + activeDeadlineSeconds: + format: int64 + type: integer automountServiceAccountToken: type: boolean containers: @@ -23657,62 +20486,6 @@ spec: type: string type: object type: array - topologySpreadConstraints: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - maxSkew: - format: int32 - type: integer - minDomains: - format: int32 - type: integer - nodeAffinityPolicy: - type: string - nodeTaintsPolicy: - type: string - topologyKey: - type: string - whenUnsatisfiable: - type: string - required: - - maxSkew - - topologyKey - - whenUnsatisfiable - type: object - type: array - x-kubernetes-list-map-keys: - - topologyKey - - whenUnsatisfiable - x-kubernetes-list-type: map volumes: items: properties: @@ -24660,6 +21433,9 @@ spec: ports: items: properties: + backendServicePort: + format: int32 + type: integer name: type: string nodePort: @@ -24688,6 +21464,22 @@ spec: type: string type: object x-kubernetes-map-type: atomic + port: + properties: + backendServicePort: + format: int32 + type: integer + name: + type: string + nodePort: + format: int32 + type: integer + port: + format: int32 + type: integer + required: + - port + type: object url: type: string required: diff --git a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_elasticsearches.yaml b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_elasticsearches.yaml index 5f9c7caadd..97bb6b15f1 100644 --- a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_elasticsearches.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_elasticsearches.yaml @@ -5850,6 +5850,9 @@ spec: ports: items: properties: + backendServicePort: + format: int32 + type: integer name: type: string nodePort: @@ -5878,6 +5881,22 @@ spec: type: string type: object x-kubernetes-map-type: atomic + port: + properties: + backendServicePort: + format: int32 + type: integer + name: + type: string + nodePort: + format: int32 + type: integer + port: + format: int32 + type: integer + required: + - port + type: object url: type: string required: diff --git a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_etcds.yaml b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_etcds.yaml index 992ef57dfc..8fa07929db 100644 --- a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_etcds.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_etcds.yaml @@ -3936,6 +3936,9 @@ spec: ports: items: properties: + backendServicePort: + format: int32 + type: integer name: type: string nodePort: @@ -3964,6 +3967,22 @@ spec: type: string type: object x-kubernetes-map-type: atomic + port: + properties: + backendServicePort: + format: int32 + type: integer + name: + type: string + nodePort: + format: int32 + type: integer + port: + format: int32 + type: integer + required: + - port + type: object url: type: string required: diff --git a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_ferretdbs.yaml b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_ferretdbs.yaml index a0a38a774e..7fb3d74c43 100644 --- a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_ferretdbs.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_ferretdbs.yaml @@ -323,411 +323,6 @@ spec: activeDeadlineSeconds: format: int64 type: integer - affinity: - properties: - nodeAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - preference: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchFields: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - type: object - x-kubernetes-map-type: atomic - weight: - format: int32 - type: integer - required: - - preference - - weight - type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - properties: - nodeSelectorTerms: - items: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchFields: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - type: object - x-kubernetes-map-type: atomic - type: array - required: - - nodeSelectorTerms - type: object - x-kubernetes-map-type: atomic - type: object - podAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - podAffinityTerm: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - weight: - format: int32 - type: integer - required: - - podAffinityTerm - - weight - type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - type: array - type: object - podAntiAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - podAffinityTerm: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - weight: - format: int32 - type: integer - required: - - podAffinityTerm - - weight - type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - type: array - type: object - type: object automountServiceAccountToken: type: boolean containers: @@ -2824,62 +2419,6 @@ spec: type: string type: object type: array - topologySpreadConstraints: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - maxSkew: - format: int32 - type: integer - minDomains: - format: int32 - type: integer - nodeAffinityPolicy: - type: string - nodeTaintsPolicy: - type: string - topologyKey: - type: string - whenUnsatisfiable: - type: string - required: - - maxSkew - - topologyKey - - whenUnsatisfiable - type: object - type: array - x-kubernetes-list-map-keys: - - topologyKey - - whenUnsatisfiable - x-kubernetes-list-type: map volumes: items: properties: @@ -3980,6 +3519,9 @@ spec: ports: items: properties: + backendServicePort: + format: int32 + type: integer name: type: string nodePort: @@ -4008,6 +3550,22 @@ spec: type: string type: object x-kubernetes-map-type: atomic + port: + properties: + backendServicePort: + format: int32 + type: integer + name: + type: string + nodePort: + format: int32 + type: integer + port: + format: int32 + type: integer + required: + - port + type: object url: type: string required: diff --git a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_kafkas.yaml b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_kafkas.yaml index f9dc28fd00..2bd82af933 100644 --- a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_kafkas.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_kafkas.yaml @@ -101,924 +101,519 @@ spec: activeDeadlineSeconds: format: int64 type: integer - affinity: - properties: - nodeAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: + automountServiceAccountToken: + type: boolean + containers: + items: + properties: + args: + items: + type: string + type: array + command: + items: + type: string + type: array + env: + items: + properties: + name: + type: string + value: + type: string + valueFrom: + properties: + configMapKeyRef: + properties: + key: + type: string + name: + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + resourceFieldRef: + properties: + containerName: + type: string + divisor: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + secretKeyRef: + properties: + key: + type: string + name: + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + required: + - name + type: object + type: array + envFrom: + items: + properties: + configMapRef: + properties: + name: + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + prefix: + type: string + secretRef: + properties: + name: + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + type: object + type: array + image: + type: string + imagePullPolicy: + type: string + lifecycle: + properties: + postStart: properties: - preference: + exec: properties: - matchExpressions: + command: items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object + type: string type: array - matchFields: + type: object + httpGet: + properties: + host: + type: string + httpHeaders: items: properties: - key: + name: type: string - operator: + value: type: string - values: - items: - type: string - type: array required: - - key - - operator + - name + - value type: object type: array + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port type: object - x-kubernetes-map-type: atomic - weight: - format: int32 - type: integer - required: - - preference - - weight type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - properties: - nodeSelectorTerms: - items: + preStop: + properties: + exec: properties: - matchExpressions: + command: items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object + type: string type: array - matchFields: + type: object + httpGet: + properties: + host: + type: string + httpHeaders: items: properties: - key: + name: type: string - operator: + value: type: string - values: - items: - type: string - type: array required: - - key - - operator + - name + - value type: object type: array + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port type: object - x-kubernetes-map-type: atomic - type: array - required: - - nodeSelectorTerms - type: object - x-kubernetes-map-type: atomic - type: object - podAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - podAffinityTerm: + sleep: properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true required: - - topologyKey + - port type: object - weight: - format: int32 - type: integer - required: - - podAffinityTerm - - weight type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - items: + type: object + livenessProbe: + properties: + exec: properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: + command: items: type: string type: array - topologyKey: - type: string - required: - - topologyKey type: object - type: array - type: object - podAntiAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: + failureThreshold: + format: int32 + type: integer + grpc: properties: - podAffinityTerm: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - weight: + port: format: int32 type: integer + service: + type: string required: - - podAffinityTerm - - weight + - port type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - items: + httpGet: properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: + host: + type: string + httpHeaders: items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: + properties: + name: type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string + value: + type: string + required: + - name + - value + type: object type: array - topologyKey: + path: type: string - required: - - topologyKey + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port type: object - type: array - type: object - type: object - automountServiceAccountToken: - type: boolean - containers: - items: - properties: - args: - items: - type: string - type: array - command: - items: - type: string - type: array - env: + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + name: + type: string + ports: items: properties: + containerPort: + format: int32 + type: integer + hostIP: + type: string + hostPort: + format: int32 + type: integer name: type: string - value: + protocol: + default: TCP type: string - valueFrom: - properties: - configMapKeyRef: + required: + - containerPort + type: object + type: array + x-kubernetes-list-map-keys: + - containerPort + - protocol + x-kubernetes-list-type: map + readinessProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: properties: - key: - type: string name: type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - fieldRef: - properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath - type: object - x-kubernetes-map-type: atomic - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - x-kubernetes-map-type: atomic - secretKeyRef: - properties: - key: - type: string - name: + value: type: string - optional: - type: boolean required: - - key + - name + - value type: object - x-kubernetes-map-type: atomic - type: object - required: - - name - type: object - type: array - envFrom: + type: array + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + resizePolicy: items: properties: - configMapRef: - properties: - name: - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - prefix: + resourceName: type: string - secretRef: + restartPolicy: + type: string + required: + - resourceName + - restartPolicy + type: object + type: array + x-kubernetes-list-type: atomic + resources: + properties: + claims: + items: properties: name: type: string - optional: - type: boolean + required: + - name type: object - x-kubernetes-map-type: atomic - type: object - type: array - image: - type: string - imagePullPolicy: + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + restartPolicy: type: string - lifecycle: - properties: - postStart: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - preStop: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - type: object - livenessProbe: + securityContext: properties: - exec: + allowPrivilegeEscalation: + type: boolean + capabilities: properties: - command: + add: + items: + type: string + type: array + drop: items: type: string type: array type: object - failureThreshold: - format: int32 + privileged: + type: boolean + procMount: + type: string + readOnlyRootFilesystem: + type: boolean + runAsGroup: + format: int64 type: integer - grpc: + runAsNonRoot: + type: boolean + runAsUser: + format: int64 + type: integer + seLinuxOptions: properties: - port: - format: int32 - type: integer - service: + level: + type: string + role: + type: string + type: + type: string + user: type: string - required: - - port type: object - httpGet: + seccompProfile: properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: + localhostProfile: type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: + type: type: string required: - - port + - type type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: + windowsOptions: properties: - host: + gmsaCredentialSpec: + type: string + gmsaCredentialSpecName: + type: string + hostProcess: + type: boolean + runAsUserName: type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer type: object - name: - type: string - ports: - items: - properties: - containerPort: - format: int32 - type: integer - hostIP: - type: string - hostPort: - format: int32 - type: integer - name: - type: string - protocol: - default: TCP - type: string - required: - - containerPort - type: object - type: array - x-kubernetes-list-map-keys: - - containerPort - - protocol - x-kubernetes-list-type: map - readinessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - resizePolicy: - items: - properties: - resourceName: - type: string - restartPolicy: - type: string - required: - - resourceName - - restartPolicy - type: object - type: array - x-kubernetes-list-type: atomic - resources: - properties: - claims: - items: - properties: - name: - type: string - required: - - name - type: object - type: array - x-kubernetes-list-map-keys: - - name - x-kubernetes-list-type: map - limits: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - requests: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - type: object - restartPolicy: - type: string - securityContext: - properties: - allowPrivilegeEscalation: - type: boolean - capabilities: - properties: - add: - items: - type: string - type: array - drop: - items: - type: string - type: array - type: object - privileged: - type: boolean - procMount: - type: string - readOnlyRootFilesystem: - type: boolean - runAsGroup: - format: int64 - type: integer - runAsNonRoot: - type: boolean - runAsUser: - format: int64 - type: integer - seLinuxOptions: - properties: - level: - type: string - role: - type: string - type: - type: string - user: - type: string - type: object - seccompProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - windowsOptions: - properties: - gmsaCredentialSpec: - type: string - gmsaCredentialSpecName: - type: string - hostProcess: - type: boolean - runAsUserName: - type: string - type: object - type: object - startupProbe: + startupProbe: properties: exec: properties: @@ -2602,62 +2197,6 @@ spec: type: string type: object type: array - topologySpreadConstraints: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - maxSkew: - format: int32 - type: integer - minDomains: - format: int32 - type: integer - nodeAffinityPolicy: - type: string - nodeTaintsPolicy: - type: string - topologyKey: - type: string - whenUnsatisfiable: - type: string - required: - - maxSkew - - topologyKey - - whenUnsatisfiable - type: object - type: array - x-kubernetes-list-map-keys: - - topologyKey - - whenUnsatisfiable - x-kubernetes-list-type: map volumes: items: properties: @@ -3536,587 +3075,182 @@ spec: properties: apiVersion: type: string - fieldPath: - type: string - required: - - fieldPath - type: object - x-kubernetes-map-type: atomic - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - x-kubernetes-map-type: atomic - secretKeyRef: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - required: - - name - type: object - type: array - port: - default: 56790 - format: int32 - type: integer - resources: - properties: - claims: - items: - properties: - name: - type: string - required: - - name - type: object - type: array - x-kubernetes-list-map-keys: - - name - x-kubernetes-list-type: map - limits: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - requests: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - type: object - securityContext: - properties: - allowPrivilegeEscalation: - type: boolean - capabilities: - properties: - add: - items: - type: string - type: array - drop: - items: - type: string - type: array - type: object - privileged: - type: boolean - procMount: - type: string - readOnlyRootFilesystem: - type: boolean - runAsGroup: - format: int64 - type: integer - runAsNonRoot: - type: boolean - runAsUser: - format: int64 - type: integer - seLinuxOptions: - properties: - level: - type: string - role: - type: string - type: - type: string - user: - type: string - type: object - seccompProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - windowsOptions: - properties: - gmsaCredentialSpec: - type: string - gmsaCredentialSpecName: - type: string - hostProcess: - type: boolean - runAsUserName: - type: string - type: object - type: object - type: object - serviceMonitor: - properties: - interval: - type: string - labels: - additionalProperties: - type: string - type: object - type: object - type: object - type: object - podTemplate: - properties: - controller: - properties: - annotations: - additionalProperties: - type: string - type: object - labels: - additionalProperties: - type: string - type: object - type: object - metadata: - properties: - annotations: - additionalProperties: - type: string - type: object - labels: - additionalProperties: - type: string - type: object - type: object - spec: - properties: - activeDeadlineSeconds: - format: int64 - type: integer - affinity: - properties: - nodeAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - preference: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchFields: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - type: object - x-kubernetes-map-type: atomic - weight: - format: int32 - type: integer - required: - - preference - - weight - type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - properties: - nodeSelectorTerms: - items: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchFields: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - type: object - x-kubernetes-map-type: atomic - type: array - required: - - nodeSelectorTerms - type: object - x-kubernetes-map-type: atomic - type: object - podAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - podAffinityTerm: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - weight: - format: int32 - type: integer - required: - - podAffinityTerm - - weight - type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - type: array - type: object - podAntiAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - podAffinityTerm: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string + fieldPath: + type: string required: - - topologyKey + - fieldPath type: object - weight: - format: int32 - type: integer - required: - - podAffinityTerm - - weight - type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - items: - properties: - labelSelector: + x-kubernetes-map-type: atomic + resourceFieldRef: properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object + containerName: + type: string + divisor: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + resource: + type: string + required: + - resource type: object x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: + secretKeyRef: properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object + key: + type: string + name: + type: string + optional: + type: boolean + required: + - key type: object x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: + type: object + required: + - name + type: object + type: array + port: + default: 56790 + format: int32 + type: integer + resources: + properties: + claims: + items: + properties: + name: type: string required: - - topologyKey + - name type: object type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + securityContext: + properties: + allowPrivilegeEscalation: + type: boolean + capabilities: + properties: + add: + items: + type: string + type: array + drop: + items: + type: string + type: array + type: object + privileged: + type: boolean + procMount: + type: string + readOnlyRootFilesystem: + type: boolean + runAsGroup: + format: int64 + type: integer + runAsNonRoot: + type: boolean + runAsUser: + format: int64 + type: integer + seLinuxOptions: + properties: + level: + type: string + role: + type: string + type: + type: string + user: + type: string + type: object + seccompProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + windowsOptions: + properties: + gmsaCredentialSpec: + type: string + gmsaCredentialSpecName: + type: string + hostProcess: + type: boolean + runAsUserName: + type: string + type: object + type: object + type: object + serviceMonitor: + properties: + interval: + type: string + labels: + additionalProperties: + type: string type: object type: object + type: object + type: object + podTemplate: + properties: + controller: + properties: + annotations: + additionalProperties: + type: string + type: object + labels: + additionalProperties: + type: string + type: object + type: object + metadata: + properties: + annotations: + additionalProperties: + type: string + type: object + labels: + additionalProperties: + type: string + type: object + type: object + spec: + properties: + activeDeadlineSeconds: + format: int64 + type: integer automountServiceAccountToken: type: boolean containers: @@ -6213,62 +5347,6 @@ spec: type: string type: object type: array - topologySpreadConstraints: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - maxSkew: - format: int32 - type: integer - minDomains: - format: int32 - type: integer - nodeAffinityPolicy: - type: string - nodeTaintsPolicy: - type: string - topologyKey: - type: string - whenUnsatisfiable: - type: string - required: - - maxSkew - - topologyKey - - whenUnsatisfiable - type: object - type: array - x-kubernetes-list-map-keys: - - topologyKey - - whenUnsatisfiable - x-kubernetes-list-type: map volumes: items: properties: @@ -7654,6 +6732,9 @@ spec: ports: items: properties: + backendServicePort: + format: int32 + type: integer name: type: string nodePort: @@ -7682,6 +6763,22 @@ spec: type: string type: object x-kubernetes-map-type: atomic + port: + properties: + backendServicePort: + format: int32 + type: integer + name: + type: string + nodePort: + format: int32 + type: integer + port: + format: int32 + type: integer + required: + - port + type: object url: type: string required: diff --git a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_mariadbs.yaml b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_mariadbs.yaml index fcc0064210..e073cd1dca 100644 --- a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_mariadbs.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_mariadbs.yaml @@ -4242,6 +4242,9 @@ spec: ports: items: properties: + backendServicePort: + format: int32 + type: integer name: type: string nodePort: @@ -4270,6 +4273,22 @@ spec: type: string type: object x-kubernetes-map-type: atomic + port: + properties: + backendServicePort: + format: int32 + type: integer + name: + type: string + nodePort: + format: int32 + type: integer + port: + format: int32 + type: integer + required: + - port + type: object url: type: string required: diff --git a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_memcacheds.yaml b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_memcacheds.yaml index 085031ea56..31deac7cff 100644 --- a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_memcacheds.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_memcacheds.yaml @@ -805,6 +805,27 @@ spec: type: object halted: type: boolean + healthChecker: + default: + failureThreshold: 1 + periodSeconds: 10 + timeoutSeconds: 10 + properties: + disableWriteCheck: + type: boolean + failureThreshold: + default: 1 + format: int32 + type: integer + periodSeconds: + default: 10 + format: int32 + type: integer + timeoutSeconds: + default: 10 + format: int32 + type: integer + type: object monitor: properties: agent: @@ -3712,6 +3733,9 @@ spec: ports: items: properties: + backendServicePort: + format: int32 + type: integer name: type: string nodePort: @@ -3740,6 +3764,22 @@ spec: type: string type: object x-kubernetes-map-type: atomic + port: + properties: + backendServicePort: + format: int32 + type: integer + name: + type: string + nodePort: + format: int32 + type: integer + port: + format: int32 + type: integer + required: + - port + type: object url: type: string required: diff --git a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_mongodbs.yaml b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_mongodbs.yaml index 11fa61f9eb..c993ce4172 100644 --- a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_mongodbs.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_mongodbs.yaml @@ -17056,6 +17056,9 @@ spec: ports: items: properties: + backendServicePort: + format: int32 + type: integer name: type: string nodePort: @@ -17084,6 +17087,22 @@ spec: type: string type: object x-kubernetes-map-type: atomic + port: + properties: + backendServicePort: + format: int32 + type: integer + name: + type: string + nodePort: + format: int32 + type: integer + port: + format: int32 + type: integer + required: + - port + type: object url: type: string required: diff --git a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_mssqlservers.yaml b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_mssqlservers.yaml new file mode 100644 index 0000000000..f719dd917b --- /dev/null +++ b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_mssqlservers.yaml @@ -0,0 +1,4398 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + creationTimestamp: null + labels: + app.kubernetes.io/name: kubedb + name: mssqlservers.kubedb.com +spec: + group: kubedb.com + names: + categories: + - datastore + - kubedb + - appscode + - all + kind: MSSQLServer + listKind: MSSQLServerList + plural: mssqlservers + shortNames: + - ms + singular: mssqlserver + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .spec.version + name: Version + type: string + - jsonPath: .status.phase + name: Status + type: string + - jsonPath: .metadata.creationTimestamp + name: Age + type: date + name: v1alpha2 + schema: + openAPIV3Schema: + properties: + apiVersion: + type: string + kind: + type: string + metadata: + type: object + spec: + properties: + authSecret: + properties: + externallyManaged: + type: boolean + name: + type: string + type: object + x-kubernetes-map-type: atomic + coordinator: + properties: + resources: + properties: + claims: + items: + properties: + name: + type: string + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + securityContext: + properties: + allowPrivilegeEscalation: + type: boolean + capabilities: + properties: + add: + items: + type: string + type: array + drop: + items: + type: string + type: array + type: object + privileged: + type: boolean + procMount: + type: string + readOnlyRootFilesystem: + type: boolean + runAsGroup: + format: int64 + type: integer + runAsNonRoot: + type: boolean + runAsUser: + format: int64 + type: integer + seLinuxOptions: + properties: + level: + type: string + role: + type: string + type: + type: string + user: + type: string + type: object + seccompProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + windowsOptions: + properties: + gmsaCredentialSpec: + type: string + gmsaCredentialSpecName: + type: string + hostProcess: + type: boolean + runAsUserName: + type: string + type: object + type: object + type: object + halted: + type: boolean + healthChecker: + default: + failureThreshold: 1 + periodSeconds: 10 + timeoutSeconds: 10 + properties: + disableWriteCheck: + type: boolean + failureThreshold: + default: 1 + format: int32 + type: integer + periodSeconds: + default: 10 + format: int32 + type: integer + timeoutSeconds: + default: 10 + format: int32 + type: integer + type: object + init: + properties: + archiver: + properties: + encryptionSecret: + properties: + name: + type: string + namespace: + type: string + required: + - name + type: object + fullDBRepository: + properties: + name: + type: string + namespace: + type: string + required: + - name + type: object + manifestRepository: + properties: + name: + type: string + namespace: + type: string + required: + - name + type: object + recoveryTimestamp: + format: date-time + type: string + required: + - recoveryTimestamp + type: object + initialized: + type: boolean + script: + properties: + awsElasticBlockStore: + properties: + fsType: + type: string + partition: + format: int32 + type: integer + readOnly: + type: boolean + volumeID: + type: string + required: + - volumeID + type: object + azureDisk: + properties: + cachingMode: + type: string + diskName: + type: string + diskURI: + type: string + fsType: + type: string + kind: + type: string + readOnly: + type: boolean + required: + - diskName + - diskURI + type: object + azureFile: + properties: + readOnly: + type: boolean + secretName: + type: string + shareName: + type: string + required: + - secretName + - shareName + type: object + cephfs: + properties: + monitors: + items: + type: string + type: array + path: + type: string + readOnly: + type: boolean + secretFile: + type: string + secretRef: + properties: + name: + type: string + type: object + x-kubernetes-map-type: atomic + user: + type: string + required: + - monitors + type: object + cinder: + properties: + fsType: + type: string + readOnly: + type: boolean + secretRef: + properties: + name: + type: string + type: object + x-kubernetes-map-type: atomic + volumeID: + type: string + required: + - volumeID + type: object + configMap: + properties: + defaultMode: + format: int32 + type: integer + items: + items: + properties: + key: + type: string + mode: + format: int32 + type: integer + path: + type: string + required: + - key + - path + type: object + type: array + name: + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + csi: + properties: + driver: + type: string + fsType: + type: string + nodePublishSecretRef: + properties: + name: + type: string + type: object + x-kubernetes-map-type: atomic + readOnly: + type: boolean + volumeAttributes: + additionalProperties: + type: string + type: object + required: + - driver + type: object + downwardAPI: + properties: + defaultMode: + format: int32 + type: integer + items: + items: + properties: + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + mode: + format: int32 + type: integer + path: + type: string + resourceFieldRef: + properties: + containerName: + type: string + divisor: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + required: + - path + type: object + type: array + type: object + emptyDir: + properties: + medium: + type: string + sizeLimit: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + ephemeral: + properties: + volumeClaimTemplate: + properties: + metadata: + properties: + annotations: + additionalProperties: + type: string + type: object + finalizers: + items: + type: string + type: array + labels: + additionalProperties: + type: string + type: object + name: + type: string + namespace: + type: string + type: object + spec: + properties: + accessModes: + items: + type: string + type: array + dataSource: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + required: + - kind + - name + type: object + x-kubernetes-map-type: atomic + dataSourceRef: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + namespace: + type: string + required: + - kind + - name + type: object + resources: + properties: + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + selector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + required: + - key + - operator + type: object + type: array + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + storageClassName: + type: string + volumeAttributesClassName: + type: string + volumeMode: + type: string + volumeName: + type: string + type: object + required: + - spec + type: object + type: object + fc: + properties: + fsType: + type: string + lun: + format: int32 + type: integer + readOnly: + type: boolean + targetWWNs: + items: + type: string + type: array + wwids: + items: + type: string + type: array + type: object + flexVolume: + properties: + driver: + type: string + fsType: + type: string + options: + additionalProperties: + type: string + type: object + readOnly: + type: boolean + secretRef: + properties: + name: + type: string + type: object + x-kubernetes-map-type: atomic + required: + - driver + type: object + flocker: + properties: + datasetName: + type: string + datasetUUID: + type: string + type: object + gcePersistentDisk: + properties: + fsType: + type: string + partition: + format: int32 + type: integer + pdName: + type: string + readOnly: + type: boolean + required: + - pdName + type: object + git: + properties: + args: + items: + type: string + type: array + authSecret: + properties: + name: + type: string + type: object + x-kubernetes-map-type: atomic + env: + items: + properties: + name: + type: string + value: + type: string + valueFrom: + properties: + configMapKeyRef: + properties: + key: + type: string + name: + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + resourceFieldRef: + properties: + containerName: + type: string + divisor: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + secretKeyRef: + properties: + key: + type: string + name: + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + required: + - name + type: object + type: array + resources: + properties: + claims: + items: + properties: + name: + type: string + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + securityContext: + properties: + allowPrivilegeEscalation: + type: boolean + capabilities: + properties: + add: + items: + type: string + type: array + drop: + items: + type: string + type: array + type: object + privileged: + type: boolean + procMount: + type: string + readOnlyRootFilesystem: + type: boolean + runAsGroup: + format: int64 + type: integer + runAsNonRoot: + type: boolean + runAsUser: + format: int64 + type: integer + seLinuxOptions: + properties: + level: + type: string + role: + type: string + type: + type: string + user: + type: string + type: object + seccompProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + windowsOptions: + properties: + gmsaCredentialSpec: + type: string + gmsaCredentialSpecName: + type: string + hostProcess: + type: boolean + runAsUserName: + type: string + type: object + type: object + required: + - args + type: object + gitRepo: + properties: + directory: + type: string + repository: + type: string + revision: + type: string + required: + - repository + type: object + glusterfs: + properties: + endpoints: + type: string + path: + type: string + readOnly: + type: boolean + required: + - endpoints + - path + type: object + hostPath: + properties: + path: + type: string + type: + type: string + required: + - path + type: object + iscsi: + properties: + chapAuthDiscovery: + type: boolean + chapAuthSession: + type: boolean + fsType: + type: string + initiatorName: + type: string + iqn: + type: string + iscsiInterface: + type: string + lun: + format: int32 + type: integer + portals: + items: + type: string + type: array + readOnly: + type: boolean + secretRef: + properties: + name: + type: string + type: object + x-kubernetes-map-type: atomic + targetPortal: + type: string + required: + - iqn + - lun + - targetPortal + type: object + nfs: + properties: + path: + type: string + readOnly: + type: boolean + server: + type: string + required: + - path + - server + type: object + persistentVolumeClaim: + properties: + claimName: + type: string + readOnly: + type: boolean + required: + - claimName + type: object + photonPersistentDisk: + properties: + fsType: + type: string + pdID: + type: string + required: + - pdID + type: object + portworxVolume: + properties: + fsType: + type: string + readOnly: + type: boolean + volumeID: + type: string + required: + - volumeID + type: object + projected: + properties: + defaultMode: + format: int32 + type: integer + sources: + items: + properties: + clusterTrustBundle: + properties: + labelSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + required: + - key + - operator + type: object + type: array + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + name: + type: string + optional: + type: boolean + path: + type: string + signerName: + type: string + required: + - path + type: object + configMap: + properties: + items: + items: + properties: + key: + type: string + mode: + format: int32 + type: integer + path: + type: string + required: + - key + - path + type: object + type: array + name: + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + downwardAPI: + properties: + items: + items: + properties: + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + mode: + format: int32 + type: integer + path: + type: string + resourceFieldRef: + properties: + containerName: + type: string + divisor: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + required: + - path + type: object + type: array + type: object + secret: + properties: + items: + items: + properties: + key: + type: string + mode: + format: int32 + type: integer + path: + type: string + required: + - key + - path + type: object + type: array + name: + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + serviceAccountToken: + properties: + audience: + type: string + expirationSeconds: + format: int64 + type: integer + path: + type: string + required: + - path + type: object + type: object + type: array + type: object + quobyte: + properties: + group: + type: string + readOnly: + type: boolean + registry: + type: string + tenant: + type: string + user: + type: string + volume: + type: string + required: + - registry + - volume + type: object + rbd: + properties: + fsType: + type: string + image: + type: string + keyring: + type: string + monitors: + items: + type: string + type: array + pool: + type: string + readOnly: + type: boolean + secretRef: + properties: + name: + type: string + type: object + x-kubernetes-map-type: atomic + user: + type: string + required: + - image + - monitors + type: object + scaleIO: + properties: + fsType: + type: string + gateway: + type: string + protectionDomain: + type: string + readOnly: + type: boolean + secretRef: + properties: + name: + type: string + type: object + x-kubernetes-map-type: atomic + sslEnabled: + type: boolean + storageMode: + type: string + storagePool: + type: string + system: + type: string + volumeName: + type: string + required: + - gateway + - secretRef + - system + type: object + scriptPath: + type: string + secret: + properties: + defaultMode: + format: int32 + type: integer + items: + items: + properties: + key: + type: string + mode: + format: int32 + type: integer + path: + type: string + required: + - key + - path + type: object + type: array + optional: + type: boolean + secretName: + type: string + type: object + storageos: + properties: + fsType: + type: string + readOnly: + type: boolean + secretRef: + properties: + name: + type: string + type: object + x-kubernetes-map-type: atomic + volumeName: + type: string + volumeNamespace: + type: string + type: object + vsphereVolume: + properties: + fsType: + type: string + storagePolicyID: + type: string + storagePolicyName: + type: string + volumePath: + type: string + required: + - volumePath + type: object + type: object + waitForInitialRestore: + type: boolean + type: object + internalAuth: + nullable: true + properties: + endpointCert: + properties: + certificates: + items: + properties: + alias: + type: string + dnsNames: + items: + type: string + type: array + duration: + type: string + emailAddresses: + items: + type: string + type: array + ipAddresses: + items: + type: string + type: array + issuerRef: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + required: + - kind + - name + type: object + x-kubernetes-map-type: atomic + privateKey: + properties: + encoding: + enum: + - PKCS1 + - PKCS8 + type: string + type: object + renewBefore: + type: string + secretName: + type: string + subject: + properties: + countries: + items: + type: string + type: array + localities: + items: + type: string + type: array + organizationalUnits: + items: + type: string + type: array + organizations: + items: + type: string + type: array + postalCodes: + items: + type: string + type: array + provinces: + items: + type: string + type: array + serialNumber: + type: string + streetAddresses: + items: + type: string + type: array + type: object + uris: + items: + type: string + type: array + required: + - alias + type: object + type: array + issuerRef: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + required: + - kind + - name + type: object + x-kubernetes-map-type: atomic + type: object + required: + - endpointCert + type: object + leaderElection: + properties: + electionTick: + default: 10 + format: int32 + type: integer + heartbeatTick: + default: 1 + format: int32 + type: integer + period: + default: 100ms + type: string + transferLeadershipInterval: + default: 1s + type: string + transferLeadershipTimeout: + default: 60s + type: string + type: object + podPlacementPolicy: + default: + name: default + properties: + name: + type: string + type: object + x-kubernetes-map-type: atomic + podTemplate: + properties: + controller: + properties: + annotations: + additionalProperties: + type: string + type: object + labels: + additionalProperties: + type: string + type: object + type: object + metadata: + properties: + annotations: + additionalProperties: + type: string + type: object + labels: + additionalProperties: + type: string + type: object + type: object + spec: + properties: + activeDeadlineSeconds: + format: int64 + type: integer + automountServiceAccountToken: + type: boolean + containers: + items: + properties: + args: + items: + type: string + type: array + command: + items: + type: string + type: array + env: + items: + properties: + name: + type: string + value: + type: string + valueFrom: + properties: + configMapKeyRef: + properties: + key: + type: string + name: + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + resourceFieldRef: + properties: + containerName: + type: string + divisor: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + secretKeyRef: + properties: + key: + type: string + name: + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + required: + - name + type: object + type: array + envFrom: + items: + properties: + configMapRef: + properties: + name: + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + prefix: + type: string + secretRef: + properties: + name: + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + type: object + type: array + image: + type: string + imagePullPolicy: + type: string + lifecycle: + properties: + postStart: + properties: + exec: + properties: + command: + items: + type: string + type: array + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + type: object + preStop: + properties: + exec: + properties: + command: + items: + type: string + type: array + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + type: object + type: object + livenessProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + name: + type: string + ports: + items: + properties: + containerPort: + format: int32 + type: integer + hostIP: + type: string + hostPort: + format: int32 + type: integer + name: + type: string + protocol: + default: TCP + type: string + required: + - containerPort + type: object + type: array + x-kubernetes-list-map-keys: + - containerPort + - protocol + x-kubernetes-list-type: map + readinessProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + resizePolicy: + items: + properties: + resourceName: + type: string + restartPolicy: + type: string + required: + - resourceName + - restartPolicy + type: object + type: array + x-kubernetes-list-type: atomic + resources: + properties: + claims: + items: + properties: + name: + type: string + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + restartPolicy: + type: string + securityContext: + properties: + allowPrivilegeEscalation: + type: boolean + capabilities: + properties: + add: + items: + type: string + type: array + drop: + items: + type: string + type: array + type: object + privileged: + type: boolean + procMount: + type: string + readOnlyRootFilesystem: + type: boolean + runAsGroup: + format: int64 + type: integer + runAsNonRoot: + type: boolean + runAsUser: + format: int64 + type: integer + seLinuxOptions: + properties: + level: + type: string + role: + type: string + type: + type: string + user: + type: string + type: object + seccompProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + windowsOptions: + properties: + gmsaCredentialSpec: + type: string + gmsaCredentialSpecName: + type: string + hostProcess: + type: boolean + runAsUserName: + type: string + type: object + type: object + startupProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + stdin: + type: boolean + stdinOnce: + type: boolean + terminationMessagePath: + type: string + terminationMessagePolicy: + type: string + tty: + type: boolean + volumeDevices: + items: + properties: + devicePath: + type: string + name: + type: string + required: + - devicePath + - name + type: object + type: array + volumeMounts: + items: + properties: + mountPath: + type: string + mountPropagation: + type: string + name: + type: string + readOnly: + type: boolean + subPath: + type: string + subPathExpr: + type: string + required: + - mountPath + - name + type: object + type: array + workingDir: + type: string + required: + - name + type: object + type: array + dnsConfig: + properties: + nameservers: + items: + type: string + type: array + options: + items: + properties: + name: + type: string + value: + type: string + type: object + type: array + searches: + items: + type: string + type: array + type: object + dnsPolicy: + type: string + enableServiceLinks: + type: boolean + ephemeralContainers: + items: + properties: + args: + items: + type: string + type: array + command: + items: + type: string + type: array + env: + items: + properties: + name: + type: string + value: + type: string + valueFrom: + properties: + configMapKeyRef: + properties: + key: + type: string + name: + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + resourceFieldRef: + properties: + containerName: + type: string + divisor: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + secretKeyRef: + properties: + key: + type: string + name: + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + required: + - name + type: object + type: array + envFrom: + items: + properties: + configMapRef: + properties: + name: + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + prefix: + type: string + secretRef: + properties: + name: + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + type: object + type: array + image: + type: string + imagePullPolicy: + type: string + lifecycle: + properties: + postStart: + properties: + exec: + properties: + command: + items: + type: string + type: array + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + type: object + preStop: + properties: + exec: + properties: + command: + items: + type: string + type: array + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + type: object + type: object + livenessProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + name: + type: string + ports: + items: + properties: + containerPort: + format: int32 + type: integer + hostIP: + type: string + hostPort: + format: int32 + type: integer + name: + type: string + protocol: + default: TCP + type: string + required: + - containerPort + type: object + type: array + x-kubernetes-list-map-keys: + - containerPort + - protocol + x-kubernetes-list-type: map + readinessProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + resizePolicy: + items: + properties: + resourceName: + type: string + restartPolicy: + type: string + required: + - resourceName + - restartPolicy + type: object + type: array + x-kubernetes-list-type: atomic + resources: + properties: + claims: + items: + properties: + name: + type: string + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + restartPolicy: + type: string + securityContext: + properties: + allowPrivilegeEscalation: + type: boolean + capabilities: + properties: + add: + items: + type: string + type: array + drop: + items: + type: string + type: array + type: object + privileged: + type: boolean + procMount: + type: string + readOnlyRootFilesystem: + type: boolean + runAsGroup: + format: int64 + type: integer + runAsNonRoot: + type: boolean + runAsUser: + format: int64 + type: integer + seLinuxOptions: + properties: + level: + type: string + role: + type: string + type: + type: string + user: + type: string + type: object + seccompProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + windowsOptions: + properties: + gmsaCredentialSpec: + type: string + gmsaCredentialSpecName: + type: string + hostProcess: + type: boolean + runAsUserName: + type: string + type: object + type: object + startupProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + stdin: + type: boolean + stdinOnce: + type: boolean + targetContainerName: + type: string + terminationMessagePath: + type: string + terminationMessagePolicy: + type: string + tty: + type: boolean + volumeDevices: + items: + properties: + devicePath: + type: string + name: + type: string + required: + - devicePath + - name + type: object + type: array + volumeMounts: + items: + properties: + mountPath: + type: string + mountPropagation: + type: string + name: + type: string + readOnly: + type: boolean + subPath: + type: string + subPathExpr: + type: string + required: + - mountPath + - name + type: object + type: array + workingDir: + type: string + required: + - name + type: object + type: array + hostAliases: + items: + properties: + hostnames: + items: + type: string + type: array + ip: + type: string + type: object + type: array + hostIPC: + type: boolean + hostNetwork: + type: boolean + hostPID: + type: boolean + hostUsers: + type: boolean + imagePullSecrets: + items: + properties: + name: + type: string + type: object + x-kubernetes-map-type: atomic + type: array + initContainers: + items: + properties: + args: + items: + type: string + type: array + command: + items: + type: string + type: array + env: + items: + properties: + name: + type: string + value: + type: string + valueFrom: + properties: + configMapKeyRef: + properties: + key: + type: string + name: + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + resourceFieldRef: + properties: + containerName: + type: string + divisor: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + secretKeyRef: + properties: + key: + type: string + name: + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + required: + - name + type: object + type: array + envFrom: + items: + properties: + configMapRef: + properties: + name: + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + prefix: + type: string + secretRef: + properties: + name: + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + type: object + type: array + image: + type: string + imagePullPolicy: + type: string + lifecycle: + properties: + postStart: + properties: + exec: + properties: + command: + items: + type: string + type: array + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + type: object + preStop: + properties: + exec: + properties: + command: + items: + type: string + type: array + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + type: object + type: object + livenessProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + name: + type: string + ports: + items: + properties: + containerPort: + format: int32 + type: integer + hostIP: + type: string + hostPort: + format: int32 + type: integer + name: + type: string + protocol: + default: TCP + type: string + required: + - containerPort + type: object + type: array + x-kubernetes-list-map-keys: + - containerPort + - protocol + x-kubernetes-list-type: map + readinessProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + resizePolicy: + items: + properties: + resourceName: + type: string + restartPolicy: + type: string + required: + - resourceName + - restartPolicy + type: object + type: array + x-kubernetes-list-type: atomic + resources: + properties: + claims: + items: + properties: + name: + type: string + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + restartPolicy: + type: string + securityContext: + properties: + allowPrivilegeEscalation: + type: boolean + capabilities: + properties: + add: + items: + type: string + type: array + drop: + items: + type: string + type: array + type: object + privileged: + type: boolean + procMount: + type: string + readOnlyRootFilesystem: + type: boolean + runAsGroup: + format: int64 + type: integer + runAsNonRoot: + type: boolean + runAsUser: + format: int64 + type: integer + seLinuxOptions: + properties: + level: + type: string + role: + type: string + type: + type: string + user: + type: string + type: object + seccompProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + windowsOptions: + properties: + gmsaCredentialSpec: + type: string + gmsaCredentialSpecName: + type: string + hostProcess: + type: boolean + runAsUserName: + type: string + type: object + type: object + startupProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + stdin: + type: boolean + stdinOnce: + type: boolean + terminationMessagePath: + type: string + terminationMessagePolicy: + type: string + tty: + type: boolean + volumeDevices: + items: + properties: + devicePath: + type: string + name: + type: string + required: + - devicePath + - name + type: object + type: array + volumeMounts: + items: + properties: + mountPath: + type: string + mountPropagation: + type: string + name: + type: string + readOnly: + type: boolean + subPath: + type: string + subPathExpr: + type: string + required: + - mountPath + - name + type: object + type: array + workingDir: + type: string + required: + - name + type: object + type: array + nodeName: + type: string + nodeSelector: + additionalProperties: + type: string + type: object + x-kubernetes-map-type: atomic + os: + properties: + name: + type: string + required: + - name + type: object + overhead: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + preemptionPolicy: + type: string + priority: + format: int32 + type: integer + priorityClassName: + type: string + readinessGates: + items: + properties: + conditionType: + type: string + required: + - conditionType + type: object + type: array + restartPolicy: + type: string + runtimeClassName: + type: string + schedulerName: + type: string + securityContext: + properties: + fsGroup: + format: int64 + type: integer + fsGroupChangePolicy: + type: string + runAsGroup: + format: int64 + type: integer + runAsNonRoot: + type: boolean + runAsUser: + format: int64 + type: integer + seLinuxOptions: + properties: + level: + type: string + role: + type: string + type: + type: string + user: + type: string + type: object + seccompProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + supplementalGroups: + items: + format: int64 + type: integer + type: array + sysctls: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + windowsOptions: + properties: + gmsaCredentialSpec: + type: string + gmsaCredentialSpecName: + type: string + hostProcess: + type: boolean + runAsUserName: + type: string + type: object + type: object + serviceAccountName: + type: string + setHostnameAsFQDN: + type: boolean + shareProcessNamespace: + type: boolean + terminationGracePeriodSeconds: + format: int64 + type: integer + tolerations: + items: + properties: + effect: + type: string + key: + type: string + operator: + type: string + tolerationSeconds: + format: int64 + type: integer + value: + type: string + type: object + type: array + volumes: + items: + properties: + awsElasticBlockStore: + properties: + fsType: + type: string + partition: + format: int32 + type: integer + readOnly: + type: boolean + volumeID: + type: string + required: + - volumeID + type: object + azureDisk: + properties: + cachingMode: + type: string + diskName: + type: string + diskURI: + type: string + fsType: + type: string + kind: + type: string + readOnly: + type: boolean + required: + - diskName + - diskURI + type: object + azureFile: + properties: + readOnly: + type: boolean + secretName: + type: string + shareName: + type: string + required: + - secretName + - shareName + type: object + cephfs: + properties: + monitors: + items: + type: string + type: array + path: + type: string + readOnly: + type: boolean + secretFile: + type: string + secretRef: + properties: + name: + type: string + type: object + x-kubernetes-map-type: atomic + user: + type: string + required: + - monitors + type: object + cinder: + properties: + fsType: + type: string + readOnly: + type: boolean + secretRef: + properties: + name: + type: string + type: object + x-kubernetes-map-type: atomic + volumeID: + type: string + required: + - volumeID + type: object + configMap: + properties: + defaultMode: + format: int32 + type: integer + items: + items: + properties: + key: + type: string + mode: + format: int32 + type: integer + path: + type: string + required: + - key + - path + type: object + type: array + name: + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + csi: + properties: + driver: + type: string + fsType: + type: string + nodePublishSecretRef: + properties: + name: + type: string + type: object + x-kubernetes-map-type: atomic + readOnly: + type: boolean + volumeAttributes: + additionalProperties: + type: string + type: object + required: + - driver + type: object + downwardAPI: + properties: + defaultMode: + format: int32 + type: integer + items: + items: + properties: + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + mode: + format: int32 + type: integer + path: + type: string + resourceFieldRef: + properties: + containerName: + type: string + divisor: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + required: + - path + type: object + type: array + type: object + emptyDir: + properties: + medium: + type: string + sizeLimit: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + ephemeral: + properties: + volumeClaimTemplate: + properties: + metadata: + properties: + annotations: + additionalProperties: + type: string + type: object + generateName: + type: string + labels: + additionalProperties: + type: string + type: object + name: + type: string + namespace: + type: string + ownerReferences: + items: + properties: + apiVersion: + type: string + blockOwnerDeletion: + type: boolean + controller: + type: boolean + kind: + type: string + name: + type: string + uid: + type: string + required: + - apiVersion + - kind + - name + - uid + type: object + x-kubernetes-map-type: atomic + type: array + type: object + spec: + properties: + accessModes: + items: + type: string + type: array + dataSource: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + required: + - kind + - name + type: object + x-kubernetes-map-type: atomic + dataSourceRef: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + namespace: + type: string + required: + - kind + - name + type: object + resources: + properties: + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + selector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + required: + - key + - operator + type: object + type: array + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + storageClassName: + type: string + volumeAttributesClassName: + type: string + volumeMode: + type: string + volumeName: + type: string + type: object + required: + - spec + type: object + type: object + fc: + properties: + fsType: + type: string + lun: + format: int32 + type: integer + readOnly: + type: boolean + targetWWNs: + items: + type: string + type: array + wwids: + items: + type: string + type: array + type: object + flexVolume: + properties: + driver: + type: string + fsType: + type: string + options: + additionalProperties: + type: string + type: object + readOnly: + type: boolean + secretRef: + properties: + name: + type: string + type: object + x-kubernetes-map-type: atomic + required: + - driver + type: object + flocker: + properties: + datasetName: + type: string + datasetUUID: + type: string + type: object + gcePersistentDisk: + properties: + fsType: + type: string + partition: + format: int32 + type: integer + pdName: + type: string + readOnly: + type: boolean + required: + - pdName + type: object + glusterfs: + properties: + endpoints: + type: string + path: + type: string + readOnly: + type: boolean + required: + - endpoints + - path + type: object + hostPath: + properties: + path: + type: string + type: + type: string + required: + - path + type: object + iscsi: + properties: + chapAuthDiscovery: + type: boolean + chapAuthSession: + type: boolean + fsType: + type: string + initiatorName: + type: string + iqn: + type: string + iscsiInterface: + type: string + lun: + format: int32 + type: integer + portals: + items: + type: string + type: array + readOnly: + type: boolean + secretRef: + properties: + name: + type: string + type: object + x-kubernetes-map-type: atomic + targetPortal: + type: string + required: + - iqn + - lun + - targetPortal + type: object + name: + type: string + nfs: + properties: + path: + type: string + readOnly: + type: boolean + server: + type: string + required: + - path + - server + type: object + persistentVolumeClaim: + properties: + claimName: + type: string + readOnly: + type: boolean + required: + - claimName + type: object + photonPersistentDisk: + properties: + fsType: + type: string + pdID: + type: string + required: + - pdID + type: object + portworxVolume: + properties: + fsType: + type: string + readOnly: + type: boolean + volumeID: + type: string + required: + - volumeID + type: object + projected: + properties: + defaultMode: + format: int32 + type: integer + sources: + items: + properties: + clusterTrustBundle: + properties: + labelSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + required: + - key + - operator + type: object + type: array + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + name: + type: string + optional: + type: boolean + path: + type: string + signerName: + type: string + required: + - path + type: object + configMap: + properties: + items: + items: + properties: + key: + type: string + mode: + format: int32 + type: integer + path: + type: string + required: + - key + - path + type: object + type: array + name: + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + downwardAPI: + properties: + items: + items: + properties: + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + mode: + format: int32 + type: integer + path: + type: string + resourceFieldRef: + properties: + containerName: + type: string + divisor: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + required: + - path + type: object + type: array + type: object + secret: + properties: + items: + items: + properties: + key: + type: string + mode: + format: int32 + type: integer + path: + type: string + required: + - key + - path + type: object + type: array + name: + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + serviceAccountToken: + properties: + audience: + type: string + expirationSeconds: + format: int64 + type: integer + path: + type: string + required: + - path + type: object + type: object + type: array + type: object + quobyte: + properties: + group: + type: string + readOnly: + type: boolean + registry: + type: string + tenant: + type: string + user: + type: string + volume: + type: string + required: + - registry + - volume + type: object + rbd: + properties: + fsType: + type: string + image: + type: string + keyring: + type: string + monitors: + items: + type: string + type: array + pool: + type: string + readOnly: + type: boolean + secretRef: + properties: + name: + type: string + type: object + x-kubernetes-map-type: atomic + user: + type: string + required: + - image + - monitors + type: object + scaleIO: + properties: + fsType: + type: string + gateway: + type: string + protectionDomain: + type: string + readOnly: + type: boolean + secretRef: + properties: + name: + type: string + type: object + x-kubernetes-map-type: atomic + sslEnabled: + type: boolean + storageMode: + type: string + storagePool: + type: string + system: + type: string + volumeName: + type: string + required: + - gateway + - secretRef + - system + type: object + secret: + properties: + defaultMode: + format: int32 + type: integer + items: + items: + properties: + key: + type: string + mode: + format: int32 + type: integer + path: + type: string + required: + - key + - path + type: object + type: array + optional: + type: boolean + secretName: + type: string + type: object + storageos: + properties: + fsType: + type: string + readOnly: + type: boolean + secretRef: + properties: + name: + type: string + type: object + x-kubernetes-map-type: atomic + volumeName: + type: string + volumeNamespace: + type: string + type: object + vsphereVolume: + properties: + fsType: + type: string + storagePolicyID: + type: string + storagePolicyName: + type: string + volumePath: + type: string + required: + - volumePath + type: object + required: + - name + type: object + type: array + type: object + type: object + replicas: + format: int32 + type: integer + serviceTemplates: + items: + properties: + alias: + enum: + - primary + - standby + - stats + type: string + metadata: + properties: + annotations: + additionalProperties: + type: string + type: object + labels: + additionalProperties: + type: string + type: object + type: object + spec: + properties: + clusterIP: + type: string + externalIPs: + items: + type: string + type: array + externalTrafficPolicy: + type: string + healthCheckNodePort: + format: int32 + type: integer + loadBalancerIP: + type: string + loadBalancerSourceRanges: + items: + type: string + type: array + ports: + items: + properties: + name: + type: string + nodePort: + format: int32 + type: integer + port: + format: int32 + type: integer + required: + - port + type: object + type: array + sessionAffinityConfig: + properties: + clientIP: + properties: + timeoutSeconds: + format: int32 + type: integer + type: object + type: object + type: + type: string + type: object + required: + - alias + type: object + type: array + storage: + properties: + accessModes: + items: + type: string + type: array + dataSource: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + required: + - kind + - name + type: object + x-kubernetes-map-type: atomic + dataSourceRef: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + namespace: + type: string + required: + - kind + - name + type: object + resources: + properties: + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + selector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + required: + - key + - operator + type: object + type: array + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + storageClassName: + type: string + volumeAttributesClassName: + type: string + volumeMode: + type: string + volumeName: + type: string + type: object + storageType: + enum: + - Durable + - Ephemeral + type: string + terminationPolicy: + enum: + - Halt + - Delete + - WipeOut + - DoNotTerminate + type: string + topology: + properties: + availabilityGroup: + properties: + databases: + items: + type: string + type: array + type: object + mode: + enum: + - AvailabilityGroup + - RemoteReplica + type: string + type: object + version: + type: string + required: + - version + type: object + status: + properties: + conditions: + items: + properties: + lastTransitionTime: + format: date-time + type: string + message: + type: string + observedGeneration: + format: int64 + type: integer + reason: + type: string + severity: + type: string + status: + type: string + type: + type: string + required: + - lastTransitionTime + - status + - type + type: object + type: array + observedGeneration: + format: int64 + type: integer + phase: + enum: + - Provisioning + - DataRestoring + - Ready + - Critical + - NotReady + - Halted + - Unknown + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} diff --git a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_mysqls.yaml b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_mysqls.yaml index 3831f5e6b7..204cb1c5f7 100644 --- a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_mysqls.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_mysqls.yaml @@ -6871,6 +6871,9 @@ spec: ports: items: properties: + backendServicePort: + format: int32 + type: integer name: type: string nodePort: @@ -6899,6 +6902,22 @@ spec: type: string type: object x-kubernetes-map-type: atomic + port: + properties: + backendServicePort: + format: int32 + type: integer + name: + type: string + nodePort: + format: int32 + type: integer + port: + format: int32 + type: integer + required: + - port + type: object url: type: string required: diff --git a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_perconaxtradbs.yaml b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_perconaxtradbs.yaml index 5905c80f53..39baac9b32 100644 --- a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_perconaxtradbs.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_perconaxtradbs.yaml @@ -4239,6 +4239,9 @@ spec: ports: items: properties: + backendServicePort: + format: int32 + type: integer name: type: string nodePort: @@ -4267,6 +4270,22 @@ spec: type: string type: object x-kubernetes-map-type: atomic + port: + properties: + backendServicePort: + format: int32 + type: integer + name: + type: string + nodePort: + format: int32 + type: integer + port: + format: int32 + type: integer + required: + - port + type: object url: type: string required: diff --git a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_pgbouncers.yaml b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_pgbouncers.yaml index bdf30ae4c5..37183e6ad1 100644 --- a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_pgbouncers.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_pgbouncers.yaml @@ -140,6 +140,8 @@ spec: - name - namespace type: object + syncUsers: + type: boolean required: - alias - databaseName @@ -3082,6 +3084,9 @@ spec: ports: items: properties: + backendServicePort: + format: int32 + type: integer name: type: string nodePort: @@ -3110,6 +3115,22 @@ spec: type: string type: object x-kubernetes-map-type: atomic + port: + properties: + backendServicePort: + format: int32 + type: integer + name: + type: string + nodePort: + format: int32 + type: integer + port: + format: int32 + type: integer + required: + - port + type: object url: type: string required: diff --git a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_pgpools.yaml b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_pgpools.yaml index 952761bc65..cae0a8f957 100644 --- a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_pgpools.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_pgpools.yaml @@ -54,6 +54,13 @@ spec: type: string type: object x-kubernetes-map-type: atomic + clientAuthMode: + default: md5 + enum: + - md5 + - scram + - cert + type: string configSecret: properties: name: @@ -312,411 +319,6 @@ spec: activeDeadlineSeconds: format: int64 type: integer - affinity: - properties: - nodeAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - preference: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchFields: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - type: object - x-kubernetes-map-type: atomic - weight: - format: int32 - type: integer - required: - - preference - - weight - type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - properties: - nodeSelectorTerms: - items: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchFields: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - type: object - x-kubernetes-map-type: atomic - type: array - required: - - nodeSelectorTerms - type: object - x-kubernetes-map-type: atomic - type: object - podAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - podAffinityTerm: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - weight: - format: int32 - type: integer - required: - - podAffinityTerm - - weight - type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - type: array - type: object - podAntiAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - podAffinityTerm: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - weight: - format: int32 - type: integer - required: - - podAffinityTerm - - weight - type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - type: array - type: object - type: object automountServiceAccountToken: type: boolean containers: @@ -2813,62 +2415,6 @@ spec: type: string type: object type: array - topologySpreadConstraints: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - maxSkew: - format: int32 - type: integer - minDomains: - format: int32 - type: integer - nodeAffinityPolicy: - type: string - nodeTaintsPolicy: - type: string - topologyKey: - type: string - whenUnsatisfiable: - type: string - required: - - maxSkew - - topologyKey - - whenUnsatisfiable - type: object - type: array - x-kubernetes-list-map-keys: - - topologyKey - - whenUnsatisfiable - x-kubernetes-list-type: map volumes: items: properties: @@ -3718,6 +3264,15 @@ spec: - alias type: object type: array + sslMode: + enum: + - disable + - allow + - prefer + - require + - verify-ca + - verify-full + type: string syncUsers: type: boolean terminationPolicy: @@ -3727,6 +3282,107 @@ spec: - WipeOut - DoNotTerminate type: string + tls: + properties: + certificates: + items: + properties: + alias: + type: string + dnsNames: + items: + type: string + type: array + duration: + type: string + emailAddresses: + items: + type: string + type: array + ipAddresses: + items: + type: string + type: array + issuerRef: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + required: + - kind + - name + type: object + x-kubernetes-map-type: atomic + privateKey: + properties: + encoding: + enum: + - PKCS1 + - PKCS8 + type: string + type: object + renewBefore: + type: string + secretName: + type: string + subject: + properties: + countries: + items: + type: string + type: array + localities: + items: + type: string + type: array + organizationalUnits: + items: + type: string + type: array + organizations: + items: + type: string + type: array + postalCodes: + items: + type: string + type: array + provinces: + items: + type: string + type: array + serialNumber: + type: string + streetAddresses: + items: + type: string + type: array + type: object + uris: + items: + type: string + type: array + required: + - alias + type: object + type: array + issuerRef: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + required: + - kind + - name + type: object + x-kubernetes-map-type: atomic + type: object version: type: string required: @@ -3782,6 +3438,9 @@ spec: ports: items: properties: + backendServicePort: + format: int32 + type: integer name: type: string nodePort: @@ -3810,6 +3469,22 @@ spec: type: string type: object x-kubernetes-map-type: atomic + port: + properties: + backendServicePort: + format: int32 + type: integer + name: + type: string + nodePort: + format: int32 + type: integer + port: + format: int32 + type: integer + required: + - port + type: object url: type: string required: diff --git a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_postgreses.yaml b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_postgreses.yaml index 54e9d33391..716915b28b 100644 --- a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_postgreses.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_postgreses.yaml @@ -4390,6 +4390,9 @@ spec: ports: items: properties: + backendServicePort: + format: int32 + type: integer name: type: string nodePort: @@ -4418,6 +4421,22 @@ spec: type: string type: object x-kubernetes-map-type: atomic + port: + properties: + backendServicePort: + format: int32 + type: integer + name: + type: string + nodePort: + format: int32 + type: integer + port: + format: int32 + type: integer + required: + - port + type: object url: type: string required: diff --git a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_proxysqls.yaml b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_proxysqls.yaml index b25f2cdffa..35ad650118 100644 --- a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_proxysqls.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_proxysqls.yaml @@ -3058,6 +3058,9 @@ spec: ports: items: properties: + backendServicePort: + format: int32 + type: integer name: type: string nodePort: @@ -3086,6 +3089,22 @@ spec: type: string type: object x-kubernetes-map-type: atomic + port: + properties: + backendServicePort: + format: int32 + type: integer + name: + type: string + nodePort: + format: int32 + type: integer + port: + format: int32 + type: integer + required: + - port + type: object url: type: string required: diff --git a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_rabbitmqs.yaml b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_rabbitmqs.yaml index 4d80a16aa9..bd176f5832 100644 --- a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_rabbitmqs.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_rabbitmqs.yaml @@ -307,411 +307,6 @@ spec: activeDeadlineSeconds: format: int64 type: integer - affinity: - properties: - nodeAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - preference: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchFields: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - type: object - x-kubernetes-map-type: atomic - weight: - format: int32 - type: integer - required: - - preference - - weight - type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - properties: - nodeSelectorTerms: - items: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchFields: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - type: object - x-kubernetes-map-type: atomic - type: array - required: - - nodeSelectorTerms - type: object - x-kubernetes-map-type: atomic - type: object - podAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - podAffinityTerm: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - weight: - format: int32 - type: integer - required: - - podAffinityTerm - - weight - type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - type: array - type: object - podAntiAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - podAffinityTerm: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - weight: - format: int32 - type: integer - required: - - podAffinityTerm - - weight - type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - type: array - type: object - type: object automountServiceAccountToken: type: boolean containers: @@ -2808,62 +2403,6 @@ spec: type: string type: object type: array - topologySpreadConstraints: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - maxSkew: - format: int32 - type: integer - minDomains: - format: int32 - type: integer - nodeAffinityPolicy: - type: string - nodeTaintsPolicy: - type: string - topologyKey: - type: string - whenUnsatisfiable: - type: string - required: - - maxSkew - - topologyKey - - whenUnsatisfiable - type: object - type: array - x-kubernetes-list-map-keys: - - topologyKey - - whenUnsatisfiable - x-kubernetes-list-type: map volumes: items: properties: @@ -3956,6 +3495,9 @@ spec: ports: items: properties: + backendServicePort: + format: int32 + type: integer name: type: string nodePort: @@ -3984,6 +3526,22 @@ spec: type: string type: object x-kubernetes-map-type: atomic + port: + properties: + backendServicePort: + format: int32 + type: integer + name: + type: string + nodePort: + format: int32 + type: integer + port: + format: int32 + type: integer + required: + - port + type: object url: type: string required: diff --git a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_redises.yaml b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_redises.yaml index d96640ee97..29af3b38b0 100644 --- a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_redises.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_redises.yaml @@ -4242,6 +4242,9 @@ spec: ports: items: properties: + backendServicePort: + format: int32 + type: integer name: type: string nodePort: @@ -4270,6 +4273,22 @@ spec: type: string type: object x-kubernetes-map-type: atomic + port: + properties: + backendServicePort: + format: int32 + type: integer + name: + type: string + nodePort: + format: int32 + type: integer + port: + format: int32 + type: integer + required: + - port + type: object url: type: string required: diff --git a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_singlestores.yaml b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_singlestores.yaml index 0c74d85e63..d0f15d11cf 100644 --- a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_singlestores.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_singlestores.yaml @@ -1275,635 +1275,519 @@ spec: activeDeadlineSeconds: format: int64 type: integer - affinity: - properties: - nodeAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: + automountServiceAccountToken: + type: boolean + containers: + items: + properties: + args: + items: + type: string + type: array + command: + items: + type: string + type: array + env: + items: + properties: + name: + type: string + value: + type: string + valueFrom: + properties: + configMapKeyRef: + properties: + key: + type: string + name: + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + resourceFieldRef: + properties: + containerName: + type: string + divisor: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + secretKeyRef: + properties: + key: + type: string + name: + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + required: + - name + type: object + type: array + envFrom: + items: + properties: + configMapRef: + properties: + name: + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + prefix: + type: string + secretRef: + properties: + name: + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + type: object + type: array + image: + type: string + imagePullPolicy: + type: string + lifecycle: + properties: + postStart: properties: - preference: + exec: properties: - matchExpressions: + command: items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object + type: string type: array - matchFields: + type: object + httpGet: + properties: + host: + type: string + httpHeaders: items: properties: - key: + name: type: string - operator: + value: type: string - values: - items: - type: string - type: array required: - - key - - operator + - name + - value type: object type: array + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port type: object - x-kubernetes-map-type: atomic - weight: - format: int32 - type: integer - required: - - preference - - weight type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - properties: - nodeSelectorTerms: - items: + preStop: + properties: + exec: properties: - matchExpressions: + command: items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object + type: string type: array - matchFields: + type: object + httpGet: + properties: + host: + type: string + httpHeaders: items: properties: - key: + name: type: string - operator: + value: type: string - values: - items: - type: string - type: array required: - - key - - operator + - name + - value type: object type: array + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port type: object - x-kubernetes-map-type: atomic - type: array - required: - - nodeSelectorTerms - type: object - x-kubernetes-map-type: atomic - type: object - podAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - podAffinityTerm: + sleep: properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true required: - - topologyKey + - port type: object - weight: + type: object + type: object + livenessProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: format: int32 type: integer + service: + type: string required: - - podAffinityTerm - - weight + - port type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - items: + httpGet: properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: + host: + type: string + httpHeaders: items: - type: string + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + name: + type: string + ports: + items: + properties: + containerPort: + format: int32 + type: integer + hostIP: + type: string + hostPort: + format: int32 + type: integer + name: + type: string + protocol: + default: TCP + type: string + required: + - containerPort + type: object + type: array + x-kubernetes-list-map-keys: + - containerPort + - protocol + x-kubernetes-list-type: map + readinessProbe: + properties: + exec: + properties: + command: items: type: string type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: items: - type: string + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object type: array - topologyKey: + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: type: string required: - - topologyKey + - port type: object - type: array - type: object - podAntiAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - podAffinityTerm: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - weight: - format: int32 - type: integer - required: - - podAffinityTerm - - weight - type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - items: + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: + host: type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true required: - - topologyKey + - port type: object - type: array - type: object - type: object - automountServiceAccountToken: - type: boolean - containers: - items: - properties: - args: - items: - type: string - type: array - command: - items: - type: string - type: array - env: + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + resizePolicy: items: properties: - name: + resourceName: type: string - value: + restartPolicy: type: string - valueFrom: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - fieldRef: - properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath - type: object - x-kubernetes-map-type: atomic - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - x-kubernetes-map-type: atomic - secretKeyRef: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object required: - - name + - resourceName + - restartPolicy type: object type: array - envFrom: - items: - properties: - configMapRef: - properties: - name: - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - prefix: - type: string - secretRef: + x-kubernetes-list-type: atomic + resources: + properties: + claims: + items: properties: name: type: string - optional: - type: boolean + required: + - name type: object - x-kubernetes-map-type: atomic - type: object - type: array - image: - type: string - imagePullPolicy: - type: string - lifecycle: - properties: - postStart: + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + restartPolicy: + type: string + securityContext: + properties: + allowPrivilegeEscalation: + type: boolean + capabilities: properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object + add: + items: + type: string + type: array + drop: + items: + type: string + type: array type: object - preStop: + privileged: + type: boolean + procMount: + type: string + readOnlyRootFilesystem: + type: boolean + runAsGroup: + format: int64 + type: integer + runAsNonRoot: + type: boolean + runAsUser: + format: int64 + type: integer + seLinuxOptions: properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object + level: + type: string + role: + type: string + type: + type: string + user: + type: string + type: object + seccompProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + windowsOptions: + properties: + gmsaCredentialSpec: + type: string + gmsaCredentialSpecName: + type: string + hostProcess: + type: boolean + runAsUserName: + type: string type: object type: object - livenessProbe: + startupProbe: properties: exec: properties: @@ -1981,35 +1865,302 @@ spec: format: int32 type: integer type: object - name: + stdin: + type: boolean + stdinOnce: + type: boolean + terminationMessagePath: type: string - ports: + terminationMessagePolicy: + type: string + tty: + type: boolean + volumeDevices: items: properties: - containerPort: - format: int32 - type: integer - hostIP: + devicePath: type: string - hostPort: - format: int32 - type: integer name: type: string - protocol: - default: TCP + required: + - devicePath + - name + type: object + type: array + volumeMounts: + items: + properties: + mountPath: + type: string + mountPropagation: + type: string + name: + type: string + readOnly: + type: boolean + subPath: + type: string + subPathExpr: type: string required: - - containerPort + - mountPath + - name type: object type: array - x-kubernetes-list-map-keys: - - containerPort - - protocol - x-kubernetes-list-type: map - readinessProbe: + workingDir: + type: string + required: + - name + type: object + type: array + dnsConfig: + properties: + nameservers: + items: + type: string + type: array + options: + items: properties: - exec: + name: + type: string + value: + type: string + type: object + type: array + searches: + items: + type: string + type: array + type: object + dnsPolicy: + type: string + enableServiceLinks: + type: boolean + ephemeralContainers: + items: + properties: + args: + items: + type: string + type: array + command: + items: + type: string + type: array + env: + items: + properties: + name: + type: string + value: + type: string + valueFrom: + properties: + configMapKeyRef: + properties: + key: + type: string + name: + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + resourceFieldRef: + properties: + containerName: + type: string + divisor: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + secretKeyRef: + properties: + key: + type: string + name: + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + required: + - name + type: object + type: array + envFrom: + items: + properties: + configMapRef: + properties: + name: + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + prefix: + type: string + secretRef: + properties: + name: + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + type: object + type: array + image: + type: string + imagePullPolicy: + type: string + lifecycle: + properties: + postStart: + properties: + exec: + properties: + command: + items: + type: string + type: array + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + type: object + preStop: + properties: + exec: + properties: + command: + items: + type: string + type: array + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + type: object + type: object + livenessProbe: + properties: + exec: properties: command: items: @@ -2085,12 +2236,116 @@ spec: format: int32 type: integer type: object - resizePolicy: + name: + type: string + ports: items: properties: - resourceName: + containerPort: + format: int32 + type: integer + hostIP: type: string - restartPolicy: + hostPort: + format: int32 + type: integer + name: + type: string + protocol: + default: TCP + type: string + required: + - containerPort + type: object + type: array + x-kubernetes-list-map-keys: + - containerPort + - protocol + x-kubernetes-list-type: map + readinessProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + resizePolicy: + items: + properties: + resourceName: + type: string + restartPolicy: type: string required: - resourceName @@ -2274,6 +2529,8 @@ spec: type: boolean stdinOnce: type: boolean + targetContainerName: + type: string terminationMessagePath: type: string terminationMessagePolicy: @@ -2318,31 +2575,34 @@ spec: - name type: object type: array - dnsConfig: - properties: - nameservers: - items: - type: string - type: array - options: - items: - properties: - name: - type: string - value: - type: string - type: object - type: array - searches: - items: + hostAliases: + items: + properties: + hostnames: + items: + type: string + type: array + ip: type: string - type: array - type: object - dnsPolicy: - type: string - enableServiceLinks: + type: object + type: array + hostIPC: type: boolean - ephemeralContainers: + hostNetwork: + type: boolean + hostPID: + type: boolean + hostUsers: + type: boolean + imagePullSecrets: + items: + properties: + name: + type: string + type: object + x-kubernetes-map-type: atomic + type: array + initContainers: items: properties: args: @@ -2934,8 +3194,6 @@ spec: type: boolean stdinOnce: type: boolean - targetContainerName: - type: string terminationMessagePath: type: string terminationMessagePolicy: @@ -2980,65 +3238,281 @@ spec: - name type: object type: array - hostAliases: - items: - properties: - hostnames: - items: - type: string - type: array - ip: - type: string - type: object - type: array - hostIPC: - type: boolean - hostNetwork: - type: boolean - hostPID: - type: boolean - hostUsers: - type: boolean - imagePullSecrets: + nodeName: + type: string + nodeSelector: + additionalProperties: + type: string + type: object + x-kubernetes-map-type: atomic + os: + properties: + name: + type: string + required: + - name + type: object + overhead: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + preemptionPolicy: + type: string + priority: + format: int32 + type: integer + priorityClassName: + type: string + readinessGates: items: properties: - name: + conditionType: type: string + required: + - conditionType type: object - x-kubernetes-map-type: atomic type: array - initContainers: - items: - properties: - args: - items: + restartPolicy: + type: string + runtimeClassName: + type: string + schedulerName: + type: string + securityContext: + properties: + fsGroup: + format: int64 + type: integer + fsGroupChangePolicy: + type: string + runAsGroup: + format: int64 + type: integer + runAsNonRoot: + type: boolean + runAsUser: + format: int64 + type: integer + seLinuxOptions: + properties: + level: type: string - type: array - command: - items: + role: type: string - type: array - env: - items: - properties: - name: - type: string - value: - type: string - valueFrom: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic + type: + type: string + user: + type: string + type: object + seccompProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + supplementalGroups: + items: + format: int64 + type: integer + type: array + sysctls: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + windowsOptions: + properties: + gmsaCredentialSpec: + type: string + gmsaCredentialSpecName: + type: string + hostProcess: + type: boolean + runAsUserName: + type: string + type: object + type: object + serviceAccountName: + type: string + setHostnameAsFQDN: + type: boolean + shareProcessNamespace: + type: boolean + terminationGracePeriodSeconds: + format: int64 + type: integer + tolerations: + items: + properties: + effect: + type: string + key: + type: string + operator: + type: string + tolerationSeconds: + format: int64 + type: integer + value: + type: string + type: object + type: array + volumes: + items: + properties: + awsElasticBlockStore: + properties: + fsType: + type: string + partition: + format: int32 + type: integer + readOnly: + type: boolean + volumeID: + type: string + required: + - volumeID + type: object + azureDisk: + properties: + cachingMode: + type: string + diskName: + type: string + diskURI: + type: string + fsType: + type: string + kind: + type: string + readOnly: + type: boolean + required: + - diskName + - diskURI + type: object + azureFile: + properties: + readOnly: + type: boolean + secretName: + type: string + shareName: + type: string + required: + - secretName + - shareName + type: object + cephfs: + properties: + monitors: + items: + type: string + type: array + path: + type: string + readOnly: + type: boolean + secretFile: + type: string + secretRef: + properties: + name: + type: string + type: object + x-kubernetes-map-type: atomic + user: + type: string + required: + - monitors + type: object + cinder: + properties: + fsType: + type: string + readOnly: + type: boolean + secretRef: + properties: + name: + type: string + type: object + x-kubernetes-map-type: atomic + volumeID: + type: string + required: + - volumeID + type: object + configMap: + properties: + defaultMode: + format: int32 + type: integer + items: + items: + properties: + key: + type: string + mode: + format: int32 + type: integer + path: + type: string + required: + - key + - path + type: object + type: array + name: + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + csi: + properties: + driver: + type: string + fsType: + type: string + nodePublishSecretRef: + properties: + name: + type: string + type: object + x-kubernetes-map-type: atomic + readOnly: + type: boolean + volumeAttributes: + additionalProperties: + type: string + type: object + required: + - driver + type: object + downwardAPI: + properties: + defaultMode: + format: int32 + type: integer + items: + items: + properties: fieldRef: properties: apiVersion: @@ -3049,6 +3523,11 @@ spec: - fieldPath type: object x-kubernetes-map-type: atomic + mode: + format: int32 + type: integer + path: + type: string resourceFieldRef: properties: containerName: @@ -3065,2920 +3544,915 @@ spec: - resource type: object x-kubernetes-map-type: atomic - secretKeyRef: - properties: - key: + required: + - path + type: object + type: array + type: object + emptyDir: + properties: + medium: + type: string + sizeLimit: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + ephemeral: + properties: + volumeClaimTemplate: + properties: + metadata: + properties: + annotations: + additionalProperties: type: string - name: + type: object + generateName: + type: string + labels: + additionalProperties: type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - required: - - name - type: object - type: array - envFrom: - items: - properties: - configMapRef: - properties: - name: - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - prefix: - type: string - secretRef: - properties: - name: - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - type: object - type: array - image: - type: string - imagePullPolicy: - type: string - lifecycle: - properties: - postStart: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - httpGet: - properties: - host: + type: object + name: type: string - httpHeaders: + namespace: + type: string + ownerReferences: items: properties: + apiVersion: + type: string + blockOwnerDeletion: + type: boolean + controller: + type: boolean + kind: + type: string name: type: string - value: + uid: type: string required: + - apiVersion + - kind - name - - value + - uid type: object + x-kubernetes-map-type: atomic type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port type: object - type: object - preStop: - properties: - exec: + spec: properties: - command: + accessModes: items: type: string type: array - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: + dataSource: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + required: + - kind + - name + type: object + x-kubernetes-map-type: atomic + dataSourceRef: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + namespace: + type: string + required: + - kind + - name + type: object + resources: + properties: + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + selector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + required: + - key + - operator + type: object + type: array + matchLabels: + additionalProperties: type: string - required: - - name - - value - type: object - type: array - path: + type: object + type: object + x-kubernetes-map-type: atomic + storageClassName: type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: + volumeAttributesClassName: type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: + volumeMode: + type: string + volumeName: type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port type: object + required: + - spec type: object type: object - livenessProbe: + fc: properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - failureThreshold: + fsType: + type: string + lun: format: int32 type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: + readOnly: + type: boolean + targetWWNs: + items: + type: string + type: array + wwids: + items: + type: string + type: array + type: object + flexVolume: + properties: + driver: + type: string + fsType: + type: string + options: + additionalProperties: + type: string + type: object + readOnly: + type: boolean + secretRef: + properties: + name: type: string - required: - - port type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: + x-kubernetes-map-type: atomic + required: + - driver + type: object + flocker: + properties: + datasetName: + type: string + datasetUUID: + type: string + type: object + gcePersistentDisk: + properties: + fsType: + type: string + partition: format: int32 type: integer - successThreshold: + pdName: + type: string + readOnly: + type: boolean + required: + - pdName + type: object + glusterfs: + properties: + endpoints: + type: string + path: + type: string + readOnly: + type: boolean + required: + - endpoints + - path + type: object + hostPath: + properties: + path: + type: string + type: + type: string + required: + - path + type: object + iscsi: + properties: + chapAuthDiscovery: + type: boolean + chapAuthSession: + type: boolean + fsType: + type: string + initiatorName: + type: string + iqn: + type: string + iscsiInterface: + type: string + lun: format: int32 type: integer - tcpSocket: + portals: + items: + type: string + type: array + readOnly: + type: boolean + secretRef: properties: - host: + name: type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer + x-kubernetes-map-type: atomic + targetPortal: + type: string + required: + - iqn + - lun + - targetPortal type: object name: type: string - ports: - items: - properties: - containerPort: - format: int32 - type: integer - hostIP: - type: string - hostPort: - format: int32 - type: integer - name: - type: string - protocol: - default: TCP - type: string - required: - - containerPort - type: object - type: array - x-kubernetes-list-map-keys: - - containerPort - - protocol - x-kubernetes-list-type: map - readinessProbe: + nfs: properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - failureThreshold: + path: + type: string + readOnly: + type: boolean + server: + type: string + required: + - path + - server + type: object + persistentVolumeClaim: + properties: + claimName: + type: string + readOnly: + type: boolean + required: + - claimName + type: object + photonPersistentDisk: + properties: + fsType: + type: string + pdID: + type: string + required: + - pdID + type: object + portworxVolume: + properties: + fsType: + type: string + readOnly: + type: boolean + volumeID: + type: string + required: + - volumeID + type: object + projected: + properties: + defaultMode: format: int32 type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: + sources: + items: + properties: + clusterTrustBundle: properties: + labelSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + required: + - key + - operator + type: object + type: array + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic name: type: string - value: + optional: + type: boolean + path: + type: string + signerName: type: string required: - - name - - value + - path type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: + configMap: + properties: + items: + items: + properties: + key: + type: string + mode: + format: int32 + type: integer + path: + type: string + required: + - key + - path + type: object + type: array + name: + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + downwardAPI: + properties: + items: + items: + properties: + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + mode: + format: int32 + type: integer + path: + type: string + resourceFieldRef: + properties: + containerName: + type: string + divisor: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + required: + - path + type: object + type: array + type: object + secret: + properties: + items: + items: + properties: + key: + type: string + mode: + format: int32 + type: integer + path: + type: string + required: + - key + - path + type: object + type: array + name: + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + serviceAccountToken: + properties: + audience: + type: string + expirationSeconds: + format: int64 + type: integer + path: + type: string + required: + - path + type: object + type: object + type: array + type: object + quobyte: + properties: + group: + type: string + readOnly: + type: boolean + registry: + type: string + tenant: + type: string + user: + type: string + volume: + type: string + required: + - registry + - volume + type: object + rbd: + properties: + fsType: + type: string + image: + type: string + keyring: + type: string + monitors: + items: + type: string + type: array + pool: + type: string + readOnly: + type: boolean + secretRef: + properties: + name: type: string - required: - - port type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: + x-kubernetes-map-type: atomic + user: + type: string + required: + - image + - monitors + type: object + scaleIO: + properties: + fsType: + type: string + gateway: + type: string + protectionDomain: + type: string + readOnly: + type: boolean + secretRef: properties: - host: + name: type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer + x-kubernetes-map-type: atomic + sslEnabled: + type: boolean + storageMode: + type: string + storagePool: + type: string + system: + type: string + volumeName: + type: string + required: + - gateway + - secretRef + - system type: object - resizePolicy: - items: - properties: - resourceName: - type: string - restartPolicy: - type: string - required: - - resourceName - - restartPolicy - type: object - type: array - x-kubernetes-list-type: atomic - resources: + secret: properties: - claims: + defaultMode: + format: int32 + type: integer + items: items: properties: - name: + key: + type: string + mode: + format: int32 + type: integer + path: type: string required: - - name + - key + - path type: object type: array - x-kubernetes-list-map-keys: - - name - x-kubernetes-list-type: map - limits: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - requests: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object + optional: + type: boolean + secretName: + type: string type: object - restartPolicy: - type: string - securityContext: + storageos: properties: - allowPrivilegeEscalation: - type: boolean - capabilities: - properties: - add: - items: - type: string - type: array - drop: - items: - type: string - type: array - type: object - privileged: - type: boolean - procMount: + fsType: type: string - readOnlyRootFilesystem: - type: boolean - runAsGroup: - format: int64 - type: integer - runAsNonRoot: + readOnly: type: boolean - runAsUser: - format: int64 - type: integer - seLinuxOptions: - properties: - level: - type: string - role: - type: string - type: - type: string - user: - type: string - type: object - seccompProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - windowsOptions: + secretRef: properties: - gmsaCredentialSpec: - type: string - gmsaCredentialSpecName: - type: string - hostProcess: - type: boolean - runAsUserName: + name: type: string type: object + x-kubernetes-map-type: atomic + volumeName: + type: string + volumeNamespace: + type: string type: object - startupProbe: + vsphereVolume: properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer + fsType: + type: string + storagePolicyID: + type: string + storagePolicyName: + type: string + volumePath: + type: string + required: + - volumePath type: object - stdin: - type: boolean - stdinOnce: - type: boolean - terminationMessagePath: - type: string - terminationMessagePolicy: - type: string - tty: - type: boolean - volumeDevices: - items: - properties: - devicePath: - type: string - name: - type: string - required: - - devicePath - - name - type: object - type: array - volumeMounts: - items: - properties: - mountPath: - type: string - mountPropagation: - type: string - name: - type: string - readOnly: - type: boolean - subPath: - type: string - subPathExpr: - type: string - required: - - mountPath - - name - type: object - type: array - workingDir: - type: string required: - name type: object type: array - nodeName: - type: string - nodeSelector: - additionalProperties: + type: object + type: object + replicas: + format: int32 + type: integer + serviceTemplates: + items: + properties: + alias: + enum: + - primary + - standby + - stats + type: string + metadata: + properties: + annotations: + additionalProperties: + type: string + type: object + labels: + additionalProperties: + type: string + type: object + type: object + spec: + properties: + clusterIP: type: string - type: object - x-kubernetes-map-type: atomic - os: - properties: - name: + externalIPs: + items: type: string - required: - - name - type: object - overhead: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - preemptionPolicy: - type: string - priority: - format: int32 - type: integer - priorityClassName: - type: string - readinessGates: - items: - properties: - conditionType: - type: string - required: - - conditionType - type: object - type: array - restartPolicy: - type: string - runtimeClassName: - type: string - schedulerName: - type: string - securityContext: - properties: - fsGroup: - format: int64 - type: integer - fsGroupChangePolicy: + type: array + externalTrafficPolicy: + type: string + healthCheckNodePort: + format: int32 + type: integer + loadBalancerIP: + type: string + loadBalancerSourceRanges: + items: type: string - runAsGroup: - format: int64 - type: integer - runAsNonRoot: - type: boolean - runAsUser: - format: int64 - type: integer - seLinuxOptions: - properties: - level: - type: string - role: - type: string - type: - type: string - user: - type: string - type: object - seccompProfile: + type: array + ports: + items: properties: - localhostProfile: - type: string - type: + name: type: string + nodePort: + format: int32 + type: integer + port: + format: int32 + type: integer required: - - type + - port type: object - supplementalGroups: - items: - format: int64 - type: integer - type: array - sysctls: - items: + type: array + sessionAffinityConfig: + properties: + clientIP: properties: - name: - type: string - value: - type: string - required: - - name - - value + timeoutSeconds: + format: int32 + type: integer type: object - type: array - windowsOptions: - properties: - gmsaCredentialSpec: - type: string - gmsaCredentialSpecName: - type: string - hostProcess: - type: boolean - runAsUserName: - type: string - type: object - type: object - serviceAccountName: + type: object + type: + type: string + type: object + required: + - alias + type: object + type: array + storage: + properties: + accessModes: + items: + type: string + type: array + dataSource: + properties: + apiGroup: type: string - setHostnameAsFQDN: - type: boolean - shareProcessNamespace: - type: boolean - terminationGracePeriodSeconds: - format: int64 - type: integer - tolerations: + kind: + type: string + name: + type: string + required: + - kind + - name + type: object + x-kubernetes-map-type: atomic + dataSourceRef: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + namespace: + type: string + required: + - kind + - name + type: object + resources: + properties: + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + selector: + properties: + matchExpressions: items: properties: - effect: - type: string key: type: string operator: type: string - tolerationSeconds: - format: int64 - type: integer - value: - type: string - type: object - type: array - topologySpreadConstraints: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: + values: items: type: string type: array - x-kubernetes-list-type: atomic - maxSkew: - format: int32 - type: integer - minDomains: - format: int32 - type: integer - nodeAffinityPolicy: - type: string - nodeTaintsPolicy: - type: string - topologyKey: - type: string - whenUnsatisfiable: - type: string required: - - maxSkew - - topologyKey - - whenUnsatisfiable + - key + - operator type: object type: array - x-kubernetes-list-map-keys: - - topologyKey - - whenUnsatisfiable - x-kubernetes-list-type: map - volumes: - items: - properties: - awsElasticBlockStore: - properties: - fsType: - type: string - partition: - format: int32 - type: integer - readOnly: - type: boolean - volumeID: - type: string - required: - - volumeID - type: object - azureDisk: - properties: - cachingMode: - type: string - diskName: - type: string - diskURI: - type: string - fsType: - type: string - kind: - type: string - readOnly: - type: boolean - required: - - diskName - - diskURI - type: object - azureFile: - properties: - readOnly: - type: boolean - secretName: - type: string - shareName: - type: string - required: - - secretName - - shareName - type: object - cephfs: - properties: - monitors: - items: - type: string - type: array - path: - type: string - readOnly: - type: boolean - secretFile: - type: string - secretRef: - properties: - name: - type: string - type: object - x-kubernetes-map-type: atomic - user: - type: string - required: - - monitors - type: object - cinder: - properties: - fsType: - type: string - readOnly: - type: boolean - secretRef: - properties: - name: - type: string - type: object - x-kubernetes-map-type: atomic - volumeID: - type: string - required: - - volumeID - type: object - configMap: - properties: - defaultMode: - format: int32 - type: integer - items: - items: - properties: - key: - type: string - mode: - format: int32 - type: integer - path: - type: string - required: - - key - - path - type: object - type: array - name: - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - csi: - properties: - driver: - type: string - fsType: - type: string - nodePublishSecretRef: - properties: - name: - type: string - type: object - x-kubernetes-map-type: atomic - readOnly: - type: boolean - volumeAttributes: - additionalProperties: - type: string - type: object - required: - - driver - type: object - downwardAPI: - properties: - defaultMode: - format: int32 - type: integer - items: - items: - properties: - fieldRef: - properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath - type: object - x-kubernetes-map-type: atomic - mode: - format: int32 - type: integer - path: - type: string - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - x-kubernetes-map-type: atomic - required: - - path - type: object - type: array - type: object - emptyDir: - properties: - medium: - type: string - sizeLimit: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - ephemeral: - properties: - volumeClaimTemplate: - properties: - metadata: - properties: - annotations: - additionalProperties: - type: string - type: object - generateName: - type: string - labels: - additionalProperties: - type: string - type: object - name: - type: string - namespace: - type: string - ownerReferences: - items: - properties: - apiVersion: - type: string - blockOwnerDeletion: - type: boolean - controller: - type: boolean - kind: - type: string - name: - type: string - uid: - type: string - required: - - apiVersion - - kind - - name - - uid - type: object - x-kubernetes-map-type: atomic - type: array - type: object - spec: - properties: - accessModes: - items: - type: string - type: array - dataSource: - properties: - apiGroup: - type: string - kind: - type: string - name: - type: string - required: - - kind - - name - type: object - x-kubernetes-map-type: atomic - dataSourceRef: - properties: - apiGroup: - type: string - kind: - type: string - name: - type: string - namespace: - type: string - required: - - kind - - name - type: object - resources: - properties: - limits: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - requests: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - type: object - selector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - storageClassName: - type: string - volumeAttributesClassName: - type: string - volumeMode: - type: string - volumeName: - type: string - type: object - required: - - spec - type: object - type: object - fc: - properties: - fsType: - type: string - lun: - format: int32 - type: integer - readOnly: - type: boolean - targetWWNs: - items: - type: string - type: array - wwids: - items: - type: string - type: array - type: object - flexVolume: - properties: - driver: - type: string - fsType: - type: string - options: - additionalProperties: - type: string - type: object - readOnly: - type: boolean - secretRef: - properties: - name: - type: string - type: object - x-kubernetes-map-type: atomic - required: - - driver - type: object - flocker: - properties: - datasetName: - type: string - datasetUUID: - type: string - type: object - gcePersistentDisk: - properties: - fsType: - type: string - partition: - format: int32 - type: integer - pdName: - type: string - readOnly: - type: boolean - required: - - pdName - type: object - glusterfs: - properties: - endpoints: - type: string - path: - type: string - readOnly: - type: boolean - required: - - endpoints - - path - type: object - hostPath: - properties: - path: - type: string - type: - type: string - required: - - path - type: object - iscsi: - properties: - chapAuthDiscovery: - type: boolean - chapAuthSession: - type: boolean - fsType: - type: string - initiatorName: - type: string - iqn: - type: string - iscsiInterface: - type: string - lun: - format: int32 - type: integer - portals: - items: - type: string - type: array - readOnly: - type: boolean - secretRef: - properties: - name: - type: string - type: object - x-kubernetes-map-type: atomic - targetPortal: - type: string - required: - - iqn - - lun - - targetPortal - type: object - name: - type: string - nfs: - properties: - path: - type: string - readOnly: - type: boolean - server: - type: string - required: - - path - - server - type: object - persistentVolumeClaim: - properties: - claimName: - type: string - readOnly: - type: boolean - required: - - claimName - type: object - photonPersistentDisk: - properties: - fsType: - type: string - pdID: - type: string - required: - - pdID - type: object - portworxVolume: - properties: - fsType: - type: string - readOnly: - type: boolean - volumeID: - type: string - required: - - volumeID - type: object - projected: - properties: - defaultMode: - format: int32 - type: integer - sources: - items: - properties: - clusterTrustBundle: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - name: - type: string - optional: - type: boolean - path: - type: string - signerName: - type: string - required: - - path - type: object - configMap: - properties: - items: - items: - properties: - key: - type: string - mode: - format: int32 - type: integer - path: - type: string - required: - - key - - path - type: object - type: array - name: - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - downwardAPI: - properties: - items: - items: - properties: - fieldRef: - properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath - type: object - x-kubernetes-map-type: atomic - mode: - format: int32 - type: integer - path: - type: string - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - x-kubernetes-map-type: atomic - required: - - path - type: object - type: array - type: object - secret: - properties: - items: - items: - properties: - key: - type: string - mode: - format: int32 - type: integer - path: - type: string - required: - - key - - path - type: object - type: array - name: - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - serviceAccountToken: - properties: - audience: - type: string - expirationSeconds: - format: int64 - type: integer - path: - type: string - required: - - path - type: object - type: object - type: array - type: object - quobyte: - properties: - group: - type: string - readOnly: - type: boolean - registry: - type: string - tenant: - type: string - user: - type: string - volume: - type: string - required: - - registry - - volume - type: object - rbd: - properties: - fsType: - type: string - image: - type: string - keyring: - type: string - monitors: - items: - type: string - type: array - pool: - type: string - readOnly: - type: boolean - secretRef: - properties: - name: - type: string - type: object - x-kubernetes-map-type: atomic - user: - type: string - required: - - image - - monitors - type: object - scaleIO: - properties: - fsType: - type: string - gateway: - type: string - protectionDomain: - type: string - readOnly: - type: boolean - secretRef: - properties: - name: - type: string - type: object - x-kubernetes-map-type: atomic - sslEnabled: - type: boolean - storageMode: - type: string - storagePool: - type: string - system: - type: string - volumeName: - type: string - required: - - gateway - - secretRef - - system - type: object - secret: - properties: - defaultMode: - format: int32 - type: integer - items: - items: - properties: - key: - type: string - mode: - format: int32 - type: integer - path: - type: string - required: - - key - - path - type: object - type: array - optional: - type: boolean - secretName: - type: string - type: object - storageos: - properties: - fsType: - type: string - readOnly: - type: boolean - secretRef: - properties: - name: - type: string - type: object - x-kubernetes-map-type: atomic - volumeName: - type: string - volumeNamespace: - type: string - type: object - vsphereVolume: - properties: - fsType: - type: string - storagePolicyID: - type: string - storagePolicyName: - type: string - volumePath: - type: string - required: - - volumePath - type: object - required: - - name - type: object - type: array - type: object - type: object - replicas: - format: int32 - type: integer - serviceTemplates: - items: - properties: - alias: - enum: - - primary - - standby - - stats - type: string - metadata: - properties: - annotations: - additionalProperties: - type: string - type: object - labels: - additionalProperties: - type: string - type: object - type: object - spec: - properties: - clusterIP: - type: string - externalIPs: - items: - type: string - type: array - externalTrafficPolicy: - type: string - healthCheckNodePort: - format: int32 - type: integer - loadBalancerIP: - type: string - loadBalancerSourceRanges: - items: - type: string - type: array - ports: - items: - properties: - name: - type: string - nodePort: - format: int32 - type: integer - port: - format: int32 - type: integer - required: - - port - type: object - type: array - sessionAffinityConfig: - properties: - clientIP: - properties: - timeoutSeconds: - format: int32 - type: integer - type: object - type: object - type: - type: string - type: object - required: - - alias - type: object - type: array - storage: - properties: - accessModes: - items: - type: string - type: array - dataSource: - properties: - apiGroup: - type: string - kind: - type: string - name: - type: string - required: - - kind - - name - type: object - x-kubernetes-map-type: atomic - dataSourceRef: - properties: - apiGroup: - type: string - kind: - type: string - name: - type: string - namespace: - type: string - required: - - kind - - name - type: object - resources: - properties: - limits: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - requests: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - type: object - selector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - storageClassName: - type: string - volumeAttributesClassName: - type: string - volumeMode: - type: string - volumeName: - type: string - type: object - storageType: - enum: - - Durable - - Ephemeral - type: string - terminationPolicy: - enum: - - Halt - - Delete - - WipeOut - - DoNotTerminate - type: string - tls: - properties: - certificates: - items: - properties: - alias: - type: string - dnsNames: - items: - type: string - type: array - duration: - type: string - emailAddresses: - items: - type: string - type: array - ipAddresses: - items: - type: string - type: array - issuerRef: - properties: - apiGroup: - type: string - kind: - type: string - name: - type: string - required: - - kind - - name - type: object - x-kubernetes-map-type: atomic - privateKey: - properties: - encoding: - enum: - - PKCS1 - - PKCS8 - type: string - type: object - renewBefore: - type: string - secretName: - type: string - subject: - properties: - countries: - items: - type: string - type: array - localities: - items: - type: string - type: array - organizationalUnits: - items: - type: string - type: array - organizations: - items: - type: string - type: array - postalCodes: - items: - type: string - type: array - provinces: - items: - type: string - type: array - serialNumber: - type: string - streetAddresses: - items: - type: string - type: array - type: object - uris: - items: - type: string - type: array - required: - - alias - type: object - type: array - issuerRef: - properties: - apiGroup: - type: string - kind: - type: string - name: - type: string - required: - - kind - - name - type: object - x-kubernetes-map-type: atomic - type: object - topology: - properties: - aggregator: - properties: - podPlacementPolicy: - default: - name: default - properties: - name: - type: string - type: object - x-kubernetes-map-type: atomic - podTemplate: - properties: - controller: - properties: - annotations: - additionalProperties: - type: string - type: object - labels: - additionalProperties: - type: string - type: object - type: object - metadata: - properties: - annotations: - additionalProperties: - type: string - type: object - labels: - additionalProperties: - type: string - type: object - type: object - spec: - properties: - activeDeadlineSeconds: - format: int64 - type: integer - affinity: - properties: - nodeAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - preference: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchFields: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - type: object - x-kubernetes-map-type: atomic - weight: - format: int32 - type: integer - required: - - preference - - weight - type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - properties: - nodeSelectorTerms: - items: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchFields: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - type: object - x-kubernetes-map-type: atomic - type: array - required: - - nodeSelectorTerms - type: object - x-kubernetes-map-type: atomic - type: object - podAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - podAffinityTerm: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - weight: - format: int32 - type: integer - required: - - podAffinityTerm - - weight - type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - type: array - type: object - podAntiAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - podAffinityTerm: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - weight: - format: int32 - type: integer - required: - - podAffinityTerm - - weight - type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - type: array - type: object - type: object - automountServiceAccountToken: - type: boolean - containers: - items: - properties: - args: - items: - type: string - type: array - command: - items: - type: string - type: array - env: - items: - properties: - name: - type: string - value: - type: string - valueFrom: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - fieldRef: - properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath - type: object - x-kubernetes-map-type: atomic - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - x-kubernetes-map-type: atomic - secretKeyRef: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - required: - - name - type: object - type: array - envFrom: - items: - properties: - configMapRef: - properties: - name: - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - prefix: - type: string - secretRef: - properties: - name: - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - type: object - type: array - image: - type: string - imagePullPolicy: - type: string - lifecycle: - properties: - postStart: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - preStop: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - type: object - livenessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - name: - type: string - ports: - items: - properties: - containerPort: - format: int32 - type: integer - hostIP: - type: string - hostPort: - format: int32 - type: integer - name: - type: string - protocol: - default: TCP - type: string - required: - - containerPort - type: object - type: array - x-kubernetes-list-map-keys: - - containerPort - - protocol - x-kubernetes-list-type: map - readinessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - resizePolicy: - items: - properties: - resourceName: - type: string - restartPolicy: - type: string - required: - - resourceName - - restartPolicy - type: object - type: array - x-kubernetes-list-type: atomic - resources: - properties: - claims: - items: - properties: - name: - type: string - required: - - name - type: object - type: array - x-kubernetes-list-map-keys: - - name - x-kubernetes-list-type: map - limits: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - requests: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - type: object - restartPolicy: - type: string - securityContext: - properties: - allowPrivilegeEscalation: - type: boolean - capabilities: - properties: - add: - items: - type: string - type: array - drop: - items: - type: string - type: array - type: object - privileged: - type: boolean - procMount: - type: string - readOnlyRootFilesystem: - type: boolean - runAsGroup: - format: int64 - type: integer - runAsNonRoot: - type: boolean - runAsUser: - format: int64 - type: integer - seLinuxOptions: - properties: - level: - type: string - role: - type: string - type: - type: string - user: - type: string - type: object - seccompProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - windowsOptions: - properties: - gmsaCredentialSpec: - type: string - gmsaCredentialSpecName: - type: string - hostProcess: - type: boolean - runAsUserName: - type: string - type: object - type: object - startupProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - stdin: - type: boolean - stdinOnce: - type: boolean - terminationMessagePath: - type: string - terminationMessagePolicy: - type: string - tty: - type: boolean - volumeDevices: - items: - properties: - devicePath: - type: string - name: - type: string - required: - - devicePath - - name - type: object - type: array - volumeMounts: - items: - properties: - mountPath: - type: string - mountPropagation: - type: string - name: - type: string - readOnly: - type: boolean - subPath: - type: string - subPathExpr: - type: string - required: - - mountPath - - name - type: object - type: array - workingDir: - type: string - required: - - name - type: object - type: array - dnsConfig: - properties: - nameservers: - items: - type: string - type: array - options: - items: - properties: - name: - type: string - value: - type: string - type: object - type: array - searches: - items: - type: string - type: array + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + storageClassName: + type: string + volumeAttributesClassName: + type: string + volumeMode: + type: string + volumeName: + type: string + type: object + storageType: + enum: + - Durable + - Ephemeral + type: string + terminationPolicy: + enum: + - Halt + - Delete + - WipeOut + - DoNotTerminate + type: string + tls: + properties: + certificates: + items: + properties: + alias: + type: string + dnsNames: + items: + type: string + type: array + duration: + type: string + emailAddresses: + items: + type: string + type: array + ipAddresses: + items: + type: string + type: array + issuerRef: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + required: + - kind + - name + type: object + x-kubernetes-map-type: atomic + privateKey: + properties: + encoding: + enum: + - PKCS1 + - PKCS8 + type: string + type: object + renewBefore: + type: string + secretName: + type: string + subject: + properties: + countries: + items: + type: string + type: array + localities: + items: + type: string + type: array + organizationalUnits: + items: + type: string + type: array + organizations: + items: + type: string + type: array + postalCodes: + items: + type: string + type: array + provinces: + items: + type: string + type: array + serialNumber: + type: string + streetAddresses: + items: + type: string + type: array + type: object + uris: + items: + type: string + type: array + required: + - alias + type: object + type: array + issuerRef: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + required: + - kind + - name + type: object + x-kubernetes-map-type: atomic + type: object + topology: + properties: + aggregator: + properties: + podPlacementPolicy: + default: + name: default + properties: + name: + type: string + type: object + x-kubernetes-map-type: atomic + podTemplate: + properties: + controller: + properties: + annotations: + additionalProperties: + type: string type: object - dnsPolicy: - type: string - enableServiceLinks: + labels: + additionalProperties: + type: string + type: object + type: object + metadata: + properties: + annotations: + additionalProperties: + type: string + type: object + labels: + additionalProperties: + type: string + type: object + type: object + spec: + properties: + activeDeadlineSeconds: + format: int64 + type: integer + automountServiceAccountToken: type: boolean - ephemeralContainers: + containers: items: properties: args: @@ -6570,8 +5044,6 @@ spec: type: boolean stdinOnce: type: boolean - targetContainerName: - type: string terminationMessagePath: type: string terminationMessagePolicy: @@ -6616,34 +5088,31 @@ spec: - name type: object type: array - hostAliases: - items: - properties: - hostnames: - items: - type: string - type: array - ip: + dnsConfig: + properties: + nameservers: + items: type: string - type: object - type: array - hostIPC: - type: boolean - hostNetwork: - type: boolean - hostPID: - type: boolean - hostUsers: - type: boolean - imagePullSecrets: - items: - properties: - name: + type: array + options: + items: + properties: + name: + type: string + value: + type: string + type: object + type: array + searches: + items: type: string - type: object - x-kubernetes-map-type: atomic - type: array - initContainers: + type: array + type: object + dnsPolicy: + type: string + enableServiceLinks: + type: boolean + ephemeralContainers: items: properties: args: @@ -7235,6 +5704,8 @@ spec: type: boolean stdinOnce: type: boolean + targetContainerName: + type: string terminationMessagePath: type: string terminationMessagePolicy: @@ -7268,348 +5739,76 @@ spec: type: string subPathExpr: type: string - required: - - mountPath - - name - type: object - type: array - workingDir: - type: string - required: - - name - type: object - type: array - nodeName: - type: string - nodeSelector: - additionalProperties: - type: string - type: object - x-kubernetes-map-type: atomic - os: - properties: - name: - type: string - required: - - name - type: object - overhead: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - preemptionPolicy: - type: string - priority: - format: int32 - type: integer - priorityClassName: - type: string - readinessGates: - items: - properties: - conditionType: - type: string - required: - - conditionType - type: object - type: array - restartPolicy: - type: string - runtimeClassName: - type: string - schedulerName: - type: string - securityContext: - properties: - fsGroup: - format: int64 - type: integer - fsGroupChangePolicy: - type: string - runAsGroup: - format: int64 - type: integer - runAsNonRoot: - type: boolean - runAsUser: - format: int64 - type: integer - seLinuxOptions: - properties: - level: - type: string - role: - type: string - type: - type: string - user: - type: string - type: object - seccompProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - supplementalGroups: - items: - format: int64 - type: integer - type: array - sysctls: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - windowsOptions: - properties: - gmsaCredentialSpec: - type: string - gmsaCredentialSpecName: - type: string - hostProcess: - type: boolean - runAsUserName: - type: string - type: object - type: object - serviceAccountName: - type: string - setHostnameAsFQDN: - type: boolean - shareProcessNamespace: - type: boolean - terminationGracePeriodSeconds: - format: int64 - type: integer - tolerations: - items: - properties: - effect: - type: string - key: - type: string - operator: - type: string - tolerationSeconds: - format: int64 - type: integer - value: + required: + - mountPath + - name + type: object + type: array + workingDir: type: string + required: + - name type: object type: array - topologySpreadConstraints: + hostAliases: items: properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: + hostnames: items: type: string type: array - x-kubernetes-list-type: atomic - maxSkew: - format: int32 - type: integer - minDomains: - format: int32 - type: integer - nodeAffinityPolicy: - type: string - nodeTaintsPolicy: - type: string - topologyKey: + ip: type: string - whenUnsatisfiable: + type: object + type: array + hostIPC: + type: boolean + hostNetwork: + type: boolean + hostPID: + type: boolean + hostUsers: + type: boolean + imagePullSecrets: + items: + properties: + name: type: string - required: - - maxSkew - - topologyKey - - whenUnsatisfiable type: object + x-kubernetes-map-type: atomic type: array - x-kubernetes-list-map-keys: - - topologyKey - - whenUnsatisfiable - x-kubernetes-list-type: map - volumes: + initContainers: items: properties: - awsElasticBlockStore: - properties: - fsType: - type: string - partition: - format: int32 - type: integer - readOnly: - type: boolean - volumeID: - type: string - required: - - volumeID - type: object - azureDisk: - properties: - cachingMode: - type: string - diskName: - type: string - diskURI: - type: string - fsType: - type: string - kind: - type: string - readOnly: - type: boolean - required: - - diskName - - diskURI - type: object - azureFile: - properties: - readOnly: - type: boolean - secretName: - type: string - shareName: - type: string - required: - - secretName - - shareName - type: object - cephfs: - properties: - monitors: - items: + args: + items: + type: string + type: array + command: + items: + type: string + type: array + env: + items: + properties: + name: type: string - type: array - path: - type: string - readOnly: - type: boolean - secretFile: - type: string - secretRef: - properties: - name: - type: string - type: object - x-kubernetes-map-type: atomic - user: - type: string - required: - - monitors - type: object - cinder: - properties: - fsType: - type: string - readOnly: - type: boolean - secretRef: - properties: - name: - type: string - type: object - x-kubernetes-map-type: atomic - volumeID: - type: string - required: - - volumeID - type: object - configMap: - properties: - defaultMode: - format: int32 - type: integer - items: - items: - properties: - key: - type: string - mode: - format: int32 - type: integer - path: - type: string - required: - - key - - path - type: object - type: array - name: - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - csi: - properties: - driver: - type: string - fsType: - type: string - nodePublishSecretRef: - properties: - name: - type: string - type: object - x-kubernetes-map-type: atomic - readOnly: - type: boolean - volumeAttributes: - additionalProperties: + value: type: string - type: object - required: - - driver - type: object - downwardAPI: - properties: - defaultMode: - format: int32 - type: integer - items: - items: + valueFrom: properties: + configMapKeyRef: + properties: + key: + type: string + name: + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic fieldRef: properties: apiVersion: @@ -7620,11 +5819,6 @@ spec: - fieldPath type: object x-kubernetes-map-type: atomic - mode: - format: int32 - type: integer - path: - type: string resourceFieldRef: properties: containerName: @@ -7641,308 +5835,727 @@ spec: - resource type: object x-kubernetes-map-type: atomic - required: - - path + secretKeyRef: + properties: + key: + type: string + name: + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + required: + - name + type: object + type: array + envFrom: + items: + properties: + configMapRef: + properties: + name: + type: string + optional: + type: boolean type: object - type: array - type: object - emptyDir: - properties: - medium: - type: string - sizeLimit: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - ephemeral: + x-kubernetes-map-type: atomic + prefix: + type: string + secretRef: + properties: + name: + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + type: object + type: array + image: + type: string + imagePullPolicy: + type: string + lifecycle: properties: - volumeClaimTemplate: + postStart: properties: - metadata: + exec: properties: - annotations: - additionalProperties: - type: string - type: object - generateName: - type: string - labels: - additionalProperties: + command: + items: type: string - type: object - name: - type: string - namespace: + type: array + type: object + httpGet: + properties: + host: type: string - ownerReferences: + httpHeaders: items: properties: - apiVersion: - type: string - blockOwnerDeletion: - type: boolean - controller: - type: boolean - kind: - type: string name: type: string - uid: + value: type: string required: - - apiVersion - - kind - name - - uid + - value type: object - x-kubernetes-map-type: atomic type: array + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port type: object - spec: + sleep: properties: - accessModes: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + type: object + preStop: + properties: + exec: + properties: + command: items: type: string type: array - dataSource: - properties: - apiGroup: - type: string - kind: - type: string - name: - type: string - required: - - kind - - name - type: object - x-kubernetes-map-type: atomic - dataSourceRef: - properties: - apiGroup: - type: string - kind: - type: string - name: - type: string - namespace: - type: string - required: - - kind - - name - type: object - resources: - properties: - limits: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - requests: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - type: object - selector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - storageClassName: + type: object + httpGet: + properties: + host: type: string - volumeAttributesClassName: + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + path: type: string - volumeMode: + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: type: string - volumeName: + required: + - port + type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port type: object + type: object + type: object + livenessProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string required: - - spec + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer type: object - fc: + name: + type: string + ports: + items: + properties: + containerPort: + format: int32 + type: integer + hostIP: + type: string + hostPort: + format: int32 + type: integer + name: + type: string + protocol: + default: TCP + type: string + required: + - containerPort + type: object + type: array + x-kubernetes-list-map-keys: + - containerPort + - protocol + x-kubernetes-list-type: map + readinessProbe: properties: - fsType: - type: string - lun: + exec: + properties: + command: + items: + type: string + type: array + type: object + failureThreshold: format: int32 type: integer - readOnly: - type: boolean - targetWWNs: - items: + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + resizePolicy: + items: + properties: + resourceName: type: string - type: array - wwids: - items: + restartPolicy: type: string + required: + - resourceName + - restartPolicy + type: object + type: array + x-kubernetes-list-type: atomic + resources: + properties: + claims: + items: + properties: + name: + type: string + required: + - name + type: object type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object type: object - flexVolume: + restartPolicy: + type: string + securityContext: properties: - driver: - type: string - fsType: + allowPrivilegeEscalation: + type: boolean + capabilities: + properties: + add: + items: + type: string + type: array + drop: + items: + type: string + type: array + type: object + privileged: + type: boolean + procMount: type: string - options: - additionalProperties: - type: string + readOnlyRootFilesystem: + type: boolean + runAsGroup: + format: int64 + type: integer + runAsNonRoot: + type: boolean + runAsUser: + format: int64 + type: integer + seLinuxOptions: + properties: + level: + type: string + role: + type: string + type: + type: string + user: + type: string + type: object + seccompProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type type: object - readOnly: - type: boolean - secretRef: + windowsOptions: properties: - name: + gmsaCredentialSpec: + type: string + gmsaCredentialSpecName: + type: string + hostProcess: + type: boolean + runAsUserName: type: string type: object - x-kubernetes-map-type: atomic - required: - - driver - type: object - flocker: - properties: - datasetName: - type: string - datasetUUID: - type: string type: object - gcePersistentDisk: + startupProbe: properties: - fsType: - type: string - partition: + exec: + properties: + command: + items: + type: string + type: array + type: object + failureThreshold: format: int32 type: integer - pdName: - type: string - readOnly: - type: boolean - required: - - pdName - type: object - glusterfs: - properties: - endpoints: - type: string - path: - type: string - readOnly: - type: boolean - required: - - endpoints - - path - type: object - hostPath: - properties: - path: - type: string - type: - type: string - required: - - path - type: object - iscsi: - properties: - chapAuthDiscovery: - type: boolean - chapAuthSession: - type: boolean - fsType: - type: string - initiatorName: - type: string - iqn: - type: string - iscsiInterface: - type: string - lun: + grpc: + properties: + port: + format: int32 + type: integer + service: + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: format: int32 type: integer - portals: - items: - type: string - type: array - readOnly: - type: boolean - secretRef: + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: properties: - name: + host: type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port type: object - x-kubernetes-map-type: atomic - targetPortal: - type: string - required: - - iqn - - lun - - targetPortal + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer type: object - name: + stdin: + type: boolean + stdinOnce: + type: boolean + terminationMessagePath: type: string - nfs: - properties: - path: - type: string - readOnly: - type: boolean - server: - type: string - required: - - path - - server - type: object - persistentVolumeClaim: - properties: - claimName: - type: string - readOnly: - type: boolean - required: - - claimName - type: object - photonPersistentDisk: + terminationMessagePolicy: + type: string + tty: + type: boolean + volumeDevices: + items: + properties: + devicePath: + type: string + name: + type: string + required: + - devicePath + - name + type: object + type: array + volumeMounts: + items: + properties: + mountPath: + type: string + mountPropagation: + type: string + name: + type: string + readOnly: + type: boolean + subPath: + type: string + subPathExpr: + type: string + required: + - mountPath + - name + type: object + type: array + workingDir: + type: string + required: + - name + type: object + type: array + nodeName: + type: string + nodeSelector: + additionalProperties: + type: string + type: object + x-kubernetes-map-type: atomic + os: + properties: + name: + type: string + required: + - name + type: object + overhead: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + preemptionPolicy: + type: string + priority: + format: int32 + type: integer + priorityClassName: + type: string + readinessGates: + items: + properties: + conditionType: + type: string + required: + - conditionType + type: object + type: array + restartPolicy: + type: string + runtimeClassName: + type: string + schedulerName: + type: string + securityContext: + properties: + fsGroup: + format: int64 + type: integer + fsGroupChangePolicy: + type: string + runAsGroup: + format: int64 + type: integer + runAsNonRoot: + type: boolean + runAsUser: + format: int64 + type: integer + seLinuxOptions: + properties: + level: + type: string + role: + type: string + type: + type: string + user: + type: string + type: object + seccompProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + supplementalGroups: + items: + format: int64 + type: integer + type: array + sysctls: + items: properties: - fsType: + name: type: string - pdID: + value: type: string required: - - pdID + - name + - value type: object - portworxVolume: + type: array + windowsOptions: + properties: + gmsaCredentialSpec: + type: string + gmsaCredentialSpecName: + type: string + hostProcess: + type: boolean + runAsUserName: + type: string + type: object + type: object + serviceAccountName: + type: string + setHostnameAsFQDN: + type: boolean + shareProcessNamespace: + type: boolean + terminationGracePeriodSeconds: + format: int64 + type: integer + tolerations: + items: + properties: + effect: + type: string + key: + type: string + operator: + type: string + tolerationSeconds: + format: int64 + type: integer + value: + type: string + type: object + type: array + volumes: + items: + properties: + awsElasticBlockStore: properties: fsType: type: string + partition: + format: int32 + type: integer readOnly: type: boolean volumeID: @@ -7950,187 +6563,48 @@ spec: required: - volumeID type: object - projected: - properties: - defaultMode: - format: int32 - type: integer - sources: - items: - properties: - clusterTrustBundle: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - name: - type: string - optional: - type: boolean - path: - type: string - signerName: - type: string - required: - - path - type: object - configMap: - properties: - items: - items: - properties: - key: - type: string - mode: - format: int32 - type: integer - path: - type: string - required: - - key - - path - type: object - type: array - name: - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - downwardAPI: - properties: - items: - items: - properties: - fieldRef: - properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath - type: object - x-kubernetes-map-type: atomic - mode: - format: int32 - type: integer - path: - type: string - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - x-kubernetes-map-type: atomic - required: - - path - type: object - type: array - type: object - secret: - properties: - items: - items: - properties: - key: - type: string - mode: - format: int32 - type: integer - path: - type: string - required: - - key - - path - type: object - type: array - name: - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - serviceAccountToken: - properties: - audience: - type: string - expirationSeconds: - format: int64 - type: integer - path: - type: string - required: - - path - type: object - type: object - type: array - type: object - quobyte: + azureDisk: properties: - group: + cachingMode: type: string - readOnly: - type: boolean - registry: + diskName: type: string - tenant: + diskURI: type: string - user: + fsType: type: string - volume: + kind: type: string + readOnly: + type: boolean required: - - registry - - volume + - diskName + - diskURI type: object - rbd: + azureFile: properties: - fsType: - type: string - image: + readOnly: + type: boolean + secretName: type: string - keyring: + shareName: type: string + required: + - secretName + - shareName + type: object + cephfs: + properties: monitors: items: type: string type: array - pool: + path: type: string readOnly: type: boolean + secretFile: + type: string secretRef: properties: name: @@ -8140,66 +6614,9 @@ spec: user: type: string required: - - image - monitors type: object - scaleIO: - properties: - fsType: - type: string - gateway: - type: string - protectionDomain: - type: string - readOnly: - type: boolean - secretRef: - properties: - name: - type: string - type: object - x-kubernetes-map-type: atomic - sslEnabled: - type: boolean - storageMode: - type: string - storagePool: - type: string - system: - type: string - volumeName: - type: string - required: - - gateway - - secretRef - - system - type: object - secret: - properties: - defaultMode: - format: int32 - type: integer - items: - items: - properties: - key: - type: string - mode: - format: int32 - type: integer - path: - type: string - required: - - key - - path - type: object - type: array - optional: - type: boolean - secretName: - type: string - type: object - storageos: + cinder: properties: fsType: type: string @@ -8209,300 +6626,212 @@ spec: properties: name: type: string - type: object - x-kubernetes-map-type: atomic - volumeName: - type: string - volumeNamespace: - type: string - type: object - vsphereVolume: - properties: - fsType: - type: string - storagePolicyID: - type: string - storagePolicyName: - type: string - volumePath: - type: string - required: - - volumePath - type: object - required: - - name - type: object - type: array - type: object - type: object - replicas: - format: int32 - type: integer - storage: - properties: - accessModes: - items: - type: string - type: array - dataSource: - properties: - apiGroup: - type: string - kind: - type: string - name: - type: string - required: - - kind - - name - type: object - x-kubernetes-map-type: atomic - dataSourceRef: - properties: - apiGroup: - type: string - kind: - type: string - name: - type: string - namespace: - type: string - required: - - kind - - name - type: object - resources: - properties: - limits: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - requests: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - type: object - selector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - storageClassName: - type: string - volumeAttributesClassName: - type: string - volumeMode: - type: string - volumeName: - type: string - type: object - suffix: - type: string - type: object - leaf: - properties: - podPlacementPolicy: - default: - name: default - properties: - name: - type: string - type: object - x-kubernetes-map-type: atomic - podTemplate: - properties: - controller: - properties: - annotations: - additionalProperties: - type: string - type: object - labels: - additionalProperties: - type: string - type: object - type: object - metadata: - properties: - annotations: - additionalProperties: - type: string - type: object - labels: - additionalProperties: - type: string - type: object - type: object - spec: - properties: - activeDeadlineSeconds: - format: int64 - type: integer - affinity: - properties: - nodeAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: + type: object + x-kubernetes-map-type: atomic + volumeID: + type: string + required: + - volumeID + type: object + configMap: + properties: + defaultMode: + format: int32 + type: integer + items: + items: + properties: + key: + type: string + mode: + format: int32 + type: integer + path: + type: string + required: + - key + - path + type: object + type: array + name: + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + csi: + properties: + driver: + type: string + fsType: + type: string + nodePublishSecretRef: + properties: + name: + type: string + type: object + x-kubernetes-map-type: atomic + readOnly: + type: boolean + volumeAttributes: + additionalProperties: + type: string + type: object + required: + - driver + type: object + downwardAPI: + properties: + defaultMode: + format: int32 + type: integer items: + items: + properties: + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + mode: + format: int32 + type: integer + path: + type: string + resourceFieldRef: + properties: + containerName: + type: string + divisor: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + required: + - path + type: object + type: array + type: object + emptyDir: + properties: + medium: + type: string + sizeLimit: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + ephemeral: + properties: + volumeClaimTemplate: properties: - preference: + metadata: properties: - matchExpressions: + annotations: + additionalProperties: + type: string + type: object + generateName: + type: string + labels: + additionalProperties: + type: string + type: object + name: + type: string + namespace: + type: string + ownerReferences: items: properties: - key: + apiVersion: type: string - operator: + blockOwnerDeletion: + type: boolean + controller: + type: boolean + kind: type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchFields: - items: - properties: - key: + name: type: string - operator: + uid: type: string - values: - items: - type: string - type: array required: - - key - - operator + - apiVersion + - kind + - name + - uid type: object + x-kubernetes-map-type: atomic type: array type: object - x-kubernetes-map-type: atomic - weight: - format: int32 - type: integer - required: - - preference - - weight - type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - properties: - nodeSelectorTerms: - items: + spec: properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchFields: + accessModes: items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object + type: string type: array - type: object - x-kubernetes-map-type: atomic - type: array - required: - - nodeSelectorTerms - type: object - x-kubernetes-map-type: atomic - type: object - podAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - podAffinityTerm: - properties: - labelSelector: + dataSource: properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: + apiGroup: + type: string + kind: + type: string + name: + type: string + required: + - kind + - name + type: object + x-kubernetes-map-type: atomic + dataSourceRef: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + namespace: + type: string + required: + - kind + - name + type: object + resources: + properties: + limits: additionalProperties: - type: string + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true type: object type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: + selector: properties: matchExpressions: items: @@ -8526,250 +6855,594 @@ spec: type: object type: object x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: + storageClassName: + type: string + volumeAttributesClassName: + type: string + volumeMode: + type: string + volumeName: type: string - required: - - topologyKey type: object - weight: - format: int32 - type: integer required: - - podAffinityTerm - - weight + - spec type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - items: + type: object + fc: + properties: + fsType: + type: string + lun: + format: int32 + type: integer + readOnly: + type: boolean + targetWWNs: + items: + type: string + type: array + wwids: + items: + type: string + type: array + type: object + flexVolume: + properties: + driver: + type: string + fsType: + type: string + options: + additionalProperties: + type: string + type: object + readOnly: + type: boolean + secretRef: properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: + name: type: string - required: - - topologyKey type: object - type: array - type: object - podAntiAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: + x-kubernetes-map-type: atomic + required: + - driver + type: object + flocker: + properties: + datasetName: + type: string + datasetUUID: + type: string + type: object + gcePersistentDisk: + properties: + fsType: + type: string + partition: + format: int32 + type: integer + pdName: + type: string + readOnly: + type: boolean + required: + - pdName + type: object + glusterfs: + properties: + endpoints: + type: string + path: + type: string + readOnly: + type: boolean + required: + - endpoints + - path + type: object + hostPath: + properties: + path: + type: string + type: + type: string + required: + - path + type: object + iscsi: + properties: + chapAuthDiscovery: + type: boolean + chapAuthSession: + type: boolean + fsType: + type: string + initiatorName: + type: string + iqn: + type: string + iscsiInterface: + type: string + lun: + format: int32 + type: integer + portals: + items: + type: string + type: array + readOnly: + type: boolean + secretRef: properties: - podAffinityTerm: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: + name: + type: string + type: object + x-kubernetes-map-type: atomic + targetPortal: + type: string + required: + - iqn + - lun + - targetPortal + type: object + name: + type: string + nfs: + properties: + path: + type: string + readOnly: + type: boolean + server: + type: string + required: + - path + - server + type: object + persistentVolumeClaim: + properties: + claimName: + type: string + readOnly: + type: boolean + required: + - claimName + type: object + photonPersistentDisk: + properties: + fsType: + type: string + pdID: + type: string + required: + - pdID + type: object + portworxVolume: + properties: + fsType: + type: string + readOnly: + type: boolean + volumeID: + type: string + required: + - volumeID + type: object + projected: + properties: + defaultMode: + format: int32 + type: integer + sources: + items: + properties: + clusterTrustBundle: + properties: + labelSelector: + properties: + matchExpressions: + items: + properties: + key: type: string - type: array - required: - - key - - operator + operator: + type: string + values: + items: + type: string + type: array + required: + - key + - operator + type: object + type: array + matchLabels: + additionalProperties: + type: string type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: + type: object + x-kubernetes-map-type: atomic + name: type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: + optional: + type: boolean + path: + type: string + signerName: + type: string + required: + - path + type: object + configMap: + properties: items: + items: + properties: + key: + type: string + mode: + format: int32 + type: integer + path: + type: string + required: + - key + - path + type: object + type: array + name: type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + downwardAPI: + properties: + items: + items: + properties: + fieldRef: + properties: + apiVersion: type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + mode: + format: int32 + type: integer + path: + type: string + resourceFieldRef: + properties: + containerName: + type: string + divisor: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + required: + - path type: object - type: object - x-kubernetes-map-type: atomic - namespaces: + type: array + type: object + secret: + properties: items: + items: + properties: + key: + type: string + mode: + format: int32 + type: integer + path: + type: string + required: + - key + - path + type: object + type: array + name: type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - weight: - format: int32 - type: integer - required: - - podAffinityTerm - - weight + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + serviceAccountToken: + properties: + audience: + type: string + expirationSeconds: + format: int64 + type: integer + path: + type: string + required: + - path + type: object + type: object + type: array + type: object + quobyte: + properties: + group: + type: string + readOnly: + type: boolean + registry: + type: string + tenant: + type: string + user: + type: string + volume: + type: string + required: + - registry + - volume + type: object + rbd: + properties: + fsType: + type: string + image: + type: string + keyring: + type: string + monitors: + items: + type: string + type: array + pool: + type: string + readOnly: + type: boolean + secretRef: + properties: + name: + type: string type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - items: + x-kubernetes-map-type: atomic + user: + type: string + required: + - image + - monitors + type: object + scaleIO: + properties: + fsType: + type: string + gateway: + type: string + protectionDomain: + type: string + readOnly: + type: boolean + secretRef: properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: + name: + type: string + type: object + x-kubernetes-map-type: atomic + sslEnabled: + type: boolean + storageMode: + type: string + storagePool: + type: string + system: + type: string + volumeName: + type: string + required: + - gateway + - secretRef + - system + type: object + secret: + properties: + defaultMode: + format: int32 + type: integer + items: + items: + properties: + key: type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: + mode: + format: int32 + type: integer + path: type: string - type: array - topologyKey: + required: + - key + - path + type: object + type: array + optional: + type: boolean + secretName: + type: string + type: object + storageos: + properties: + fsType: + type: string + readOnly: + type: boolean + secretRef: + properties: + name: type: string - required: - - topologyKey type: object - type: array - type: object + x-kubernetes-map-type: atomic + volumeName: + type: string + volumeNamespace: + type: string + type: object + vsphereVolume: + properties: + fsType: + type: string + storagePolicyID: + type: string + storagePolicyName: + type: string + volumePath: + type: string + required: + - volumePath + type: object + required: + - name + type: object + type: array + type: object + type: object + replicas: + format: int32 + type: integer + storage: + properties: + accessModes: + items: + type: string + type: array + dataSource: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + required: + - kind + - name + type: object + x-kubernetes-map-type: atomic + dataSourceRef: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + namespace: + type: string + required: + - kind + - name + type: object + resources: + properties: + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + selector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + required: + - key + - operator + type: object + type: array + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + storageClassName: + type: string + volumeAttributesClassName: + type: string + volumeMode: + type: string + volumeName: + type: string + type: object + suffix: + type: string + type: object + leaf: + properties: + podPlacementPolicy: + default: + name: default + properties: + name: + type: string + type: object + x-kubernetes-map-type: atomic + podTemplate: + properties: + controller: + properties: + annotations: + additionalProperties: + type: string + type: object + labels: + additionalProperties: + type: string + type: object + type: object + metadata: + properties: + annotations: + additionalProperties: + type: string + type: object + labels: + additionalProperties: + type: string type: object + type: object + spec: + properties: + activeDeadlineSeconds: + format: int64 + type: integer automountServiceAccountToken: type: boolean containers: @@ -10866,62 +9539,6 @@ spec: type: string type: object type: array - topologySpreadConstraints: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - maxSkew: - format: int32 - type: integer - minDomains: - format: int32 - type: integer - nodeAffinityPolicy: - type: string - nodeTaintsPolicy: - type: string - topologyKey: - type: string - whenUnsatisfiable: - type: string - required: - - maxSkew - - topologyKey - - whenUnsatisfiable - type: object - type: array - x-kubernetes-list-map-keys: - - topologyKey - - whenUnsatisfiable - x-kubernetes-list-type: map volumes: items: properties: @@ -11835,6 +10452,9 @@ spec: ports: items: properties: + backendServicePort: + format: int32 + type: integer name: type: string nodePort: @@ -11863,6 +10483,22 @@ spec: type: string type: object x-kubernetes-map-type: atomic + port: + properties: + backendServicePort: + format: int32 + type: integer + name: + type: string + nodePort: + format: int32 + type: integer + port: + format: int32 + type: integer + required: + - port + type: object url: type: string required: diff --git a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_solrs.yaml b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_solrs.yaml index 6925b2753f..6c6f5f9dfd 100644 --- a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_solrs.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_solrs.yaml @@ -309,683 +309,278 @@ spec: activeDeadlineSeconds: format: int64 type: integer - affinity: - properties: - nodeAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: + automountServiceAccountToken: + type: boolean + containers: + items: + properties: + args: + items: + type: string + type: array + command: + items: + type: string + type: array + env: + items: + properties: + name: + type: string + value: + type: string + valueFrom: + properties: + configMapKeyRef: + properties: + key: + type: string + name: + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + resourceFieldRef: + properties: + containerName: + type: string + divisor: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + secretKeyRef: + properties: + key: + type: string + name: + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + required: + - name + type: object + type: array + envFrom: + items: + properties: + configMapRef: + properties: + name: + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + prefix: + type: string + secretRef: + properties: + name: + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + type: object + type: array + image: + type: string + imagePullPolicy: + type: string + lifecycle: + properties: + postStart: properties: - preference: + exec: properties: - matchExpressions: + command: items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object + type: string type: array - matchFields: + type: object + httpGet: + properties: + host: + type: string + httpHeaders: items: properties: - key: + name: type: string - operator: + value: type: string - values: - items: - type: string - type: array required: - - key - - operator + - name + - value type: object type: array + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port type: object - x-kubernetes-map-type: atomic - weight: - format: int32 - type: integer - required: - - preference - - weight type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - properties: - nodeSelectorTerms: - items: + preStop: + properties: + exec: properties: - matchExpressions: + command: items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object + type: string type: array - matchFields: + type: object + httpGet: + properties: + host: + type: string + httpHeaders: items: properties: - key: + name: type: string - operator: + value: type: string - values: - items: - type: string - type: array required: - - key - - operator + - name + - value type: object type: array + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port type: object - x-kubernetes-map-type: atomic - type: array - required: - - nodeSelectorTerms - type: object - x-kubernetes-map-type: atomic - type: object - podAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - podAffinityTerm: + sleep: properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true required: - - topologyKey + - port type: object - weight: - format: int32 - type: integer - required: - - podAffinityTerm - - weight type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - items: + type: object + livenessProbe: + properties: + exec: properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: + command: items: type: string type: array - topologyKey: - type: string - required: - - topologyKey type: object - type: array - type: object - podAntiAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: + failureThreshold: + format: int32 + type: integer + grpc: properties: - podAffinityTerm: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - weight: + port: format: int32 type: integer + service: + type: string required: - - podAffinityTerm - - weight + - port type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - items: + httpGet: properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: + host: + type: string + httpHeaders: items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: + properties: + name: type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string + value: + type: string + required: + - name + - value + type: object type: array - topologyKey: + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: type: string required: - - topologyKey - type: object - type: array - type: object - type: object - automountServiceAccountToken: - type: boolean - containers: - items: - properties: - args: - items: - type: string - type: array - command: - items: - type: string - type: array - env: - items: - properties: - name: - type: string - value: - type: string - valueFrom: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - fieldRef: - properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath - type: object - x-kubernetes-map-type: atomic - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - x-kubernetes-map-type: atomic - secretKeyRef: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - required: - - name - type: object - type: array - envFrom: - items: - properties: - configMapRef: - properties: - name: - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - prefix: - type: string - secretRef: - properties: - name: - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - type: object - type: array - image: - type: string - imagePullPolicy: - type: string - lifecycle: - properties: - postStart: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - preStop: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - type: object - livenessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port + - port type: object initialDelaySeconds: format: int32 @@ -2810,63 +2405,7 @@ spec: type: string type: object type: array - topologySpreadConstraints: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - maxSkew: - format: int32 - type: integer - minDomains: - format: int32 - type: integer - nodeAffinityPolicy: - type: string - nodeTaintsPolicy: - type: string - topologyKey: - type: string - whenUnsatisfiable: - type: string - required: - - maxSkew - - topologyKey - - whenUnsatisfiable - type: object - type: array - x-kubernetes-list-map-keys: - - topologyKey - - whenUnsatisfiable - x-kubernetes-list-type: map - volumes: + volumes: items: properties: awsElasticBlockStore: @@ -3958,635 +3497,334 @@ spec: activeDeadlineSeconds: format: int64 type: integer - affinity: - properties: - nodeAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: + automountServiceAccountToken: + type: boolean + containers: + items: + properties: + args: + items: + type: string + type: array + command: + items: + type: string + type: array + env: + items: + properties: + name: + type: string + value: + type: string + valueFrom: + properties: + configMapKeyRef: + properties: + key: + type: string + name: + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + resourceFieldRef: + properties: + containerName: + type: string + divisor: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + secretKeyRef: + properties: + key: + type: string + name: + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + required: + - name + type: object + type: array + envFrom: + items: + properties: + configMapRef: + properties: + name: + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + prefix: + type: string + secretRef: + properties: + name: + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + type: object + type: array + image: + type: string + imagePullPolicy: + type: string + lifecycle: + properties: + postStart: properties: - preference: + exec: properties: - matchExpressions: + command: items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object + type: string type: array - matchFields: + type: object + httpGet: + properties: + host: + type: string + httpHeaders: items: properties: - key: + name: type: string - operator: + value: type: string - values: - items: - type: string - type: array required: - - key - - operator + - name + - value type: object type: array + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port type: object - x-kubernetes-map-type: atomic - weight: - format: int32 - type: integer - required: - - preference - - weight type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - properties: - nodeSelectorTerms: - items: + preStop: + properties: + exec: properties: - matchExpressions: + command: items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object + type: string type: array - matchFields: + type: object + httpGet: + properties: + host: + type: string + httpHeaders: items: properties: - key: + name: type: string - operator: + value: type: string - values: - items: - type: string - type: array required: - - key - - operator + - name + - value type: object type: array + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port type: object - x-kubernetes-map-type: atomic - type: array - required: - - nodeSelectorTerms - type: object - x-kubernetes-map-type: atomic - type: object - podAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - podAffinityTerm: + sleep: properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true required: - - topologyKey + - port type: object - weight: - format: int32 - type: integer - required: - - podAffinityTerm - - weight type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - items: + type: object + livenessProbe: + properties: + exec: properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: + command: items: type: string type: array - topologyKey: - type: string - required: - - topologyKey type: object - type: array - type: object - podAntiAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: + failureThreshold: + format: int32 + type: integer + grpc: properties: - podAffinityTerm: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - weight: + port: format: int32 type: integer + service: + type: string required: - - podAffinityTerm - - weight + - port type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - items: + httpGet: properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: + host: + type: string + httpHeaders: items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: + properties: + name: type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string + value: + type: string + required: + - name + - value + type: object type: array - topologyKey: + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: type: string required: - - topologyKey + - port type: object - type: array - type: object - type: object - automountServiceAccountToken: - type: boolean - containers: - items: - properties: - args: - items: - type: string - type: array - command: - items: - type: string - type: array - env: + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + name: + type: string + ports: items: properties: + containerPort: + format: int32 + type: integer + hostIP: + type: string + hostPort: + format: int32 + type: integer name: type: string - value: + protocol: + default: TCP type: string - valueFrom: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - fieldRef: - properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath - type: object - x-kubernetes-map-type: atomic - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - x-kubernetes-map-type: atomic - secretKeyRef: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object required: - - name - type: object - type: array - envFrom: - items: - properties: - configMapRef: - properties: - name: - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - prefix: - type: string - secretRef: - properties: - name: - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic + - containerPort type: object type: array - image: - type: string - imagePullPolicy: - type: string - lifecycle: - properties: - postStart: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - preStop: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - type: object - livenessProbe: + x-kubernetes-list-map-keys: + - containerPort + - protocol + x-kubernetes-list-type: map + readinessProbe: properties: exec: properties: @@ -4664,111 +3902,7 @@ spec: format: int32 type: integer type: object - name: - type: string - ports: - items: - properties: - containerPort: - format: int32 - type: integer - hostIP: - type: string - hostPort: - format: int32 - type: integer - name: - type: string - protocol: - default: TCP - type: string - required: - - containerPort - type: object - type: array - x-kubernetes-list-map-keys: - - containerPort - - protocol - x-kubernetes-list-type: map - readinessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - resizePolicy: + resizePolicy: items: properties: resourceName: @@ -6459,62 +5593,6 @@ spec: type: string type: object type: array - topologySpreadConstraints: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - maxSkew: - format: int32 - type: integer - minDomains: - format: int32 - type: integer - nodeAffinityPolicy: - type: string - nodeTaintsPolicy: - type: string - topologyKey: - type: string - whenUnsatisfiable: - type: string - required: - - maxSkew - - topologyKey - - whenUnsatisfiable - type: object - type: array - x-kubernetes-list-map-keys: - - topologyKey - - whenUnsatisfiable - x-kubernetes-list-type: map volumes: items: properties: @@ -7433,438 +6511,33 @@ spec: activeDeadlineSeconds: format: int64 type: integer - affinity: - properties: - nodeAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - preference: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchFields: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - type: object - x-kubernetes-map-type: atomic - weight: - format: int32 - type: integer - required: - - preference - - weight - type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: + automountServiceAccountToken: + type: boolean + containers: + items: + properties: + args: + items: + type: string + type: array + command: + items: + type: string + type: array + env: + items: properties: - nodeSelectorTerms: - items: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchFields: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - type: object - x-kubernetes-map-type: atomic - type: array - required: - - nodeSelectorTerms - type: object - x-kubernetes-map-type: atomic - type: object - podAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - podAffinityTerm: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: + name: + type: string + value: + type: string + valueFrom: + properties: + configMapKeyRef: + properties: + key: type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - weight: - format: int32 - type: integer - required: - - podAffinityTerm - - weight - type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - type: array - type: object - podAntiAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - podAffinityTerm: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - weight: - format: int32 - type: integer - required: - - podAffinityTerm - - weight - type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - type: array - type: object - type: object - automountServiceAccountToken: - type: boolean - containers: - items: - properties: - args: - items: - type: string - type: array - command: - items: - type: string - type: array - env: - items: - properties: - name: - type: string - value: - type: string - valueFrom: - properties: - configMapKeyRef: - properties: - key: - type: string - name: + name: type: string optional: type: boolean @@ -9934,62 +8607,6 @@ spec: type: string type: object type: array - topologySpreadConstraints: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - maxSkew: - format: int32 - type: integer - minDomains: - format: int32 - type: integer - nodeAffinityPolicy: - type: string - nodeTaintsPolicy: - type: string - topologyKey: - type: string - whenUnsatisfiable: - type: string - required: - - maxSkew - - topologyKey - - whenUnsatisfiable - type: object - type: array - x-kubernetes-list-map-keys: - - topologyKey - - whenUnsatisfiable - x-kubernetes-list-type: map volumes: items: properties: @@ -10701,618 +9318,213 @@ spec: defaultMode: format: int32 type: integer - items: - items: - properties: - key: - type: string - mode: - format: int32 - type: integer - path: - type: string - required: - - key - - path - type: object - type: array - optional: - type: boolean - secretName: - type: string - type: object - storageos: - properties: - fsType: - type: string - readOnly: - type: boolean - secretRef: - properties: - name: - type: string - type: object - x-kubernetes-map-type: atomic - volumeName: - type: string - volumeNamespace: - type: string - type: object - vsphereVolume: - properties: - fsType: - type: string - storagePolicyID: - type: string - storagePolicyName: - type: string - volumePath: - type: string - required: - - volumePath - type: object - required: - - name - type: object - type: array - type: object - type: object - replicas: - format: int32 - type: integer - storage: - properties: - accessModes: - items: - type: string - type: array - dataSource: - properties: - apiGroup: - type: string - kind: - type: string - name: - type: string - required: - - kind - - name - type: object - x-kubernetes-map-type: atomic - dataSourceRef: - properties: - apiGroup: - type: string - kind: - type: string - name: - type: string - namespace: - type: string - required: - - kind - - name - type: object - resources: - properties: - limits: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - requests: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - type: object - selector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - storageClassName: - type: string - volumeAttributesClassName: - type: string - volumeMode: - type: string - volumeName: - type: string - type: object - suffix: - type: string - tolerations: - items: - properties: - effect: - type: string - key: - type: string - operator: - type: string - tolerationSeconds: - format: int64 - type: integer - value: - type: string - type: object - type: array - type: object - overseer: - properties: - nodeSelector: - additionalProperties: - type: string - type: object - x-kubernetes-map-type: atomic - podPlacementPolicy: - default: - name: default - properties: - name: - type: string - type: object - x-kubernetes-map-type: atomic - podTemplate: - properties: - controller: - properties: - annotations: - additionalProperties: - type: string - type: object - labels: - additionalProperties: - type: string - type: object - type: object - metadata: - properties: - annotations: - additionalProperties: - type: string - type: object - labels: - additionalProperties: - type: string - type: object - type: object - spec: - properties: - activeDeadlineSeconds: - format: int64 - type: integer - affinity: - properties: - nodeAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - preference: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchFields: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - type: object - x-kubernetes-map-type: atomic - weight: - format: int32 - type: integer - required: - - preference - - weight - type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - properties: - nodeSelectorTerms: - items: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchFields: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - type: object - x-kubernetes-map-type: atomic - type: array - required: - - nodeSelectorTerms - type: object - x-kubernetes-map-type: atomic - type: object - podAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - podAffinityTerm: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - weight: - format: int32 - type: integer - required: - - podAffinityTerm - - weight - type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - type: array - type: object - podAntiAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - podAffinityTerm: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - weight: - format: int32 - type: integer - required: - - podAffinityTerm - - weight - type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: + items: + items: + properties: + key: type: string - type: array - topologyKey: + mode: + format: int32 + type: integer + path: + type: string + required: + - key + - path + type: object + type: array + optional: + type: boolean + secretName: + type: string + type: object + storageos: + properties: + fsType: + type: string + readOnly: + type: boolean + secretRef: + properties: + name: type: string - required: - - topologyKey type: object - type: array - type: object + x-kubernetes-map-type: atomic + volumeName: + type: string + volumeNamespace: + type: string + type: object + vsphereVolume: + properties: + fsType: + type: string + storagePolicyID: + type: string + storagePolicyName: + type: string + volumePath: + type: string + required: + - volumePath + type: object + required: + - name + type: object + type: array + type: object + type: object + replicas: + format: int32 + type: integer + storage: + properties: + accessModes: + items: + type: string + type: array + dataSource: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + required: + - kind + - name + type: object + x-kubernetes-map-type: atomic + dataSourceRef: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + namespace: + type: string + required: + - kind + - name + type: object + resources: + properties: + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + selector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + required: + - key + - operator + type: object + type: array + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + storageClassName: + type: string + volumeAttributesClassName: + type: string + volumeMode: + type: string + volumeName: + type: string + type: object + suffix: + type: string + tolerations: + items: + properties: + effect: + type: string + key: + type: string + operator: + type: string + tolerationSeconds: + format: int64 + type: integer + value: + type: string + type: object + type: array + type: object + overseer: + properties: + nodeSelector: + additionalProperties: + type: string + type: object + x-kubernetes-map-type: atomic + podPlacementPolicy: + default: + name: default + properties: + name: + type: string + type: object + x-kubernetes-map-type: atomic + podTemplate: + properties: + controller: + properties: + annotations: + additionalProperties: + type: string + type: object + labels: + additionalProperties: + type: string + type: object + type: object + metadata: + properties: + annotations: + additionalProperties: + type: string + type: object + labels: + additionalProperties: + type: string type: object + type: object + spec: + properties: + activeDeadlineSeconds: + format: int64 + type: integer automountServiceAccountToken: type: boolean containers: @@ -13409,62 +11621,6 @@ spec: type: string type: object type: array - topologySpreadConstraints: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - maxSkew: - format: int32 - type: integer - minDomains: - format: int32 - type: integer - nodeAffinityPolicy: - type: string - nodeTaintsPolicy: - type: string - topologyKey: - type: string - whenUnsatisfiable: - type: string - required: - - maxSkew - - topologyKey - - whenUnsatisfiable - type: object - type: array - x-kubernetes-list-map-keys: - - topologyKey - - whenUnsatisfiable - x-kubernetes-list-type: map volumes: items: properties: @@ -14415,6 +12571,9 @@ spec: ports: items: properties: + backendServicePort: + format: int32 + type: integer name: type: string nodePort: @@ -14443,6 +12602,22 @@ spec: type: string type: object x-kubernetes-map-type: atomic + port: + properties: + backendServicePort: + format: int32 + type: integer + name: + type: string + nodePort: + format: int32 + type: integer + port: + format: int32 + type: integer + required: + - port + type: object url: type: string required: diff --git a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_zookeepers.yaml b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_zookeepers.yaml index 75c6c6f973..52f1ac6664 100644 --- a/vendor/kubedb.dev/apimachinery/crds/kubedb.com_zookeepers.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/kubedb.com_zookeepers.yaml @@ -309,411 +309,6 @@ spec: activeDeadlineSeconds: format: int64 type: integer - affinity: - properties: - nodeAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - preference: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchFields: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - type: object - x-kubernetes-map-type: atomic - weight: - format: int32 - type: integer - required: - - preference - - weight - type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - properties: - nodeSelectorTerms: - items: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchFields: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - type: object - x-kubernetes-map-type: atomic - type: array - required: - - nodeSelectorTerms - type: object - x-kubernetes-map-type: atomic - type: object - podAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - podAffinityTerm: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - weight: - format: int32 - type: integer - required: - - podAffinityTerm - - weight - type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - type: array - type: object - podAntiAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - podAffinityTerm: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - weight: - format: int32 - type: integer - required: - - podAffinityTerm - - weight - type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - type: array - type: object - type: object automountServiceAccountToken: type: boolean containers: @@ -2810,62 +2405,6 @@ spec: type: string type: object type: array - topologySpreadConstraints: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - maxSkew: - format: int32 - type: integer - minDomains: - format: int32 - type: integer - nodeAffinityPolicy: - type: string - nodeTaintsPolicy: - type: string - topologyKey: - type: string - whenUnsatisfiable: - type: string - required: - - maxSkew - - topologyKey - - whenUnsatisfiable - type: object - type: array - x-kubernetes-list-map-keys: - - topologyKey - - whenUnsatisfiable - x-kubernetes-list-type: map volumes: items: properties: @@ -3801,7 +3340,6 @@ spec: version: type: string required: - - adminServerPort - version type: object status: @@ -3853,6 +3391,9 @@ spec: ports: items: properties: + backendServicePort: + format: int32 + type: integer name: type: string nodePort: @@ -3881,6 +3422,22 @@ spec: type: string type: object x-kubernetes-map-type: atomic + port: + properties: + backendServicePort: + format: int32 + type: integer + name: + type: string + nodePort: + format: int32 + type: integer + port: + format: int32 + type: integer + required: + - port + type: object url: type: string required: diff --git a/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_mariadbopsrequests.yaml b/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_mariadbopsrequests.yaml index 44e34d5b3c..4c1880e0a2 100644 --- a/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_mariadbopsrequests.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_mariadbopsrequests.yaml @@ -60,8 +60,6 @@ spec: type: string type: object x-kubernetes-map-type: atomic - inlineConfig: - type: string removeCustomConfig: type: boolean type: object diff --git a/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_mongodbopsrequests.yaml b/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_mongodbopsrequests.yaml index 461e3b92d5..15b3e15f95 100644 --- a/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_mongodbopsrequests.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_mongodbopsrequests.yaml @@ -82,8 +82,6 @@ spec: type: string type: object x-kubernetes-map-type: atomic - inlineConfig: - type: string removeCustomConfig: type: boolean type: object @@ -99,8 +97,6 @@ spec: type: string type: object x-kubernetes-map-type: atomic - inlineConfig: - type: string removeCustomConfig: type: boolean type: object @@ -116,8 +112,6 @@ spec: type: string type: object x-kubernetes-map-type: atomic - inlineConfig: - type: string removeCustomConfig: type: boolean type: object @@ -133,8 +127,6 @@ spec: type: string type: object x-kubernetes-map-type: atomic - inlineConfig: - type: string removeCustomConfig: type: boolean type: object @@ -150,8 +142,6 @@ spec: type: string type: object x-kubernetes-map-type: atomic - inlineConfig: - type: string removeCustomConfig: type: boolean type: object @@ -167,8 +157,6 @@ spec: type: string type: object x-kubernetes-map-type: atomic - inlineConfig: - type: string removeCustomConfig: type: boolean type: object @@ -184,8 +172,6 @@ spec: type: string type: object x-kubernetes-map-type: atomic - inlineConfig: - type: string removeCustomConfig: type: boolean type: object diff --git a/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_mysqlopsrequests.yaml b/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_mysqlopsrequests.yaml index a404ed1837..440135cf40 100644 --- a/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_mysqlopsrequests.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_mysqlopsrequests.yaml @@ -50,14 +50,16 @@ spec: type: string configuration: properties: + applyConfig: + additionalProperties: + type: string + type: object configSecret: properties: name: type: string type: object x-kubernetes-map-type: atomic - inlineConfig: - type: string removeCustomConfig: type: boolean type: object diff --git a/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_perconaxtradbopsrequests.yaml b/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_perconaxtradbopsrequests.yaml index d5d290675d..85b86f366c 100644 --- a/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_perconaxtradbopsrequests.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_perconaxtradbopsrequests.yaml @@ -60,8 +60,6 @@ spec: type: string type: object x-kubernetes-map-type: atomic - inlineConfig: - type: string removeCustomConfig: type: boolean type: object diff --git a/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_postgresopsrequests.yaml b/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_postgresopsrequests.yaml index 3d5851d0e8..97bea6d79c 100644 --- a/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_postgresopsrequests.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_postgresopsrequests.yaml @@ -50,14 +50,16 @@ spec: type: string configuration: properties: + applyConfig: + additionalProperties: + type: string + type: object configSecret: properties: name: type: string type: object x-kubernetes-map-type: atomic - inlineConfig: - type: string removeCustomConfig: type: boolean type: object diff --git a/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_rabbitmqopsrequests.yaml b/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_rabbitmqopsrequests.yaml new file mode 100644 index 0000000000..ec23242097 --- /dev/null +++ b/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_rabbitmqopsrequests.yaml @@ -0,0 +1,200 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + creationTimestamp: null + labels: + app.kubernetes.io/name: kubedb + name: rabbitmqopsrequests.ops.kubedb.com +spec: + group: ops.kubedb.com + names: + categories: + - datastore + - kubedb + - appscode + kind: RabbitMQOpsRequest + listKind: RabbitMQOpsRequestList + plural: rabbitmqopsrequests + shortNames: + - rmops + singular: rabbitmqopsrequest + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .spec.type + name: Type + type: string + - jsonPath: .status.phase + name: Status + type: string + - jsonPath: .metadata.creationTimestamp + name: Age + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + properties: + apiVersion: + type: string + kind: + type: string + metadata: + type: object + spec: + properties: + apply: + default: IfReady + enum: + - IfReady + - Always + type: string + databaseRef: + properties: + name: + type: string + type: object + x-kubernetes-map-type: atomic + restart: + type: object + timeout: + type: string + type: + enum: + - VerticalScaling + - VolumeExpansion + - Restart + type: string + verticalScaling: + properties: + node: + properties: + nodeSelectionPolicy: + enum: + - LabelSelector + - Taint + type: string + resources: + properties: + claims: + items: + properties: + name: + type: string + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + topology: + properties: + key: + type: string + value: + type: string + required: + - key + - value + type: object + type: object + type: object + volumeExpansion: + properties: + mode: + enum: + - Offline + - Online + type: string + node: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + required: + - mode + type: object + required: + - databaseRef + - type + type: object + status: + properties: + conditions: + items: + properties: + lastTransitionTime: + format: date-time + type: string + message: + type: string + observedGeneration: + format: int64 + type: integer + reason: + type: string + severity: + type: string + status: + type: string + type: + type: string + required: + - lastTransitionTime + - status + - type + type: object + type: array + observedGeneration: + format: int64 + type: integer + pausedBackups: + items: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + namespace: + type: string + required: + - name + type: object + type: array + phase: + enum: + - Pending + - Progressing + - Successful + - WaitingForApproval + - Failed + - Approved + - Denied + - Skipped + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} diff --git a/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_redisopsrequests.yaml b/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_redisopsrequests.yaml index de277c2788..3c8aafb794 100644 --- a/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_redisopsrequests.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_redisopsrequests.yaml @@ -50,2498 +50,16 @@ spec: type: string configuration: properties: + applyConfig: + additionalProperties: + type: string + type: object configSecret: properties: name: type: string type: object x-kubernetes-map-type: atomic - inlineConfig: - type: string - podTemplate: - properties: - controller: - properties: - annotations: - additionalProperties: - type: string - type: object - labels: - additionalProperties: - type: string - type: object - type: object - metadata: - properties: - annotations: - additionalProperties: - type: string - type: object - labels: - additionalProperties: - type: string - type: object - type: object - spec: - properties: - affinity: - properties: - nodeAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - preference: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchFields: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - type: object - x-kubernetes-map-type: atomic - weight: - format: int32 - type: integer - required: - - preference - - weight - type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - properties: - nodeSelectorTerms: - items: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchFields: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - type: object - x-kubernetes-map-type: atomic - type: array - required: - - nodeSelectorTerms - type: object - x-kubernetes-map-type: atomic - type: object - podAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - podAffinityTerm: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - weight: - format: int32 - type: integer - required: - - podAffinityTerm - - weight - type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - type: array - type: object - podAntiAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - podAffinityTerm: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - weight: - format: int32 - type: integer - required: - - podAffinityTerm - - weight - type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - type: array - type: object - type: object - args: - items: - type: string - type: array - containerSecurityContext: - properties: - allowPrivilegeEscalation: - type: boolean - capabilities: - properties: - add: - items: - type: string - type: array - drop: - items: - type: string - type: array - type: object - privileged: - type: boolean - procMount: - type: string - readOnlyRootFilesystem: - type: boolean - runAsGroup: - format: int64 - type: integer - runAsNonRoot: - type: boolean - runAsUser: - format: int64 - type: integer - seLinuxOptions: - properties: - level: - type: string - role: - type: string - type: - type: string - user: - type: string - type: object - seccompProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - windowsOptions: - properties: - gmsaCredentialSpec: - type: string - gmsaCredentialSpecName: - type: string - hostProcess: - type: boolean - runAsUserName: - type: string - type: object - type: object - dnsConfig: - properties: - nameservers: - items: - type: string - type: array - options: - items: - properties: - name: - type: string - value: - type: string - type: object - type: array - searches: - items: - type: string - type: array - type: object - dnsPolicy: - type: string - enableServiceLinks: - type: boolean - env: - items: - properties: - name: - type: string - value: - type: string - valueFrom: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - fieldRef: - properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath - type: object - x-kubernetes-map-type: atomic - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - x-kubernetes-map-type: atomic - secretKeyRef: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - required: - - name - type: object - type: array - hostIPC: - type: boolean - hostNetwork: - type: boolean - hostPID: - type: boolean - imagePullSecrets: - items: - properties: - name: - type: string - type: object - x-kubernetes-map-type: atomic - type: array - initContainers: - items: - properties: - args: - items: - type: string - type: array - command: - items: - type: string - type: array - env: - items: - properties: - name: - type: string - value: - type: string - valueFrom: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - fieldRef: - properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath - type: object - x-kubernetes-map-type: atomic - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - x-kubernetes-map-type: atomic - secretKeyRef: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - required: - - name - type: object - type: array - envFrom: - items: - properties: - configMapRef: - properties: - name: - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - prefix: - type: string - secretRef: - properties: - name: - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - type: object - type: array - image: - type: string - imagePullPolicy: - type: string - lifecycle: - properties: - postStart: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - preStop: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - type: object - livenessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - name: - type: string - ports: - items: - properties: - containerPort: - format: int32 - type: integer - hostIP: - type: string - hostPort: - format: int32 - type: integer - name: - type: string - protocol: - default: TCP - type: string - required: - - containerPort - type: object - type: array - x-kubernetes-list-map-keys: - - containerPort - - protocol - x-kubernetes-list-type: map - readinessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - resizePolicy: - items: - properties: - resourceName: - type: string - restartPolicy: - type: string - required: - - resourceName - - restartPolicy - type: object - type: array - x-kubernetes-list-type: atomic - resources: - properties: - claims: - items: - properties: - name: - type: string - required: - - name - type: object - type: array - x-kubernetes-list-map-keys: - - name - x-kubernetes-list-type: map - limits: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - requests: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - type: object - restartPolicy: - type: string - securityContext: - properties: - allowPrivilegeEscalation: - type: boolean - capabilities: - properties: - add: - items: - type: string - type: array - drop: - items: - type: string - type: array - type: object - privileged: - type: boolean - procMount: - type: string - readOnlyRootFilesystem: - type: boolean - runAsGroup: - format: int64 - type: integer - runAsNonRoot: - type: boolean - runAsUser: - format: int64 - type: integer - seLinuxOptions: - properties: - level: - type: string - role: - type: string - type: - type: string - user: - type: string - type: object - seccompProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - windowsOptions: - properties: - gmsaCredentialSpec: - type: string - gmsaCredentialSpecName: - type: string - hostProcess: - type: boolean - runAsUserName: - type: string - type: object - type: object - startupProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - stdin: - type: boolean - stdinOnce: - type: boolean - terminationMessagePath: - type: string - terminationMessagePolicy: - type: string - tty: - type: boolean - volumeDevices: - items: - properties: - devicePath: - type: string - name: - type: string - required: - - devicePath - - name - type: object - type: array - volumeMounts: - items: - properties: - mountPath: - type: string - mountPropagation: - type: string - name: - type: string - readOnly: - type: boolean - subPath: - type: string - subPathExpr: - type: string - required: - - mountPath - - name - type: object - type: array - workingDir: - type: string - required: - - name - type: object - type: array - lifecycle: - properties: - postStart: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - preStop: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - type: object - livenessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - nodeSelector: - additionalProperties: - type: string - type: object - x-kubernetes-map-type: atomic - priority: - format: int32 - type: integer - priorityClassName: - type: string - readinessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - resources: - properties: - claims: - items: - properties: - name: - type: string - required: - - name - type: object - type: array - x-kubernetes-list-map-keys: - - name - x-kubernetes-list-type: map - limits: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - requests: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - type: object - runtimeClassName: - type: string - schedulerName: - type: string - securityContext: - properties: - fsGroup: - format: int64 - type: integer - fsGroupChangePolicy: - type: string - runAsGroup: - format: int64 - type: integer - runAsNonRoot: - type: boolean - runAsUser: - format: int64 - type: integer - seLinuxOptions: - properties: - level: - type: string - role: - type: string - type: - type: string - user: - type: string - type: object - seccompProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - supplementalGroups: - items: - format: int64 - type: integer - type: array - sysctls: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - windowsOptions: - properties: - gmsaCredentialSpec: - type: string - gmsaCredentialSpecName: - type: string - hostProcess: - type: boolean - runAsUserName: - type: string - type: object - type: object - serviceAccountName: - type: string - shareProcessNamespace: - type: boolean - terminationGracePeriodSeconds: - format: int64 - type: integer - tolerations: - items: - properties: - effect: - type: string - key: - type: string - operator: - type: string - tolerationSeconds: - format: int64 - type: integer - value: - type: string - type: object - type: array - topologySpreadConstraints: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - maxSkew: - format: int32 - type: integer - minDomains: - format: int32 - type: integer - nodeAffinityPolicy: - type: string - nodeTaintsPolicy: - type: string - topologyKey: - type: string - whenUnsatisfiable: - type: string - required: - - maxSkew - - topologyKey - - whenUnsatisfiable - type: object - type: array - x-kubernetes-list-map-keys: - - topologyKey - - whenUnsatisfiable - x-kubernetes-list-type: map - volumeMounts: - items: - properties: - mountPath: - type: string - mountPropagation: - type: string - name: - type: string - readOnly: - type: boolean - subPath: - type: string - subPathExpr: - type: string - required: - - mountPath - - name - type: object - type: array - volumes: - items: - properties: - awsElasticBlockStore: - properties: - fsType: - type: string - partition: - format: int32 - type: integer - readOnly: - type: boolean - volumeID: - type: string - required: - - volumeID - type: object - azureDisk: - properties: - cachingMode: - type: string - diskName: - type: string - diskURI: - type: string - fsType: - type: string - kind: - type: string - readOnly: - type: boolean - required: - - diskName - - diskURI - type: object - azureFile: - properties: - readOnly: - type: boolean - secretName: - type: string - shareName: - type: string - required: - - secretName - - shareName - type: object - cephfs: - properties: - monitors: - items: - type: string - type: array - path: - type: string - readOnly: - type: boolean - secretFile: - type: string - secretRef: - properties: - name: - type: string - type: object - x-kubernetes-map-type: atomic - user: - type: string - required: - - monitors - type: object - cinder: - properties: - fsType: - type: string - readOnly: - type: boolean - secretRef: - properties: - name: - type: string - type: object - x-kubernetes-map-type: atomic - volumeID: - type: string - required: - - volumeID - type: object - configMap: - properties: - defaultMode: - format: int32 - type: integer - items: - items: - properties: - key: - type: string - mode: - format: int32 - type: integer - path: - type: string - required: - - key - - path - type: object - type: array - name: - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - csi: - properties: - driver: - type: string - fsType: - type: string - nodePublishSecretRef: - properties: - name: - type: string - type: object - x-kubernetes-map-type: atomic - readOnly: - type: boolean - volumeAttributes: - additionalProperties: - type: string - type: object - required: - - driver - type: object - downwardAPI: - properties: - defaultMode: - format: int32 - type: integer - items: - items: - properties: - fieldRef: - properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath - type: object - x-kubernetes-map-type: atomic - mode: - format: int32 - type: integer - path: - type: string - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - x-kubernetes-map-type: atomic - required: - - path - type: object - type: array - type: object - emptyDir: - properties: - medium: - type: string - sizeLimit: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - ephemeral: - properties: - volumeClaimTemplate: - properties: - metadata: - properties: - annotations: - additionalProperties: - type: string - type: object - generateName: - type: string - labels: - additionalProperties: - type: string - type: object - name: - type: string - namespace: - type: string - ownerReferences: - items: - properties: - apiVersion: - type: string - blockOwnerDeletion: - type: boolean - controller: - type: boolean - kind: - type: string - name: - type: string - uid: - type: string - required: - - apiVersion - - kind - - name - - uid - type: object - x-kubernetes-map-type: atomic - type: array - type: object - spec: - properties: - accessModes: - items: - type: string - type: array - dataSource: - properties: - apiGroup: - type: string - kind: - type: string - name: - type: string - required: - - kind - - name - type: object - x-kubernetes-map-type: atomic - dataSourceRef: - properties: - apiGroup: - type: string - kind: - type: string - name: - type: string - namespace: - type: string - required: - - kind - - name - type: object - resources: - properties: - limits: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - requests: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - type: object - selector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - storageClassName: - type: string - volumeAttributesClassName: - type: string - volumeMode: - type: string - volumeName: - type: string - type: object - required: - - spec - type: object - type: object - fc: - properties: - fsType: - type: string - lun: - format: int32 - type: integer - readOnly: - type: boolean - targetWWNs: - items: - type: string - type: array - wwids: - items: - type: string - type: array - type: object - flexVolume: - properties: - driver: - type: string - fsType: - type: string - options: - additionalProperties: - type: string - type: object - readOnly: - type: boolean - secretRef: - properties: - name: - type: string - type: object - x-kubernetes-map-type: atomic - required: - - driver - type: object - flocker: - properties: - datasetName: - type: string - datasetUUID: - type: string - type: object - gcePersistentDisk: - properties: - fsType: - type: string - partition: - format: int32 - type: integer - pdName: - type: string - readOnly: - type: boolean - required: - - pdName - type: object - glusterfs: - properties: - endpoints: - type: string - path: - type: string - readOnly: - type: boolean - required: - - endpoints - - path - type: object - hostPath: - properties: - path: - type: string - type: - type: string - required: - - path - type: object - iscsi: - properties: - chapAuthDiscovery: - type: boolean - chapAuthSession: - type: boolean - fsType: - type: string - initiatorName: - type: string - iqn: - type: string - iscsiInterface: - type: string - lun: - format: int32 - type: integer - portals: - items: - type: string - type: array - readOnly: - type: boolean - secretRef: - properties: - name: - type: string - type: object - x-kubernetes-map-type: atomic - targetPortal: - type: string - required: - - iqn - - lun - - targetPortal - type: object - name: - type: string - nfs: - properties: - path: - type: string - readOnly: - type: boolean - server: - type: string - required: - - path - - server - type: object - persistentVolumeClaim: - properties: - claimName: - type: string - readOnly: - type: boolean - required: - - claimName - type: object - photonPersistentDisk: - properties: - fsType: - type: string - pdID: - type: string - required: - - pdID - type: object - portworxVolume: - properties: - fsType: - type: string - readOnly: - type: boolean - volumeID: - type: string - required: - - volumeID - type: object - projected: - properties: - defaultMode: - format: int32 - type: integer - sources: - items: - properties: - clusterTrustBundle: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - name: - type: string - optional: - type: boolean - path: - type: string - signerName: - type: string - required: - - path - type: object - configMap: - properties: - items: - items: - properties: - key: - type: string - mode: - format: int32 - type: integer - path: - type: string - required: - - key - - path - type: object - type: array - name: - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - downwardAPI: - properties: - items: - items: - properties: - fieldRef: - properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath - type: object - x-kubernetes-map-type: atomic - mode: - format: int32 - type: integer - path: - type: string - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - x-kubernetes-map-type: atomic - required: - - path - type: object - type: array - type: object - secret: - properties: - items: - items: - properties: - key: - type: string - mode: - format: int32 - type: integer - path: - type: string - required: - - key - - path - type: object - type: array - name: - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - serviceAccountToken: - properties: - audience: - type: string - expirationSeconds: - format: int64 - type: integer - path: - type: string - required: - - path - type: object - type: object - type: array - type: object - quobyte: - properties: - group: - type: string - readOnly: - type: boolean - registry: - type: string - tenant: - type: string - user: - type: string - volume: - type: string - required: - - registry - - volume - type: object - rbd: - properties: - fsType: - type: string - image: - type: string - keyring: - type: string - monitors: - items: - type: string - type: array - pool: - type: string - readOnly: - type: boolean - secretRef: - properties: - name: - type: string - type: object - x-kubernetes-map-type: atomic - user: - type: string - required: - - image - - monitors - type: object - scaleIO: - properties: - fsType: - type: string - gateway: - type: string - protectionDomain: - type: string - readOnly: - type: boolean - secretRef: - properties: - name: - type: string - type: object - x-kubernetes-map-type: atomic - sslEnabled: - type: boolean - storageMode: - type: string - storagePool: - type: string - system: - type: string - volumeName: - type: string - required: - - gateway - - secretRef - - system - type: object - secret: - properties: - defaultMode: - format: int32 - type: integer - items: - items: - properties: - key: - type: string - mode: - format: int32 - type: integer - path: - type: string - required: - - key - - path - type: object - type: array - optional: - type: boolean - secretName: - type: string - type: object - storageos: - properties: - fsType: - type: string - readOnly: - type: boolean - secretRef: - properties: - name: - type: string - type: object - x-kubernetes-map-type: atomic - volumeName: - type: string - volumeNamespace: - type: string - type: object - vsphereVolume: - properties: - fsType: - type: string - storagePolicyID: - type: string - storagePolicyName: - type: string - volumePath: - type: string - required: - - volumePath - type: object - required: - - name - type: object - type: array - type: object - type: object removeCustomConfig: type: boolean type: object diff --git a/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_redissentinelopsrequests.yaml b/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_redissentinelopsrequests.yaml index 4fe57a4282..92f5845f3c 100644 --- a/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_redissentinelopsrequests.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/ops.kubedb.com_redissentinelopsrequests.yaml @@ -50,2498 +50,16 @@ spec: type: string configuration: properties: + applyConfig: + additionalProperties: + type: string + type: object configSecret: properties: name: type: string type: object x-kubernetes-map-type: atomic - inlineConfig: - type: string - podTemplate: - properties: - controller: - properties: - annotations: - additionalProperties: - type: string - type: object - labels: - additionalProperties: - type: string - type: object - type: object - metadata: - properties: - annotations: - additionalProperties: - type: string - type: object - labels: - additionalProperties: - type: string - type: object - type: object - spec: - properties: - affinity: - properties: - nodeAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - preference: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchFields: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - type: object - x-kubernetes-map-type: atomic - weight: - format: int32 - type: integer - required: - - preference - - weight - type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - properties: - nodeSelectorTerms: - items: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchFields: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - type: object - x-kubernetes-map-type: atomic - type: array - required: - - nodeSelectorTerms - type: object - x-kubernetes-map-type: atomic - type: object - podAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - podAffinityTerm: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - weight: - format: int32 - type: integer - required: - - podAffinityTerm - - weight - type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - type: array - type: object - podAntiAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - podAffinityTerm: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - weight: - format: int32 - type: integer - required: - - podAffinityTerm - - weight - type: object - type: array - requiredDuringSchedulingIgnoredDuringExecution: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - topologyKey: - type: string - required: - - topologyKey - type: object - type: array - type: object - type: object - args: - items: - type: string - type: array - containerSecurityContext: - properties: - allowPrivilegeEscalation: - type: boolean - capabilities: - properties: - add: - items: - type: string - type: array - drop: - items: - type: string - type: array - type: object - privileged: - type: boolean - procMount: - type: string - readOnlyRootFilesystem: - type: boolean - runAsGroup: - format: int64 - type: integer - runAsNonRoot: - type: boolean - runAsUser: - format: int64 - type: integer - seLinuxOptions: - properties: - level: - type: string - role: - type: string - type: - type: string - user: - type: string - type: object - seccompProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - windowsOptions: - properties: - gmsaCredentialSpec: - type: string - gmsaCredentialSpecName: - type: string - hostProcess: - type: boolean - runAsUserName: - type: string - type: object - type: object - dnsConfig: - properties: - nameservers: - items: - type: string - type: array - options: - items: - properties: - name: - type: string - value: - type: string - type: object - type: array - searches: - items: - type: string - type: array - type: object - dnsPolicy: - type: string - enableServiceLinks: - type: boolean - env: - items: - properties: - name: - type: string - value: - type: string - valueFrom: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - fieldRef: - properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath - type: object - x-kubernetes-map-type: atomic - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - x-kubernetes-map-type: atomic - secretKeyRef: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - required: - - name - type: object - type: array - hostIPC: - type: boolean - hostNetwork: - type: boolean - hostPID: - type: boolean - imagePullSecrets: - items: - properties: - name: - type: string - type: object - x-kubernetes-map-type: atomic - type: array - initContainers: - items: - properties: - args: - items: - type: string - type: array - command: - items: - type: string - type: array - env: - items: - properties: - name: - type: string - value: - type: string - valueFrom: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - fieldRef: - properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath - type: object - x-kubernetes-map-type: atomic - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - x-kubernetes-map-type: atomic - secretKeyRef: - properties: - key: - type: string - name: - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - required: - - name - type: object - type: array - envFrom: - items: - properties: - configMapRef: - properties: - name: - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - prefix: - type: string - secretRef: - properties: - name: - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - type: object - type: array - image: - type: string - imagePullPolicy: - type: string - lifecycle: - properties: - postStart: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - preStop: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - type: object - livenessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - name: - type: string - ports: - items: - properties: - containerPort: - format: int32 - type: integer - hostIP: - type: string - hostPort: - format: int32 - type: integer - name: - type: string - protocol: - default: TCP - type: string - required: - - containerPort - type: object - type: array - x-kubernetes-list-map-keys: - - containerPort - - protocol - x-kubernetes-list-type: map - readinessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - resizePolicy: - items: - properties: - resourceName: - type: string - restartPolicy: - type: string - required: - - resourceName - - restartPolicy - type: object - type: array - x-kubernetes-list-type: atomic - resources: - properties: - claims: - items: - properties: - name: - type: string - required: - - name - type: object - type: array - x-kubernetes-list-map-keys: - - name - x-kubernetes-list-type: map - limits: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - requests: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - type: object - restartPolicy: - type: string - securityContext: - properties: - allowPrivilegeEscalation: - type: boolean - capabilities: - properties: - add: - items: - type: string - type: array - drop: - items: - type: string - type: array - type: object - privileged: - type: boolean - procMount: - type: string - readOnlyRootFilesystem: - type: boolean - runAsGroup: - format: int64 - type: integer - runAsNonRoot: - type: boolean - runAsUser: - format: int64 - type: integer - seLinuxOptions: - properties: - level: - type: string - role: - type: string - type: - type: string - user: - type: string - type: object - seccompProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - windowsOptions: - properties: - gmsaCredentialSpec: - type: string - gmsaCredentialSpecName: - type: string - hostProcess: - type: boolean - runAsUserName: - type: string - type: object - type: object - startupProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - stdin: - type: boolean - stdinOnce: - type: boolean - terminationMessagePath: - type: string - terminationMessagePolicy: - type: string - tty: - type: boolean - volumeDevices: - items: - properties: - devicePath: - type: string - name: - type: string - required: - - devicePath - - name - type: object - type: array - volumeMounts: - items: - properties: - mountPath: - type: string - mountPropagation: - type: string - name: - type: string - readOnly: - type: boolean - subPath: - type: string - subPathExpr: - type: string - required: - - mountPath - - name - type: object - type: array - workingDir: - type: string - required: - - name - type: object - type: array - lifecycle: - properties: - postStart: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - preStop: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - type: object - livenessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - nodeSelector: - additionalProperties: - type: string - type: object - x-kubernetes-map-type: atomic - priority: - format: int32 - type: integer - priorityClassName: - type: string - readinessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - resources: - properties: - claims: - items: - properties: - name: - type: string - required: - - name - type: object - type: array - x-kubernetes-list-map-keys: - - name - x-kubernetes-list-type: map - limits: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - requests: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - type: object - runtimeClassName: - type: string - schedulerName: - type: string - securityContext: - properties: - fsGroup: - format: int64 - type: integer - fsGroupChangePolicy: - type: string - runAsGroup: - format: int64 - type: integer - runAsNonRoot: - type: boolean - runAsUser: - format: int64 - type: integer - seLinuxOptions: - properties: - level: - type: string - role: - type: string - type: - type: string - user: - type: string - type: object - seccompProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - supplementalGroups: - items: - format: int64 - type: integer - type: array - sysctls: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - windowsOptions: - properties: - gmsaCredentialSpec: - type: string - gmsaCredentialSpecName: - type: string - hostProcess: - type: boolean - runAsUserName: - type: string - type: object - type: object - serviceAccountName: - type: string - shareProcessNamespace: - type: boolean - terminationGracePeriodSeconds: - format: int64 - type: integer - tolerations: - items: - properties: - effect: - type: string - key: - type: string - operator: - type: string - tolerationSeconds: - format: int64 - type: integer - value: - type: string - type: object - type: array - topologySpreadConstraints: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - maxSkew: - format: int32 - type: integer - minDomains: - format: int32 - type: integer - nodeAffinityPolicy: - type: string - nodeTaintsPolicy: - type: string - topologyKey: - type: string - whenUnsatisfiable: - type: string - required: - - maxSkew - - topologyKey - - whenUnsatisfiable - type: object - type: array - x-kubernetes-list-map-keys: - - topologyKey - - whenUnsatisfiable - x-kubernetes-list-type: map - volumeMounts: - items: - properties: - mountPath: - type: string - mountPropagation: - type: string - name: - type: string - readOnly: - type: boolean - subPath: - type: string - subPathExpr: - type: string - required: - - mountPath - - name - type: object - type: array - volumes: - items: - properties: - awsElasticBlockStore: - properties: - fsType: - type: string - partition: - format: int32 - type: integer - readOnly: - type: boolean - volumeID: - type: string - required: - - volumeID - type: object - azureDisk: - properties: - cachingMode: - type: string - diskName: - type: string - diskURI: - type: string - fsType: - type: string - kind: - type: string - readOnly: - type: boolean - required: - - diskName - - diskURI - type: object - azureFile: - properties: - readOnly: - type: boolean - secretName: - type: string - shareName: - type: string - required: - - secretName - - shareName - type: object - cephfs: - properties: - monitors: - items: - type: string - type: array - path: - type: string - readOnly: - type: boolean - secretFile: - type: string - secretRef: - properties: - name: - type: string - type: object - x-kubernetes-map-type: atomic - user: - type: string - required: - - monitors - type: object - cinder: - properties: - fsType: - type: string - readOnly: - type: boolean - secretRef: - properties: - name: - type: string - type: object - x-kubernetes-map-type: atomic - volumeID: - type: string - required: - - volumeID - type: object - configMap: - properties: - defaultMode: - format: int32 - type: integer - items: - items: - properties: - key: - type: string - mode: - format: int32 - type: integer - path: - type: string - required: - - key - - path - type: object - type: array - name: - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - csi: - properties: - driver: - type: string - fsType: - type: string - nodePublishSecretRef: - properties: - name: - type: string - type: object - x-kubernetes-map-type: atomic - readOnly: - type: boolean - volumeAttributes: - additionalProperties: - type: string - type: object - required: - - driver - type: object - downwardAPI: - properties: - defaultMode: - format: int32 - type: integer - items: - items: - properties: - fieldRef: - properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath - type: object - x-kubernetes-map-type: atomic - mode: - format: int32 - type: integer - path: - type: string - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - x-kubernetes-map-type: atomic - required: - - path - type: object - type: array - type: object - emptyDir: - properties: - medium: - type: string - sizeLimit: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - ephemeral: - properties: - volumeClaimTemplate: - properties: - metadata: - properties: - annotations: - additionalProperties: - type: string - type: object - generateName: - type: string - labels: - additionalProperties: - type: string - type: object - name: - type: string - namespace: - type: string - ownerReferences: - items: - properties: - apiVersion: - type: string - blockOwnerDeletion: - type: boolean - controller: - type: boolean - kind: - type: string - name: - type: string - uid: - type: string - required: - - apiVersion - - kind - - name - - uid - type: object - x-kubernetes-map-type: atomic - type: array - type: object - spec: - properties: - accessModes: - items: - type: string - type: array - dataSource: - properties: - apiGroup: - type: string - kind: - type: string - name: - type: string - required: - - kind - - name - type: object - x-kubernetes-map-type: atomic - dataSourceRef: - properties: - apiGroup: - type: string - kind: - type: string - name: - type: string - namespace: - type: string - required: - - kind - - name - type: object - resources: - properties: - limits: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - requests: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - type: object - selector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - storageClassName: - type: string - volumeAttributesClassName: - type: string - volumeMode: - type: string - volumeName: - type: string - type: object - required: - - spec - type: object - type: object - fc: - properties: - fsType: - type: string - lun: - format: int32 - type: integer - readOnly: - type: boolean - targetWWNs: - items: - type: string - type: array - wwids: - items: - type: string - type: array - type: object - flexVolume: - properties: - driver: - type: string - fsType: - type: string - options: - additionalProperties: - type: string - type: object - readOnly: - type: boolean - secretRef: - properties: - name: - type: string - type: object - x-kubernetes-map-type: atomic - required: - - driver - type: object - flocker: - properties: - datasetName: - type: string - datasetUUID: - type: string - type: object - gcePersistentDisk: - properties: - fsType: - type: string - partition: - format: int32 - type: integer - pdName: - type: string - readOnly: - type: boolean - required: - - pdName - type: object - glusterfs: - properties: - endpoints: - type: string - path: - type: string - readOnly: - type: boolean - required: - - endpoints - - path - type: object - hostPath: - properties: - path: - type: string - type: - type: string - required: - - path - type: object - iscsi: - properties: - chapAuthDiscovery: - type: boolean - chapAuthSession: - type: boolean - fsType: - type: string - initiatorName: - type: string - iqn: - type: string - iscsiInterface: - type: string - lun: - format: int32 - type: integer - portals: - items: - type: string - type: array - readOnly: - type: boolean - secretRef: - properties: - name: - type: string - type: object - x-kubernetes-map-type: atomic - targetPortal: - type: string - required: - - iqn - - lun - - targetPortal - type: object - name: - type: string - nfs: - properties: - path: - type: string - readOnly: - type: boolean - server: - type: string - required: - - path - - server - type: object - persistentVolumeClaim: - properties: - claimName: - type: string - readOnly: - type: boolean - required: - - claimName - type: object - photonPersistentDisk: - properties: - fsType: - type: string - pdID: - type: string - required: - - pdID - type: object - portworxVolume: - properties: - fsType: - type: string - readOnly: - type: boolean - volumeID: - type: string - required: - - volumeID - type: object - projected: - properties: - defaultMode: - format: int32 - type: integer - sources: - items: - properties: - clusterTrustBundle: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - required: - - key - - operator - type: object - type: array - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - name: - type: string - optional: - type: boolean - path: - type: string - signerName: - type: string - required: - - path - type: object - configMap: - properties: - items: - items: - properties: - key: - type: string - mode: - format: int32 - type: integer - path: - type: string - required: - - key - - path - type: object - type: array - name: - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - downwardAPI: - properties: - items: - items: - properties: - fieldRef: - properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath - type: object - x-kubernetes-map-type: atomic - mode: - format: int32 - type: integer - path: - type: string - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - x-kubernetes-map-type: atomic - required: - - path - type: object - type: array - type: object - secret: - properties: - items: - items: - properties: - key: - type: string - mode: - format: int32 - type: integer - path: - type: string - required: - - key - - path - type: object - type: array - name: - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - serviceAccountToken: - properties: - audience: - type: string - expirationSeconds: - format: int64 - type: integer - path: - type: string - required: - - path - type: object - type: object - type: array - type: object - quobyte: - properties: - group: - type: string - readOnly: - type: boolean - registry: - type: string - tenant: - type: string - user: - type: string - volume: - type: string - required: - - registry - - volume - type: object - rbd: - properties: - fsType: - type: string - image: - type: string - keyring: - type: string - monitors: - items: - type: string - type: array - pool: - type: string - readOnly: - type: boolean - secretRef: - properties: - name: - type: string - type: object - x-kubernetes-map-type: atomic - user: - type: string - required: - - image - - monitors - type: object - scaleIO: - properties: - fsType: - type: string - gateway: - type: string - protectionDomain: - type: string - readOnly: - type: boolean - secretRef: - properties: - name: - type: string - type: object - x-kubernetes-map-type: atomic - sslEnabled: - type: boolean - storageMode: - type: string - storagePool: - type: string - system: - type: string - volumeName: - type: string - required: - - gateway - - secretRef - - system - type: object - secret: - properties: - defaultMode: - format: int32 - type: integer - items: - items: - properties: - key: - type: string - mode: - format: int32 - type: integer - path: - type: string - required: - - key - - path - type: object - type: array - optional: - type: boolean - secretName: - type: string - type: object - storageos: - properties: - fsType: - type: string - readOnly: - type: boolean - secretRef: - properties: - name: - type: string - type: object - x-kubernetes-map-type: atomic - volumeName: - type: string - volumeNamespace: - type: string - type: object - vsphereVolume: - properties: - fsType: - type: string - storagePolicyID: - type: string - storagePolicyName: - type: string - volumePath: - type: string - required: - - volumePath - type: object - required: - - name - type: object - type: array - type: object - type: object removeCustomConfig: type: boolean type: object diff --git a/vendor/kubedb.dev/apimachinery/crds/ui.kubedb.com_elasticsearchinsights.yaml b/vendor/kubedb.dev/apimachinery/crds/ui.kubedb.com_elasticsearchinsights.yaml index 1a3d129158..05c96399e7 100644 --- a/vendor/kubedb.dev/apimachinery/crds/ui.kubedb.com_elasticsearchinsights.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/ui.kubedb.com_elasticsearchinsights.yaml @@ -132,6 +132,9 @@ spec: ports: items: properties: + backendServicePort: + format: int32 + type: integer name: type: string nodePort: @@ -160,6 +163,22 @@ spec: type: string type: object x-kubernetes-map-type: atomic + port: + properties: + backendServicePort: + format: int32 + type: integer + name: + type: string + nodePort: + format: int32 + type: integer + port: + format: int32 + type: integer + required: + - port + type: object url: type: string required: diff --git a/vendor/kubedb.dev/apimachinery/crds/ui.kubedb.com_mariadbinsights.yaml b/vendor/kubedb.dev/apimachinery/crds/ui.kubedb.com_mariadbinsights.yaml index 37216e9907..e7e492c298 100644 --- a/vendor/kubedb.dev/apimachinery/crds/ui.kubedb.com_mariadbinsights.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/ui.kubedb.com_mariadbinsights.yaml @@ -125,6 +125,9 @@ spec: ports: items: properties: + backendServicePort: + format: int32 + type: integer name: type: string nodePort: @@ -153,6 +156,22 @@ spec: type: string type: object x-kubernetes-map-type: atomic + port: + properties: + backendServicePort: + format: int32 + type: integer + name: + type: string + nodePort: + format: int32 + type: integer + port: + format: int32 + type: integer + required: + - port + type: object url: type: string required: diff --git a/vendor/kubedb.dev/apimachinery/crds/ui.kubedb.com_mongodbinsights.yaml b/vendor/kubedb.dev/apimachinery/crds/ui.kubedb.com_mongodbinsights.yaml index ef9c4b2fde..bcf0f8e74b 100644 --- a/vendor/kubedb.dev/apimachinery/crds/ui.kubedb.com_mongodbinsights.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/ui.kubedb.com_mongodbinsights.yaml @@ -156,6 +156,9 @@ spec: ports: items: properties: + backendServicePort: + format: int32 + type: integer name: type: string nodePort: @@ -184,6 +187,22 @@ spec: type: string type: object x-kubernetes-map-type: atomic + port: + properties: + backendServicePort: + format: int32 + type: integer + name: + type: string + nodePort: + format: int32 + type: integer + port: + format: int32 + type: integer + required: + - port + type: object url: type: string required: diff --git a/vendor/kubedb.dev/apimachinery/crds/ui.kubedb.com_mysqlinsights.yaml b/vendor/kubedb.dev/apimachinery/crds/ui.kubedb.com_mysqlinsights.yaml index b9533a0bf2..0fbf76998e 100644 --- a/vendor/kubedb.dev/apimachinery/crds/ui.kubedb.com_mysqlinsights.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/ui.kubedb.com_mysqlinsights.yaml @@ -125,6 +125,9 @@ spec: ports: items: properties: + backendServicePort: + format: int32 + type: integer name: type: string nodePort: @@ -153,6 +156,22 @@ spec: type: string type: object x-kubernetes-map-type: atomic + port: + properties: + backendServicePort: + format: int32 + type: integer + name: + type: string + nodePort: + format: int32 + type: integer + port: + format: int32 + type: integer + required: + - port + type: object url: type: string required: diff --git a/vendor/kubedb.dev/apimachinery/crds/ui.kubedb.com_pgbouncerinsights.yaml b/vendor/kubedb.dev/apimachinery/crds/ui.kubedb.com_pgbouncerinsights.yaml index 87670a7b5b..1ebf7ec1a1 100644 --- a/vendor/kubedb.dev/apimachinery/crds/ui.kubedb.com_pgbouncerinsights.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/ui.kubedb.com_pgbouncerinsights.yaml @@ -138,6 +138,9 @@ spec: ports: items: properties: + backendServicePort: + format: int32 + type: integer name: type: string nodePort: @@ -166,6 +169,22 @@ spec: type: string type: object x-kubernetes-map-type: atomic + port: + properties: + backendServicePort: + format: int32 + type: integer + name: + type: string + nodePort: + format: int32 + type: integer + port: + format: int32 + type: integer + required: + - port + type: object url: type: string required: diff --git a/vendor/kubedb.dev/apimachinery/crds/ui.kubedb.com_postgresinsights.yaml b/vendor/kubedb.dev/apimachinery/crds/ui.kubedb.com_postgresinsights.yaml index e328ce0615..8a63fbcc53 100644 --- a/vendor/kubedb.dev/apimachinery/crds/ui.kubedb.com_postgresinsights.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/ui.kubedb.com_postgresinsights.yaml @@ -133,6 +133,9 @@ spec: ports: items: properties: + backendServicePort: + format: int32 + type: integer name: type: string nodePort: @@ -161,6 +164,22 @@ spec: type: string type: object x-kubernetes-map-type: atomic + port: + properties: + backendServicePort: + format: int32 + type: integer + name: + type: string + nodePort: + format: int32 + type: integer + port: + format: int32 + type: integer + required: + - port + type: object url: type: string required: diff --git a/vendor/kubedb.dev/apimachinery/crds/ui.kubedb.com_proxysqlinsights.yaml b/vendor/kubedb.dev/apimachinery/crds/ui.kubedb.com_proxysqlinsights.yaml index f1f19c0527..3f92f50a38 100644 --- a/vendor/kubedb.dev/apimachinery/crds/ui.kubedb.com_proxysqlinsights.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/ui.kubedb.com_proxysqlinsights.yaml @@ -141,6 +141,9 @@ spec: ports: items: properties: + backendServicePort: + format: int32 + type: integer name: type: string nodePort: @@ -169,6 +172,22 @@ spec: type: string type: object x-kubernetes-map-type: atomic + port: + properties: + backendServicePort: + format: int32 + type: integer + name: + type: string + nodePort: + format: int32 + type: integer + port: + format: int32 + type: integer + required: + - port + type: object url: type: string required: diff --git a/vendor/kubedb.dev/apimachinery/crds/ui.kubedb.com_redisinsights.yaml b/vendor/kubedb.dev/apimachinery/crds/ui.kubedb.com_redisinsights.yaml index a4e68567ef..6e375ad6e1 100644 --- a/vendor/kubedb.dev/apimachinery/crds/ui.kubedb.com_redisinsights.yaml +++ b/vendor/kubedb.dev/apimachinery/crds/ui.kubedb.com_redisinsights.yaml @@ -125,6 +125,9 @@ spec: ports: items: properties: + backendServicePort: + format: int32 + type: integer name: type: string nodePort: @@ -153,6 +156,22 @@ spec: type: string type: object x-kubernetes-map-type: atomic + port: + properties: + backendServicePort: + format: int32 + type: integer + name: + type: string + nodePort: + format: int32 + type: integer + port: + format: int32 + type: integer + required: + - port + type: object url: type: string required: diff --git a/vendor/modules.txt b/vendor/modules.txt index 2a19e1255b..adb981f4f6 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -166,14 +166,14 @@ github.com/yudai/golcs # github.com/zeebo/xxh3 v1.0.2 ## explicit; go 1.17 github.com/zeebo/xxh3 -# go.appscode.dev/alerts v0.2.0 -## explicit; go 1.18 +# go.appscode.dev/alerts v0.2.1-0.20240427092953-4753e804e104 +## explicit; go 1.22.0 go.appscode.dev/alerts/apis/alerts go.appscode.dev/alerts/apis/alerts/v1alpha1 # golang.org/x/exp v0.0.0-20230905200255-921286631fa9 ## explicit; go 1.20 golang.org/x/exp/maps -# golang.org/x/net v0.21.0 +# golang.org/x/net v0.23.0 ## explicit; go 1.18 golang.org/x/net/http/httpguts golang.org/x/net/http2 @@ -183,12 +183,12 @@ golang.org/x/net/idna ## explicit; go 1.18 golang.org/x/oauth2 golang.org/x/oauth2/internal -# golang.org/x/sys v0.17.0 +# golang.org/x/sys v0.18.0 ## explicit; go 1.18 golang.org/x/sys/plan9 golang.org/x/sys/unix golang.org/x/sys/windows -# golang.org/x/term v0.17.0 +# golang.org/x/term v0.18.0 ## explicit; go 1.18 golang.org/x/term # golang.org/x/text v0.14.0 @@ -553,7 +553,7 @@ k8s.io/klog/v2/internal/dbg k8s.io/klog/v2/internal/serialize k8s.io/klog/v2/internal/severity k8s.io/klog/v2/internal/sloghandler -# k8s.io/kube-openapi v0.0.0-20240228011516-70dd3763d340 +# k8s.io/kube-openapi v0.0.0-20240403164606-bc84c2ddaf99 ## explicit; go 1.20 k8s.io/kube-openapi/pkg/cached k8s.io/kube-openapi/pkg/common @@ -579,7 +579,7 @@ k8s.io/utils/trace # kmodules.xyz/apiversion v0.2.0 ## explicit; go 1.14 kmodules.xyz/apiversion -# kmodules.xyz/client-go v0.29.13 +# kmodules.xyz/client-go v0.29.14 ## explicit; go 1.22.0 kmodules.xyz/client-go kmodules.xyz/client-go/api/v1 @@ -601,7 +601,7 @@ kmodules.xyz/monitoring-agent-api/api/v1 # kmodules.xyz/objectstore-api v0.29.1 ## explicit; go 1.21 kmodules.xyz/objectstore-api/api/v1 -# kmodules.xyz/offshoot-api v0.29.1 +# kmodules.xyz/offshoot-api v0.29.2 ## explicit; go 1.22.0 kmodules.xyz/offshoot-api/api/v1 kmodules.xyz/offshoot-api/api/v2 @@ -611,7 +611,7 @@ kmodules.xyz/prober/api/v1 # kmodules.xyz/schema-checker v0.4.1 ## explicit; go 1.17 kmodules.xyz/schema-checker -# kubedb.dev/apimachinery v0.44.0 +# kubedb.dev/apimachinery v0.45.2-0.20240515165215-4274e8077062 ## explicit; go 1.22.0 kubedb.dev/apimachinery/apis kubedb.dev/apimachinery/apis/catalog @@ -627,7 +627,7 @@ kubeops.dev/petset/client/clientset/versioned/typed/apps/v1 kubeops.dev/petset/client/listers/apps/v1 kubeops.dev/petset/crds kubeops.dev/petset/pkg/features -# sigs.k8s.io/controller-runtime v0.17.2 +# sigs.k8s.io/controller-runtime v0.17.4 ## explicit; go 1.21 sigs.k8s.io/controller-runtime sigs.k8s.io/controller-runtime/pkg/builder @@ -689,8 +689,8 @@ sigs.k8s.io/structured-merge-diff/v4/value ## explicit; go 1.12 sigs.k8s.io/yaml sigs.k8s.io/yaml/goyaml.v2 -# stash.appscode.dev/apimachinery v0.33.0 -## explicit; go 1.21.5 +# stash.appscode.dev/apimachinery v0.34.0 +## explicit; go 1.22.0 stash.appscode.dev/apimachinery/apis/stash stash.appscode.dev/apimachinery/apis/stash/v1alpha1 stash.appscode.dev/apimachinery/apis/stash/v1beta1 diff --git a/vendor/sigs.k8s.io/controller-runtime/pkg/cache/cache.go b/vendor/sigs.k8s.io/controller-runtime/pkg/cache/cache.go index 1cecf88e5e..73ad68fe43 100644 --- a/vendor/sigs.k8s.io/controller-runtime/pkg/cache/cache.go +++ b/vendor/sigs.k8s.io/controller-runtime/pkg/cache/cache.go @@ -20,6 +20,7 @@ import ( "context" "fmt" "net/http" + "sort" "time" "golang.org/x/exp/maps" @@ -418,14 +419,6 @@ func defaultOpts(config *rest.Config, opts Options) (Options, error) { } } - for namespace, cfg := range opts.DefaultNamespaces { - cfg = defaultConfig(cfg, optionDefaultsToConfig(&opts)) - if namespace == metav1.NamespaceAll { - cfg.FieldSelector = fields.AndSelectors(appendIfNotNil(namespaceAllSelector(maps.Keys(opts.DefaultNamespaces)), cfg.FieldSelector)...) - } - opts.DefaultNamespaces[namespace] = cfg - } - for obj, byObject := range opts.ByObject { isNamespaced, err := apiutil.IsObjectNamespaced(obj, opts.Scheme, opts.Mapper) if err != nil { @@ -435,7 +428,12 @@ func defaultOpts(config *rest.Config, opts Options) (Options, error) { return opts, fmt.Errorf("type %T is not namespaced, but its ByObject.Namespaces setting is not nil", obj) } - // Default the namespace-level configs first, because they need to use the undefaulted type-level config. + if isNamespaced && byObject.Namespaces == nil { + byObject.Namespaces = maps.Clone(opts.DefaultNamespaces) + } + + // Default the namespace-level configs first, because they need to use the undefaulted type-level config + // to be able to potentially fall through to settings from DefaultNamespaces. for namespace, config := range byObject.Namespaces { // 1. Default from the undefaulted type-level config config = defaultConfig(config, byObjectToConfig(byObject)) @@ -461,19 +459,35 @@ func defaultOpts(config *rest.Config, opts Options) (Options, error) { byObject.Namespaces[namespace] = config } - defaultedConfig := defaultConfig(byObjectToConfig(byObject), optionDefaultsToConfig(&opts)) - byObject.Label = defaultedConfig.LabelSelector - byObject.Field = defaultedConfig.FieldSelector - byObject.Transform = defaultedConfig.Transform - byObject.UnsafeDisableDeepCopy = defaultedConfig.UnsafeDisableDeepCopy - - if isNamespaced && byObject.Namespaces == nil { - byObject.Namespaces = opts.DefaultNamespaces + // Only default ByObject iself if it isn't namespaced or has no namespaces configured, as only + // then any of this will be honored. + if !isNamespaced || len(byObject.Namespaces) == 0 { + defaultedConfig := defaultConfig(byObjectToConfig(byObject), optionDefaultsToConfig(&opts)) + byObject.Label = defaultedConfig.LabelSelector + byObject.Field = defaultedConfig.FieldSelector + byObject.Transform = defaultedConfig.Transform + byObject.UnsafeDisableDeepCopy = defaultedConfig.UnsafeDisableDeepCopy } opts.ByObject[obj] = byObject } + // Default namespaces after byObject has been defaulted, otherwise a namespace without selectors + // will get the `Default` selectors, then get copied to byObject and then not get defaulted from + // byObject, as it already has selectors. + for namespace, cfg := range opts.DefaultNamespaces { + cfg = defaultConfig(cfg, optionDefaultsToConfig(&opts)) + if namespace == metav1.NamespaceAll { + cfg.FieldSelector = fields.AndSelectors( + appendIfNotNil( + namespaceAllSelector(maps.Keys(opts.DefaultNamespaces)), + cfg.FieldSelector, + )..., + ) + } + opts.DefaultNamespaces[namespace] = cfg + } + // Default the resync period to 10 hours if unset if opts.SyncPeriod == nil { opts.SyncPeriod = &defaultSyncPeriod @@ -498,20 +512,21 @@ func defaultConfig(toDefault, defaultFrom Config) Config { return toDefault } -func namespaceAllSelector(namespaces []string) fields.Selector { +func namespaceAllSelector(namespaces []string) []fields.Selector { selectors := make([]fields.Selector, 0, len(namespaces)-1) + sort.Strings(namespaces) for _, namespace := range namespaces { if namespace != metav1.NamespaceAll { selectors = append(selectors, fields.OneTermNotEqualSelector("metadata.namespace", namespace)) } } - return fields.AndSelectors(selectors...) + return selectors } -func appendIfNotNil[T comparable](a, b T) []T { +func appendIfNotNil[T comparable](a []T, b T) []T { if b != *new(T) { - return []T{a, b} + return append(a, b) } - return []T{a} + return a } diff --git a/vendor/sigs.k8s.io/controller-runtime/pkg/client/fieldowner.go b/vendor/sigs.k8s.io/controller-runtime/pkg/client/fieldowner.go new file mode 100644 index 0000000000..2f2f892ef3 --- /dev/null +++ b/vendor/sigs.k8s.io/controller-runtime/pkg/client/fieldowner.go @@ -0,0 +1,106 @@ +/* +Copyright 2024 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package client + +import ( + "context" + + "k8s.io/apimachinery/pkg/api/meta" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" +) + +// WithFieldOwner wraps a Client and adds the fieldOwner as the field +// manager to all write requests from this client. If additional [FieldOwner] +// options are specified on methods of this client, the value specified here +// will be overridden. +func WithFieldOwner(c Client, fieldOwner string) Client { + return &clientWithFieldManager{ + manager: fieldOwner, + c: c, + Reader: c, + } +} + +type clientWithFieldManager struct { + manager string + c Client + Reader +} + +func (f *clientWithFieldManager) Create(ctx context.Context, obj Object, opts ...CreateOption) error { + return f.c.Create(ctx, obj, append([]CreateOption{FieldOwner(f.manager)}, opts...)...) +} + +func (f *clientWithFieldManager) Update(ctx context.Context, obj Object, opts ...UpdateOption) error { + return f.c.Update(ctx, obj, append([]UpdateOption{FieldOwner(f.manager)}, opts...)...) +} + +func (f *clientWithFieldManager) Patch(ctx context.Context, obj Object, patch Patch, opts ...PatchOption) error { + return f.c.Patch(ctx, obj, patch, append([]PatchOption{FieldOwner(f.manager)}, opts...)...) +} + +func (f *clientWithFieldManager) Delete(ctx context.Context, obj Object, opts ...DeleteOption) error { + return f.c.Delete(ctx, obj, opts...) +} + +func (f *clientWithFieldManager) DeleteAllOf(ctx context.Context, obj Object, opts ...DeleteAllOfOption) error { + return f.c.DeleteAllOf(ctx, obj, opts...) +} + +func (f *clientWithFieldManager) Scheme() *runtime.Scheme { return f.c.Scheme() } +func (f *clientWithFieldManager) RESTMapper() meta.RESTMapper { return f.c.RESTMapper() } +func (f *clientWithFieldManager) GroupVersionKindFor(obj runtime.Object) (schema.GroupVersionKind, error) { + return f.c.GroupVersionKindFor(obj) +} +func (f *clientWithFieldManager) IsObjectNamespaced(obj runtime.Object) (bool, error) { + return f.c.IsObjectNamespaced(obj) +} + +func (f *clientWithFieldManager) Status() StatusWriter { + return &subresourceClientWithFieldOwner{ + owner: f.manager, + subresourceWriter: f.c.Status(), + } +} + +func (f *clientWithFieldManager) SubResource(subresource string) SubResourceClient { + c := f.c.SubResource(subresource) + return &subresourceClientWithFieldOwner{ + owner: f.manager, + subresourceWriter: c, + SubResourceReader: c, + } +} + +type subresourceClientWithFieldOwner struct { + owner string + subresourceWriter SubResourceWriter + SubResourceReader +} + +func (f *subresourceClientWithFieldOwner) Create(ctx context.Context, obj Object, subresource Object, opts ...SubResourceCreateOption) error { + return f.subresourceWriter.Create(ctx, obj, subresource, append([]SubResourceCreateOption{FieldOwner(f.owner)}, opts...)...) +} + +func (f *subresourceClientWithFieldOwner) Update(ctx context.Context, obj Object, opts ...SubResourceUpdateOption) error { + return f.subresourceWriter.Update(ctx, obj, append([]SubResourceUpdateOption{FieldOwner(f.owner)}, opts...)...) +} + +func (f *subresourceClientWithFieldOwner) Patch(ctx context.Context, obj Object, patch Patch, opts ...SubResourcePatchOption) error { + return f.subresourceWriter.Patch(ctx, obj, patch, append([]SubResourcePatchOption{FieldOwner(f.owner)}, opts...)...) +} diff --git a/vendor/sigs.k8s.io/controller-runtime/pkg/manager/internal.go b/vendor/sigs.k8s.io/controller-runtime/pkg/manager/internal.go index a16f354a1b..fdb9d982d9 100644 --- a/vendor/sigs.k8s.io/controller-runtime/pkg/manager/internal.go +++ b/vendor/sigs.k8s.io/controller-runtime/pkg/manager/internal.go @@ -518,6 +518,8 @@ func (cm *controllerManager) engageStopProcedure(stopComplete <-chan struct{}) e // Stop all the leader election runnables, which includes reconcilers. cm.logger.Info("Stopping and waiting for leader election runnables") + // Prevent leader election when shutting down a non-elected manager + cm.runnables.LeaderElection.startOnce.Do(func() {}) cm.runnables.LeaderElection.StopAndWait(cm.shutdownCtx) // Stop the caches before the leader election runnables, this is an important diff --git a/vendor/sigs.k8s.io/controller-runtime/pkg/manager/runnable_group.go b/vendor/sigs.k8s.io/controller-runtime/pkg/manager/runnable_group.go index 96566f5df1..6060910485 100644 --- a/vendor/sigs.k8s.io/controller-runtime/pkg/manager/runnable_group.go +++ b/vendor/sigs.k8s.io/controller-runtime/pkg/manager/runnable_group.go @@ -263,6 +263,15 @@ func (r *runnableGroup) Add(rn Runnable, ready runnableCheck) error { r.start.Unlock() } + // Recheck if we're stopped and hold the readlock, given that the stop and start can be called + // at the same time, we can end up in a situation where the runnable is added + // after the group is stopped and the channel is closed. + r.stop.RLock() + defer r.stop.RUnlock() + if r.stopped { + return errRunnableGroupStopped + } + // Enqueue the runnable. r.ch <- readyRunnable return nil @@ -272,7 +281,11 @@ func (r *runnableGroup) Add(rn Runnable, ready runnableCheck) error { func (r *runnableGroup) StopAndWait(ctx context.Context) { r.stopOnce.Do(func() { // Close the reconciler channel once we're done. - defer close(r.ch) + defer func() { + r.stop.Lock() + close(r.ch) + r.stop.Unlock() + }() _ = r.Start(ctx) r.stop.Lock() diff --git a/vendor/stash.appscode.dev/apimachinery/apis/stash/v1alpha1/openapi_generated.go b/vendor/stash.appscode.dev/apimachinery/apis/stash/v1alpha1/openapi_generated.go index 5c383e8c5a..b7393c490b 100644 --- a/vendor/stash.appscode.dev/apimachinery/apis/stash/v1alpha1/openapi_generated.go +++ b/vendor/stash.appscode.dev/apimachinery/apis/stash/v1alpha1/openapi_generated.go @@ -8763,7 +8763,7 @@ func schema_k8sio_api_core_v1_PersistentVolumeStatus(ref common.ReferenceCallbac }, "lastPhaseTransitionTime": { SchemaProps: spec.SchemaProps{ - Description: "lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions. This is an alpha field and requires enabling PersistentVolumeLastPhaseTransitionTime feature.", + Description: "lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions. This is a beta field and requires the PersistentVolumeLastPhaseTransitionTime feature to be enabled (enabled by default).", Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), }, }, diff --git a/vendor/stash.appscode.dev/apimachinery/apis/stash/v1beta1/openapi_generated.go b/vendor/stash.appscode.dev/apimachinery/apis/stash/v1beta1/openapi_generated.go index 9ea7459b1d..cd50c93ecf 100644 --- a/vendor/stash.appscode.dev/apimachinery/apis/stash/v1beta1/openapi_generated.go +++ b/vendor/stash.appscode.dev/apimachinery/apis/stash/v1beta1/openapi_generated.go @@ -8809,7 +8809,7 @@ func schema_k8sio_api_core_v1_PersistentVolumeStatus(ref common.ReferenceCallbac }, "lastPhaseTransitionTime": { SchemaProps: spec.SchemaProps{ - Description: "lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions. This is an alpha field and requires enabling PersistentVolumeLastPhaseTransitionTime feature.", + Description: "lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions. This is a beta field and requires the PersistentVolumeLastPhaseTransitionTime feature to be enabled (enabled by default).", Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), }, },