Skip to content

Commit

Permalink
add disclaimer in the documentation about vitess compatibility
Browse files Browse the repository at this point in the history
Signed-off-by: Florent Poinsard <[email protected]>
  • Loading branch information
frouioui committed Oct 9, 2024
1 parent 31b57bd commit 2f9c6fb
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
8 changes: 7 additions & 1 deletion docs/api/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6552,7 +6552,13 @@ <h3 id="planetscale.com/v2.VitessKeyspaceTemplateImages">VitessKeyspaceTemplateI
<p>
<p>VitessKeyspaceTemplateImages specifies user-definable container images to
use for this keyspace. The images defined here by the user will override
those defined at the top-level in VitessCluster.spec.images</p>
those defined at the top-level in VitessCluster.spec.images.</p>
<p>While this field allows you to set a different set of Vitess version for
some components of Vitess than the version defined at the top level, it
is important to note that Vitess only ensure compatibility between one
version and the next and previous one. For instance: N is only compatible
with N+1 and N-1. Do be careful when specifying multiple versions across
your cluster so that they respect this compatibility rule.</p>
<p>Note: this structure is a copy of VitessKeyspaceImages, once we have gotten
rid of MysqldImage and replaced it by MysqldImageNew (planned for v2.15), we
should be able to remove VitessKeyspaceTemplateImages entirely and just use
Expand Down
9 changes: 8 additions & 1 deletion pkg/apis/planetscale/v2/vitesskeyspace_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,14 @@ type VitessKeyspaceTemplate struct {

// VitessKeyspaceTemplateImages specifies user-definable container images to
// use for this keyspace. The images defined here by the user will override
// those defined at the top-level in VitessCluster.spec.images
// those defined at the top-level in VitessCluster.spec.images.
//
// While this field allows you to set a different set of Vitess version for
// some components of Vitess than the version defined at the top level, it
// is important to note that Vitess only ensure compatibility between one
// version and the next and previous one. For instance: N is only compatible
// with N+1 and N-1. Do be careful when specifying multiple versions across
// your cluster so that they respect this compatibility rule.
//
// Note: this structure is a copy of VitessKeyspaceImages, once we have gotten
// rid of MysqldImage and replaced it by MysqldImageNew (planned for v2.15), we
Expand Down

0 comments on commit 2f9c6fb

Please sign in to comment.