Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare for release v0.2.0-rc.2 #126

Merged
merged 1 commit into from
Aug 2, 2024
Merged
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
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ require (
k8s.io/klog/v2 v2.130.1
kmodules.xyz/client-go v0.30.9
kmodules.xyz/custom-resources v0.30.0
kubedb.dev/apimachinery v0.47.0-rc.1.0.20240726122410-88b60875b260
kubedb.dev/apimachinery v0.47.0-rc.2
sigs.k8s.io/controller-runtime v0.18.4
xorm.io/xorm v1.3.6
)
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -793,8 +793,8 @@ kmodules.xyz/monitoring-agent-api v0.29.0 h1:gpFl6OZrlMLb/ySMHdREI9EwGtnJ91oZBn9
kmodules.xyz/monitoring-agent-api v0.29.0/go.mod h1:iNbvaMTgVFOI5q2LJtGK91j4Dmjv4ZRiRdasGmWLKQI=
kmodules.xyz/offshoot-api v0.30.0 h1:dq9F93pu4Q8rL9oTcCk+vGGy8vpS7RNt0GSwx7Bvhec=
kmodules.xyz/offshoot-api v0.30.0/go.mod h1:o9VoA3ImZMDBp3lpLb8+kc2d/KBxioRwCpaKDfLIyDw=
kubedb.dev/apimachinery v0.47.0-rc.1.0.20240726122410-88b60875b260 h1:VE1jdrxBkuwzqVWMafV45sUQHlIBbnO/YrHiOlwHHcA=
kubedb.dev/apimachinery v0.47.0-rc.1.0.20240726122410-88b60875b260/go.mod h1:Gs/kwdVYmGjJmYmvCUNDmNbbprXqi/gbSj/JrsoM9sE=
kubedb.dev/apimachinery v0.47.0-rc.2 h1:pdtbBiLM0VQw8HoJ3Z2tp4PZX5y66CIYBRCIn7inADI=
kubedb.dev/apimachinery v0.47.0-rc.2/go.mod h1:XkzWrijuH4skCU2ru+Ye9O0KSWQ7Nn2mRjP3+F3StLk=
kubeops.dev/petset v0.0.6 h1:0IbvxD9fadZfH+3iMZWzN6ZHsO0vX458JlioamwyPKQ=
kubeops.dev/petset v0.0.6/go.mod h1:A15vh0r979NsvL65DTIZKWsa/NoX9VapHBAEw1ZsdYI=
lukechampine.com/uint128 v1.1.1/go.mod h1:c4eWIwlEGaxC/+H1VguhU4PHXNWDCDMUlWdIWl2j1gk=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ type MSSQLServerVersionSpec struct {
// Coordinator Image
// +optional
Coordinator MSSQLServerCoordinator `json:"coordinator,omitempty"`
// Exporter Image
Exporter MSSQLServerVersionExporter `json:"exporter"`
// Init container Image
InitContainer MSSQLServerInitContainer `json:"initContainer"`
// Deprecated versions usable but regarded as obsolete and best avoided, typically due to having been superseded.
Expand All @@ -68,6 +70,8 @@ type MSSQLServerVersionSpec struct {
SecurityContext SecurityContext `json:"securityContext"`
// update constraints
UpdateConstraints UpdateConstraints `json:"updateConstraints,omitempty"`
// Archiver defines the walg & kube-stash-addon related specifications
Archiver ArchiverSpec `json:"archiver,omitempty"`
// +optional
UI []ChartInfo `json:"ui,omitempty"`
}
Expand All @@ -82,6 +86,11 @@ type MSSQLServerCoordinator struct {
Image string `json:"image"`
}

// MSSQLServerVersionExporter is the image for the MSSQL Server exporter
type MSSQLServerVersionExporter struct {
Image string `json:"image"`
}

// MSSQLServerInitContainer is the MSSQLServer Container initializer
type MSSQLServerInitContainer struct {
Image string `json:"image"`
Expand Down

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

18 changes: 14 additions & 4 deletions vendor/kubedb.dev/apimachinery/apis/catalog/v1alpha1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,19 @@ type AddonSpec struct {
Tasks AddonTasks `json:"tasks,omitempty"`
}

// +kubebuilder:validation:Enum=mongodb-addon;postgres-addon;mysql-addon;mariadb-addon
// +kubebuilder:validation:Enum=mongodb-addon;postgres-addon;mysql-addon;mariadb-addon;mssqlserver-addon
type AddonType string

type AddonTasks struct {
VolumeSnapshot VolumeSnapshot `json:"volumeSnapshot,omitempty"`
ManifestBackup ManifestBackup `json:"manifestBackup,omitempty"`
ManifestRestore ManifestRestore `json:"manifestRestore,omitempty"`
VolumeSnapshot VolumeSnapshot `json:"volumeSnapshot,omitempty"`
ManifestBackup ManifestBackup `json:"manifestBackup,omitempty"`
ManifestRestore ManifestRestore `json:"manifestRestore,omitempty"`
FullBackup FullBackup `json:"fullBackup,omitempty"`
FullBackupRestore FullBackupRestore `json:"fullBackupRestore,omitempty"`
}

type FullBackup struct {
Name string `json:"name"`
}

type VolumeSnapshot struct {
Expand All @@ -70,6 +76,10 @@ type ManifestRestore struct {
Name string `json:"name"`
}

type FullBackupRestore struct {
Name string `json:"name"`
}

// GitSyncer is the image for the kubernetes/git-sync
// https://github.com/kubernetes/git-sync
type GitSyncer struct {
Expand Down

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

13 changes: 13 additions & 0 deletions vendor/kubedb.dev/apimachinery/apis/kubedb/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -689,6 +689,10 @@ const (
DatabaseWriteAccess = "DatabaseWriteAccess"
// check dependencies are ready
DatabaseDependencyReady = "DatabaseDependencyReady"
// update config secret for backup in solr
PatchConfigSecretUpdateForBackup = "PatchConfigSecretUpdatesForBackup"
// sync db to update configuration
SyncDatabaseForConfigurationUpdate = "SyncDatabaseForConfigurationUpdate"

// Condition reasons
DataRestoreStartedByExternalInitializer = "DataRestoreStartedByExternalInitializer"
Expand Down Expand Up @@ -923,6 +927,15 @@ const (
SolrConfAllowPathsValue = ""
SolrConfSolrCloudKey = "solrcloud"
SolrConfShardHandlerFactoryKey = "shardHandlerFactory"

ProxyDeploymentName = "s3proxy"
ProxyServiceName = "proxy-svc"
ProxySecretName = "proxy-env"
ProxyImage = "andrewgaul/s3proxy"
ProxyPortName = "http"
ProxyPortNumber = 80
ProxyContainerName = "proxy"
ProxyLabelsApp = "app"
)

// =========================== Druid Constants ============================
Expand Down
Loading
Loading