Skip to content
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 .github/workflows/pr_cockpit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ jobs:

- name: Update Version
run: |
cargo install cargo-edit --version 0.11.11
cargo install --locked cargo-edit --version 0.11.11
cargo set-version --offline --package stackable-cockpit 0.0.0-pr${{ github.event.pull_request.number }}

# Recreate charts and publish charts and docker image. The "-e" is needed as we want to override the
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

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

7 changes: 6 additions & 1 deletion Cargo.nix

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

2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ WORKDIR /
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain 1.68.2
## PATCH: cargo-cyclonedx@0.3.7 uses libcargo 0.64 (Cargo 1.63), while our build uses features from Cargo 1.64
## See https://github.com/CycloneDX/cyclonedx-rust-cargo/discussions/416
# && . "$HOME/.cargo/env" && cargo install cargo-cyclonedx@0.3.7 cargo-auditable@0.6.1
# && . "$HOME/.cargo/env" && cargo install --locked cargo-cyclonedx@0.3.7 cargo-auditable@0.6.1

# Build artifacts will be available in /app.
RUN mkdir /app
Expand Down
10 changes: 5 additions & 5 deletions docs/modules/stackablectl/pages/installation.adoc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
= Installation
:page-aliases: stable@stackablectl::installation.adoc

:latest-release: https://github.com/stackabletech/stackable-cockpit/releases/tag/stackablectl-1.1.0
:latest-release: https://github.com/stackabletech/stackable-cockpit/releases/tag/stackablectl-1.2.0
:fish-comp-loations: https://fishshell.com/docs/current/completions.html#where-to-put-completions
:nushell-comp-locations: https://www.nushell.sh/book/custom_commands.html#persisting

Expand All @@ -23,14 +23,14 @@ You can also use the following command:

[source,console]
----
$ curl -L -o stackablectl https://github.com/stackabletech/stackable-cockpit/releases/download/stackablectl-1.1.0/stackablectl-x86_64-unknown-linux-gnu
$ curl -L -o stackablectl https://github.com/stackabletech/stackable-cockpit/releases/download/stackablectl-1.2.0/stackablectl-x86_64-unknown-linux-gnu
----

**aarch64** (arm64):

[source,console]
----
$ curl -L -o stackablectl https://github.com/stackabletech/stackable-cockpit/releases/download/stackablectl-1.1.0/stackablectl-aarch64-unknown-linux-gnu
$ curl -L -o stackablectl https://github.com/stackabletech/stackable-cockpit/releases/download/stackablectl-1.2.0/stackablectl-aarch64-unknown-linux-gnu
----

Install the binary into a directory in the `$PATH`, and make it executable:
Expand Down Expand Up @@ -60,14 +60,14 @@ You can also use the following command:

[source,console]
----
$ curl -L -o stackablectl https://github.com/stackabletech/stackable-cockpit/releases/download/stackablectl-1.1.0/stackablectl-x86_64-apple-darwin
$ curl -L -o stackablectl https://github.com/stackabletech/stackable-cockpit/releases/download/stackablectl-1.2.0/stackablectl-x86_64-apple-darwin
----

**aarch64** (arm64):

[source,console]
----
$ curl -L -o stackablectl https://github.com/stackabletech/stackable-cockpit/releases/download/stackablectl-1.1.0/stackablectl-aarch64-apple-darwin
$ curl -L -o stackablectl https://github.com/stackabletech/stackable-cockpit/releases/download/stackablectl-1.2.0/stackablectl-aarch64-apple-darwin
----

Install the binary into a directory in the `$PATH`, and make it executable:
Expand Down
2 changes: 2 additions & 0 deletions docs/modules/stackablectl/pages/release-notes.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
A full list of changes is available directly in https://github.com/stackabletech/stackable-cockpit/blob/main/rust/stackablectl/CHANGELOG.md[stackablectl's changelog].

// WARNING: Please keep the empty newlines, otherwise headings are broken.
include::partial$release-notes/release-1.2.0.adoc[]

include::partial$release-notes/release-1.1.0.adoc[]

include::partial$release-notes/release-1.0.0.adoc[]
Expand Down
12 changes: 10 additions & 2 deletions docs/modules/stackablectl/partials/commands/cache.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,17 @@ Helm repository options:
--chart-source <CHART_SOURCE>
Source the charts from either a OCI registry or from index.yaml-based repositories.
[default: oci]
Possible values:
- oci: OCI registry
- repo: index.yaml-based repositories: resolution (dev, test, stable) is based on the version and thus will be operator-specific
[default: oci]
Operator specific configurations:
--listener-class-preset <LISTENER_CLASS_PRESET>
Choose the ListenerClass preset (`none`, `ephemeral-nodes` or `stable-nodes`).
This maps to the listener-operator Helm Chart preset value, see [the listener-operator documentation](https://docs.stackable.tech/home/nightly/listener-operator/listenerclass/#presets) for details.
[possible values: none, stable-nodes, ephemeral-nodes]
----
12 changes: 10 additions & 2 deletions docs/modules/stackablectl/partials/commands/completions.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,17 @@ Helm repository options:
--chart-source <CHART_SOURCE>
Source the charts from either a OCI registry or from index.yaml-based repositories.
[default: oci]
Possible values:
- oci: OCI registry
- repo: index.yaml-based repositories: resolution (dev, test, stable) is based on the version and thus will be operator-specific
[default: oci]
Operator specific configurations:
--listener-class-preset <LISTENER_CLASS_PRESET>
Choose the ListenerClass preset (`none`, `ephemeral-nodes` or `stable-nodes`).
This maps to the listener-operator Helm Chart preset value, see [the listener-operator documentation](https://docs.stackable.tech/home/nightly/listener-operator/listenerclass/#presets) for details.
[possible values: none, stable-nodes, ephemeral-nodes]
----
12 changes: 10 additions & 2 deletions docs/modules/stackablectl/partials/commands/demo.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,17 @@ Helm repository options:
--chart-source <CHART_SOURCE>
Source the charts from either a OCI registry or from index.yaml-based repositories.

[default: oci]

Possible values:
- oci: OCI registry
- repo: index.yaml-based repositories: resolution (dev, test, stable) is based on the version and thus will be operator-specific

[default: oci]

Operator specific configurations:
--listener-class-preset <LISTENER_CLASS_PRESET>
Choose the ListenerClass preset (`none`, `ephemeral-nodes` or `stable-nodes`).

This maps to the listener-operator Helm Chart preset value, see [the listener-operator documentation](https://docs.stackable.tech/home/nightly/listener-operator/listenerclass/#presets) for details.

[possible values: none, stable-nodes, ephemeral-nodes]
----
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,17 @@ Helm repository options:
--chart-source <CHART_SOURCE>
Source the charts from either a OCI registry or from index.yaml-based repositories.

[default: oci]

Possible values:
- oci: OCI registry
- repo: index.yaml-based repositories: resolution (dev, test, stable) is based on the version and thus will be operator-specific

[default: oci]

Operator specific configurations:
--listener-class-preset <LISTENER_CLASS_PRESET>
Choose the ListenerClass preset (`none`, `ephemeral-nodes` or `stable-nodes`).

This maps to the listener-operator Helm Chart preset value, see [the listener-operator documentation](https://docs.stackable.tech/home/nightly/listener-operator/listenerclass/#presets) for details.

[possible values: none, stable-nodes, ephemeral-nodes]
----
12 changes: 10 additions & 2 deletions docs/modules/stackablectl/partials/commands/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,17 @@ Helm repository options:
--chart-source <CHART_SOURCE>
Source the charts from either a OCI registry or from index.yaml-based repositories.
[default: oci]
Possible values:
- oci: OCI registry
- repo: index.yaml-based repositories: resolution (dev, test, stable) is based on the version and thus will be operator-specific
[default: oci]
Operator specific configurations:
--listener-class-preset <LISTENER_CLASS_PRESET>
Choose the ListenerClass preset (`none`, `ephemeral-nodes` or `stable-nodes`).
This maps to the listener-operator Helm Chart preset value, see [the listener-operator documentation](https://docs.stackable.tech/home/nightly/listener-operator/listenerclass/#presets) for details.
[possible values: none, stable-nodes, ephemeral-nodes]
----
12 changes: 10 additions & 2 deletions docs/modules/stackablectl/partials/commands/operator.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,17 @@ Helm repository options:
--chart-source <CHART_SOURCE>
Source the charts from either a OCI registry or from index.yaml-based repositories.

[default: oci]

Possible values:
- oci: OCI registry
- repo: index.yaml-based repositories: resolution (dev, test, stable) is based on the version and thus will be operator-specific

[default: oci]

Operator specific configurations:
--listener-class-preset <LISTENER_CLASS_PRESET>
Choose the ListenerClass preset (`none`, `ephemeral-nodes` or `stable-nodes`).

This maps to the listener-operator Helm Chart preset value, see [the listener-operator documentation](https://docs.stackable.tech/home/nightly/listener-operator/listenerclass/#presets) for details.

[possible values: none, stable-nodes, ephemeral-nodes]
----
12 changes: 10 additions & 2 deletions docs/modules/stackablectl/partials/commands/release.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,17 @@ Helm repository options:
--chart-source <CHART_SOURCE>
Source the charts from either a OCI registry or from index.yaml-based repositories.

[default: oci]

Possible values:
- oci: OCI registry
- repo: index.yaml-based repositories: resolution (dev, test, stable) is based on the version and thus will be operator-specific

[default: oci]

Operator specific configurations:
--listener-class-preset <LISTENER_CLASS_PRESET>
Choose the ListenerClass preset (`none`, `ephemeral-nodes` or `stable-nodes`).

This maps to the listener-operator Helm Chart preset value, see [the listener-operator documentation](https://docs.stackable.tech/home/nightly/listener-operator/listenerclass/#presets) for details.

[possible values: none, stable-nodes, ephemeral-nodes]
----
12 changes: 10 additions & 2 deletions docs/modules/stackablectl/partials/commands/stack.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,17 @@ Helm repository options:
--chart-source <CHART_SOURCE>
Source the charts from either a OCI registry or from index.yaml-based repositories.

[default: oci]

Possible values:
- oci: OCI registry
- repo: index.yaml-based repositories: resolution (dev, test, stable) is based on the version and thus will be operator-specific

[default: oci]

Operator specific configurations:
--listener-class-preset <LISTENER_CLASS_PRESET>
Choose the ListenerClass preset (`none`, `ephemeral-nodes` or `stable-nodes`).

This maps to the listener-operator Helm Chart preset value, see [the listener-operator documentation](https://docs.stackable.tech/home/nightly/listener-operator/listenerclass/#presets) for details.

[possible values: none, stable-nodes, ephemeral-nodes]
----
12 changes: 10 additions & 2 deletions docs/modules/stackablectl/partials/commands/stacklet.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,17 @@ Helm repository options:
--chart-source <CHART_SOURCE>
Source the charts from either a OCI registry or from index.yaml-based repositories.

[default: oci]

Possible values:
- oci: OCI registry
- repo: index.yaml-based repositories: resolution (dev, test, stable) is based on the version and thus will be operator-specific

[default: oci]

Operator specific configurations:
--listener-class-preset <LISTENER_CLASS_PRESET>
Choose the ListenerClass preset (`none`, `ephemeral-nodes` or `stable-nodes`).

This maps to the listener-operator Helm Chart preset value, see [the listener-operator documentation](https://docs.stackable.tech/home/nightly/listener-operator/listenerclass/#presets) for details.

[possible values: none, stable-nodes, ephemeral-nodes]
----
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
== 1.2.0

* Automatically detect Kubernetes environment (e.g. kind, k3s or IONOS) and choose a sensible https://docs.stackable.tech/home/nightly/listener-operator/listenerclass/#presets[ListenerClass preset] by default.
See https://github.com/stackabletech/stackable-cockpit/pull/414[stackable-cockpit#414].
* Support configuring the https://docs.stackable.tech/home/nightly/listener-operator/listenerclass/#presets[ListenerClass preset] using `--listener-class-preset`.
See https://github.com/stackabletech/stackable-cockpit/pull/414[stackable-cockpit#414].
Loading