Skip to content
Draft
Show file tree
Hide file tree
Changes from 3 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
4 changes: 4 additions & 0 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion crates/stackable-operator/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ product-config.workspace = true
rand.workspace = true
regex.workspace = true
schemars.workspace = true
semver.workspace = true
semver = { workspace = true, features = ["serde"] }
serde_json.workspace = true
serde_yaml.workspace = true
serde.workspace = true
Expand Down
28 changes: 25 additions & 3 deletions crates/stackable-operator/crds/DummyCluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1831,6 +1831,27 @@ spec:
Consult the [Product image selection documentation](https://docs.stackable.tech/home/nightly/concepts/product_image_selection)
for details.
properties:
autoUpdate:
default: false
description: |-
Automatically update the product image. Defaults to `false`.

This mechanism utilizes a floating image tag which always refers to the latest patch version
in the current release line. The current release line is either automatically derived, or
can be overridden via `stackableVersion`.

It should be noted that when this field is set to `true`, the operator uses `Always` as the
pull policy for product images. If set to `false`, `IfNotPresent` is used. Explicitly
setting `pullPolicy` takes precedence.

### Examples

- The `stackableVersion` field is not set, the operator falls back to its own version, eg.
26.7.0. If this field is set to `true`, the `26.7` floating tag will be used for product
images, else, `26.7.0` will be used.
- The `stackableVersion` field is set to `26.3.0`. If this field is set to `true`, the
`26.3` floating tag will be used for product images, else, `26.3.0` will be used.
type: boolean
custom:
description: |-
Provide a custom container image.
Expand All @@ -1841,12 +1862,13 @@ spec:
description: Version of the product, e.g. `1.4.1`.
type: string
pullPolicy:
default: Always
description: '[Pull policy](https://kubernetes.io/docs/concepts/containers/images/#image-pull-policy) used when pulling the image.'
enum:
- IfNotPresent
- Always
- Never
- null
nullable: true
type: string
pullSecrets:
description: '[Image pull secrets](https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod) to pull images from a private registry.'
Expand All @@ -1872,9 +1894,9 @@ spec:
type: string
stackableVersion:
description: |-
Stackable version of the product, e.g. `23.4`, `23.4.1` or `0.0.0-dev`.
Stackable version of the product, e.g. `26.7.0` or `0.0.0-dev`.

If not specified, the operator will use its own version, e.g. `23.4.1`. When using a nightly
If not specified, the operator will use its own version, e.g. `26.7.1`. When using a nightly
Comment thread
sbernauer marked this conversation as resolved.
operator or a PR version, it will use the nightly `0.0.0-dev` image.
nullable: true
type: string
Expand Down
Loading
Loading