Skip to content

Commit

Permalink
Operator updates for new release server version (#455)
Browse files Browse the repository at this point in the history
Minor bookkeeping necessary whenever we release a new version of the
server.
  • Loading branch information
spilchen authored Jul 13, 2023
1 parent ba98d50 commit b6276df
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion api/v1beta1/verticadb_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ type VerticaDBSpec struct {
ImagePullSecrets []LocalObjectReference `json:"imagePullSecrets,omitempty"`

// +kubebuilder:validation:Optional
// +kubebuilder:default:="vertica/vertica-k8s:12.0.4-0-minimal"
// +kubebuilder:default:="vertica/vertica-k8s:23.3.0-0-minimal"
// +operator-sdk:csv:customresourcedefinitions:type=spec
// The docker image name that contains the Vertica server. Whenever this
// changes, the operator treats this as an upgrade. The upgrade can be done
Expand Down
5 changes: 5 additions & 0 deletions changes/unreleased/Changed-20230713-154910.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
kind: Changed
body: Use 23.3.0 as default vertica server image
time: 2023-07-13T15:49:10.879465546-03:00
custom:
Issue: "455"
1 change: 1 addition & 0 deletions pkg/version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ var UpgradePaths = map[Components]Info{
{12, 0, 2}: {"v23.3.x", Components{23, 3, 0}},
{12, 0, 3}: {"v23.3.x", Components{23, 3, 0}},
{12, 0, 4}: {"v23.3.x", Components{23, 3, 0}},
{23, 3, 0}: {"v23.4.x", Components{23, 4, 0}},
}

// MakeInfoFromStr will construct an Info struct by parsing the version string
Expand Down

0 comments on commit b6276df

Please sign in to comment.