diff --git a/CHANGELOG.md b/CHANGELOG.md index 5e7c4a3..053220b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,8 @@ All notable changes to this project will be documented in this file. ## [Unreleased] +## [26.11.0-rc1] - 2026-11-19 + ### Added - Support floating tags for product images via the new `spec.image.stackableVersionPolicy` field diff --git a/Cargo.lock b/Cargo.lock index 380a96f..2a76ef7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1123,9 +1123,9 @@ dependencies = [ [[package]] name = "granit-parser" -version = "2.1.0" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05f05586d4d4df3d47123207826c40b252728b438a1a07bad3c01ee6bea401df" +checksum = "9bd04d0d9c7079b416b458d2317aea4aa964c81938cb7c20f559758c4f422dc8" dependencies = [ "arraydeque", "smallvec", @@ -1882,9 +1882,9 @@ checksum = "2e126dda6f34391ab7b444f9922055facc83c07a910da3eb16f1e4d9c45dc777" [[package]] name = "libz-sys" -version = "1.1.31" +version = "1.1.33" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff20308ecabd635a2dc1dd5834a86c462cca20efba1d5d3ddab1f8aea3455cb2" +checksum = "fee3f59f4321dab0c78d828942e7aa09d0bd8ad6e78a501977e6bf3d02938045" dependencies = [ "cc", "libc", @@ -2884,12 +2884,12 @@ dependencies = [ [[package]] name = "serde-saphyr" -version = "2.1.1" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d43fb82d550b07e6f929a58d7d0935182602f48ddead875f5ee313c41c8f07fe" +checksum = "969cde0349344dbbf58b5f9badbfb8f806db13969364eb8007c057ef687007d9" dependencies = [ "annotate-snippets", - "base64 0.23.1", + "base64 0.22.1", "encoding_rs_io", "granit-parser", "nohash-hasher", @@ -3173,7 +3173,7 @@ dependencies = [ [[package]] name = "stackable-opensearch-operator" -version = "0.0.0-dev" +version = "26.11.0-rc1" dependencies = [ "built", "clap", diff --git a/Cargo.nix b/Cargo.nix index bdde5e0..a508f32 100644 --- a/Cargo.nix +++ b/Cargo.nix @@ -3638,10 +3638,10 @@ rec { }; "granit-parser" = rec { crateName = "granit-parser"; - version = "2.1.0"; + version = "2.2.0"; edition = "2021"; crateBin = []; - sha256 = "1pq1ljzfc7n0sfx0f6la8f5p4lmj81n841rj293kvpylsj35bw05"; + sha256 = "1j1d897qqxarylh7rjrq37469aaax9x33ljqnhbb8ybhkh6lvl4v"; libName = "granit_parser"; license = "MIT OR Apache-2.0"; authors = [ @@ -6362,10 +6362,10 @@ rec { }; "libz-sys" = rec { crateName = "libz-sys"; - version = "1.1.31"; + version = "1.1.33"; edition = "2018"; links = "z"; - sha256 = "1cjw8nisxy5iv8yms7dsxwhclb26djl38n6xq4nmlqxxra73087z"; + sha256 = "0ic0jc13vgz6fwcm12p7ss5bvl09mbkl52c2ip3v1ni18fgzbqzy"; libName = "libz_sys"; license = "MIT OR Apache-2.0"; authors = [ @@ -9861,10 +9861,10 @@ rec { }; "serde-saphyr" = rec { crateName = "serde-saphyr"; - version = "2.1.1"; + version = "2.2.0"; edition = "2024"; crateBin = []; - sha256 = "1zh7iwfc84z3brgqgbfyips049hq6l4pv3d557wyc1qbalnvhgyl"; + sha256 = "1n87f1lfymy00y0fnr4kjq9xn1pqp2zsv6szigsvnk9l941xx74n"; libName = "serde_saphyr"; license = "MIT OR Apache-2.0"; dependencies = [ @@ -9875,7 +9875,7 @@ rec { } { name = "base64"; - packageId = "base64 0.23.1"; + packageId = "base64 0.22.1"; optional = true; } { @@ -10779,7 +10779,7 @@ rec { }; "stackable-opensearch-operator" = rec { crateName = "stackable-opensearch-operator"; - version = "0.0.0-dev"; + version = "26.11.0-rc1"; edition = "2024"; crateBin = [ { diff --git a/Cargo.toml b/Cargo.toml index dc98f57..8ab5b5d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ members = ["rust/operator-binary"] resolver = "2" [workspace.package] -version = "0.0.0-dev" +version = "26.11.0-rc1" authors = ["Stackable GmbH "] license = "OSL-3.0" edition = "2024" diff --git a/deploy/helm/opensearch-operator/Chart.yaml b/deploy/helm/opensearch-operator/Chart.yaml index 06bc9ce..d4f6b97 100644 --- a/deploy/helm/opensearch-operator/Chart.yaml +++ b/deploy/helm/opensearch-operator/Chart.yaml @@ -1,8 +1,8 @@ --- apiVersion: v2 name: opensearch-operator -version: "0.0.0-dev" -appVersion: "0.0.0-dev" +version: "26.11.0-rc1" +appVersion: "26.11.0-rc1" description: "Kubernetes operator for OpenSearch. Deploy and run OpenSearch clusters with the Stackable Data Platform (SDP)." home: https://github.com/stackabletech/opensearch-operator # One known use of this is the Artifact Hub (AH) listing which shows the logo. diff --git a/docs/antora.yml b/docs/antora.yml index d522680..8eedc34 100644 --- a/docs/antora.yml +++ b/docs/antora.yml @@ -1,3 +1,4 @@ --- name: home -version: "nightly" +version: "26.11" +prerelease: false diff --git a/docs/modules/opensearch/examples/getting_started/getting_started.sh b/docs/modules/opensearch/examples/getting_started/getting_started.sh index 2ae7eab..478af55 100755 --- a/docs/modules/opensearch/examples/getting_started/getting_started.sh +++ b/docs/modules/opensearch/examples/getting_started/getting_started.sh @@ -26,20 +26,20 @@ case "$1" in "helm") echo "Installing Operators with Helm" # tag::helm-install-operators[] -helm install --wait commons-operator oci://oci.stackable.tech/sdp-charts/commons-operator --version 0.0.0-dev -helm install --wait secret-operator oci://oci.stackable.tech/sdp-charts/secret-operator --version 0.0.0-dev -helm install --wait listener-operator oci://oci.stackable.tech/sdp-charts/listener-operator --version 0.0.0-dev -helm install --wait opensearch-operator oci://oci.stackable.tech/sdp-charts/opensearch-operator --version 0.0.0-dev +helm install --wait commons-operator oci://oci.stackable.tech/sdp-charts/commons-operator --version 26.11.0-rc1 +helm install --wait secret-operator oci://oci.stackable.tech/sdp-charts/secret-operator --version 26.11.0-rc1 +helm install --wait listener-operator oci://oci.stackable.tech/sdp-charts/listener-operator --version 26.11.0-rc1 +helm install --wait opensearch-operator oci://oci.stackable.tech/sdp-charts/opensearch-operator --version 26.11.0-rc1 # end::helm-install-operators[] ;; "stackablectl") echo "installing Operators with stackablectl" # tag::stackablectl-install-operators[] stackablectl operator install \ - commons=0.0.0-dev \ - secret=0.0.0-dev \ - listener=0.0.0-dev \ - opensearch=0.0.0-dev + commons=26.11.0-rc1 \ + secret=26.11.0-rc1 \ + listener=26.11.0-rc1 \ + opensearch=26.11.0-rc1 # end::stackablectl-install-operators[] ;; *) diff --git a/docs/modules/opensearch/examples/getting_started/install_output.txt b/docs/modules/opensearch/examples/getting_started/install_output.txt index 52cd670..e27c3bb 100644 --- a/docs/modules/opensearch/examples/getting_started/install_output.txt +++ b/docs/modules/opensearch/examples/getting_started/install_output.txt @@ -1,4 +1,4 @@ -Installed commons=0.0.0-dev operator -Installed secret=0.0.0-dev operator -Installed listener=0.0.0-dev operator -Installed opensearch=0.0.0-dev operator +Installed commons=26.11.0-rc1 operator +Installed secret=26.11.0-rc1 operator +Installed listener=26.11.0-rc1 operator +Installed opensearch=26.11.0-rc1 operator diff --git a/docs/modules/opensearch/examples/getting_started/opensearch-dashboards-values.yaml b/docs/modules/opensearch/examples/getting_started/opensearch-dashboards-values.yaml index 7969bac..1a3701f 100644 --- a/docs/modules/opensearch/examples/getting_started/opensearch-dashboards-values.yaml +++ b/docs/modules/opensearch/examples/getting_started/opensearch-dashboards-values.yaml @@ -1,7 +1,7 @@ --- image: repository: oci.stackable.tech/sdp/opensearch-dashboards - tag: 3.8.0-stackable0.0.0-dev + tag: 3.8.0-stackable26.11.0-rc1 serviceAccount: create: false name: simple-opensearch-serviceaccount diff --git a/docs/modules/opensearch/pages/usage-guide/opensearch-dashboards.adoc b/docs/modules/opensearch/pages/usage-guide/opensearch-dashboards.adoc index 3b01749..6373404 100644 --- a/docs/modules/opensearch/pages/usage-guide/opensearch-dashboards.adoc +++ b/docs/modules/opensearch/pages/usage-guide/opensearch-dashboards.adoc @@ -13,7 +13,7 @@ A basic `values.yaml` file to deploy OpenSearch Dashboards with this chart might opensearchHosts: null # <1> image: # <2> repository: oci.stackable.tech/sdp/opensearch-dashboards - tag: 3.8.0-stackable0.0.0-dev + tag: 3.8.0-stackable26.11.0-rc1 serviceAccount: create: false name: opensearch-serviceaccount # <3> diff --git a/docs/templating_vars.yaml b/docs/templating_vars.yaml index 91114a9..dc8768e 100644 --- a/docs/templating_vars.yaml +++ b/docs/templating_vars.yaml @@ -3,7 +3,7 @@ helm: repo_name: sdp-charts repo_url: oci.stackable.tech versions: - commons: 0.0.0-dev - secret: 0.0.0-dev - listener: 0.0.0-dev - opensearch: 0.0.0-dev + commons: 26.11.0-rc1 + secret: 26.11.0-rc1 + listener: 26.11.0-rc1 + opensearch: 26.11.0-rc1 diff --git a/extra/crds.yaml b/extra/crds.yaml index ff92247..525b65e 100644 --- a/extra/crds.yaml +++ b/extra/crds.yaml @@ -22,7 +22,7 @@ spec: description: |- An OpenSearch cluster stacklet. This resource is managed by the Stackable operator for OpenSearch. Find more information on how to use it and the resources that the operator - generates in the [operator documentation](https://docs.stackable.tech/home/nightly/opensearch/). + generates in the [operator documentation](https://docs.stackable.tech/home/26.11/opensearch/). properties: clusterConfig: default: @@ -1150,9 +1150,9 @@ spec: type: object vectorAggregatorConfigMapName: description: |- - Name of the Vector aggregator [discovery ConfigMap](https://docs.stackable.tech/home/nightly/concepts/service_discovery). + Name of the Vector aggregator [discovery ConfigMap](https://docs.stackable.tech/home/26.11/concepts/service_discovery). It must contain the key `ADDRESS` with the address of the Vector aggregator. - Follow the [logging tutorial](https://docs.stackable.tech/home/nightly/tutorials/logging-vector-aggregator) + Follow the [logging tutorial](https://docs.stackable.tech/home/26.11/tutorials/logging-vector-aggregator) to learn how to configure log aggregation with Vector. maxLength: 253 minLength: 1 @@ -1165,7 +1165,7 @@ spec: reconciliationPaused: false stopped: false description: |- - [Cluster operations](https://docs.stackable.tech/home/nightly/concepts/operations/cluster_operations) + [Cluster operations](https://docs.stackable.tech/home/26.11/concepts/operations/cluster_operations) properties, allow stopping the product instance as well as pausing reconciliation. properties: reconciliationPaused: @@ -1200,7 +1200,7 @@ spec: You can also configure a custom image registry to pull from, as well as completely custom images. - Consult the [Product image selection documentation](https://docs.stackable.tech/home/nightly/concepts/product_image_selection) + Consult the [Product image selection documentation](https://docs.stackable.tech/home/26.11/concepts/product_image_selection) for details. properties: custom: @@ -1295,7 +1295,7 @@ spec: on role level. There is also a second form of config, which can only be configured at role level, the `roleConfig`. You can learn more about this in the - [Roles and role group concept documentation](https://docs.stackable.tech/home/nightly/concepts/roles-and-role-groups). + [Roles and role group concept documentation](https://docs.stackable.tech/home/26.11/concepts/roles-and-role-groups). properties: cliOverrides: additionalProperties: @@ -1313,7 +1313,7 @@ spec: podAntiAffinity: null description: |- These configuration settings control - [Pod placement](https://docs.stackable.tech/home/nightly/concepts/operations/pod_placement). + [Pod placement](https://docs.stackable.tech/home/26.11/concepts/operations/pod_placement). properties: nodeAffinity: description: Same as the `spec.affinity.nodeAffinity` field on the Pod, see the [Kubernetes docs](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node) @@ -1361,7 +1361,7 @@ spec: default: containers: {} enableVectorAgent: null - description: Logging configuration, learn more in the [logging concept documentation](https://docs.stackable.tech/home/nightly/concepts/logging). + description: Logging configuration, learn more in the [logging concept documentation](https://docs.stackable.tech/home/26.11/concepts/logging). properties: containers: description: Log configuration per container. @@ -1777,7 +1777,7 @@ spec: Roles of the OpenSearch node. Consult the [node roles - documentation](https://docs.stackable.tech/home/nightly/opensearch/usage-guide/node-roles) for details. + documentation](https://docs.stackable.tech/home/26.11/opensearch/usage-guide/node-roles) for details. items: enum: - cluster_manager @@ -1903,7 +1903,7 @@ spec: description: |- The `configOverrides` can be used to configure properties in product config files that are not exposed in the CRD. Read the - [config overrides documentation](https://docs.stackable.tech/home/nightly/concepts/overrides#config-overrides) + [config overrides documentation](https://docs.stackable.tech/home/26.11/concepts/overrides#config-overrides) and consult the operator specific usage guide documentation for details on the available config files and settings for the specific product. properties: @@ -1964,7 +1964,7 @@ spec: It is a map from environment variable names to their values. The names are validated to be valid environment variable names. Read the - [environment variable overrides documentation](https://docs.stackable.tech/home/nightly/concepts/overrides#env-overrides) + [environment variable overrides documentation](https://docs.stackable.tech/home/26.11/concepts/overrides#env-overrides) for more information and consult the operator specific usage guide to find out about the product specific environment variables that are available. type: object @@ -1975,7 +1975,7 @@ spec: [PodTemplateSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/#podtemplatespec-v1-core) to override any property that can be set on a Kubernetes Pod. Read the - [Pod overrides documentation](https://docs.stackable.tech/home/nightly/concepts/overrides#pod-overrides) + [Pod overrides documentation](https://docs.stackable.tech/home/26.11/concepts/overrides#pod-overrides) for more information. type: object x-kubernetes-preserve-unknown-fields: true @@ -2005,7 +2005,7 @@ spec: 2. The allowed number of Pods to be unavailable (`maxUnavailable`) Learn more in the - [allowed Pod disruptions documentation](https://docs.stackable.tech/home/nightly/concepts/operations/pod_disruptions). + [allowed Pod disruptions documentation](https://docs.stackable.tech/home/26.11/concepts/operations/pod_disruptions). properties: enabled: default: true @@ -2045,7 +2045,7 @@ spec: podAntiAffinity: null description: |- These configuration settings control - [Pod placement](https://docs.stackable.tech/home/nightly/concepts/operations/pod_placement). + [Pod placement](https://docs.stackable.tech/home/26.11/concepts/operations/pod_placement). properties: nodeAffinity: description: Same as the `spec.affinity.nodeAffinity` field on the Pod, see the [Kubernetes docs](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node) @@ -2093,7 +2093,7 @@ spec: default: containers: {} enableVectorAgent: null - description: Logging configuration, learn more in the [logging concept documentation](https://docs.stackable.tech/home/nightly/concepts/logging). + description: Logging configuration, learn more in the [logging concept documentation](https://docs.stackable.tech/home/26.11/concepts/logging). properties: containers: description: Log configuration per container. @@ -2509,7 +2509,7 @@ spec: Roles of the OpenSearch node. Consult the [node roles - documentation](https://docs.stackable.tech/home/nightly/opensearch/usage-guide/node-roles) for details. + documentation](https://docs.stackable.tech/home/26.11/opensearch/usage-guide/node-roles) for details. items: enum: - cluster_manager @@ -2635,7 +2635,7 @@ spec: description: |- The `configOverrides` can be used to configure properties in product config files that are not exposed in the CRD. Read the - [config overrides documentation](https://docs.stackable.tech/home/nightly/concepts/overrides#config-overrides) + [config overrides documentation](https://docs.stackable.tech/home/26.11/concepts/overrides#config-overrides) and consult the operator specific usage guide documentation for details on the available config files and settings for the specific product. properties: @@ -2696,7 +2696,7 @@ spec: It is a map from environment variable names to their values. The names are validated to be valid environment variable names. Read the - [environment variable overrides documentation](https://docs.stackable.tech/home/nightly/concepts/overrides#env-overrides) + [environment variable overrides documentation](https://docs.stackable.tech/home/26.11/concepts/overrides#env-overrides) for more information and consult the operator specific usage guide to find out about the product specific environment variables that are available. type: object @@ -2707,7 +2707,7 @@ spec: [PodTemplateSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/#podtemplatespec-v1-core) to override any property that can be set on a Kubernetes Pod. Read the - [Pod overrides documentation](https://docs.stackable.tech/home/nightly/concepts/overrides#pod-overrides) + [Pod overrides documentation](https://docs.stackable.tech/home/26.11/concepts/overrides#pod-overrides) for more information. type: object x-kubernetes-preserve-unknown-fields: true @@ -2731,7 +2731,7 @@ spec: names it `default`. Read the - [roles and role groups concept documentation](https://docs.stackable.tech/home/nightly/concepts/roles-and-role-groups) + [roles and role groups concept documentation](https://docs.stackable.tech/home/26.11/concepts/roles-and-role-groups) for more details. type: object required: @@ -2745,7 +2745,7 @@ spec: List entries are arbitrary YAML objects, which need to be valid Kubernetes objects. - Read the [Object overrides documentation](https://docs.stackable.tech/home/nightly/concepts/overrides#object-overrides) + Read the [Object overrides documentation](https://docs.stackable.tech/home/26.11/concepts/overrides#object-overrides) for more information. items: type: object diff --git a/rust/operator-binary/src/controller/validate.rs b/rust/operator-binary/src/controller/validate.rs index 16e13f5..b9e0fca 100644 --- a/rust/operator-binary/src/controller/validate.rs +++ b/rust/operator-binary/src/controller/validate.rs @@ -511,7 +511,7 @@ mod tests { "oci.example.org/opensearch:3.8.0-stackable{pkg_version}", pkg_version = built_info::PKG_VERSION ), - image_pull_policy: "Always".to_owned(), + image_pull_policy: "IfNotPresent".to_owned(), pull_secrets: None, }, ProductVersion::from_str_unsafe("3.8.0"), diff --git a/tests/release.yaml b/tests/release.yaml index c877cd4..27f059c 100644 --- a/tests/release.yaml +++ b/tests/release.yaml @@ -7,10 +7,10 @@ releases: description: Integration test products: commons: - operatorVersion: 0.0.0-dev + operatorVersion: 26.11.0-rc1 secret: - operatorVersion: 0.0.0-dev + operatorVersion: 26.11.0-rc1 listener: - operatorVersion: 0.0.0-dev + operatorVersion: 26.11.0-rc1 opensearch: - operatorVersion: 0.0.0-dev + operatorVersion: 26.11.0-rc1 diff --git a/tests/test-definition.yaml b/tests/test-definition.yaml index 3e6b97d..e3d6ae9 100644 --- a/tests/test-definition.yaml +++ b/tests/test-definition.yaml @@ -6,8 +6,8 @@ dimensions: - 3.6.0 - 3.8.0 # To use a custom image, add a comma and the full name after the product version, e.g.: - # - 3.8.0,oci.stackable.tech/sandbox/opensearch:3.8.0-stackable0.0.0-dev - # - 3.8.0,localhost:5000/sdp/opensearch:3.8.0-stackable0.0.0-dev + # - 3.8.0,oci.stackable.tech/sandbox/opensearch:3.8.0-stackable26.11.0-rc1 + # - 3.8.0,localhost:5000/sdp/opensearch:3.8.0-stackable26.11.0-rc1 - name: opensearch_home values: - /stackable/opensearch @@ -21,7 +21,7 @@ dimensions: # The release must sometimes be known in podOverrides or Helm values - name: release values: - - 0.0.0-dev + - 26.11.0-rc1 tests: - name: smoke dimensions: