Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 52 additions & 2 deletions apis/kubedb/v1alpha2/openapi_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 15 additions & 1 deletion apis/kubedb/v1alpha2/weaviate_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,15 @@ type WeaviateSpec struct {
// +optional
AuthSecret *SecretReference `json:"authSecret,omitempty"`

// Init is used to initialize database
// +optional
Init *InitSpec `json:"init,omitempty"`

// Configuration is an optional field to provide custom configuration file for database (i.e conf.yaml).
// If specified, this file will be used as configuration file otherwise default configuration file will be used.
// You can provide custom configurations using Secret or ApplyConfig.
// +optional
Configuration *ConfigurationSpec `json:"configuration,omitempty"`
Configuration *WeaviateConfiguration `json:"configuration,omitempty"`

// PodTemplate is an optional configuration for pods used to expose database
// +optional
Expand Down Expand Up @@ -120,3 +124,13 @@ type WeaviateList struct {
metav1.ListMeta `json:"metadata,omitempty"`
Items []Weaviate `json:"items"`
}

type WeaviateConfiguration struct {
ConfigurationSpec `json:",inline,omitempty"`

// BackupConfigSecret is an optional field to provide environment variables
// from a Kubernetes Secret for backup or other purposes.
// These env vars will be injected into the database container.
// +optional
BackupConfigSecret *core.LocalObjectReference `json:"backupConfigSecret,omitempty"`
}
29 changes: 28 additions & 1 deletion apis/kubedb/v1alpha2/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

218 changes: 218 additions & 0 deletions apis/ops/v1alpha1/openapi_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading