# Release notes for the Stackable Data Platform

> Learn about the latest features and changes in the release notes for the Stackable Data Platform.

The Stackable Data Platform consists of multiple operators that work together. Periodically a platform release is made, including all components of the platform at a specific version.

> **Warning:** **Stackable support for Apache Druid is deprecated**
>
> Stackable’s support for [Apache Druid](https://docs.stackable.tech/home/stable/druid/index.md) is deprecated as of SDP [26.7](https://docs.stackable.tech/home/stable/release-notes/index.md) and is planned for removal in SDP 27.11. This concerns only the Apache Druid integration in the Stackable Data Platform (SDP). Apache Druid itself is an independent, actively maintained project and is not affected; only its inclusion in the SDP is being discontinued. We have taken this decision because we have not seen adoption of Apache Druid among our customers.
>
> The planned timeline is:
>
> -   SDP 26.7 ships Apache Druid [37.0.0](https://docs.stackable.tech/home/stable/release-notes/index.md), the final LTS version we plan to provide, with approximately one year of support.
>
> -   SDP 27.7 is planned to be the last release that includes Apache Druid.
>
> -   Apache Druid is planned to be removed in SDP 27.11.
>
>
> There is no direct replacement for Apache Druid within the SDP. If you rely on Apache Druid, please contact us via our [homepage](https://stackable.tech/) or the [Discussions forum](https://github.com/orgs/stackabletech/discussions) to discuss your options. If you are willing to fund its continued development and support, we are open to reconsidering this decision.

## Release 26.7

### 26.7.0

Released on 2026-07-21.

> **Tip:** -   Generic database connection mechanism rolled out across operators.
>
> -   Operators automatically select product image registry based on where they were installed from.
>
> -   The User Info Fetcher (UIF) now fetches a more complete set of memberships of users from Entra.

> **Warning:** The following components of the SDP contain breaking changes for this release:
>
> -   [Apache Airflow, Apache Druid, Apache Hive, Apache Superset](https://docs.stackable.tech/home/stable/release-notes/index.md): Generic database connections adjustments needed for the mentioned operators.
>
> -   [Apache Airflow](https://docs.stackable.tech/home/stable/release-notes/index.md): Renamed `EXPERIMENTAL_FILE_*` settings
>
> -   [Apache Kafka](https://docs.stackable.tech/home/stable/release-notes/index.md): OPA rules may need to be adjusted due to FQDNs
>
> -   [Apache Superset](https://docs.stackable.tech/home/stable/release-notes/index.md): Renamed `EXPERIMENTAL_FILE_*` settings
>
> -   [Apache Spark](https://docs.stackable.tech/home/stable/release-notes/index.md): The Spark application templates are now namespaced
>
> -   [Apache Spark (and all other operators)](https://docs.stackable.tech/home/stable/release-notes/index.md): Stacklet names are limited to 40 characters
>
> -   [Apache NiFi](https://docs.stackable.tech/home/stable/release-notes/index.md): NiFi 1.x CRD fields were removed
>
> -   [Apache Druid](https://docs.stackable.tech/home/stable/release-notes/index.md): Druid 37.0.0 enforces TLS and requires that the S3 region is set
>
> -   [Product image selection](https://docs.stackable.tech/home/stable/release-notes/index.md): Operators need a registry for product image selection

#### New platform features

##### General

###### Artifacts on quay.io

SDP artifacts are now published to quay.io directly from our CI pipelines. Previously, only the operator and product container images were available on quay.io, manually mirrored from oci.stackable.tech, and operators defaulted to pulling product container images from oci.stackable.tech. Additionally, operator Helm Charts are now published to quay.io as well. When installing these Helm Charts, the operators are automatically instructed to use product container images from quay.io.

> **Caution:** To publish operator Helm Charts to quay.io, the repository layout was adjusted to accommodate the new artifacts. It closely mirrors the layout of oci.stackable.tech. This new layout applies only to releases from SDP 26.7 onwards. Artifacts for earlier releases are unaffected and remain available at their existing locations. See [the artifact registries page](https://docs.stackable.tech/home/stable/concepts/artifact-registries/index.md) for a detailed explanation of the new layout.

Tracked in [issues#716](https://github.com/stackabletech/issues/issues/716).

###### Stackable Hub

Stackable Hub is now available at [hub.stackable.tech](https://hub.stackable.tech). It is a public, read-only portal for published SDP releases (and upcoming ones), bundled component version timelines, and operator CRDs including their schemas, API versions and roles per release. A CORS-enabled, unauthenticated JSON API is available under `/api/v1/` for use in CI jobs, scripts and MCP servers. The Hub publishes an [`llms.txt`](https://hub.stackable.tech/llms.txt) file for use with LLM tooling. The documentation site now provides one at [docs.stackable.tech/llms.txt](https://docs.stackable.tech/llms.txt) as well. We plan on migrating the current [CRD browser](https://crds.stackable.tech) to the Hub in the near future. We also plan on migrating the current [SBOM browser](https://sboms.stackable.tech) to the Hub in the near future.

This is an early version of the Hub and we’re happy to receive feedback.

###### Miscellaneous

-   The SDP now provides a generic database connection mechanism, giving a consistent, typed way to configure connections to external SQL databases across operators. The same typed structure is used in every CRD, so it can be copied between stacklets.

    **Breaking:** This replaces the previous free-form connection strings with a typed struct, and requires changes to your custom resources (and, in some cases, your Secrets).

    Existing custom resources are not converted, whatever their `apiVersion`, because the old connection strings live in Secrets. After the operator upgrade, the operator rejects every unmigrated resource with an error such as `SupersetCluster object is invalid` and changes none of its objects, so the stacklet keeps running but is not reconciled. To migrate a stacklet, create the Secrets that the new connection fields reference, upgrade the operator, then apply the updated custom resource. For the `generic` connection variant, copy the existing connection string into a Secret under the key `connectionUrl`.

    The changes per operator:

    -   **Apache Airflow:** The `.clusterConfig.credentialsSecret` field is renamed to `.clusterConfig.credentialsSecretName`, and the database connection becomes a typed struct. The Celery broker and results backend move into `clusterConfig` as well, see [Apache Airflow](https://docs.stackable.tech/home/stable/release-notes/index.md). Consult the [database connections](https://docs.stackable.tech/home/stable/airflow/usage-guide/database-connections/index.md) documentation page for more details.

        ```yaml
        apiVersion: airflow.stackable.tech/v1alpha2
        kind: AirflowCluster
        spec:
          clusterConfig:
            credentialsSecretName: airflow-admin-credentials
            metadataDatabase:
              postgresql:
                host: airflow-postgresql
                database: airflow
                credentialsSecretName: airflow-postgresql-credentials
          # Only needed when using celery workers (instead of Kubernetes executors)
          celeryExecutors:
            resultBackend:
              postgresql:
                host: airflow-postgresql
                database: airflow
                credentialsSecretName: airflow-postgresql-credentials
            broker:
              redis:
                host: airflow-redis-master
                credentialsSecretName: airflow-redis-credentials
        ---
        apiVersion: v1
        kind: Secret
        metadata:
          name: airflow-admin-credentials
        type: Opaque
        stringData:
          adminUser.username: airflow
          # ...
        ---
        # Only needed when using celery workers (instead of Kubernetes executors)
        apiVersion: v1
        kind: Secret
        metadata:
          name: airflow-postgresql-credentials
        stringData:
          username: airflow
          password: airflow
        ---
        # Only needed when using celery workers (instead of Kubernetes executors)
        apiVersion: v1
        kind: Secret
        metadata:
          name: airflow-redis-credentials
        stringData:
          username: ""
          password: redis
        ```

        Implemented in [airflow-operator#754](https://github.com/stackabletech/airflow-operator/pull/754).

    -   **Apache Druid:** The `metadataStorageDatabase` field is renamed to `metadataDatabase` and is now a typed struct.

        ```yaml
        # PostgreSQL or MySQL
        kind: DruidCluster
        spec:
          clusterConfig:
            metadataDatabase:
              postgresql: # or mysql
                host: postgresql-druid
                database: druid
                credentialsSecretName: druid-db-credentials

        # Derby
        kind: DruidCluster
        spec:
          clusterConfig:
            metadataDatabase:
              derby: {}
        ```

        Implemented in [druid-operator#814](https://github.com/stackabletech/druid-operator/pull/814).

    -   **Apache Hive:** the connection becomes a typed struct; because the `database` field is removed, the `username` field must be transferred to the Secret referenced in `credentialsSecretName` under the `username` key before upgrading.

        ```yaml
        kind: HiveCluster
        spec:
          clusterConfig:
            metadataDatabase:
              postgresql:
                host: postgresql
                database: hive
                credentialsSecretName: hive-credentials
        ```

        Implemented in [hive-operator#674](https://github.com/stackabletech/hive-operator/pull/674).

    -   **Apache Superset:** the connection becomes a typed struct, and the operator now uses an internal Secret for the Superset `SECRET_KEY` (created automatically if missing). Keep `connections.secretKey` in the credentials Secret until the 26.7 operator has reconciled the stacklet once, because the operator copies it into the internal Secret. Without it the operator generates a new key and Superset cannot decrypt values encrypted with the old one. Consult the [database connections](https://docs.stackable.tech/home/stable/superset/usage-guide/database-connections/index.md) documentation page for more details.

        ```yaml
        kind: SupersetCluster
        spec:
          clusterConfig:
            credentialsSecret: superset-admin-credentials
            metadataDatabase:
              postgresql:
                host: superset-postgresql
                database: superset
                credentialsSecretName: superset-postgresql-credentials
        ---
        apiVersion: v1
        kind: Secret
        metadata:
          name: superset-admin-credentials
        type: Opaque
        stringData:
          adminUser.username: admin
          adminUser.firstname: Superset
          adminUser.lastname: Admin
          adminUser.email: admin@superset.com
          adminUser.password: admin
        ---
        apiVersion: v1
        kind: Secret
        metadata:
          name: superset-postgresql-credentials
        stringData:
          username: superset
          password: superset
        ```

        Implemented in [superset-operator#722](https://github.com/stackabletech/superset-operator/pull/722).


    Tracked in [issues#238](https://github.com/stackabletech/issues/issues/238).

-   Setting a custom client authentication method is now supported for Apache Airflow, Apache Superset and Apache Druid. Since Apache Druid 35 and 36, OIDC authentication can fail if the provider (for example Keycloak) advertises `private_key_jwt`, because Druid may attempt to use it. This feature lets you override the method so that OIDC authentication works again (this was a known issue in the 26.3.0 release). Tracked in [issues#838](https://github.com/stackabletech/issues/issues/838).

-   All our [demos](https://docs.stackable.tech/home/stable/demos/index.md) can now be installed in non-default namespaces. Additionally, demos and stacks can now be uninstalled. Please consult the [`demo`](https://docs.stackable.tech/management/stable/stackablectl/commands/demo/index.md) and [`stack`](https://docs.stackable.tech/management/stable/stackablectl/commands/stack/index.md) command documentation pages for details and known limits. Tracked in [stackablectl#187](https://github.com/stackabletech/stackablectl/issues/187).

-   In addition to the existing CycloneDX SBOMs, every image now also has an SBOM in the [SPDX](https://spdx.dev/) format attested to it. See the [SBOM guide](https://docs.stackable.tech/home/stable/guides/viewing-and-verifying-sboms/index.md) in our documentation for how to verify and extract them.


##### Apache Airflow

The Apache Airflow operator now allows specifying CA certificates when using git-sync. See the documentation page on how to [mount DAGs](https://docs.stackable.tech/home/stable/airflow/usage-guide/mounting-dags/index.md) for more details. Implemented in [airflow-operator#750](https://github.com/stackabletech/airflow-operator/pull/750).

##### Apache NiFi

The Apache NiFi operator now allows specifying CA certificates when using git-sync. Consult the [custom components](https://docs.stackable.tech/home/stable/nifi/usage_guide/custom-components/index.md) documentation page for more details. Implemented in [nifi-operator#903](https://github.com/stackabletech/nifi-operator/pull/903).

##### Apache Superset

-   Apache Superset now supports running asynchronous queries via Celery. Two new roles, `worker` and `beat` (limited to a single replica), have been added. Consult the [async queries via Celery](https://docs.stackable.tech/home/stable/superset/usage-guide/celery-async-queries/index.md) documentation page for more details. Implemented in [superset-operator#724](https://github.com/stackabletech/superset-operator/pull/724).

-   Redis is supported as the broker queue and results backend. Consult the [database connections](https://docs.stackable.tech/home/stable/superset/usage-guide/database-connections/index.md) documentation page for more details. Implemented in [superset-operator#724](https://github.com/stackabletech/superset-operator/pull/724).


##### Open Policy Agent

The Open Policy Agent operator now supports `configOverrides` for its `config.json`. JSON Patches and JSON Merge Patches let you override the nested structure of the file. Consult the [configuration & environment overrides](https://docs.stackable.tech/home/stable/opa/usage-guide/configuration-environment-overrides/index.md) documentation page for more details. Implemented in [opa-operator#818](https://github.com/stackabletech/opa-operator/pull/818).

##### OpenSearch

-   Security settings managed by the operator are now hot-reloaded when changed, without Pod restarts. Implemented in [opensearch-operator#130](https://github.com/stackabletech/opensearch-operator/pull/130).

-   The OpenSearch operator now supports JSON Merge Patches, JSON Patches and user-provided JSON files in `configOverrides`, making it easier to define nested types and non-string values. Consult the [configuration & environment overrides](https://docs.stackable.tech/home/stable/opensearch/usage-guide/configuration-environment-overrides/index.md) documentation page for more details. Implemented in [opensearch-operator#137](https://github.com/stackabletech/opensearch-operator/pull/137).


##### Trino

-   Trino now has first-class support for the [PostgreSQL connector](https://trino.io/docs/current/connector/postgresql.html) , built on the new generic database connection mechanism. Previously, users had to fall back to the `generic` connector. Implemented in [trino-operator#883](https://github.com/stackabletech/trino-operator/pull/883).

-   A new `.spec.name.inferred.replaceHyphensWithUnderscores` field on `TrinoCatalog` allows tweaking the catalog name in Trino by replacing `-` with `_`. This lets you use valid Kubernetes resource names while keeping the convenience of underscores in catalog names. Implemented in [trino-operator#903](https://github.com/stackabletech/trino-operator/pull/903).


##### Stackable secret-operator

-   The Stackable secret-operator now supports adding domain components (DCs) to the subject DN of TLS certificates, via the [`secrets.stackable.tech/backend.autotls.cert.domain-components-in-subject-dn`](https://docs.stackable.tech/home/stable/secret-operator/volume/index.md) volume annotation.

    ```yaml
    volumes:
      - name: tls
        ephemeral:
          volumeClaimTemplate:
            metadata:
              annotations:
                secrets.stackable.tech/backend.autotls.cert.domain-components-in-subject-dn: "true"
                secrets.stackable.tech/class: tls
                secrets.stackable.tech/scope: node,pod
            spec:
              storageClassName: secrets.stackable.tech
              accessModes:
                - ReadWriteOnce
              resources:
                requests:
                  storage: "1"
    ```

    A pod of a StatefulSet could then serve a TLS certificate with the following subject DN:

    ```plain
    CN=generated certificate for pod, DC=my-pod-0, DC=my-statefulset-service, DC=my-namespace, DC=svc, DC=cluster, DC=local
    ```

    Implemented in [secret-operator#708](https://github.com/stackabletech/secret-operator/pull/708).

-   The name of the key in the ConfigMap/Secret that holds the PEM-encoded CA certificate of a `TrustStore` is now configurable, via [`.spec.tlsPemCaName`](https://docs.stackable.tech/home/stable/secret-operator/truststore/index.md). This is needed, for example, to use the generated Secret within an OpenShift Ingress. Implemented in [secret-operator#679](https://github.com/stackabletech/secret-operator/pull/679).


#### Platform improvements

##### General

###### Vulnerabilities

133 vulnerabilities were fixed in SDP 26.7, including 10 critical and 62 high vulnerabilities.

###### Miscellaneous

-   Stacklet names are now validated before any objects are created, using the same rules in every operator. A stacklet name must be at most 40 characters long, consist of lowercase letters, digits and `-`, start with a letter, and end with a letter or digit. This is enforced regardless of cluster configuration, even where Kubernetes would accept a leading digit (e.g. with `RelaxedServiceNameValidation` enabled). Role group names no longer affect whether a stacklet works: object names that would be too long, such as the StatefulSet `<stacklet>-<role>-<rolegroup>`, are shortened and given a short hash suffix.

    Previously, there was no explicit limit. The operators derive object names from the stacklet name, the role name and the role group name, and Kubernetes limits those names. For example, StatefulSet names can be at most 52 characters long, because Kubernetes adds a `controller-revision-hash` label of the form `<statefulset>-<hash>` to every Pod. A stacklet with a name that was too long was accepted, but some of its objects were then rejected or its Pods were never created, and the error only appeared on those objects, not on the stacklet. Now, such a stacklet is rejected with an error such as `failed to set the cluster name: maximum length exceeded`, and none of its objects are created.

    **Breaking:** For most operators this allows longer stacklet names than before. The exceptions are:

    -   **Apache Spark:** `SparkApplication` names could previously be up to 63 characters long, and `SparkConnectServer` names up to 45. Both are now limited to 40.

    -   **Apache ZooKeeper, Apache Kafka (ZooKeeper mode), Open Policy Agent, Apache Superset, Apache NiFi (with the reporting task disabled) and `SparkHistoryServer`:** With role group names of up to 5 characters, stacklet names of 41 to 45 characters previously worked and are now rejected. With the role group name `default`, longer names than before are allowed.

        Implemented in [operator-rs#1225](https://github.com/stackabletech/operator-rs/pull/1225) and, for Apache Spark, [spark-k8s-operator#692](https://github.com/stackabletech/spark-k8s-operator/pull/692). Tracked in [spark-k8s-operator#775](https://github.com/stackabletech/spark-k8s-operator/issues/775).


-   **Breaking:** Operators now determine the registry for product images from where they were installed, instead of hard-coding `oci.stackable.tech`. This is controlled by a new `--image-repository` CLI argument (and the `IMAGE_REPOSITORY` environment variable), which lets the correct registry be selected automatically when an operator is installed via its Helm Chart or Operator Lifecycle Manager (OLM) manifest.

    > **Note:** This is only breaking if you deploy operators **without** our Helm Charts or OLM manifests, in which case you must now supply `--image-repository` yourself. When installing via Helm or OLM the argument is set automatically, and installation works as before.

    Tracked in [issues#716](https://github.com/stackabletech/issues/issues/716).

-   **Breaking:** The `image.repository` Helm value must no longer include the operator name. Previously it looked like `oci.stackable.tech/sdp/airflow-operator`; it must now be `oci.stackable.tech/sdp`. Tracked in [issues#716](https://github.com/stackabletech/issues/issues/716).

-   **Breaking:** The sidecar image `repository` Helm values of the listener-operator and secret-operator must no longer include the image name, because the chart appends `csi-provisioner` or `csi-node-driver-registrar` itself. Previously they looked like `oci.stackable.tech/sdp/sig-storage/csi-node-driver-registrar`; they must now be `oci.stackable.tech/sdp/sig-storage`. If unset, they default to `image.repository` with `/sig-storage` appended, so a mirror with the sidecars under that path needs no sidecar overrides at all. The affected values are `csiProvisioner.externalProvisioner.image.repository` and `csiNodeDriver.nodeDriverRegistrar.image.repository` in the listener-operator, and `csiNodeDriver.externalProvisioner.image.repository` and `csiNodeDriver.nodeDriverRegistrar.image.repository` in the secret-operator. Implemented in [listener-operator#386](https://github.com/stackabletech/listener-operator/pull/386), [listener-operator#402](https://github.com/stackabletech/listener-operator/pull/402) and [secret-operator#701](https://github.com/stackabletech/secret-operator/pull/701).

-   RBAC permissions for all Stackable operators deployed via Helm have been audited, and unnecessary permissions were removed. Tracked in [issues#798](https://github.com/stackabletech/issues/issues/798).

-   ConfigMaps and Secrets can now be excluded from the restart-controller. Set the `restarter.stackable.tech/ignore` label on a ConfigMap or Secret, or the `restarter.stackable.tech/ignore-configmap.x` / `restarter.stackable.tech/ignore-secret.x` annotations on a StatefulSet. Consult the [restarter](https://docs.stackable.tech/home/stable/commons-operator/restarter/index.md) documentation page of the Stackable commons-operator for more details. Implemented in [commons-operator#410](https://github.com/stackabletech/commons-operator/pull/410).


##### Apache Airflow

-   **Breaking:** `EXPERIMENTAL_FILE_HEADER` and `EXPERIMENTAL_FILE_FOOTER` in `webserver_config.py` (for arbitrary Python code) have been renamed to `FILE_HEADER` and `FILE_FOOTER`. Implemented in [airflow-operator#777](https://github.com/stackabletech/airflow-operator/pull/777).

-   **Breaking:** Renamed and moved the celeryExecutor broker and results backend to clusterConfig. The results backend `spec.celeryExecutors.resultBackend` is now located at `spec.clusterConfig.celeryResultsBackend`. The broker `spec.celeryExecutors.broker` is now located at `spec.clusterConfig.celeryBroker`. Implemented in [airflow-operator#786](https://github.com/stackabletech/airflow-operator/pull/786).


##### Apache Kafka

**Breaking:** The FQDNs of the Kafka Pods are now included in the subject DNs of their TLS certificates. OPA Rego rules can now check these FQDNs. Existing OPA rules may need to be adjusted. Consult the [security](https://docs.stackable.tech/home/stable/kafka/usage-guide/security/index.md) documentation page for more details. Implemented in [kafka-operator#972](https://github.com/stackabletech/kafka-operator/pull/972).

##### Apache NiFi

For clusters with a fixed number of nodes, the operator now sets `nifi.cluster.flow.election.max.candidates` to the total node count. Cold-start flow election then completes as soon as all expected nodes report in, typically seconds instead of the up-to-5-minute `nifi.cluster.flow.election.max.wait.time` timeout. The timeout stays at NiFi’s upstream default of 5 minutes as a fallback, so there is no correctness change if fewer nodes than expected show up. Implemented in [nifi-operator#953](https://github.com/stackabletech/nifi-operator/pull/953).

##### Apache Superset

**Breaking:** `EXPERIMENTAL_FILE_HEADER` and `EXPERIMENTAL_FILE_FOOTER` in `superset_config.py` (for arbitrary Python code) have been renamed to `FILE_HEADER` and `FILE_FOOTER`. Implemented in [superset-operator#721](https://github.com/stackabletech/superset-operator/pull/721).

##### Open Policy Agent

The OPA DaemonSet now uses `maxSurge=1` and `maxUnavailable=0` for its rolling update strategy. During rolling updates (for example when an OPA config change triggers a restart), a new OPA Pod is created and must become ready before the old one is terminated. This removes the brief availability gap that previously caused errors in products such as Trino. Implemented in [opa-operator#819](https://github.com/stackabletech/opa-operator/pull/819).

##### OpenSearch

The verification of the OpenSearch nodes' certificates has been extended. The nodes' certificates now also include the FQDNs of the nodes, which are verified by the other nodes using the `plugins.security.nodes_dn` configuration setting. Previously, it was only verified that the certificates were issued by the Stackable secret-operator. Implemented in [opensearch-operator#144](https://github.com/stackabletech/opensearch-operator/pull/144).

#### Platform fixes

##### General

-   All operators now request only the parts of the secret data they actually need for operator-managed secret volumes. This uses the [`secrets.stackable.tech/provision-parts`](https://docs.stackable.tech/home/stable/secret-operator/volume/index.md) annotation introduced in SDP 26.3.0. This resolves the regression where SecretClasses used only to validate server certificates also required a client certificate (`tls.crt` / `tls.key`) to be provided. Fixed in [issues#547](https://github.com/stackabletech/issues/issues/547).

-   Internal secrets are now stored in mutable Kubernetes Secret objects. Previously these objects were immutable and, if deleted, were recreated with new random values; because immutable Secrets are cached, this could disrupt clusters (for example workers failing to join). This release migrates existing internal Secrets to mutable versions for

    -   Trino in [trino-operator#876](https://github.com/stackabletech/trino-operator/pull/876) and

    -   Apache Airflow in [airflow-operator#770](https://github.com/stackabletech/airflow-operator/pull/770).


    Tracked in [issues#843](https://github.com/stackabletech/issues/issues/843).


##### Apache Airflow

OPA authorization now works for Apache Airflow 3 with any user role. Previously, OPA rulesets were only applied for users with the `Admin` role. Fixed in [docker-images#1512](https://github.com/stackabletech/docker-images/pull/1512) and regression tested in [airflow-operator#800](https://github.com/stackabletech/airflow-operator/pull/800).

##### Apache NiFi

The NiFi OPA authorizer plugin no longer exhausts native threads under load. Previously, the plugin could create a new HTTP client for each authorization request, spawning large numbers of selector and executor threads under NiFi load and eventually exhausting native threads. With this release, all OPA authorization requests share a single pooled HTTP client with a fixed-size daemon-thread executor. Existing deployments need no configuration changes, as defaults are provided. Tracked in [nifi-opa-plugin#30](https://github.com/stackabletech/nifi-opa-plugin/issues/30) and fixed in [nifi-opa-plugin#31](https://github.com/stackabletech/nifi-opa-plugin/pull/31).

##### Apache Spark

-   **Breaking:** Spark application templates are now namespaced objects instead of cluster-wide objects. Every cluster that ran the 26.3 Spark operator has the cluster-scoped `sparkapptemplates.spark.stackable.tech` CustomResourceDefinition, whether or not any templates were created. Kubernetes cannot change the scope of an existing CustomResourceDefinition, so delete it before upgrading the operator, otherwise the operator fails to start and reconciles no Spark resources at all. Deleting it also deletes all templates, which must then be recreated in the namespaces where the applications run. Follow the [Apache Spark upgrade guide](https://docs.stackable.tech/home/stable/spark-k8s/usage-guide/upgrade/index.md). Fixed in [spark-k8s-operator#694](https://github.com/stackabletech/spark-k8s-operator/pull/694) (reapplied in [spark-k8s-operator#720](https://github.com/stackabletech/spark-k8s-operator/pull/720)).

-   User arguments are now correctly propagated to the Spark Connect server. Previously, the newline concatenation in the Spark Connect server entrypoint was faulty which resulted in user arguments being dropped. Fixed in [spark-k8s-operator#696](https://github.com/stackabletech/spark-k8s-operator/pull/696).

-   Spark executors now shut down gracefully on `SIGTERM`. Previously the executor did not receive `SIGTERM` when the driver did, so it was \`SIGKILL\`ed after the grace period. Fixed in [docker-images#1564](https://github.com/stackabletech/docker-images/pull/1564).


##### Open Policy Agent

-   Previously, the User Info Fetcher’s outbound HTTP requests (to Microsoft Entra, Keycloak, and the XFSC AAS) had no timeout, so a slow or unresponsive backend could make a request hang indefinitely and stall user-info lookups. With this release, every outbound request has a 60-second overall timeout and a 15-second connection timeout. Implemented in [opa-operator#859](https://github.com/stackabletech/opa-operator/pull/859).

-   The Microsoft Entra backend of the OPA User Info Fetcher now retrieves complete group memberships for policy checks. Previously, it read only the first page of a user’s group memberships, so users belonging to many groups received an incomplete group list. With this release, the Entra backend follows the result pages until every page has been retrieved (bounded to 100 pages as a safeguard). Fixed in [opa-operator#858](https://github.com/stackabletech/opa-operator/issues/858).


##### Trino

As of SDP 26.3, hot-reloading of password file Secrets did not work anymore because a change to the Secret triggered a restart of the pods. With this release, the password file Secrets are excluded from the restart-controller and hot-reloading is supported again. Fixed in [trino-operator#868](https://github.com/stackabletech/trino-operator/pull/868).

#### Platform removals

##### Apache NiFi

**Breaking:** Support for NiFi 1.x has been dropped, along with a few CRD fields that only applied to 1.x and had no effect on NiFi 2.x:

-   `spec.clusterConfig.createReportingTaskJob` (including `enabled` and `podOverrides`) is removed. NiFi 2.x exposes Prometheus metrics directly at `/nifi-api/flow/metrics/prometheus`, so the reporting-task Job is obsolete.

-   The deprecated `spec.clusterConfig.sensitiveProperties.algorithm` values are removed. Use a supported algorithm instead: `nifiArgon2AesGcm256` (default) or `nifiPbkdf2AesGcm256`.


Removed in [nifi-operator#960](https://github.com/stackabletech/nifi-operator/pull/960).

#### Supported versions

##### Product versions

As with previous SDP releases, many product images have been updated to newer versions. Refer to the [new Stackable Hub](https://hub.stackable.tech/releases/26.7) for a complete overview including LTS versions or deprecations.

###### New LTS versions

The following product versions were already available before but are now marked as the [LTS](https://docs.stackable.tech/home/stable/compliance/policies/index.md) version:

-   Apache Hive: [4.2.0 (LTS)](https://github.com/stackabletech/docker-images/issues/1495)


###### New versions

The following new product versions are now supported:

-   Apache Airflow: [3.2.2](https://github.com/stackabletech/docker-images/issues/1489)

    -   Note: this Airflow version uses Python 3.14.


-   Apache Druid: [37.0.0 (LTS)](https://github.com/stackabletech/docker-images/issues/1490)

    -   **Breaking:** Druid 37.0.0 switched to AWS SDK v2. TLS is now enforced for S3 connections, and the S3 `region` is now required (the operator passes `aws.region` from `S3Connection.region`).


-   Apache HBase: [2.6.6 (LTS)](https://github.com/stackabletech/docker-images/issues/1491)

-   Apache Hadoop: [3.4.3 (LTS)](https://github.com/stackabletech/docker-images/issues/1494), [3.5.0](https://github.com/stackabletech/docker-images/issues/1494)

-   Apache Kafka: [3.9.2 (LTS)](https://github.com/stackabletech/docker-images/issues/1497), [4.2.1 (experimental)](https://github.com/stackabletech/docker-images/issues/1497)

-   Apache NiFi: [2.9.0](https://github.com/stackabletech/docker-images/issues/1498)

-   Apache Phoenix: [5.3.1](https://github.com/stackabletech/docker-images/issues/1491)

-   Apache Spark: [4.1.2 (LTS)](https://github.com/stackabletech/docker-images/issues/1502)

-   Apache Superset: [6.1.0](https://github.com/stackabletech/docker-images/issues/1504)

-   Apache ZooKeeper: [3.9.5 (LTS)](https://github.com/stackabletech/docker-images/issues/1506)

-   Open Policy Agent: [1.16.2](https://github.com/stackabletech/docker-images/issues/1499)

-   OpenSearch: [3.6.0](https://github.com/stackabletech/docker-images/issues/1500)

-   Trino: [481](https://github.com/stackabletech/docker-images/issues/1505)

-   Vector: [0.55.0](https://github.com/stackabletech/docker-images/issues/1486)


###### Deprecated versions

The following product versions are deprecated and will be removed in a later release:

-   Apache Airflow: [3.1.6](https://github.com/stackabletech/docker-images/issues/1489)

-   Apache Druid: [35.0.1](https://github.com/stackabletech/docker-images/issues/1490), [30.0.1](https://github.com/stackabletech/docker-images/issues/1490)

-   Apache HBase: [2.6.4](https://github.com/stackabletech/docker-images/issues/1491)

-   Apache Hadoop: [3.4.2](https://github.com/stackabletech/docker-images/issues/1494)

-   Apache Hive: [4.0.1](https://github.com/stackabletech/docker-images/issues/1495)

-   Apache Kafka: [3.9.1](https://github.com/stackabletech/docker-images/issues/1497)

-   Apache NiFi: [2.7.2](https://github.com/stackabletech/docker-images/issues/1498)

-   Apache Phoenix: [5.3.0](https://github.com/stackabletech/docker-images/issues/1491)

-   Apache Spark: [3.5.8](https://github.com/stackabletech/docker-images/issues/1502), [4.1.1](https://github.com/stackabletech/docker-images/issues/1502)

-   Apache Superset: [6.0.0](https://github.com/stackabletech/docker-images/issues/1504)

-   Apache ZooKeeper: [3.9.4](https://github.com/stackabletech/docker-images/issues/1506)

-   Open Policy Agent: [1.12.3](https://github.com/stackabletech/docker-images/issues/1499)

-   OpenSearch: [3.4.0](https://github.com/stackabletech/docker-images/issues/1500)

-   Trino: [479](https://github.com/stackabletech/docker-images/issues/1505)


###### Removed versions

The following product versions are no longer supported. These images for released product versions remain available in the [Stackable OCI Registry](https://oci.stackable.tech/). Information on how to browse the registry can be found [in the project overview documentation](https://docs.stackable.tech/home/stable/contributor/project-overview/index.md).

-   Apache Druid: [34.0.0](https://github.com/stackabletech/docker-images/issues/1490)

-   Apache HBase: [2.6.3](https://github.com/stackabletech/docker-images/issues/1491)

-   Apache Hive: [4.1.0](https://github.com/stackabletech/docker-images/issues/1495)

-   Apache NiFi: [1.28.1](https://github.com/stackabletech/docker-images/issues/1498)

-   Apache Phoenix: [5.2.1](https://github.com/stackabletech/docker-images/issues/1491)

-   Apache Spark: [3.5.7](https://github.com/stackabletech/docker-images/issues/1502), [4.0.1](https://github.com/stackabletech/docker-images/issues/1502)

-   Open Policy Agent: [1.8.0](https://github.com/stackabletech/docker-images/issues/1499)

-   Vector: [0.52.0](https://github.com/stackabletech/docker-images/issues/1486)


##### Kubernetes versions

This release supports the following Kubernetes versions:

-   `1.36`

-   `1.35`

-   `1.34`

-   `1.33`

-   `1.32`

-   `1.31`


No Kubernetes versions were dropped in this release.

##### OpenShift versions

This release is available in the RedHat Certified Operator Catalog for the following OpenShift versions:

-   `4.22`

-   `4.21`

-   `4.20`

-   `4.19`

-   `4.18`


No OpenShift versions were dropped in this release.

#### Upgrade from 26.3

> **Tip:** Please consult the following upgrade notes when upgrading from 26.3 to 26.7:
>
> -   [OpenSearch upgrade guide](https://docs.stackable.tech/home/stable/opensearch/usage-guide/upgrade/index.md)
>
> -   [Apache Spark upgrade guide](https://docs.stackable.tech/home/stable/spark-k8s/usage-guide/upgrade/index.md) — required reading for every cluster that ran the 26.3 Spark operator, whether or not it uses application templates, because the upgrade needs manual steps **before** you start
>
> -   [Generic database connections](https://docs.stackable.tech/home/stable/release-notes/index.md) — Apache Airflow, Apache Druid, Apache Hive and Apache Superset stacklets are not reconciled after the operator upgrade until their custom resources are migrated

##### Using stackablectl

###### Upgrade with a single command

```console
$ stackablectl release upgrade 26.7
```

###### Upgrade with multiple consecutive commands

Uninstall the `26.3` release

```console
$ stackablectl release uninstall 26.3

Uninstalled release '26.3'

Use "stackablectl release list" to list available releases.
# ...
```

Install the `26.7` release

```console
$ stackablectl release install 26.7

Installed release '26.7'

Use "stackablectl operator installed" to list installed operators.
```

##### Using Helm

Use `helm list` to list the currently installed operators.

You can use the following command to uninstall all operators that are part of the `26.3` release:

```console
$ helm uninstall airflow-operator <PRODUCT>-operator ...
release "airflow-operator" uninstalled
release "<PRODUCT>-operator" uninstalled
...
```

Install the `26.7` release

> **Note:** `helm repo` subcommands are not supported for OCI registries. The operators are installed directly, without adding the Helm Chart repository first.

```console
helm install --wait <PRODUCT>-operator oci://oci.stackable.tech/sdp-charts/<PRODUCT>-operator --version 26.7.0
```

#### Known issues

-   Failed Apache Spark applications are reported as successful. The entrypoint of the Spark images does not propagate the exit code of the Spark process, so the driver Pod always terminates with exit code `0` and the SparkApplication ends up in the `Succeeded` state even if the application failed. Fixed in [docker-images#1595](https://github.com/stackabletech/docker-images/pull/1595), which is part of the `26.11.0` release. Until upgrading to `26.11.0`, the driver logs must be checked to determine whether an application actually succeeded. Alternatively, applications using Apache Spark 4.1.2 can pin the `26.11.0` image, which already contains the fix, via [`spec.image.custom`](https://docs.stackable.tech/home/stable/concepts/product-image-selection/index.md): `oci.stackable.tech/sdp/spark-k8s:4.1.2-stackable26.11.0` together with `spec.image.productVersion: 4.1.2`. The `26.11.0` release does not contain images for Apache Spark 3.5.8 and 4.1.1, so applications using these versions have to move to 4.1.2 to use this workaround.

-   Using Apache Airflow 3.2.2 with Kubernetes executors can lead to a crashlooping scheduler. The scheduler crashloops if it was stopped while unfinished tasks were still present. To recover, the offending records must be updated in Airflow’s database. This is described in [apache/airflow#67813](https://github.com/apache/airflow/issues/67813) and fixed in [apache/airflow#67850](https://github.com/apache/airflow/pull/67850). Until the fix is backported to 3.2.2, we recommend using Airflow 3.1.6 or 3.0.6 instead, or switching to Celery executors.

-   Apache HBase cannot access Azure Blob Storage or Azure Data Lake Storage (`abfs://`). The HBase images contain the `hadoop-azure` library, but it is not on the HBase classpath, so HBase fails with `ClassNotFoundException: Class org.apache.hadoop.fs.azurebfs.AzureBlobFileSystem not found`. To work around it, add the library to the classpath of every role (`masters`, `regionServers` and `restServers`) with a configuration override:

    ```yaml
    spec:
      masters:
        configOverrides:
          hbase-env.sh:
            HBASE_CLASSPATH: /stackable/hadoop/share/hadoop/tools/lib/hadoop-azure-3.4.3-stackable26.7.0.jar
    ```

    The path is the same for HBase 2.6.4 and 2.6.6.


## Release 26.3

### 26.3.0

Released on 2026-03-16.

> **Tip:** -   Generic object overrides are now supported across the SDP.
>
> -   The Stackable operator for OpenSearch adds many new features, such as TLS configuration and service discovery.
>
> -   The User Info Fetcher (UIF) now has experimental support for OpenLDAP, and the Entra backend has been stabilized.
>
> -   The restart-controller is now enabled for nearly all products.

> **Warning:** The following components of the SDP contain breaking changes for this release:
>
> -   [Apache Airflow](https://docs.stackable.tech/home/stable/release-notes/index.md)
>
> -   [Apache Druid](https://docs.stackable.tech/home/stable/release-notes/index.md)
>
> -   [Apache NiFi](https://docs.stackable.tech/home/stable/release-notes/index.md)
>
> -   [Apache Superset](https://docs.stackable.tech/home/stable/release-notes/index.md)
>
> -   [Trino](https://docs.stackable.tech/home/stable/release-notes/index.md)
>
> -   [Stackable commons-operator](https://docs.stackable.tech/home/stable/release-notes/index.md)
>
> -   [Stackable secret-operator](https://docs.stackable.tech/home/stable/release-notes/index.md)

#### New platform features

##### General

###### Miscellaneous

-   This release supports `objectOverrides`, a list of generic Kubernetes objects, which are merged into the objects created by the operator (e.g. StatefulSets, Listeners or ConfigMaps). The priority of the overrides (in ascending order) is `configOverrides` → `podOverrides` → `objectOverrides`, with the latter overriding the previous. See the [concepts page](https://docs.stackable.tech/home/stable/concepts/overrides/index.md) for more details. Tracked in [issues#712](https://github.com/stackabletech/issues/issues/712).

-   A new demo was added that shows Retrieval Augmented Generation (RAG) with OpenSearch as the vector store. Consult the [demo documentation page](https://docs.stackable.tech/home/stable/demos/opensearch-rag/index.md) for more details. Added in [demos#354](https://github.com/stackabletech/demos/pull/354).

-   All remaining operators now maintain their own CRDs instead of relying on Helm as a deployment mechanism. Additionally, the conversion webhook is now running alongside the controller for future CRD versioning. Tracked in [issues#808](https://github.com/stackabletech/issues/issues/808).


##### Apache Airflow

Airflow can now use git-sync to authenticate against a repository using SSH keys as well as basic auth, which was previously the only option. The Airflow operator also now has the ability to convert certain changes between CRD versions: in the case of this change, the operator can automatically convert the field `credentialsSecret` to `credentials: basicAuthSecretName` so that this change is non-breaking.

> **Important:** Conversions in the opposite direction - from v1alpha2 to v1alpha1 - are not possible if the v1alpha2 resource definition refers to the new field.

See the [DAG mounting usage guide](https://docs.stackable.tech/home/stable/airflow/usage-guide/mounting-dags/index.md) for more details. Implemented in [airflow-operator#382](https://github.com/stackabletech/airflow-operator/issues/382).

##### Apache HBase

The `hbase.rest.endpoint` field is now added to the restserver rolegroup discovery ConfigMap for advertising the REST servers. Implemented in [hbase-operator#708](https://github.com/stackabletech/hbase-operator/pull/708) and [hbase-operator#716](https://github.com/stackabletech/hbase-operator/pull/716).

##### Apache Hive

The Stackable operator for Apache Hive now supports delegating authorization requests to the Open Policy Agent (OPA) using a custom [hive-metastore-opa-authorizer](https://github.com/boschglobal/hive-metastore-opa-authorizer) plugin. See the [usage guide](https://docs.stackable.tech/home/stable/hive/usage-guide/security/index.md) for more information. Implemented in [hive-operator#388](https://github.com/stackabletech/hive-operator/issues/388).

##### Apache Kafka

-   Previously, Kafka supported OPA in non-TLS mode. Now both TLS and non-TLS modes are supported.

    > **Important:** It should be noted that this is not yet supported by the Kafka Controller (available in Kafka 4.x).

-   Users of the Stackable operator for Apache Kafka can now migrate existing 3.9.1 clusters from Apache ZooKeeper to the built-in KRaft metadata manager. See the [KRaft migration guide](https://docs.stackable.tech/home/stable/kafka/usage-guide/kraft-controller/index.md) which describes the necessary steps to perform the migration. Implemented in [kafka-operator#923](https://github.com/stackabletech/kafka-operator/pull/923).


##### Apache Spark

-   Starting with this release, Spark applications will not be resubmitted automatically in case of failure. Users can restore the previous behavior by setting the new `spec.job.retryOnFailureCount` property to a non-negative value.
    In addition, small improvements have been made to clean up resources created by Spark applications:

    -   Application driver pods are now deleted as soon as they reach a terminal state.

    -   Application executor pods are now deleted as soon as possible in case of driver or submit failure.


    Implemented in [spark-k8s-operator#647](https://github.com/stackabletech/spark-k8s-operator/pull/647).

-   This release adds first-class support for S3 buckets and connections to Spark Connect servers. Users can give clients access to all S3 buckets or a selected list. For more details, see the [Spark Connect usage guide](https://docs.stackable.tech/home/stable/spark-k8s/usage-guide/spark-connect/index.md). Implemented in [spark-k8s-operator#652](https://github.com/stackabletech/spark-k8s-operator/pull/652).

-   This release introduces Spark Application Templates. These allow application authors to group frequently used application configuration in a central place that is referenced from application objects. For more details on this new operator feature see the [template usage guide](https://docs.stackable.tech/home/stable/spark-k8s/usage-guide/app_templates/index.md). Implemented in [spark-k8s-operator#660](https://github.com/stackabletech/spark-k8s-operator/pull/660).


##### Open Policy Agent

-   The User Info Fetcher (UIF) now has experimental support for OpenLDAP as a backend. See the [OpenLDAP backend documentation](https://docs.stackable.tech/home/stable/opa/usage-guide/user-info-fetcher/index.md) of the UIF for details on how to configure it. Implemented in [opa-operator#523](https://github.com/stackabletech/opa-operator/issues/523).

-   The OPA operator now supports overriding command-line arguments passed to the OPA binary via the `cliOverrides` property in the CRD. This allows you to customize OPA’s behavior by passing additional or overriding existing command-line flags. See the [OPA operator documentation](https://docs.stackable.tech/home/stable/opa/usage-guide/configuration-environment-overrides/index.md) for further details and examples. Implemented in [opa-operator#781](https://github.com/stackabletech/opa-operator/issues/781).


##### OpenSearch

-   The operator now supports the configuration of TLS for the server (optional) and internal communication (mandatory) using SecretClasses. See the [OpenSearch security usage guide](https://docs.stackable.tech/home/stable/opensearch/usage-guide/security/index.md) for more details. Implemented in [opensearch-operator#55](https://github.com/stackabletech/opensearch-operator/pull/55).

-   The operator now supports adding secrets to the OpenSearch keystore, e.g. S3 credentials for creating and restoring backups. See the [keystore usage guide](https://docs.stackable.tech/home/stable/opensearch/usage-guide/keystore/index.md) for more details. Implemented in [opensearch-operator#76](https://github.com/stackabletech/opensearch-operator/pull/76).

-   A new service discovery mechanism has been introduced, enabling OpenSearch clients to be easily configured. Users can specify whether a role group should be exposed and choose the corresponding ListenerClass. The connection parameters for accessing the OpenSearch cluster are provided in a discovery ConfigMap. Detailed information can be found at the [OpenSearch discovery documentation page](https://docs.stackable.tech/home/stable/opensearch/reference/discovery/index.md). Implemented in [opensearch-operator#52](https://github.com/stackabletech/opensearch-operator/issues/52).

-   The OpenSearch security plugin is now configurable within the OpenSearchCluster specification. There are two modes of management for the configuration files of the security plugin: one uses the provided configuration only to initialize the security index, after which the API manages it; the other allows the operator to manage the configuration directly. See the [security documentation page](https://docs.stackable.tech/home/stable/opensearch/usage-guide/security/index.md) for more details on this.

    > **Important:** It is essential to remove both `podOverrides` and `configOverrides` related to security settings, such as `plugins.security.allow_default_init_securityindex`.
    >
    > Consult the [upgrade guide](https://docs.stackable.tech/home/stable/opensearch/usage-guide/upgrade/index.md) for more detailed instructions.

    Implemented in [opensearch-operator#43](https://github.com/stackabletech/opensearch-operator/issues/43).


##### Stackable listener-operator

-   The listener-operator now supports configuring `serviceOverrides` on ListenerClasses similar to `podOverrides` on stacklets. This enables users to make arbitrary modifications to the created Services. Implemented in [listener-operator#365](https://github.com/stackabletech/listener-operator/pull/365).

-   The listener-operator now deploys the selected ListenerClass preset on its own instead of relying on Helm. This is done to ensure the ListenerClasses are created after the operator deployed its own CRD. Implemented in [listener-operator#369](https://github.com/stackabletech/listener-operator/pull/369).


##### Stackable secret-operator

The secret-operator now supports the new `secrets.stackable.tech/provision-parts` annotation on the secret volume. This annotation allows configuring which parts of the secret material should be provisioned. Using this annotation enables the following use-cases:

-   Use the `autoTls` backend, but only provision the `ca.crt`/`truststore.p12` for the consumer.

-   Use the `kerberosKeytab` backend, but only provision the `krb5.conf` for the consumer.

-   Use the `k8sSearch` backend to select Secrets which contain public data only and support parsing the partial set of files. Using this annotation disables the strict parsing of files when an explicit format is requested.


See the [volume documentation page](https://docs.stackable.tech/home/stable/secret-operator/volume/index.md) for more details. Implemented in [secret-operator#676](https://github.com/stackabletech/secret-operator/pull/676).

#### Platform improvements

##### General

###### Vulnerabilities

114 CVEs were fixed in the Stackable product images. This includes 9 critical and 40 high-severity CVEs.

###### Miscellaneous

-   All operator images have been updated from UBI9 to UBI10 base images. See [docker-images#1349](https://github.com/stackabletech/docker-images/issues/1349).

-   All products (except [Apache Hadoop](https://github.com/stackabletech/hdfs-operator/issues/750)) now have the [restart-controller](https://docs.stackable.tech/home/stable/commons-operator/restarter/index.md) enabled, so that Pods are automatically restarted on config changes (in ConfigMaps and Secrets). See [issues#816](https://github.com/stackabletech/issues/issues/816).


##### Apache Airflow

-   Previously, only selected providers were included in the Airflow product images. Now we attempt to include all extra packages that are available for Airflow versions 3+, with an overview and explicit exclusions listed in the product image notes. Implemented in [docker-images#1336](https://github.com/stackabletech/docker-images/pull/1336).

-   At times, a race condition can arise between DAG parsing and GitSync fetches. We have added a note to the [troubleshooting section](https://docs.stackable.tech/home/stable/airflow/troubleshooting/index.md) of the documentation to suggest a workaround for this problem. Added in [airflow-operator#732](https://github.com/stackabletech/airflow-operator/issues/732).


##### Apache HBase

The hbase-operator-tools have been bumped to 1.3.0 and [HBASE-29797](https://issues.apache.org/jira/browse/HBASE-29797) has been backported for all supported HBase images. Implemented in [docker-images#1417](https://github.com/stackabletech/docker-images/issues/1417).

##### Apache Hadoop

The operator now adds a warning and exit condition to the `format-namenodes` container script to check for corrupted data after formatting. Implemented in [hdfs-operator#751](https://github.com/stackabletech/hdfs-operator/pull/751).

##### Apache NiFi

-   **Breaking:** The authorization configuration for the operator has been adjusted to more closely match and represent the Apache NiFi interfaces and implementations. The `opa`, `singleUser`, and `standard` authorization options can now be explicitly set. This allows setting an `initialAdminUser` for file-based authorization.

    ```yaml
    spec:
      clusterConfig:
        authorization:
          opa: { .. } # existing
          # OR
          singleUser: {} # new
          # OR
          standard: # new
            accessPolicyProvider:
              fileBased:
                initialAdminUser: CN=admin,OU=admin-group,DC=example,DC=org
    ```

    If not provided this defaults to the `singleUser`.

    > **Warning:** Users authenticating via LDAP that do not use the `opa` authorizer (but relied on the operator-generated file-based authorization), now have to explicitly set the `standard` authorizer and the `initialAdminUser`. The cluster definition must be extended by an authorization part like shown above.
    >
    > This means that the bind user now can differ from the `initialAdminUser`.

    See the [security usage guide](https://docs.stackable.tech/home/stable/nifi/usage_guide/security/index.md) for more information. Implemented in [nifi-operator#884](https://github.com/stackabletech/nifi-operator/pull/884).

-   There are cases where customers may wish to provide static authorization files (users.xml, authorizer.xml, authorizations.xml) instead of fetching the data dynamically (for instance, when collecting user and group data from AD/Entra).

    Statically provided user/group information and coarse-grained permissions are honoured automatically (as long as the UUIDs match those available in the backend), but for the initial process group this has to be done by a callback mechanism so that the authorizations can be updated after the flow has been registered.

    The NiFi images have been patched for versions 2.6.0 and 2.7.2 to support this. Implemented in [nifi-operator#862](https://github.com/stackabletech/nifi-operator/issues/862).


##### Apache Spark

Spark application jobs can now have pod/node affinities. Previously only the application driver and executors had a dedicated field for this purpose. Consult the [pod placement guide](https://docs.stackable.tech/home/stable/spark-k8s/usage-guide/operations/pod-placement/index.md) for more details. Implemented in [spark-k8s-operator#639](https://github.com/stackabletech/spark-k8s-operator/issues/639).

##### Open Policy Agent

-   Previously, when POST-ing the status following the successful loading of a bundle, a warning was written to the logs because of a superfluous service name. This has now been removed. Implemented in [opa-operator#798](https://github.com/stackabletech/opa-operator/issues/798).

-   The Entra User Info Fetcher (UIF) backend has been stabilized with the introduction of OpaCluster v1alpha2. Conversion between v1alpha1 and v1alpha2 is handled automatically by default. Implemented in [opa-operator#801](https://github.com/stackabletech/opa-operator/pull/801).


##### Trino

-   **Breaking:** The operator no longer sets `opa.policy.column-masking-uri` in `access-control.properties` but `opa.policy.batch-column-masking-uri` instead, allowing Trino to fetch multiple column masks in a single request. This now requires a `batchColumnMasks` rule to be present in the OPA Trino rules, when using the default URI set by the trino-operator.
    The above default can be disabled with the new `enableColumnMasking` field in the OPA authorization configuration.

    > **Warning:** The `opa` field under `authorization` is now a mandatory enum variant instead of being optional.

    > **Tip:** It is recommended to use `spec.clusterConfig.authorization.opa.enableColumnMasking: false` instead of `batchColumnMasks = []`.

    Implemented in [trino-operator#814](https://github.com/stackabletech/trino-operator/issues/814).

-   The `spec.connector.iceberg.metastore` field in TrinoCatalog is now optional, as Iceberg also supports other catalogs, such as a REST catalog, which (currently) can only be added using configOverrides. Implemented in [trino-operator#841](https://github.com/stackabletech/trino-operator/pull/841).


#### Platform fixes

##### General

###### Logging

Previously, log entries could be sent multiple times to the Vector aggregator if the Vector sidecar container was restarted. This issue has now been resolved by persisting the Vector state across container restarts. Fixed in [issues#821](https://github.com/stackabletech/issues/issues/821).

###### Miscellaneous

All operators now correctly and gracefully shut down all concurrent tasks by forwarding the SIGTERM signal. Most operators already correctly handled this before, but this is now done consistently across the board. Tracked in [issues#803](https://github.com/stackabletech/issues/issues/803).

##### Apache Airflow

-   Previously, Celery workers in Airflow 3 could run into the problem of not executing tasks anymore after a Redis re-connect. Now, this issue is fixed by bumping the celery Python package. Fixed in [docker-images#1343](https://github.com/stackabletech/docker-images/pull/1343).

-   Previously, the operator adopted the default of 4 API workers per webserver. This results in higher resource usage although it is not required for every situation. Now, the default has been set to 1 (it can easily be changed by adding either more webserver replicas or an override). The documentation has been [corrected](https://docs.stackable.tech/home/stable/airflow/troubleshooting/index.md) and clarified to reflect this. Fixed in [airflow-operator#727](https://github.com/stackabletech/airflow-operator/pull/727).


##### Apache Druid

**Breaking:** Starting with Druid 35, the router requires higher CPU resources. CPU request and limit have been bumped from `100m` and `400m` to `300m` and `1200m` respectively. Fixed in [druid-operator#786](https://github.com/stackabletech/druid-operator/pull/786).

##### Apache Hadoop

Previously, some parts of the shell output of the init containers were not logged properly and therefore not aggregated. Now, these log messages are captured correctly. Fixed in [hdfs-operator#746](https://github.com/stackabletech/hdfs-operator/pull/746).

##### Apache NiFi

-   The operator now instructs NiFi pods to also listen on the loopback interface so that Kubernetes port-forwards work. Fixed in [nifi-operator#870](https://github.com/stackabletech/nifi-operator/pull/870).

-   The operator now utilizes the `.spec.clusterConfig.authorization.opa.package` field instead of hard-coding the OPA package name to `nifi`. By default, the NifiCluster name is used as a package name if not explicitly set. Fixed in [nifi-operator#881](https://github.com/stackabletech/nifi-operator/pull/881).


##### Apache Spark

-   Driver pods are now garbage collected when the Spark application is finished. Previously, driver pods created by the submit job would be left hanging even after the job has been deleted. Fixed in [spark-k8s-operator#649](https://github.com/stackabletech/spark-k8s-operator/pull/649).

-   Fix application pod specifications when both the history server and the S3 connection reference the same SecretClass object. Previously this would lead to a duplicate volume. With this release that duplication is removed. Fixed in [spark-k8s-operator#655](https://github.com/stackabletech/spark-k8s-operator/pull/655).


##### Apache ZooKeeper

Previously, running `zkCli` commands in the ZooKeeper image could fail due to [an upstream issue ZOOKEEPER-4985](https://issues.apache.org/jira/browse/ZOOKEEPER-4985). This has now been fixed by setting the environment variable `ZOOCFGDIR`. Fixed in [zookeeper-operator#988](https://github.com/stackabletech/zookeeper-operator/pull/988).

##### OpenSearch

Previously, the log file rollover was non-functional. When the log file reached a size of 5 MB, an error message repeatedly appeared in the console, indicating that the log file could not be renamed. With this release, we have resolved the permissions issue, ensuring that the log file rollover works correctly. Fixed in [opensearch-operator#106](https://github.com/stackabletech/opensearch-operator/issues/106).

##### Stackable commons-operator

**Breaking:** Prevent an unnecessary restart of Pod 0 of a product StatefulSet when the STS is initially created. This was caused by commons-operator needing to update the STS immediately after creation, at which point Pod 0 was already created. The problem is now fixed by utilizing an admission webhook, which is able to mutate the StatefulSet during its creation - before Pod 0 is created. Fixed in [commons-operator#387](https://github.com/stackabletech/commons-operator/pull/387).

> **Warning:** The commons-operator now needs the RBAC permission to `create` and `patch` `mutatingwebhookconfigurations`. Operator installations via the Helm Chart automatically add these new permissions.

The webhook can be disabled using `--disable-restarter-mutating-webhook` or by setting the `DISABLE_RESTARTER_MUTATING_WEBHOOK` environment variable, which will however revert the fixed behaviour.

#### Platform removals

##### Apache Airflow

**Breaking:** Users of the `EXPERIMENTAL_FILE_HEADER` and `EXPERIMENTAL_FILE_FOOTER` fields who rely on `AUTH_OID` from the `flask_appbuilder.const` import must switch to `AUTH_OAUTH`.

If you are using Airflow < 3.1 and still require `AUTH_OID`, you can manually import it by following the [documented instructions](https://docs.stackable.tech/home/stable/airflow/usage-guide/overrides/index.md). Removed in [airflow-operator#737](https://github.com/stackabletech/airflow-operator/pull/737).

##### Apache Superset

**Breaking:** Users of the `EXPERIMENTAL_FILE_HEADER` and `EXPERIMENTAL_FILE_FOOTER` fields who rely on `AUTH_OID` from the `flask_appbuilder.security.manager` import must switch to `AUTH_OAUTH`.

If you are using Superset < 6.0.0 and still require `AUTH_OID`, you can manually import it by following the [documented instructions](https://docs.stackable.tech/home/stable/superset/usage-guide/configuration-environment-overrides/index.md). Removed in [superset-operator#680](https://github.com/stackabletech/superset-operator/pull/680) and [docker-images#1382](https://github.com/stackabletech/docker-images/issues/1382).

##### Stackable secret-operator

**Breaking:** Removed support for non-persistent ephemeral CSI volumes. This has been deprecated since secret-operator 0.4.0 because it doesn’t support Pod stickiness. Persistent ephemeral volumes that use CSI are still supported and are the recommended way forward.

```yaml
# Replace this
volumes:
  - csi: # ...

# with the new recommended syntax
volumes:
  - ephemeral:
      volumeClaimTemplate: # ...
```

Removed in [secret-operator#481](https://github.com/stackabletech/secret-operator/issues/481).

#### Supported versions

##### Product versions

As with previous SDP releases, many product images have been updated to newer versions. Refer to the [supported versions](https://docs.stackable.tech/home/stable/operators/supported_versions/index.md) documentation for a complete overview including LTS versions or deprecations.

###### New versions

The following new product versions are now supported:

-   Apache Airflow: [3.1.6](https://github.com/stackabletech/docker-images/issues/1416)

-   Apache Druid: [35.0.1](https://github.com/stackabletech/docker-images/issues/1371)

-   Apache HBase: [2.6.4 (LTS)](https://github.com/stackabletech/docker-images/issues/1372)

-   Apache Hive: [4.2.0](https://github.com/stackabletech/docker-images/issues/1375)

-   Apache Kafka: [4.1.1 (experimental)](https://github.com/stackabletech/docker-images/issues/1376)

    -   Note that Kafka 3.9.1 is the last version that supports Apache ZooKeeper as the metadata manager.


-   Apache NiFi: [2.7.2](https://github.com/stackabletech/docker-images/issues/1377)

    -   Note that this version supports Iceberg, but only with S3 and the Iceberg REST catalog. Hive metastore or HDFS are not supported. Read the [official NiFi Iceberg documentation](https://docs.stackable.tech/home/stable/nifi/usage_guide/writing-to-iceberg-tables/index.md) for details.


-   Apache Spark: [3.5.8 (LTS)](https://github.com/stackabletech/docker-images/issues/1381), [4.1.1](https://github.com/stackabletech/docker-images/issues/1381)

    -   Note that there are no Apache Iceberg and Delta runtime libraries available for 4.1.1 yet.


-   Apache Superset: [6.0.0](https://github.com/stackabletech/docker-images/issues/1382)

    -   OpenStreetView has been promoted as the new default for the Deck.gl visualization which doesn’t require an API key.

    -   Consult the [official update notes](https://github.com/apache/superset/blob/6.0.0/UPDATING.md).


-   Open Policy Agent: [1.12.3](https://github.com/stackabletech/docker-images/issues/1378)

-   OpenSearch: [3.4.0](https://github.com/stackabletech/docker-images/issues/1379)

-   Trino: [479](https://github.com/stackabletech/docker-images/issues/1383)

    -   The storage-connector is based on Trino 477 because there was no later release.


-   Vector: [0.52.0](https://github.com/stackabletech/docker-images/issues/1369)


###### Deprecated versions

The following product versions are deprecated and will be removed in a later release:

-   Apache Druid: [34.0.0](https://github.com/stackabletech/docker-images/issues/1371)

-   Apache HBase: [2.6.3](https://github.com/stackabletech/docker-images/issues/1372)

-   Apache Hive: [4.1.0](https://github.com/stackabletech/docker-images/issues/1375)

-   Apache Spark: [3.5.7](https://github.com/stackabletech/docker-images/issues/1381), [4.0.1](https://github.com/stackabletech/docker-images/issues/1381)

-   Open Policy Agent: [1.8.0](https://github.com/stackabletech/docker-images/issues/1378)


###### Removed versions

The following product versions are no longer supported. These images for released product versions remain available in the [Stackable OCI Registry](https://oci.stackable.tech/). Information on how to browse the registry can be found [in the project overview documentation](https://docs.stackable.tech/home/stable/contributor/project-overview/index.md).

-   Apache Airflow: [2.10.5](https://github.com/stackabletech/docker-images/issues/1370), [3.0.1](https://github.com/stackabletech/docker-images/issues/1370)

-   Apache Druid: [33.0.0](https://github.com/stackabletech/docker-images/issues/1371)

-   Apache HBase: [2.6.2](https://github.com/stackabletech/docker-images/issues/1372)

-   Apache Hadoop: [3.4.1](https://github.com/stackabletech/docker-images/issues/1374)

-   Apache Kafka: [3.7.2](https://github.com/stackabletech/docker-images/issues/1376), [4.1.0](https://github.com/stackabletech/docker-images/issues/1376)

-   Apache NiFi: [1.27.0](https://github.com/stackabletech/docker-images/issues/1377), [2.4.0](https://github.com/stackabletech/docker-images/issues/1377)

-   Apache Spark: [3.5.6](https://github.com/stackabletech/docker-images/issues/1381)

-   Apache Superset: [4.0.2](https://github.com/stackabletech/docker-images/issues/1382), [4.1.2](https://github.com/stackabletech/docker-images/issues/1382)

-   Apache ZooKeeper: [3.9.3](https://github.com/stackabletech/docker-images/issues/1384)

-   Open Policy Agent: [1.4.2](https://github.com/stackabletech/docker-images/issues/1378)

-   Trino: [451](https://github.com/stackabletech/docker-images/issues/1383), [476](https://github.com/stackabletech/docker-images/issues/1383)

-   Vector: [0.49.0](https://github.com/stackabletech/docker-images/issues/1369)


##### Kubernetes versions

> **Warning:** There is one known issue when running on Kubernetes 1.35.2 and earlier. Later versions might have fixed it. See the [known issues](https://docs.stackable.tech/home/stable/release-notes/index.md) section below for more details.

This release supports the following Kubernetes versions:

-   `1.35`

-   `1.34`

-   `1.33`

-   `1.32`

-   `1.31`


These Kubernetes versions are no longer supported:

-   `1.30`

-   `1.29`


##### OpenShift versions

This release is available in the RedHat Certified Operator Catalog for the following OpenShift versions:

-   `4.21`

-   `4.20`

-   `4.19`

-   `4.18`


These OpenShift versions are no longer supported:

-   `4.17`

-   `4.16`


#### Upgrade from 25.11

> **Tip:** Please consult the following upgrade notes when upgrading from 25.11 to 26.3:
>
> -   [OpenSearch upgrade guide](https://docs.stackable.tech/home/stable/opensearch/usage-guide/upgrade/index.md)

##### Using stackablectl

###### Upgrade with a single command

Starting with stackablectl Release 1.0.0 the multiple consecutive commands described below can be shortened to just one command, which executes exactly those steps on its own.

```console
$ stackablectl release upgrade 26.3
```

###### Upgrade with multiple consecutive commands

Uninstall the `25.11` release

```console
$ stackablectl release uninstall 25.11

Uninstalled release '25.11'

Use "stackablectl release list" to list available releases.
# ...
```

Install the `26.3` release

```console
$ stackablectl release install 26.3

Installed release '26.3'

Use "stackablectl operator installed" to list installed operators.
```

##### Using Helm

Use `helm list` to list the currently installed operators.

You can use the following command to uninstall all operators that are part of the `25.11` release:

```console
$ helm uninstall airflow-operator <PRODUCT>-operator ...
release "airflow-operator" uninstalled
release "<PRODUCT>-operator" uninstalled
...
```

Install the `26.3` release

> **Note:** `helm repo` subcommands are not supported for OCI registries. The operators are installed directly, without adding the Helm Chart repository first.

```console
helm install --wait <PRODUCT>-operator oci://oci.stackable.tech/sdp-charts/<PRODUCT>-operator --version 26.3.0
```

#### Known issues

-   This release makes `zookeeper` the default metadata manager for Kafka 3.x clusters. If you are running Kafka 3 with `kraft` as metadata manager already, you need to patch your existing Kafka custom resource to make this choice explicit after upgrading the SDP version. The Kafka cluster will run in an error state until you patch it. Patch your Kafka resource like this:

    ```console
    $ kubectl -n <namespace> \
      patch kafkaclusters.kafka.stackable.tech <kafka-resource-name> \
      --type merge -p '{"spec":{"clusterConfig":{"metadataManager":"kraft"}}}'
    ```

    Replace `<namespace>` and `<kafka-resource-name>` as appropriate.
    See [kafka-operator#933](https://github.com/stackabletech/kafka-operator/pull/933).

-   We discovered an [issue](https://github.com/kubernetes/kubernetes/issues/137409) with the feature gate [MaxUnavailableStatefulSet](https://github.com/kubernetes/kubernetes/pull/133153) that is enabled by default as a beta feature in Kubernetes 1.35. This issue affects all SDP operators, especially the Trino operator.
    To work around the issue there are two possibilities:

    1.  Disable this feature gate in your Kubernetes 1.35 clusters.

    2.  Ensure that your product custom resources (e.g. TrinoCluster, SparkApplication, etc.) are applied after any referenced custom resources such as TrinoCatalog, S3Connection, and so on.


-   In Druid 35 and 36, OIDC authentication may fail due to a change in how the authentication method is selected when connecting to an OIDC provider. If your OIDC provider (e.g. Keycloak) advertises `private_key_jwt` as a supported client authentication method, Druid may attempt to use it, which causes authentication to fail. See [druid-operator#800](https://github.com/stackabletech/druid-operator/pull/800).


## Release 25.11

### 25.11.0

Released on 2025-11-07.

> **Tip:** -   The Stackable platform now provides an experimental operator for OpenSearch.
>
> -   All operators now correctly handle multiple Certificate Authorities, previously CA certificate rotations could cause broken product clusters.
>
> -   The User Info Fetcher (UIF) is no longer marked as experimental.
>
> -   SecretClass `v1alpha2` is now available:
>
>     -   The custom `samAccountName` generation is no longer marked as experimental.
>
>     -   The `certManager` backend is no longer marked as experimental.

> **Warning:** The following components of the SDP contain breaking changes for this release:
>
> -   [Apache HBase](https://docs.stackable.tech/home/stable/release-notes/index.md)
>
> -   [Apache Hadoop](https://docs.stackable.tech/home/stable/release-notes/index.md)
>
> -   [Apache Kafka](https://docs.stackable.tech/home/stable/release-notes/index.md)
>
> -   [Open Policy Agent](https://docs.stackable.tech/home/stable/release-notes/index.md)
>
> -   [Stackable listener-operator](https://docs.stackable.tech/home/stable/release-notes/index.md)
>
> -   [Stackable secret-operator](https://docs.stackable.tech/home/stable/release-notes/index.md)

#### New platform features

##### General

###### Security

Traffic between Open Policy Agent (OPA) and clients can be encrypted using TLS by enabling it in the OPA custom resource. The authorizers for Trino and NiFi automatically integrate with these secured OPA deployments and verify the authenticity of the server certificates when TLS for OPA is enabled. Support for other operators will be rolled out in a future release. See the [TLS encryption documentation page](https://docs.stackable.tech/home/stable/opa/usage-guide/tls/index.md) and [opa-operator#581](https://github.com/stackabletech/opa-operator/issues/581).

###### End-of-Support (EoS) warning

All operators now emit a warning message on startup and in a regular interval when it may have reached end-of-support. Most of our operators reach end-of-support one year after they have been released which roughly translates to three SDP releases. This is in accordance with our [support policy](https://docs.stackable.tech/home/stable/compliance/policies/index.md). The interval can be adjusted or the check can be disabled completely via Helm values.

```yaml
maintenance:
  endOfSupportCheck:
    enabled: true
    mode: offline # only offline is currently supported
    interval: 24h # A human-readable duration
```

See [issues#733](https://github.com/stackabletech/issues/issues/733).

###### Miscellaneous

-   The performance of the Trino rules in the `end-to-end-security` stack was improved. Batch queries are now significantly faster. See [demos#289](https://github.com/stackabletech/demos/pull/289).

-   A new demo has been added, showcasing the interaction between the Stackable Data Platform and ArgoCD to deploy resources managed in Git. The [`argo-cd-git-ops`](https://docs.stackable.tech/home/stable/demos/argo-cd-git-ops/index.md) demo deploys Stackable operators and Airflow via ArgoCD, uses Sealed Secrets to safely deploy secrets and credentials and synchronizes Airflow DAGs via Git. See [demos#205](https://github.com/stackabletech/demos/pull/205).


##### Apache Airflow

-   The Airflow [triggerer](https://docs.stackable.tech/home/stable/airflow/index.md) component is now supported. This can be used with DAGs utilizing deferrable operators to keep worker slots free and enhance High Availability (HA). See [airflow-operator#200](https://github.com/stackabletech/airflow-operator/issues/200).

-   The [`airflow-scheduled-job`](https://docs.stackable.tech/home/stable/demos/airflow-scheduled-job/index.md) demo for Airflow has been extended to showcase some of the new Airflow 3.x features in the context of SDP i.e. event scheduling (with Kafka), triggerer actions and user authorization with OPA and the SDP OPA authorizer. See [demos#223](https://github.com/stackabletech/demos/issues/223).


##### Apache Kafka

> **Warning:** It should be noted, that there are multiple known issues including but not limited to:
>
> -   Automatic migration from Apache ZooKeeper to KRaft is not supported.
>
> -   Scaling controller replicas might lead to unstable clusters.
>
> -   Kerberos is currently not supported for KRaft in all versions.
>
> -   Admin client access to controllers is not configured separately from the internal listeners.
>
> -   Health monitoring is very basic.
>
>
> See the [known issues section](https://docs.stackable.tech/home/stable/kafka/usage-guide/kraft-controller/index.md) on the KRaft Controller page for an up-to-date list of known issues.

This release adds experimental support for [KRaft-managed](https://docs.stackable.tech/home/stable/kafka/usage-guide/kraft-controller/index.md) Kafka clusters. KRaft Controllers can be deployed instead of Apache ZooKeeper to manage the state of Kafka. KRaft is supported by all Kafka versions provided by SDP, and starting with Kafka 4 it is the only cluster management option available. See [kafka-operator#889](https://github.com/stackabletech/kafka-operator/pull/889).

##### Apache NiFi

A patch was added which allows disabling the SNI (Server Name Indication) checks for NiFi. The workaround is documented in the [troubleshooting](https://docs.stackable.tech/home/stable/nifi/troubleshooting/index.md) section. This can be useful in certain scenarios where the external name is not in the certificates used by NiFi. See [nifi-operator#812](https://github.com/stackabletech/nifi-operator/issues/812).

##### Apache Spark

-   The ServiceAccount of spark applications can now be overridden with `podOverrides`. Previously, the application ServiceAccount was passed as command line argument to spark-submit and it was therefore not possible to overwrite it with `podOverrides` for the driver and executors. This CLI argument has now been moved to the Pod templates of the individual roles. See [spark-k8s-operator#617](https://github.com/stackabletech/spark-k8s-operator/pull/617).

-   This release adds experimental support for Spark 4.0.1. The support is marked as experimental because Spark 4.0.1 has known compatibility issues with [Apache HBase](https://issues.apache.org/jira/browse/HBASE-30178) and [Apache Iceberg](https://github.com/apache/iceberg/issues/13358). See [spark-k8s-operator#586](https://github.com/stackabletech/spark-k8s-operator/issues/586).


##### Open Policy Agent

This release adds a dedicated per-rolegroup `-metrics` Service, which can be used to scrape Prometheus metrics. Additionally, the operator exposes more Prometheus metrics, such as successful or failed bundle loads and information about the OPA environment.

##### OpenSearch

The Stackable Data Platform now provides an operator for OpenSearch. We initially support version [3.1.0](https://docs.stackable.tech/home/stable/release-notes/index.md), which is also marked as the LTS line going forward.

OpenSearch is a powerful search and analytics engine built on Apache Lucene. OpenSearch clusters can be defined via custom resources similar to other Stackable operators. For instance, a cluster with OpenSearch nodes of different types and replication factors can be defined. Logging, Monitoring and service exposition with ListenerClasses is supported as well. As the operator is still in an early development phase, special care was taken to allow extensive overriding with [`configOverrides`](https://docs.stackable.tech/home/stable/concepts/overrides/index.md) and [`podOverrides`](https://docs.stackable.tech/home/stable/concepts/overrides/index.md).

The operator only manages the OpenSearch back-end. The OpenSearch Dashboards front-end can be installed via the [official Helm chart](https://github.com/opensearch-project/helm-charts/tree/opensearch-dashboards-3.1.0/charts/opensearch-dashboards). Stackable provides a supported image for OpenSearch Dashboards which can be used with this Helm chart.

See the [OpenSearch documentation](https://docs.stackable.tech/home/stable/opensearch/index.md) page for more details.

##### Trino

-   The operator now supports configuring fault-tolerant execution via the TrinoCluster CRD. See the [documentation page](https://docs.stackable.tech/home/stable/trino/usage-guide/fault-tolerant-execution/index.md) and [trino-operator#779](https://github.com/stackabletech/trino-operator/pull/779).

-   The Trino client spooling protocol can now be configured using the `spec.clusterConfig.clientProtocol.spooling` property. Users can configure an [S3Connection](https://docs.stackable.tech/home/stable/concepts/s3/index.md) and the location of spooling segments. Additional properties can be added using the [`configOverrides`](https://docs.stackable.tech/home/stable/concepts/overrides/index.md) mechanism for the `spooling-manager.properties` file. See the [client spooling protocol](https://docs.stackable.tech/home/stable/trino/usage-guide/client-spooling-protocol/index.md) documentation page and [trino-operator#793](https://github.com/stackabletech/trino-operator/pull/793).


#### Platform improvements

##### General

###### Vulnerabilities

37 CVEs were fixed in the Stackable product images. This includes 2 critical and 18 high-severity CVEs.

###### Image signature verification

**Breaking:** With the release of SDP 25.11, we now sign container images and Helm charts using cosign 3 and its new bundle format, benefiting from the OCI Referrers API. This means to verify signatures of this and future releases, users need to use cosign 3. Verification using cosign 2 is also possible if you’re using version 2.6.0 or above and provide the additional flag --new-bundle-format, but cosign 3 is recommended for full compatibility and functionality. For guidance on how to verify image signatures, please consult the Stackable [signature verification documentation](https://docs.stackable.tech/home/stable/guides/enabling-verification-of-image-signatures/index.md).

###### Observability

This release includes various improvements in regards to metrics collection and exposition. Previously, some operators did not expose Prometheus annotations containing the HTTP(S) scheme or the metrics path and port. These annotations are now available which allows custom relabel configs in Prometheus to scrape the metric endpoints:

-   Apache Airflow: [airflow-operator#698](https://github.com/stackabletech/airflow-operator/pull/698).

-   Apache Druid: [druid-operator#761](https://github.com/stackabletech/druid-operator/pull/761).

-   Apache Hive: [hive-operator#641](https://github.com/stackabletech/hive-operator/pull/641).

-   Apache Kafka: [kafka-operator#897](https://github.com/stackabletech/kafka-operator/pull/897).

-   Apache NiFi: [nifi-operator#855](https://github.com/stackabletech/nifi-operator/pull/855).

-   Apache Spark: [spark-k8s-operator#619](https://github.com/stackabletech/spark-k8s-operator/pull/619).

-   Apache Superset: [superset-operator#671](https://github.com/stackabletech/superset-operator/pull/671).

-   Apache ZooKeeper: [zookeeper-operator#978](https://github.com/stackabletech/zookeeper-operator/pull/978).

-   Open Policy Agent: [opa-operator#767](https://github.com/stackabletech/opa-operator/pull/767).

-   Trino: [trino-operator#807](https://github.com/stackabletech/trino-operator/pull/807).


In addition to the annotation changes listed above, the following breaking changes were made:

-   **Breaking:** Apache HBase: The `prometheus.io/scrape` label is now only available on the `metrics` Service (instead of the `headless` Service), which uses `metrics` as the port name instead of the previous `ui-http`/`ui-https` port name. See [hbase-operator#701](https://github.com/stackabletech/hbase-operator/pull/701).

-   **Breaking:** Apache Hadoop: The `metrics` Service previously exposed the JMX metrics via the `metrics` port. In this release, the JMX metrics have been moved to the `jmx-metrics` port. The `metrics` port now instead exposes the native Prometheus metrics.

    > **Warning:** Care needs to be taken because the metrics format has changed.

    See [hdfs-operator#721](https://github.com/stackabletech/hdfs-operator/pull/721).

-   **Breaking:** Apache Kafka: The `<cluster>-<role>-<rolegroup>` Service was replaced with `<cluster>-<role>-<rolegroup>-headless` and `<cluster>-<role>-<rolegroup>-metrics` Services. See [kafka-operator#897](https://github.com/stackabletech/kafka-operator/pull/897).


###### Miscellaneous

-   All operators now correctly handle multiple CA certificates. This can be the case if the Stackable secret-operator auto rotated the CA certificate or if multiple CA certificates are present in a SecretClass. See [issues#764](https://github.com/stackabletech/issues/issues/764) for more details.

-   New Helm values have been added to the operators for setting `priorityClassName` on the resulting Pods, giving administrators greater control over scheduling. When left unconfigured, the fields will not be present on the subsequent Pods. See [issues#765](https://github.com/stackabletech/issues/issues/765) for more details.

    ```yaml
    # Listener operator
    csiProvisioner:
      priorityClassName: ...

    csiNodeDriver:
      priorityClassName: ...

    # Secret operator
    controllerService:
      priorityClassName: ...

    csiNodeDriver:
      priorityClassName: ...

    # All other operators
    priorityClassName: ...
    ```

-   Previously, log entries for some supported products were occasionally corrupted. These issues have now been resolved by implementing multiple fixes in various affected (upstream) projects. See the tracking issue [issues#778](https://github.com/stackabletech/issues/issues/778) for more details.

    -   Pull request [vectordotdev/vector#24028](https://github.com/vectordotdev/vector/pull/24028) was raised to fix log entries with multi-char delimiters. As of SDP 25.11.0 release, this PR has not been merged yet, but the fix is manually applied as a patch. See [docker-images#1323](https://github.com/stackabletech/docker-images/pull/1323).

    -   An XMLLayout multithreading issue in logback has been fixed by raising [qos-ch/logback#978](https://github.com/qos-ch/logback/pull/978). This fix has been rolled out in all affected products:

        -   Apache Kafka: [docker-images#1330](https://github.com/stackabletech/docker-images/pull/1330)

        -   Apache NiFi: [docker-images#1314](https://github.com/stackabletech/docker-images/pull/1314)

        -   Apache ZooKeeper: [docker-images#1320](https://github.com/stackabletech/docker-images/pull/1320)




##### Apache Airflow

-   The JWT key is now created internally by the operator. The same applies to the key previously defined in the credentials secret under `connections.secretKey`: this change is non-breaking, as `connections.secretKey` will be ignored if supplied. See [airflow-operator#686](https://github.com/stackabletech/airflow-operator/pull/686).

-   Database initialization routines - which are idempotent and run by default - can be deactivated to e.g. help diagnose or troubleshoot start-up issues via the new `databaseInitialization.enabled` field.

    > **Warning:** Turning off these routines is an unsupported operation as subsequent updates to a running Airflow cluster can result in broken behaviour due to inconsistent metadata. Only use this setting if you know what you are doing!

-   The Airflow [DAG-processor](https://docs.stackable.tech/home/stable/airflow/index.md) component now has an optional individual role in the CRD, allowing it to be separately configured (e.g. logging, resources) and run in a dedicated container. See [airflow-operator#637](https://github.com/stackabletech/airflow-operator/issues/637).

-   Previously in setups where multiple Web/API-servers were used, only one instance was able to automatically access the connection passwords stored in the database. This could be solved by setting the [fernet](https://airflow.apache.org/docs/apache-airflow/stable/configurations-ref.html#fernet-key) key explicitly, but now this detail is taken care of internally by the operator. See [airflow-operator#694](https://github.com/stackabletech/airflow-operator/issues/694).


##### Apache NiFi

The Apache NiFi [monitoring documentation](https://docs.stackable.tech/home/stable/nifi/usage_guide/monitoring/index.md) page has been updated to include guidance on how to scrape NiFi 2 metrics using mTLS. See [nifi-operator#813](https://github.com/stackabletech/nifi-operator/issues/813).

##### Open Policy Agent

-   **Breaking:** The per-rolegroup Services now only expose the HTTP port and contain a `-headless` suffix to better indicate their purpose and to be consistent with other operators. See [opa-operator#748](https://github.com/stackabletech/opa-operator/pull/748).

-   The [User Info Fetcher (UIF)](https://docs.stackable.tech/home/stable/opa/usage-guide/user-info-fetcher/index.md) is no longer marked as experimental. See [opa-operator#751](https://github.com/stackabletech/opa-operator/issues/751).


##### Stackable commons-operator

Reduce severity of Pod eviction error logs. Previously, the operator would produce a lot of `ERROR` level logs containing `Cannot evict pod as it would violate the pod’s disruption budget`. With this change, the log level is reduced to `INFO`. See [commons-operator#372](https://github.com/stackabletech/commons-operator/pull/372).

##### Stackable listener-operator

-   **Breaking:** ListenerClass `.spec.externalTrafficPolicy` now defaults to `null` (leaving this field unconfigured, previously it defaulted to `Local`). This improves LoadBalancer support across various Kubernetes environments. The Kubernetes API server will apply its default value of `Cluster` when this field is unset. See [listener-operator#347](https://github.com/stackabletech/listener-operator/pull/347).

    Details

    **You are affected if all of the following conditions apply:**

    -   You are using ListenerClasses.

    -   You did NOT explicitly set `.spec.externalTrafficPolicy` in your ListenerClass definitions so far.

    -   You experience performance degradation after upgrading or were relying on the old default behavior for different reasons.


    **What to do if you are affected:** Explicitly set `.spec.externalTrafficPolicy: Local` in your ListenerClass to restore the previous behavior.

    **Why this change?** The previous default of `Local` provides better performance but requires support by the LoadBalancer. Setting to `null` allows the Kubernetes API server to apply its default (`Cluster`), which works across more environments.

-   **Breaking:** The listener-operator Helm chart default value for `preset` changed from `stable-nodes` to `ephemeral-nodes`. This change improves reliability by making failures visible immediately rather than appearing unexpectedly during node rotations. See the tracking issue [issues#770](https://github.com/stackabletech/issues/issues/770).

    Details

    **You are affected if all of the following conditions apply:**

    -   You are using the `external-stable` ListenerClass

    -   You are using the `ephemeral-nodes` preset (new default now)

    -   Your Kubernetes cluster does NOT support LoadBalancers


    **What changes:** Previously with the `stable-nodes` preset, the `external-stable` ListenerClass would use NodePorts and pin Pods to specific nodes. This could break at any point in time when nodes were rotated and the pinned Pods could not be scheduled to their pinned nodes anymore. With the new `ephemeral-nodes` default, `external-stable` requires LoadBalancer support and will **fail immediately on deployment** if LoadBalancers are not available. This fail-fast behavior is preferred over any potential long-term breakage.

    **What to do if you are affected:**

    -   **Option 1:** Add LoadBalancer support to your Kubernetes cluster (recommended for production).

    -   **Option 2:** Explicitly set the preset to `stable-nodes` to restore the old behavior (but be aware it might break during node rotations):

        ```shell
          # Using Helm
          helm install listener-operator ... --set preset=stable-nodes

          # Using stackablectl
          stackablectl release install --listener-class-preset stable-nodes
        ```

        It should be noted that `stackablectl` automatically detects k3s and kind clusters and uses the `stable-nodes` preset since version [1.2.0](https://docs.stackable.tech/management/stable/stackablectl/release-notes/index.md).

    -   **Option 3:** Use the new `.spec.pinnedNodePorts` field to control [node pinning](https://docs.stackable.tech/home/stable/listener-operator/listenerclass/index.md).


-   **Breaking:** Helm values have changed to allow for separate configuration of affinity, resource, etc…​ between the CSI Provisioner Deployment Pods and the CSI driver DaemonSet Pods.

    Container resources for the CSI Controller Service (`sdp/listener-operator` in the Deployment):

    ```yaml
    # Before
    controller:
      resources: ...

    # After
    csiProvisioner:
      controllerService:
        resources: ...
    ```

    Container image/resources for the external-provisioner (`sig-storage/csi-provisioner` in the Deployment):

    ```yaml
    # Before
    csiProvisioner:
      image: ...
      resources: ...

    # After
    csiProvisioner:
      externalProvisioner:
        image: ...
        resources: ...
    ```

    Container resources for the CSI Node Service (`sdp/listener-operator` in the DaemonSet):

    ```yaml
    # Before
    node:
      driver:
        resources: ...

    # After
    csiNodeDriver:
      nodeService:
        resources: ...
    ```

    Container image/resources for the node-driver-registrar (`sig-storage/csi-node-driver-registrar` in the DaemonSet):

    ```yaml
    # Before
    csiNodeDriverRegistrar:
      image: ...
      resources: ...

    # After
    csiNodeDriver:
      nodeDriverRegistrar:
        image: ...
        resources: ...
    ```

    Settings that are now split:

    ```yaml
    # Before
    podAnnotations: ...
    podSecurityContext: ...
    securityContext: ...
    nodeSelector: ...
    tolerations: ...
    affinity: ...

    # After
    csiProvisioner:
      podAnnotations: ...
      podSecurityContext: ...
      nodeSelector: ...
      tolerations: ...
      affinity: ...

      controllerService:
        securityContext: ...

    csiNodeDriver:
      podAnnotations: ...
      podSecurityContext: ...
      nodeSelector: ...
      tolerations: ...
      affinity: ...

      nodeService:
        securityContext: ...
    ```

    See the tracking issue [issues#763](https://github.com/stackabletech/issues/issues/763) and [listener-operator#334](https://github.com/stackabletech/listener-operator/pull/334) for more details.

-   As part of the Helm value changes listed above, some resource names have also been updated.

    > **Warning:** It should be noted that generally no action is required, but that depends on whether or not your deployment scripts (eg: Kustomize) or monitoring/alerting system depends on any of the names and values.

    -   Deployment `testing-listener-operator-deployment` has been renamed to `testing-listener-operator-csi-provisioner`

        -   The `app.kubernetes.io/role` label value has changed from `controller` to `provisioner`

        -   Container `listener-operator` has been renamed to `csi-controller-service`


    -   DaemonSet `listener-operator-node-daemonset` has been renamed to `listener-operator-csi-node-driver`

        -   The `app.kubernetes.io/role` label value has changed from `node` to `node-driver`

        -   Container `listener-operator` has been renamed to `csi-node-service`



    See [listener-operator#334](https://github.com/stackabletech/listener-operator/pull/334) for more details.


##### Stackable secret-operator

-   **Breaking:** The Helm Chart now deploys the secret-operator as two parts. This separation is needed for CRD versioning and conversion by the operator.

    -   The controller (which reconciles resources, maintains CRDs and provides the CRD conversion webhook) runs as a Deployment with a single replica.

    -   The CSI Provisioner and Driver runs on every Kubernetes cluster node via a DaemonSet (this behaviour is unchanged).

    -   The Helm values are adjusted in accordance to the changes above.

        Both the external provisioner and the node driver registrar have been moved under `csiNodeDriver`:

        ```yaml
        # Before
        csiProvisioner:
          resources: ...

        csiNodeDriverRegistrar:
          resources: ...

        # After
        csiNodeDriver:
          externalProvisioner:
            resources: ...
          nodeDriverRegistrar:
            resources: ...
        ```

        The secret-operator is now deployed through a Deployment and a DaemonSet. As such, the resources of both secret-operator instances can be controlled separately:

        ```yaml
        # Before
        node:
          driver:
            resources: ...

        # After
        csiNodeDriver:
          nodeService:
            resources: ...

        controllerService:
          resources: ...
        ```

        The `securityContext` has been split into two parts:

        ```yaml
        # Before
        securityContext: ...

        # After
        csiNodeDriver:
          nodeService:
            securityContext: ...

        controllerService:
          securityContext: ...
        ```

        Settings that are now split:

        ```yaml
        # Before
        podAnnotations: ...
        podSecurityContext: ...
        nodeSelector: ...
        tolerations: ...
        affinity: ...

        # After
        csiNodeDriver:
          podAnnotations: ...
          podSecurityContext: ...
          nodeSelector: ...
          tolerations: ...
          affinity: ...

        controllerService:
          podAnnotations: ...
          podSecurityContext: ...
          nodeSelector: ...
          tolerations: ...
          affinity: ...
        ```

        Settings that have moved:

        ```yaml
        # Before
        kubeletDir: ...

        # After
        csiNodeDriver:
          kubeletDir: ...
        ```

    -   As part of the Helm value changes listed above, some resource names have also been updated.

        > **Warning:** It should be noted that generally no action is required, but that depends on whether or not your deployment scripts (eg: Kustomize) or monitoring/alerting system depends on any of the names and values.

        -   DaemonSet `secret-operator-daemonset` has been renamed to `secret-operator-csi-node-driver`

            -   Container `secret-operator` has been renamed to `csi-node-service`




    See [secret-operator#645](https://github.com/stackabletech/secret-operator/pull/645).

-   **Breaking:** The Stackable secret-operator no longer publishes retired and expired CA certificates:

    -   CA certificates are by default retired one hour before they expire. This duration can be configured via `autoTls.ca.caCertificateRetirementDuration`.

    -   Expired and retired CA certificates are no longer published in Volumes and TrustStore.


    See the [SecretClass](https://docs.stackable.tech/home/stable/secret-operator/secretclass/index.md) and [TrustStore](https://docs.stackable.tech/home/stable/secret-operator/truststore/index.md) documentation as well as [secret-operator#650](https://github.com/stackabletech/secret-operator/pull/650).

-   The custom `samAccountName` generation is no longer marked as experimental. To make this possible, the secret-operator is the first Stackable operator which supports CRD versioning.

    -   In version `v1alpha2` of the SecretClass, the `experimentalGenerateSamAccountName` field was renamed to `generateSamAccountName`. See the [SecretClass reference](https://docs.stackable.tech/home/stable/secret-operator/secretclass/index.md) for more details.

    -   The stored version of SecretClass is `v1alpha2`. It is however still possible to apply and retrieve SecretClasses in `v1alpha1`. The resources are automatically converted by the operator.

    -   The operator now deploys the CRDs for SecretClass and TrustStore by itself instead of relying on the Helm chart. This enables the operator to automatically rotate and update the TLS certificate (`caBundle`) used for the conversion webhook. To enable this mechanism, the operator needs the following additional permissions:

        ```yaml
        apiVersion: rbac.authorization.k8s.io/v1
        kind: ClusterRole
        metadata:
          name: ...
        rules:
          - apiGroups:
              - apiextensions.k8s.io
            resources:
              - customresourcedefinitions
            verbs:
              - create
              - patch
          - apiGroups:
              - secrets.stackable.tech
            resources:
              - secretclasses
              - truststores
            verbs:
              - create
              - patch
        ```

        These permissions are automatically granted when using the Helm Chart, but need to be manually set if other deployment mechanisms are used.

        The maintenance of CRDs (and default custom resources) can be disabled via Helm:

        ```yaml
        maintenance:
          customResourceDefinitions:
            maintain: false
        ```

        > **Warning:** When CRD maintenance is disabled, the operator will **not** deploy and manage the CRDs. The CRDs need to be deployed manually and the conversion webhook is disabled. As a result, only `v1alpha1` SecretClasses can be used. Only use this setting if you know what you are doing!

        > **Note:** Currently the maintenance of CRDs and the deployment of default custom resources, such as the `tls` SecretClass are tied together. This is slated to be changed in an upcoming SDP release.


    See [secret-operator#634](https://github.com/stackabletech/secret-operator/pull/634).

-   The `certManager` backend is no longer marked as experimental. In version `v1alpha2` of the SecretClass, the `experimentalCertManager` field was renamed to `certManager`. See the [SecretClass reference](https://docs.stackable.tech/home/stable/secret-operator/secretclass/index.md) for more details.

-   The operator now supports exporting the TrustStore CA certificate information to Secrets (in addition to ConfigMaps). See [secret-operator#597](https://github.com/stackabletech/secret-operator/pull/597).


#### Platform fixes

##### Custom image selection

Previously, when using custom images in combination with a SHA digest like `oci.stackable.tech/sdp/spark-k8s@sha256:c8b7…​`, all operators created invalid labels `app.kubernetes.io/version` for their applied resources. This was fixed by checking and replacing invalid characters in the created labels when a SHA digest is used to select the custom image. See [operator-rs#1076](https://github.com/stackabletech/operator-rs/pull/1076).

##### Apache Airflow

-   Previously, a missing OPA ConfigMap would crash the operator. With this release, we don’t panic on an invalid authorization config. See [airflow-operator#667](https://github.com/stackabletech/airflow-operator/pull/667).

-   Previously, OPA authorization for Airflow 3 was not working. With this release, the operator now sets the required environment variables. See [airflow-operator#668](https://github.com/stackabletech/airflow-operator/pull/668).

-   Allow multiple Airflows in the same namespace to use Kubernetes executors. Previously, the operator would always use the same name for the executor Pod template ConfigMap. Thus when deploying multiple Airflow instances in the same namespace, the ConfigMaps would conflict. See [airflow-operator#678](https://github.com/stackabletech/airflow-operator/pull/678).


##### Apache Spark

Spark Connect: Previously the property `spec.image.pullSecrets` was ignored by the operator when creating the executor templates. This has now been corrected in the operator code. See [spark-k8s-operator#600](https://github.com/stackabletech/spark-k8s-operator/issues/600).

##### Apache Superset

Previously, there was a chance containers would not start, because Superset was starting too slowly and was killed because of a failing liveness probe. This has now been fixed by adding a proper startup probe, which allows Superset startup to succeed and not be killed. See [superset-operator#654](https://github.com/stackabletech/superset-operator/pull/654).

##### Open Policy Agent

Previously the opa-operator ignored `envOverrides` set on role or rolegroup level. With this release, the `envOverrides` are now properly propagated by the operator. See [opa-operator#754](https://github.com/stackabletech/opa-operator/pull/754).

#### Supported versions

##### Product versions

As with previous SDP releases, many product images have been updated to their latest versions. Refer to the [supported versions](https://docs.stackable.tech/home/stable/operators/supported_versions/index.md) documentation for a complete overview including LTS versions or deprecations.

###### New LTS versions

The following product versions were already available before but are now marked as the [LTS](https://docs.stackable.tech/home/stable/compliance/policies/index.md) version:

-   Apache Hive: [4.0.1 (LTS)](https://github.com/stackabletech/docker-images/issues/1271)

    -   Trino and Iceberg don’t fully work with Hive 4.x yet. See the [hive-operator supported versions documentation](https://docs.stackable.tech/home/stable/hive/index.md) for compatible versions and Hive 4 details. Be aware of upgrading Hive (e.g. 4.0.0 to 4.0.1 or 4.0.1 to Hive 4.1.0), as this upgrade is not easily reversible. Test the new version before upgrading your production workloads and take backups of your database.\* Apache Kafka: [3.9.1 (LTS)](https://github.com/stackabletech/docker-images/issues/1272)



###### New versions

The following new product versions are now supported:

-   Apache Airflow: [3.0.6 (LTS)](https://github.com/stackabletech/docker-images/issues/1268)

-   Apache Druid: [34.0.0](https://github.com/stackabletech/docker-images/issues/1234)

-   Apache HBase: [2.6.3 (LTS)](https://github.com/stackabletech/docker-images/issues/1269)

-   Apache Hadoop: [3.4.2 (LTS)](https://github.com/stackabletech/docker-images/issues/1270)

-   Apache Hive: [4.1.0](https://github.com/stackabletech/docker-images/issues/1235)

    -   Trino and Iceberg don’t fully work with Hive 4.x yet. See the [hive-operator supported versions documentation](https://docs.stackable.tech/home/stable/hive/index.md) for compatible versions and Hive 4 details. Be aware of upgrading Hive (e.g. 4.0.0 to 4.0.1 or 4.0.1 to Hive 4.1.0), as this upgrade is not easily reversible. Test the new version before upgrading your production workloads and take backups of your database.\* Apache Kafka: [4.1.0 (experimental)](https://github.com/stackabletech/docker-images/issues/1236)


-   Apache NiFi: [2.6.0 (LTS)](https://github.com/stackabletech/docker-images/issues/1237)

-   Apache Spark: [3.5.7 (LTS)](https://github.com/stackabletech/docker-images/issues/1273), [4.0.1 (experimental)](https://github.com/stackabletech/docker-images/issues/1273)

-   Apache Superset: [4.1.4 (LTS)](https://github.com/stackabletech/docker-images/issues/1274)

-   Apache ZooKeeper: [3.9.4 (LTS)](https://github.com/stackabletech/docker-images/issues/1275)

-   Open Policy Agent: [1.8.0](https://github.com/stackabletech/docker-images/issues/1238)

-   OpenSearch: [3.1.0 (LTS)](https://github.com/stackabletech/docker-images/issues/1239)

-   Trino: [477 (LTS)](https://github.com/stackabletech/docker-images/issues/1242)

-   Vector: [0.49.0](https://github.com/stackabletech/docker-images/issues/1233)


###### Deprecated versions

The following product versions are deprecated and will be removed in a later release:

-   Apache Airflow: [2.9.3](https://github.com/stackabletech/docker-images/issues/1266), [2.10.5](https://github.com/stackabletech/docker-images/issues/1268)

-   Apache Druid: [33.0.0](https://github.com/stackabletech/docker-images/issues/1234)

-   Apache HBase: [2.6.2](https://github.com/stackabletech/docker-images/issues/1269)

-   Apache Hadoop: [3.4.1](https://github.com/stackabletech/docker-images/issues/1270)

-   Apache Hive: [4.0.0](https://github.com/stackabletech/docker-images/issues/1271)

    -   Trino and Iceberg don’t fully work with Hive 4.x yet. See the [hive-operator supported versions documentation](https://docs.stackable.tech/home/stable/hive/index.md) for compatible versions and Hive 4 details. Be aware of upgrading Hive (e.g. 4.0.0 to 4.0.1 or 4.0.1 to Hive 4.1.0), as this upgrade is not easily reversible. Test the new version before upgrading your production workloads and take backups of your database.\* Apache Kafka: [3.7.2](https://github.com/stackabletech/docker-images/issues/1236)


-   Apache NiFi: [1.27.0](https://github.com/stackabletech/docker-images/issues/1237), [1.28.1](https://github.com/stackabletech/docker-images/issues/1237), [2.4.0](https://github.com/stackabletech/docker-images/issues/1237)

-   Apache Spark: [3.5.6](https://github.com/stackabletech/docker-images/issues/1273)

-   Apache Superset: [4.0.2](https://github.com/stackabletech/docker-images/issues/1241), [4.1.2](https://github.com/stackabletech/docker-images/issues/1274)

-   Apache ZooKeeper: [3.9.3](https://github.com/stackabletech/docker-images/issues/1275)

-   Open Policy Agent: [1.4.2](https://github.com/stackabletech/docker-images/issues/1238)

-   Trino: [451](https://github.com/stackabletech/docker-images/issues/1242), [476](https://github.com/stackabletech/docker-images/issues/1242)


###### Removed versions

The following product versions are no longer supported. These images for released product versions remain available [here](https://oci.stackable.tech/). Information on how to browse the registry can be found [here](https://docs.stackable.tech/home/stable/contributor/project-overview/index.md).

-   Apache Airflow: [2.10.4](https://github.com/stackabletech/docker-images/issues/1268)

-   Apache Druid: [31.0.1](https://github.com/stackabletech/docker-images/issues/1234)

-   Apache HBase: [2.6.1](https://github.com/stackabletech/docker-images/issues/1269)

-   Apache Kafka: [3.9.0](https://github.com/stackabletech/docker-images/issues/1272)

-   Apache Spark: [3.5.5](https://github.com/stackabletech/docker-images/issues/1273), [4.0.0](https://github.com/stackabletech/docker-images/issues/1273)

-   Apache Superset: [4.1.1](https://github.com/stackabletech/docker-images/issues/1274)

-   Open Policy Agent: [1.0.1](https://github.com/stackabletech/docker-images/issues/1238)

-   Trino: [470](https://github.com/stackabletech/docker-images/issues/1242)

-   Vector: [0.47.0](https://github.com/stackabletech/docker-images/issues/1233)


##### Kubernetes versions

This release supports the following Kubernetes versions:

-   `1.34`

-   `1.33`

-   `1.32`

-   `1.31`


These Kubernetes versions are no longer supported:

-   `1.30`


##### OpenShift

This release is available in the RedHat Certified Operator Catalog for the following OpenShift versions:

-   `4.20`

-   `4.19`

-   `4.18`

-   `4.17`

-   `4.16`


This release changes the memory requests for operators installed from the OpenShift Certified Operator Catalog. Previously most operators requested `128Mi` of memory. Starting with this release the memory requests have been increased to `256Mi` to improve stability on large clusters.

> **Warning:** There is a known issue when updating the certified Stackable Listener Operator on OpenShift clusters `4.18` from version `25.7.0` to `25.11.0`. In this case, the operator is unable to reconcile existing ListenerClass resources after the update. As a workaround, please uninstall the Stackable Listener Operator and reinstall the version `25.11.0` again directly.

#### Upgrade from 25.7

##### Using stackablectl

###### Upgrade with a single command

Starting with `stackablectl` [1.0.0](https://docs.stackable.tech/management/stable/stackablectl/release-notes/index.md) the multiple consecutive commands described below can be shortened to just one command, which executes exactly those steps on its own.

```console
$ stackablectl release upgrade 25.11
```

###### Upgrade with multiple consecutive commands

Uninstall the `25.7` release

```console
$ stackablectl release uninstall 25.7

Uninstalled release '25.7'

Use "stackablectl release list" to list available releases.
# ...
```

Afterwards you will need to upgrade the CustomResourceDefinitions (CRDs) installed by the Stackable Platform. The reason for this is that helm will uninstall the operators but not the CRDs. This can be done using `kubectl replace`.

> **Note:** It should be noted that the SecretClass and TrustStore CRDs don’t need to be replaced manually, because the Stackable secret-operator [maintains them by default](https://docs.stackable.tech/home/stable/release-notes/index.md).

```shell
kubectl replace -f https://raw.githubusercontent.com/stackabletech/airflow-operator/25.11.0/deploy/helm/airflow-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/commons-operator/25.11.0/deploy/helm/commons-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/druid-operator/25.11.0/deploy/helm/druid-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hbase-operator/25.11.0/deploy/helm/hbase-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hdfs-operator/25.11.0/deploy/helm/hdfs-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hive-operator/25.11.0/deploy/helm/hive-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/kafka-operator/25.11.0/deploy/helm/kafka-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/listener-operator/25.11.0/deploy/helm/listener-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/nifi-operator/25.11.0/deploy/helm/nifi-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/opa-operator/25.11.0/deploy/helm/opa-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/spark-k8s-operator/25.11.0/deploy/helm/spark-k8s-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/superset-operator/25.11.0/deploy/helm/superset-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/trino-operator/25.11.0/deploy/helm/trino-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/zookeeper-operator/25.11.0/deploy/helm/zookeeper-operator/crds/crds.yaml
```

```
customresourcedefinition.apiextensions.k8s.io "airflowclusters.airflow.stackable.tech" replaced
customresourcedefinition.apiextensions.k8s.io "authenticationclasses.authentication.stackable.tech" replaced
customresourcedefinition.apiextensions.k8s.io "s3connections.s3.stackable.tech" replaced
...
```

Install the `25.11` release

```console
$ stackablectl release install 25.11

Installed release '25.11'

Use "stackablectl operator installed" to list installed operators.
```

##### Using Helm

Use `helm list` to list the currently installed operators.

You can use the following command to uninstall all operators that are part of the `25.7` release:

```console
$ helm uninstall airflow-operator commons-operator druid-operator hbase-operator hdfs-operator hive-operator kafka-operator listener-operator nifi-operator opa-operator secret-operator spark-k8s-operator superset-operator trino-operator zookeeper-operator
release "airflow-operator" uninstalled
release "commons-operator" uninstalled
...
```

Afterward you will need to upgrade the CustomResourceDefinitions (CRDs) installed by the Stackable Platform. The reason for this is that helm will uninstall the operators but not the CRDs. This can be done using `kubectl replace`.

> **Note:** It should be noted that the SecretClass and TrustStore CRDs don’t need to be replaced manually, because the Stackable secret-operator [maintains them by default](https://docs.stackable.tech/home/stable/release-notes/index.md).

```shell
kubectl replace -f https://raw.githubusercontent.com/stackabletech/airflow-operator/25.11.0/deploy/helm/airflow-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/commons-operator/25.11.0/deploy/helm/commons-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/druid-operator/25.11.0/deploy/helm/druid-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hbase-operator/25.11.0/deploy/helm/hbase-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hdfs-operator/25.11.0/deploy/helm/hdfs-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hive-operator/25.11.0/deploy/helm/hive-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/kafka-operator/25.11.0/deploy/helm/kafka-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/listener-operator/25.11.0/deploy/helm/listener-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/nifi-operator/25.11.0/deploy/helm/nifi-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/opa-operator/25.11.0/deploy/helm/opa-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/spark-k8s-operator/25.11.0/deploy/helm/spark-k8s-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/superset-operator/25.11.0/deploy/helm/superset-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/trino-operator/25.11.0/deploy/helm/trino-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/zookeeper-operator/25.11.0/deploy/helm/zookeeper-operator/crds/crds.yaml
```

```
customresourcedefinition.apiextensions.k8s.io "airflowclusters.airflow.stackable.tech" replaced
customresourcedefinition.apiextensions.k8s.io "authenticationclasses.authentication.stackable.tech" replaced
customresourcedefinition.apiextensions.k8s.io "s3connections.s3.stackable.tech" replaced
...
```

Install the `25.11` release

> **Note:** `helm repo` subcommands are not supported for OCI registries. The operators are installed directly, without adding the Helm Chart repository first.

```console
helm install --wait airflow-operator oci://oci.stackable.tech/sdp-charts/airflow-operator --version 25.11.0
helm install --wait commons-operator oci://oci.stackable.tech/sdp-charts/commons-operator --version 25.11.0
helm install --wait druid-operator oci://oci.stackable.tech/sdp-charts/druid-operator --version 25.11.0
helm install --wait hbase-operator oci://oci.stackable.tech/sdp-charts/hbase-operator --version 25.11.0
helm install --wait hdfs-operator oci://oci.stackable.tech/sdp-charts/hdfs-operator --version 25.11.0
helm install --wait hive-operator oci://oci.stackable.tech/sdp-charts/hive-operator --version 25.11.0
helm install --wait kafka-operator oci://oci.stackable.tech/sdp-charts/kafka-operator --version 25.11.0
helm install --wait listener-operator oci://oci.stackable.tech/sdp-charts/listener-operator --version 25.11.0
helm install --wait nifi-operator oci://oci.stackable.tech/sdp-charts/nifi-operator --version 25.11.0
helm install --wait opa-operator oci://oci.stackable.tech/sdp-charts/opa-operator --version 25.11.0
helm install --wait secret-operator oci://oci.stackable.tech/sdp-charts/secret-operator --version 25.11.0
helm install --wait spark-k8s-operator oci://oci.stackable.tech/sdp-charts/spark-k8s-operator --version 25.11.0
helm install --wait superset-operator oci://oci.stackable.tech/sdp-charts/superset-operator --version 25.11.0
helm install --wait trino-operator oci://oci.stackable.tech/sdp-charts/trino-operator --version 25.11.0
helm install --wait zookeeper-operator oci://oci.stackable.tech/sdp-charts/zookeeper-operator --version 25.11.0
```

## Release 25.7

### 25.7.0

Released on 2025-07-23.

> **Note:** The SDP 25.7.0 release is the first release which will **only** be published on `oci.stackable.tech`.

> **Note:** Previously, releases of the `stackablectl` CLI tool were synced with platform releases. The tool itself was never tied to a particular version of SDP. As such, it was decided to version `stackablectl` independently. Starting with this release, the release notes for `stackablectl` are located on a separate [page](https://docs.stackable.tech/management/stable/stackablectl/release-notes/index.md).

#### New platform features

##### General

###### Security

-   Users (and services) can now use the new TrustStore resource to request the trust root certificates associated with a SecretClass. See the [TrustStore documentation](https://docs.stackable.tech/home/stable/secret-operator/truststore/index.md) and [secret-operator#410](https://github.com/stackabletech/secret-operator/issues/410).

-   Add support for format-specific annotations to override secret file names. Names can be customized using secret volume annotations which are listed [in our documentation](https://docs.stackable.tech/home/stable/secret-operator/volume/index.md). See [secret-operator#572](https://github.com/stackabletech/secret-operator/pull/572).


###### Automatic cluster domain detection

The default Kubernetes cluster domain name is now fetched from the kubelet API unless explicitly configured. Operators are now required to have the RBAC permission to get `nodes/proxy`. The helm-charts take care of this.

The CLI argument `--kubernetes-node-name` or env variable `KUBERNETES_NODE_NAME` needs to be set. The helm-charts take care of this.

See [issues#662](https://github.com/stackabletech/issues/issues/662).

###### Observability

-   All operators support sending OpenTelemetry logs and traces via OTLP.

-   All operators use unified CLI arguments and environment variables to configure the exporters.

-   All operators allow exporter configuration via Helm values.

-   All exporters are disabled by default, except for console logs, which remain enabled by default.


Additionally see the official [telemetry documentation page](https://docs.stackable.tech/home/stable/concepts/observability/telemetry/index.md) and the tracking issue [issues#639](https://github.com/stackabletech/issues/issues/639) for further details.

###### Authorization

The user-info-fetcher backend now supports fetching user groups from Microsoft Entra (experimental). See [opa-operator#712](https://github.com/stackabletech/opa-operator/pull/712).

###### Miscellaneous

The operator Helm charts now grant RBAC `patch` permissions on `events.k8s.io/events`, so events can be aggregated (e.g. "error happened 10 times over the last 5 minutes"). See [issues#748](https://github.com/stackabletech/issues/issues/748).

##### Apache Airflow

-   The recent release of Airflow 3 brings with it a raft of changes - with both new features and significant changes to architecture. SDP offers early experimental support for Airflow 3.0.1 as of SDP 25.7. This gives users the chance to use the new UI, to [update](https://airflow.apache.org/docs/apache-airflow/3.0.1/installation/upgrading_to_airflow3.html#step-3-dag-authors-check-your-airflow-dags-for-compatibility) their DAGs and to test the new OPA authenticator. See [docker-images#1074](https://github.com/stackabletech/docker-images/issues/1074).

-   Set the default `airflow.task` log level to `INFO` to not spam the Airflow UI with task logs. See [airflow-operator#649](https://github.com/stackabletech/airflow-operator/pull/649).


##### Apache NiFi

-   Starting with NiFi 2.0, custom Python extensions are supported. See [nifi-operator#739](https://github.com/stackabletech/nifi-operator/issues/739) and documentation on [custom components](https://docs.stackable.tech/home/stable/nifi/usage_guide/custom-components/index.md).

-   Custom NiFi Archives (NARs) and Python components can be loaded from Git repositories with git-sync. See [nifi-operator#739](https://github.com/stackabletech/nifi-operator/issues/739) and documentation on [custom components](https://docs.stackable.tech/home/stable/nifi/usage_guide/custom-components/index.md).

-   The Stackable operator for Apache NiFi now supports using Kubernetes for cluster coordination and storage, rather than ZooKeeper. (Requires NiFi 2, migrating existing installs is currently not supported) See [NiFi backend documentation](https://docs.stackable.tech/home/stable/nifi/usage_guide/clustering/index.md) and [nifi-operator#737](https://github.com/stackabletech/nifi-operator/issues/737).

-   Rolling upgrades are now supported between NiFi 2 versions. This is the default update strategy for NiFi 2 clusters. See the [NiFi updating documentation](https://docs.stackable.tech/home/stable/nifi/usage_guide/updating/index.md) and [nifi-operator#736](https://github.com/stackabletech/nifi-operator/issues/736).

-   The Stackable operator for Apache NiFi now supports authorization using the Open Policy Agent (OPA). See the [NiFi authorization documentation](https://docs.stackable.tech/home/stable/nifi/usage_guide/security/index.md) and [issues#47](https://github.com/stackabletech/issues/issues/47).


##### Apache Spark

-   This release adds experimental support for Spark Connect. The Spark operator watches for SparkConnectServer custom resources. Preliminary documentation is [available](https://docs.stackable.tech/home/stable/spark-k8s/usage-guide/spark-connect/index.md) and the existing [Taxi Data Anomaly Detection demo](https://docs.stackable.tech/home/stable/demos/jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data/index.md) has been retrofitted to use a JupyterLab client running against a Spark Connect server. Also see [the issue](https://github.com/stackabletech/spark-k8s-operator/issues/284) tracking support for Spark Connect.

-   This release also ensures that Bouncy Castle libraries are included in the Spark images. This was causing errors in kerberized environments previously. See [docker-images#1212](https://github.com/stackabletech/docker-images/pull/1212) for details.


##### Stackable listener-operator

The Stackable listener-operator can now use custom [LoadBalancer classes](https://docs.stackable.tech/home/stable/listener-operator/listenerclass/index.md) and [disable NodePort allocation](https://kubernetes.io/docs/concepts/services-networking/service/#load-balancer-nodeport-allocation).

#### Platform improvements

##### General

###### Listener integration

**Breaking:** The Stackable operators for Apache Airflow, Apache Druid, Apache HBase, Apache Hadoop, Apache Hive, Apache NiFi, Apache Spark, Apache ZooKeeper, and Trino are now integrated with the Stackable listener-operator. See the overall tracking issue [issues#692](https://github.com/stackabletech/issues/issues/692) and [comment](https://github.com/stackabletech/issues/issues/692#issuecomment-3068662411) summarizing the breaking changes.

-   **Apache Airflow and Apache Superset:** Listener classes are now declared at role level: this replaces the previous implementation where this was defined at cluster level and used a specific role service. Metrics are not exposed via the listener service and are - as previously - only available within the cluster. The service naming has been changed to reflect this. See [issues#692 (comment)](https://github.com/stackabletech/issues/issues/692#issuecomment-2854266967).

-   **Apache Druid:** Listener classes for Brokers, Coordinators and Routers are now defined in `spec.brokers|coordinators|routers.roleConfig.listenerClass`. Metrics are no longer exposed by the listener Service and are instead now defined on a dedicated ClusterIP service per role group (eg: my-druid-broker-default-metrics). A separate headless Service is now created for each role group for internal communications (e.g. between different Druid services). See [issues#692 (comment)](https://github.com/stackabletech/issues/issues/692#issuecomment-3106382988).

-   **Apache HBase:**: Coordinator Listener classes are now declared at role level `spec.<role>.config.listenerClass` instead of `spec.clusterConfig.listenerClass`. HBase has been patched so that the URLs in the UI screens now use listener endpoints (which are externally reachable as long as the appropriate listenerClass has been selected). See [HBase ListenerClass documentation](https://docs.stackable.tech/home/stable/hbase/usage-guide/listenerclass/index.md) and [docker-images#692 (comment)](https://github.com/stackabletech/issues/issues/692#issuecomment-3089441868).

-   **Apache Hive:** Introduces a listener service on the `metastore` role level. Additionally, a `-headless` service for internal communications as well as a `-metrics` service for monitoring is introduced at the role group level. See [hive-operator#566](https://github.com/stackabletech/hive-operator/issues/566).

-   **Apache NiFi:** Listener classes are now defined in spec.nodes.roleConfig.listenerClass. Metrics are no longer exposed by the listener Service and are instead now defined on a dedicated ClusterIP service per role group (eg: my-nifi-node-default-metrics). A separate headless Service is now created for each role group for internal communications (between NiFi nodes). See [issues#692 (comment)](https://github.com/stackabletech/issues/issues/692#issuecomment-3106375374).

-   **Apache Spark:** The history server UI is now exposed using listeners instead of services created by the operator directly. This implementation also changed the CRD by moving the `spec.clusterConfig.listenerClass` field to `spec.node.config.listenerClass`. The new and experimental Spark connect servers in this release are also exposed using listeners in the same fashion as the history server. See [issues#692 (comment)](https://github.com/stackabletech/issues/issues/692#issuecomment-2847025199).

-   **Apache ZooKeeper:** ListenerClasses are now defined in `spec.server.roleConfig.listenerClass`. Metrics are no longer exposed by the listener Service and are instead now defined on a dedicated ClusterIP service per role group (eg: `my-zk-server-default-metrics`). A separate headless Service is now created for each role group for internal communications (eg: access to the leader and leader-election). See [issues#692 (comment)](https://github.com/stackabletech/issues/issues/692#issuecomment-3034672506).

-   **Trino:** Coordinator Listener classes are now declared at role level `spec.coordinators.roleConfig.listenerClass` instead of `spec.clusterConfig.listenerClass`. Both Coordinators and Workers have two services at role group level, a headless service called `<cluster>-<role>-<rolegroup>-headless` and a service for metrics called `<cluster>-<role>-<rolegroup>-metrics`. See [Trino ListenerClass documentation](https://docs.stackable.tech/home/stable/trino/usage-guide/listenerclass/index.md) and [issues#692 (comment)](https://github.com/stackabletech/issues/issues/692#issuecomment-3001089387).


###### Authorization

The user-info-fetcher AD backend now filters by both UPN and SAN fields when fetching user groups. See the [documentation](https://docs.stackable.tech/home/stable/opa/usage-guide/user-info-fetcher/index.md) and [opa-operator#702](https://github.com/stackabletech/opa-operator/issues/702).

###### Miscellaneous

-   All products that are built from source in SDP, which is at the time of this release everything except Airflow and Superset, now have a version suffix to indicate they include custom modifications made by Stackable. The suffix the same as for SDP container images, so ZooKeeper 3.9.3 in SDP 25.7.0 will for example report `3.9.3-stackable25.7.0` as its version. See [docker-images#1068](https://github.com/stackabletech/docker-images/issues/1068).

-   We’ve added source code snapshots directly into our container images to further improve transparency and the debugging experience. Each container image now includes `.tar.gz` archives containing the exact source code used to build that specific version of the product. They can be found within the `/stackable` directory of each container image. See the [SBOM documentation](https://docs.stackable.tech/home/stable/guides/viewing-and-verifying-sboms/index.md) and [docker-images#1069](https://github.com/stackabletech/docker-images/issues/1069).

-   Our containers include a tool which regularly logs relevant system information to aid in debugging. This was introduced in SDP 25.3.0 and was running every minute. The signal to noise ratio was off which is why we are switching to run this every 30min in this release. See [docker-images#1128](https://github.com/stackabletech/docker-images/pull/1128).


##### Vulnerabilities

230 CVEs were fixed in the Stackable product images. This includes 3 critical and 97 high-severity CVEs.

##### Apache Druid

We noticed that a bunch of configuration properties were missing on the middleManager roles. The properties are now available. See [druid-operator#740](https://github.com/stackabletech/druid-operator/pull/740).

##### Apache Hadoop

-   Various setting defaults have been updated for better performance and reliability. See [hdfs-operator#685](https://github.com/stackabletech/hdfs-operator/issues/685).

-   The operator now defaults `dfs.encrypt.data.transfer.cipher.suite` to `AES/CTR/NoPadding` to improve security and performance. See [hdfs-operator#693](https://github.com/stackabletech/hdfs-operator/pull/693).

-   Previously Apache Hadoop wouldn’t find and use the native OpenSSL library to speed up crypto operations. This was fixed by adding a [missing symlink](https://issues.apache.org/jira/browse/HADOOP-12845) and backporting [HADOOP-18583](https://issues.apache.org/jira/browse/HADOOP-18583). See [docker-images#1209](https://github.com/stackabletech/docker-images/pull/1209).


##### Apache NiFi

-   The operator now emits a warning for deprecated sensitive property algorithms in NiFi version 1 and errors out for version 2 if an unsupported sensitive properties algorithm is used. See the official [NiFi documentation](https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#property-encryption-algorithms) and [nifi-operator#791](https://github.com/stackabletech/nifi-operator/issues/791).

-   Re-add Iceberg support to NiFi 2.4.0, which was removed upstream starting with version 2.0.0. See [NiFi Iceberg documentation](https://docs.stackable.tech/home/stable/nifi/usage_guide/writing-to-iceberg-tables/index.md) and [nifi-operator#738](https://github.com/stackabletech/nifi-operator/issues/738).

-   Update patch that allows bypassing the host header validation starting with NiFi 2.4.0. See [docker-images#1125](https://github.com/stackabletech/docker-images/pull/1125).


##### Apache ZooKeeper

-   The image for Apache ZooKeeper backports various 3.9.4 changes into the supported 3.9.3 version. See [docker-images#1143](https://github.com/stackabletech/docker-images/issues/1143).

-   Prometheus support was added using the built-in Prometheus provider in Apache ZooKeeper. This appends another port (native-metrics). To access the metrics this port in combination with the `/metrics` endpoint can be used. See [zookeeper-operator#955](https://github.com/stackabletech/zookeeper-operator/pull/955).


#### Platform deprecations

##### Apache Hadoop

The built-in Prometheus servlet is now enabled by default and metrics are available under the `/prom` path of all UI services. The metrics exposed by the JMX exporter are now considered deprecated and will be removed in a future release. See [hdfs-operator#695](https://github.com/stackabletech/hdfs-operator/pull/695).

##### Apache Hive

Hive 3 has been deprecated since SDP 25.3.0 and was marked as End of Life on 2024-10-08 by the upstream project. We might remove it in the upcoming release, the final decision will be based on metastore client compatibility and customer feedback.

##### Apache Spark

This release enables the built in Prometheus servlet for metric scraping. The existing JMX exporter is still enabled but it is deprecated and it will be removed in a future release. See [spark-k8s-operator#584](https://github.com/stackabletech/spark-k8s-operator/pull/584).

#### Platform removals

##### General

-   Remove CSI registration path migration job (init-container) from secret-operator DaemonSet. See [secret-operator#610](https://github.com/stackabletech/secret-operator/pull/610).

-   This release removes support for previously deprecated product service accounts. Deprecated service accounts named `<product_name>-serviceaccount` are ignored. Instead, product workloads use service accounts named `<resource_name>-serviceaccount` where `resource_name` is the stacklet (or cluster) name as defined in the cluster resource. We advise deleting these orphaned ServiceAccounts manually. See [operator-rs#1060](https://github.com/stackabletech/operator-rs/pull/1060).

-   **Breaking:** The `lastUpdatedTime` was removed from the `ClusterStatus` of each operator. Users previously relying on this value should migrate to `lastTransitionTime`. See [operator-rs#1032](https://github.com/stackabletech/operator-rs/issues/1032) and [operator-rs#1054](https://github.com/stackabletech/operator-rs/pull/1054).


##### Container images

**Breaking:** The `oci.stackable.tech/sdp/kcat` image has been discontinued starting with SDP 25.7.0. Use `oci.stackable.tech/sdp/kafka-testing-tools` instead, which includes kcat. Existing `oci.stackable.tech/sdp/kcat` images for previous SDP releases remain available. See [docker-images#1124](https://github.com/stackabletech/docker-images/pull/1124).

##### Apache HBase

Starting with this release, support for HBase 2.4 has been removed. This includes metrics exposed via the JMX exporter. All supported HBase versions expose metrics via the built in Prometheus servlet. See [hbase-operator#672](https://github.com/stackabletech/hbase-operator/pull/672).

##### Apache ZooKeeper

**Breaking:** The `-nodeport` discovery ConfigMap has been deprecated in 25.3.0 and is removed as of this release. Use the primary discovery ConfigMap instead. See [kafka-operator#868](https://github.com/stackabletech/kafka-operator/pull/868).

##### Trino

**Breaking:** The PersistentVolumeClaims for Trino coordinator and workers have been removed because they caused problems due to storing its PID in `/stackable/data/var/run/launcher.pid`. A forceful stop (eg. OOMKilled) could result in a leftover PID in this file. In this case Trino would refuse startup with `ERROR: already running as 21`. As the PersistentVolumeClaims didn’t store any actual data, they have been removed. See [trino-operator#768](https://github.com/stackabletech/trino-operator/issues/768) and [trino-operator#769](https://github.com/stackabletech/trino-operator/pull/769).

-   Upgrading will result in an error, because Kubernetes currently does not allow changing the `volumeClaimTemplates` field. Simply delete the mentioned StatefulSet and the operator will re-create it.

-   Orphaned PVCs can be cleaned up. Listing all Trino-related PVCs can be done using the following command: `kubectl get pvc -l app.kubernetes.io/name=trino`.

-   The `.spec.coordinators|workers.config.resources.storage.data` field has been removed, as it is no longer needed.


#### Supported versions

##### Product versions

As with previous SDP releases, many product images have been updated to their latest versions. Refer to the [supported versions](https://docs.stackable.tech/home/stable/operators/supported_versions/index.md) documentation for a complete overview including LTS versions or deprecations.

###### New versions

The following new product versions are now supported:

-   Apache Airflow: [2.10.5](https://github.com/stackabletech/docker-images/issues/1074), [3.0.1 (experimental)](https://github.com/stackabletech/docker-images/issues/1074)

-   Apache Druid: [33.0.0](https://github.com/stackabletech/docker-images/issues/1075)

-   Apache HBase: [2.6.2 (LTS)](https://github.com/stackabletech/docker-images/issues/1076)

-   Apache NiFi: [2.4.0](https://github.com/stackabletech/docker-images/issues/1079)

-   Apache Superset: [4.1.2](https://github.com/stackabletech/docker-images/issues/1081)

-   Open Policy Agent: [1.4.2](https://github.com/stackabletech/docker-images/issues/1084)

-   Trino: [476](https://github.com/stackabletech/docker-images/issues/1082)


###### Deprecated versions

The following product versions are deprecated and will be removed in a later release:

-   Apache Airflow: [2.10.4](https://github.com/stackabletech/docker-images/issues/1074)

-   Apache Druid: [31.0.1](https://github.com/stackabletech/docker-images/issues/1075)

-   Apache Hbase: [2.6.1](https://github.com/stackabletech/docker-images/issues/1076)

-   Apache Superset: [4.2.1](https://github.com/stackabletech/docker-images/issues/1081)

-   Open Policy Agent: [1.0.1](https://github.com/stackabletech/docker-images/issues/1084)

-   Trino: [470](https://github.com/stackabletech/docker-images/issues/1082)


###### Removed versions

The following product versions are no longer supported. These images for released product versions remain available [here](https://oci.stackable.tech/). Information on how to browse the registry can be found [here](https://docs.stackable.tech/home/stable/contributor/project-overview/index.md).

> **Note:** We removed support for Apache Hadoop 3.3.6 in our operator, but it is still required by HBase, Hive, and Spark in this release.

-   Apache Druid: [30.0.0](https://github.com/stackabletech/docker-images/issues/1075)

-   Apache Hbase: [2.4.18](https://github.com/stackabletech/docker-images/issues/1076)

-   Apache Hadoop: [3.3.4](https://github.com/stackabletech/docker-images/issues/1077), [3.4.0](https://github.com/stackabletech/docker-images/issues/1077), [3.3.6](https://github.com/stackabletech/docker-images/issues/1077)

-   Apache Kafka: [3.7.1](https://github.com/stackabletech/docker-images/issues/1078), [3.8.0](https://github.com/stackabletech/docker-images/issues/1078)

-   Apache NiFi: [2.2.0 (experimental)](https://github.com/stackabletech/docker-images/issues/1079)

-   Apache Spark: [3.5.2](https://github.com/stackabletech/docker-images/issues/1080)

-   Apache ZooKeeper: [3.9.2](https://github.com/stackabletech/docker-images/issues/1083)

-   Open Policy Agent: [0.67.1](https://github.com/stackabletech/docker-images/issues/1084)

-   Trino: [455](https://github.com/stackabletech/docker-images/issues/1082)


##### Kubernetes versions

This release supports the following Kubernetes versions:

-   `1.33`

-   `1.32`

-   `1.31`

-   `1.30`


These Kubernetes versions are no longer supported:

-   `1.29`


##### OpenShift versions

This release is available in the RedHat Certified Operator Catalog for the following OpenShift versions:

-   `4.18`

-   `4.17`

-   `4.16`


These OpenShift versions are no longer supported:

-   `4.15`

-   `4.14`


#### Upgrade from 25.3

##### Using stackablectl

###### Upgrade with a single command

Starting with stackablectl Release 1.0.0 the multiple consecutive commands described below can be shortened to just one command, which executes exactly those steps on its own.

```console
$ stackablectl release upgrade 25.7
```

###### Upgrade with multiple consecutive commands

Uninstall the `25.3` release

```console
$ stackablectl release uninstall 25.3

Uninstalled release '25.3'

Use "stackablectl release list" to list available releases.
# ...
```

Afterwards you will need to upgrade the CustomResourceDefinitions (CRDs) installed by the Stackable Platform. The reason for this is that helm will uninstall the operators but not the CRDs. This can be done using `kubectl replace`.

> **Important:** In this release, two CRDs must be applied/created in addition to being replaced:
>
> -   The Stackable secret-operator CRD introduces the new TrustStore custom resource.
>
> -   The Stackable Operator for Apache Spark CRD introduces a new SparkConnectServer custom resource.
>
>
> The commands below are adjusted accordingly. This issue is also mentioned in the [known issues section](https://docs.stackable.tech/home/stable/release-notes/index.md) below.

```shell
kubectl replace -f https://raw.githubusercontent.com/stackabletech/airflow-operator/25.7.0/deploy/helm/airflow-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/commons-operator/25.7.0/deploy/helm/commons-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/druid-operator/25.7.0/deploy/helm/druid-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hbase-operator/25.7.0/deploy/helm/hbase-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hdfs-operator/25.7.0/deploy/helm/hdfs-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hive-operator/25.7.0/deploy/helm/hive-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/kafka-operator/25.7.0/deploy/helm/kafka-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/listener-operator/25.7.0/deploy/helm/listener-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/nifi-operator/25.7.0/deploy/helm/nifi-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/opa-operator/25.7.0/deploy/helm/opa-operator/crds/crds.yaml
# We have a new custom resource: truststores.secrets.stackable.tech
kubectl replace -f https://raw.githubusercontent.com/stackabletech/secret-operator/25.7.0/deploy/helm/secret-operator/crds/crds.yaml || true
kubectl create -f https://raw.githubusercontent.com/stackabletech/secret-operator/25.7.0/deploy/helm/secret-operator/crds/crds.yaml || true
# We have a new custom resource: sparkconnectservers.spark.stackable.tech
kubectl replace -f https://raw.githubusercontent.com/stackabletech/spark-k8s-operator/25.7.0/deploy/helm/spark-k8s-operator/crds/crds.yaml || true
kubectl create -f https://raw.githubusercontent.com/stackabletech/spark-k8s-operator/25.7.0/deploy/helm/spark-k8s-operator/crds/crds.yaml || true
kubectl replace -f https://raw.githubusercontent.com/stackabletech/superset-operator/25.7.0/deploy/helm/superset-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/trino-operator/25.7.0/deploy/helm/trino-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/zookeeper-operator/25.7.0/deploy/helm/zookeeper-operator/crds/crds.yaml
```

```
customresourcedefinition.apiextensions.k8s.io "airflowclusters.airflow.stackable.tech" replaced
customresourcedefinition.apiextensions.k8s.io "authenticationclasses.authentication.stackable.tech" replaced
customresourcedefinition.apiextensions.k8s.io "s3connections.s3.stackable.tech" replaced
...
```

Install the `25.7` release

```console
$ stackablectl release install 25.7

Installed release '25.7'

Use "stackablectl operator installed" to list installed operators.
```

##### Using Helm

Use `helm list` to list the currently installed operators.

You can use the following command to uninstall all operators that are part of the `25.3` release:

```console
$ helm uninstall airflow-operator commons-operator druid-operator hbase-operator hdfs-operator hive-operator kafka-operator listener-operator nifi-operator opa-operator secret-operator spark-k8s-operator superset-operator trino-operator zookeeper-operator
release "airflow-operator" uninstalled
release "commons-operator" uninstalled
...
```

Afterward you will need to upgrade the CustomResourceDefinitions (CRDs) installed by the Stackable Platform. The reason for this is that helm will uninstall the operators but not the CRDs. This can be done using `kubectl replace`.

> **Important:** In this release, two CRDs must be applied/created in addition to being replaced:
>
> -   The Stackable secret-operator CRD introduces the new TrustStore custom resource.
>
> -   The Stackable Operator for Apache Spark CRD introduces a new SparkConnectServer custom resource.
>
>
> The commands below are adjusted accordingly. This issue is also mentioned in the [known issues section](https://docs.stackable.tech/home/stable/release-notes/index.md) below.

```shell
kubectl replace -f https://raw.githubusercontent.com/stackabletech/airflow-operator/25.7.0/deploy/helm/airflow-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/commons-operator/25.7.0/deploy/helm/commons-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/druid-operator/25.7.0/deploy/helm/druid-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hbase-operator/25.7.0/deploy/helm/hbase-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hdfs-operator/25.7.0/deploy/helm/hdfs-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hive-operator/25.7.0/deploy/helm/hive-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/kafka-operator/25.7.0/deploy/helm/kafka-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/listener-operator/25.7.0/deploy/helm/listener-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/nifi-operator/25.7.0/deploy/helm/nifi-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/opa-operator/25.7.0/deploy/helm/opa-operator/crds/crds.yaml
# We have a new custom resource: truststores.secrets.stackable.tech
kubectl replace -f https://raw.githubusercontent.com/stackabletech/secret-operator/25.7.0/deploy/helm/secret-operator/crds/crds.yaml || true
kubectl create -f https://raw.githubusercontent.com/stackabletech/secret-operator/25.7.0/deploy/helm/secret-operator/crds/crds.yaml || true
# We have a new custom resource: sparkconnectservers.spark.stackable.tech
kubectl replace -f https://raw.githubusercontent.com/stackabletech/spark-k8s-operator/25.7.0/deploy/helm/spark-k8s-operator/crds/crds.yaml || true
kubectl create -f https://raw.githubusercontent.com/stackabletech/spark-k8s-operator/25.7.0/deploy/helm/spark-k8s-operator/crds/crds.yaml || true
kubectl replace -f https://raw.githubusercontent.com/stackabletech/superset-operator/25.7.0/deploy/helm/superset-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/trino-operator/25.7.0/deploy/helm/trino-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/zookeeper-operator/25.7.0/deploy/helm/zookeeper-operator/crds/crds.yaml
```

```
customresourcedefinition.apiextensions.k8s.io "airflowclusters.airflow.stackable.tech" replaced
customresourcedefinition.apiextensions.k8s.io "authenticationclasses.authentication.stackable.tech" replaced
customresourcedefinition.apiextensions.k8s.io "s3connections.s3.stackable.tech" replaced
...
```

Install the `25.7` release

> **Note:** `helm repo` subcommands are not supported for OCI registries. The operators are installed directly, without adding the Helm Chart repository first.

```console
helm install --wait airflow-operator oci://oci.stackable.tech/sdp-charts/airflow-operator --version 25.7.0
helm install --wait commons-operator oci://oci.stackable.tech/sdp-charts/commons-operator --version 25.7.0
helm install --wait druid-operator oci://oci.stackable.tech/sdp-charts/druid-operator --version 25.7.0
helm install --wait hbase-operator oci://oci.stackable.tech/sdp-charts/hbase-operator --version 25.7.0
helm install --wait hdfs-operator oci://oci.stackable.tech/sdp-charts/hdfs-operator --version 25.7.0
helm install --wait hive-operator oci://oci.stackable.tech/sdp-charts/hive-operator --version 25.7.0
helm install --wait kafka-operator oci://oci.stackable.tech/sdp-charts/kafka-operator --version 25.7.0
helm install --wait listener-operator oci://oci.stackable.tech/sdp-charts/listener-operator --version 25.7.0
helm install --wait nifi-operator oci://oci.stackable.tech/sdp-charts/nifi-operator --version 25.7.0
helm install --wait opa-operator oci://oci.stackable.tech/sdp-charts/opa-operator --version 25.7.0
helm install --wait secret-operator oci://oci.stackable.tech/sdp-charts/secret-operator --version 25.7.0
helm install --wait spark-k8s-operator oci://oci.stackable.tech/sdp-charts/spark-k8s-operator --version 25.7.0
helm install --wait superset-operator oci://oci.stackable.tech/sdp-charts/superset-operator --version 25.7.0
helm install --wait trino-operator oci://oci.stackable.tech/sdp-charts/trino-operator --version 25.7.0
helm install --wait zookeeper-operator oci://oci.stackable.tech/sdp-charts/zookeeper-operator --version 25.7.0
```

#### Known issues

-   During the upgrade of the secret-operator CRD, special care must be taken because the CRD introduces the new TrustStore custom resource. It is recommended to apply/create it in addition to replacing it.

-   There are strong indicators that TLS CA handling is broken in products using `keytool`. As of now, we confirmed that Trino has an issue in properly handling CA rotations due to a limitation with `keytool`. The report in [issues#744](https://github.com/stackabletech/issues/issues/744) outlines a workaround which requires the following steps:

    1.  Identify the secretClass used by the secret-operator to distribute CAs.

    2.  Delete this secret causing secret-operator to re-create a new CA secret.

    3.  Restart all stackable pods manually.



## Release 25.3

### 25.3.0

Released on 2025-03-21.

#### New platform features

##### General

-   Operators deployed by Helm will contain an extra pod annotation: `checksum/config`. This field triggers a rollout of Deployments when the ConfigMap contents change.

-   Operators for Java products now support setting JVM arguments. See the [override concept page](https://docs.stackable.tech/home/stable/concepts/overrides/index.md) and [issues#584](https://github.com/stackabletech/issues/issues/584).


##### Authorization

-   Apache Airflow: Authorization can now be delegated to an Open Policy Agent. See [airflow-operator#446](https://github.com/stackabletech/airflow-operator/issues/446).

-   Apache Superset: Support Open Policy Agent role mapping. See [superset-operator#582](https://github.com/stackabletech/superset-operator/pull/582).


##### Security

-   Additional trust roots can be specified in an `autoTls` SecretClass. See the [`autoTls` backend documentation](https://docs.stackable.tech/home/stable/secret-operator/secretclass/index.md).

-   The Stackable Secret Operator’s `experimentalCertManager` backend now supports specifying custom key lengths. The `autoTls` backend has supported this since 24.11.

-   Users can now configure the lifetime of self-signed certificates directly in the product’s custom resources which influences the frequency of pod restarts. Details can be found on the [temporary credentials lifetime page](https://docs.stackable.tech/home/stable/concepts/operations/temporary_credentials_lifetime/index.md).


##### Observability

Products now log information about their [container environment](https://docs.stackable.tech/home/stable/concepts/observability/containerdebug/index.md), on startup and on an interval after that.

##### NiFi

Add Hadoop libraries for accessing Azure and GCP. See [docker-images#943](https://github.com/stackabletech/docker-images/pull/943).

#### Platform improvements

##### General

###### OCI Registry

Starting with this release, our OCI registry located at `oci.stackable.tech` was promoted to stable. This means that our operators, the product image selection and tools will use the registry by default instead of the previous Docker repository located at `docker.stackable.tech`.

> **Note:** To ease the transition, operator images, product images, and operator Helm charts are published both on the old Docker repository as well as the new OCI registry. Subsequent releases will **only** be published on `oci.stackable.tech`.

Using the old Docker repository is still possible:

-   Products can use the old images by setting the `spec.image.repo` to `docker.stackable.tech/stackable` in the respective product CustomResource.

-   Our `stackablectl` tool can pull Helm charts from the old repository by providing the `--chart-source repo` argument during operator installs. Unfortunately, some Helm chart values point to the OCI registry and `stackablectl` doesn’t support overriding these values. Use `helm` directly instead.

-   Operators can be installed via `helm install` with a custom `image.repository` value set.


```console
$ helm repo add stackable-stable https://repo.stackable.tech/repository/helm-stable/
$ helm repo update stackable-stable
$ helm install --wait airflow-operator stackable-stable/airflow-operator --version 25.3 --set image.repository=docker.stackable.tech/stackable/airflow-operator
```

###### DNS lookup performance

Users can now opt-in to experimental support for improved DNS performance by specifying a fully qualified domain name (with a trailing dot) as Kubernetes cluster domain for our operators. This can reduce the amount of DNS queries within the cluster, but might have side effects, hence we consider the support experimental for now. Take a look at [our documentation](https://docs.stackable.tech/home/stable/guides/kubernetes-cluster-domain/index.md) to find out how to enable this improvement.

##### Vulnerabilities

41 CVEs were fixed in the Stackable product images. This includes 6 critical and 16 high-severity CVEs.

##### Authorization

OPA Rego rules no longer require the `future.keywords` import. They have been stabilized in OPA 1.0 and are now implicitly imported.

##### Druid

The default memory limits have been increased for following roles. See [druid-operator#685](https://github.com/stackabletech/druid-operator/pull/685).

-   Coordinator: From `512Mi` to `768Mi`

-   Middle Manager: From `1Gi` to `1500Mi`.


> **Note:** Upgrades to existing deployments could cause memory limits to be reached on the node/namespace.

##### Hive

The the default memory reservation of Hive metastore has been increased from `512Mi` to `768Mi` to avoid OOMKilled events. See [hive-operator#578](https://github.com/stackabletech/hive-operator/pull/578).

##### Bug fixes

-   Previously, pods with a Listener volume were stuck in an "Unknown" state after their node was restarted. With this release, Listener volumes are correctly republished and the pods restart as expected. See [listener-operator#262](https://github.com/stackabletech/listener-operator/issues/262).

-   Previously, TLS certificates generated by the secret operator referenced a wrong issuer if the secret operator used an intermediate CA. With this release, the issuer of the generated TLS certificate is correct and using an intermediate CA in the secret operator works as expected. See [secret-operator#566](https://github.com/stackabletech/secret-operator/pull/566).

-   In 24.11 we used a custom build of jmx\_exporter to resolve a [performance degradation](https://github.com/stackabletech/issues/issues/649). In this release, Java products ship with the fixed upstream [jmx\_exporter 1.1.0](https://github.com/prometheus/jmx_exporter/releases/tag/1.1.0) which includes [the fix](https://github.com/prometheus/jmx_exporter/pull/1009).

-   In 24.11, HDFS metrics suffixed with `_total`, `_created`, and `_info` were not exported by the jmx\_exporter. With this release, metrics suffixed with `_total`, e.g. `hadoop_namenode_files_total`, are emitted again. Metrics originally suffixed with `_created` and `_info` are now suffixed with `_created_` and `_info_` to be OpenMetrics compliant. See [hdfs-operator#634](https://github.com/stackabletech/hdfs-operator/issues/634).


#### Platform deprecations

##### Kafka operator

The `-nodeport` discovery ConfigMaps have been deprecated for removal. Use the primary discovery CMs instead. See the [deprecation tracking issue](https://github.com/stackabletech/kafka-operator/issues/765) for more information.

#### Product versions

As with previous SDP releases, many product images have been updated to their latest versions. The LTS version has in many cases also been adjusted in line with our [support policy](https://docs.stackable.tech/home/stable/compliance/policies/index.md).

Refer to the [supported versions](https://docs.stackable.tech/home/stable/operators/supported_versions/index.md) documentation for a complete overview including LTS versions or deprecations.

##### New versions

The following new product versions are now supported:

-   Apache Airflow: [2.10.4](https://github.com/stackabletech/docker-images/issues/1017)

-   Apache Druid: [31.0.1](https://github.com/stackabletech/docker-images/issues/965), [30.0.1 (LTS)](https://github.com/stackabletech/docker-images/issues/965)

-   Apache Hadoop: [3.4.1 (LTS)](https://github.com/stackabletech/docker-images/issues/1018)

-   Apache HBase: [2.6.1 (LTS)](https://github.com/stackabletech/docker-images/issues/972)

-   Apache Hive: [4.0.0 (LTS)](https://github.com/stackabletech/docker-images/issues/1019), [4.0.1 (experimental)](https://github.com/stackabletech/docker-images/issues/1019)

-   Apache Kafka: [3.7.2 (LTS)](https://github.com/stackabletech/docker-images/issues/968), [3.9.0](https://github.com/stackabletech/docker-images/issues/968)

-   Apache NiFi: [1.28.1](https://github.com/stackabletech/docker-images/issues/966), [2.2.0 (experimental)](https://github.com/stackabletech/docker-images/issues/966)

-   Apache Spark: [3.5.5 (LTS)](https://github.com/stackabletech/docker-images/issues/1016)

-   Apache Superset: [4.1.1](https://github.com/stackabletech/docker-images/issues/970)

-   Apache ZooKeeper: [3.9.3 (LTS)](https://github.com/stackabletech/docker-images/issues/1020)

-   Open Policy Agent: [1.0.1](https://github.com/stackabletech/docker-images/issues/998)

-   Trino: [470](https://github.com/stackabletech/docker-images/issues/971)


##### Deprecated versions

The following product versions are deprecated and will be removed in a later release:

-   Apache Druid: [30.0.0](https://github.com/stackabletech/docker-images/issues/965)

-   Apache Hadoop: [3.4.0](https://github.com/stackabletech/docker-images/issues/1018)

-   Apache HBase: [2.4.18](https://github.com/stackabletech/docker-images/issues/972)

-   Apache Hive: [3.1.3](https://github.com/stackabletech/docker-images/issues/1019)

-   Apache Kafka: [3.8.0](https://github.com/stackabletech/docker-images/issues/968), [3.7.1](https://github.com/stackabletech/docker-images/issues/968)

-   Apache Spark: [3.5.2](https://github.com/stackabletech/docker-images/issues/1016)

-   Apache ZooKeeper: [3.9.2](https://github.com/stackabletech/docker-images/issues/1020)

-   Open Policy Agent: [0.67.1](https://github.com/stackabletech/docker-images/issues/969)

-   Trino: [455](https://github.com/stackabletech/docker-images/issues/971)


##### Removed versions

The following product versions are no longer supported (although images for released product versions remain available [here](https://repo.stackable.tech/#browse/browse:docker:v2%2Fstackable)):

-   Apache Airflow: [2.10.2](https://github.com/stackabletech/docker-images/issues/1017), [2.9.2](https://github.com/stackabletech/docker-images/issues/1017)

-   Apache Druid: [26.0.0](https://github.com/stackabletech/docker-images/issues/965)

-   Apache HBase: [2.6.0](https://github.com/stackabletech/docker-images/issues/972)

-   Apache NiFi: [2.0.0](https://github.com/stackabletech/docker-images/issues/966)

-   Apache Spark: [3.5.1](https://github.com/stackabletech/docker-images/issues/1016)

-   Open Policy Agent: [0.66.0](https://github.com/stackabletech/docker-images/issues/969)


#### stackablectl

-   A new demo called `jupyterhub-keycloak` was added and is available via `stackablectl`. The JupyterHub-Keycloak integration demo offers a comprehensive and secure multi-user data science environment on Kubernetes, integrating Single Sign-on Jupyter notebooks with Stackable Spark and S3 storage. The demo can be installed by running `stackablectl demo install jupyterhub-keycloak`. See [demos#155](https://github.com/stackabletech/demos/pull/155) and [documentation#715](https://github.com/stackabletech/documentation/pull/715).

-   Demos and stacks are now versioned and the main branch is considered unstable. `stackablectl` by default installs the latest stable demo and/or stack. A specific release can be targeted by providing the `--release` argument. See [stackablectl#340](https://github.com/stackabletech/stackablectl/pull/340).

-   Add new argument --chart-source so that operator charts can be pulled either from an OCI registry (the default) or from a index.yaml-based repository. See [stackablectl#344](https://github.com/stackabletech/stackablectl/pull/344).

-   Use `rustls-native-certs` so that `stackablectl` can be used in environments with internal PKI. See [stackablectl#351](https://github.com/stackabletech/stackablectl/pull/351).

-   Use `heritage` label when looking up the `minio-console` stacklet. See [stackablectl#364](https://github.com/stackabletech/stackablectl/pull/364).

-   Improve tracing and log output. See [stackablectl#365](https://github.com/stackabletech/stackablectl/pull/365).


#### Supported Kubernetes versions

This release supports the following Kubernetes versions:

-   `1.32`

-   `1.31`

-   `1.30`


These Kubernetes versions are no longer supported:

-   `1.29`


#### Supported OpenShift versions

This release is available in the RedHat Certified Operator Catalog for the following OpenShift versions:

-   `4.17`

-   `4.16`

-   `4.15`

-   `4.14`


#### Breaking changes

Of the changes mentioned above, the following are breaking (or could lead to breaking behaviour), and you will need to adapt your existing CRDs accordingly:

##### General

S3 bucket `region` can now be configured for `S3Connection`, `S3Bucket`, and inline S3 references. It defaults to `us-east-1`. See the [tracking issue](https://github.com/stackabletech/issues/issues/696).

> **Note:** Products that use the Hadoop S3 implementation previously defaulted to `us-east-2`, so if there are bucket connectivity problems, you will need to set the region `us-east-2` explicitly.

##### Airflow operator

The field `.spec.clusterConfig.dagsGitSync[].wait` changed from `uint8` to our human-readable [`Duration`](https://docs.stackable.tech/home/stable/reference/duration/index.md) type. If you have specified a time without a unit, eg: `wait: 20`, you will need to add the applicable unit, eg: `wait: 20s`.

##### Druid operator

> **Note:** All Druid versions are affected.

If druid-opa-authorizer is used, `input.user` needs to be replaced by `input.authenticationResult.identity` in applicable Rego rules. Change in [druid-opa-authorizer#85](https://github.com/stackabletech/druid-opa-authorizer/pull/85).

##### OPA operator

-   Using `if` for all rules and `contains` for multi-value rules is now mandatory.

-   `strict` mode is now enabled by default. For more upgrade information, read the [Upgrading Rego](https://www.openpolicyagent.org/docs/latest/v0-upgrade/#upgrading-rego) section of the official documentation.


##### Trino operator

Trino now uses the native S3 implementation which has the following requirements for S3 connections:

-   TLS is always enabled and cannot be disabled.

-   Client-side encryption is not supported. Server-side encryption (SSE) is the recommended alternative.

-   Multipart (non-streaming) writes and upload are not supported.


Legacy S3 support (via Hadoop) has been disabled and will be removed in a future version of Trino.

#### Upgrade from 24.11

##### Using stackablectl

Uninstall the `24.11` release

```console
$ stackablectl release uninstall 24.11

Uninstalled release '24.11'

Use "stackablectl release list" to list available releases.
# ...
```

Afterwards you will need to upgrade the CustomResourceDefinitions (CRDs) installed by the Stackable Platform. The reason for this is that helm will uninstall the operators but not the CRDs. This can be done using `kubectl replace`.

```
kubectl replace -f https://raw.githubusercontent.com/stackabletech/airflow-operator/25.3.0/deploy/helm/airflow-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/commons-operator/25.3.0/deploy/helm/commons-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/druid-operator/25.3.0/deploy/helm/druid-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hbase-operator/25.3.0/deploy/helm/hbase-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hdfs-operator/25.3.0/deploy/helm/hdfs-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hive-operator/25.3.0/deploy/helm/hive-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/kafka-operator/25.3.0/deploy/helm/kafka-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/listener-operator/25.3.0/deploy/helm/listener-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/nifi-operator/25.3.0/deploy/helm/nifi-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/opa-operator/25.3.0/deploy/helm/opa-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/secret-operator/25.3.0/deploy/helm/secret-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/spark-k8s-operator/25.3.0/deploy/helm/spark-k8s-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/superset-operator/25.3.0/deploy/helm/superset-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/trino-operator/25.3.0/deploy/helm/trino-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/zookeeper-operator/25.3.0/deploy/helm/zookeeper-operator/crds/crds.yaml
```

```console
customresourcedefinition.apiextensions.k8s.io "airflowclusters.airflow.stackable.tech" replaced
customresourcedefinition.apiextensions.k8s.io "authenticationclasses.authentication.stackable.tech" replaced
customresourcedefinition.apiextensions.k8s.io "s3connections.s3.stackable.tech" replaced
...
```

Install the `25.3` release

```console
$ stackablectl release install 25.3

Installed release '25.3'

Use "stackablectl operator installed" to list installed operators.
```

##### Using Helm

Use `helm list` to list the currently installed operators.

You can use the following command to uninstall all operators that are part of the `24.11` release:

```console
$ helm uninstall airflow-operator commons-operator druid-operator hbase-operator hdfs-operator hive-operator kafka-operator listener-operator nifi-operator opa-operator secret-operator spark-k8s-operator superset-operator trino-operator zookeeper-operator
release "airflow-operator" uninstalled
release "commons-operator" uninstalled
...
```

Afterward you will need to upgrade the CustomResourceDefinitions (CRDs) installed by the Stackable Platform. The reason for this is that helm will uninstall the operators but not the CRDs. This can be done using `kubectl replace`:

```
kubectl replace -f https://raw.githubusercontent.com/stackabletech/airflow-operator/25.3.0/deploy/helm/airflow-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/commons-operator/25.3.0/deploy/helm/commons-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/druid-operator/25.3.0/deploy/helm/druid-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hbase-operator/25.3.0/deploy/helm/hbase-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hdfs-operator/25.3.0/deploy/helm/hdfs-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hive-operator/25.3.0/deploy/helm/hive-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/kafka-operator/25.3.0/deploy/helm/kafka-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/listener-operator/25.3.0/deploy/helm/listener-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/nifi-operator/25.3.0/deploy/helm/nifi-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/opa-operator/25.3.0/deploy/helm/opa-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/secret-operator/25.3.0/deploy/helm/secret-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/spark-k8s-operator/25.3.0/deploy/helm/spark-k8s-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/superset-operator/25.3.0/deploy/helm/superset-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/trino-operator/25.3.0/deploy/helm/trino-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/zookeeper-operator/25.3.0/deploy/helm/zookeeper-operator/crds/crds.yaml
```

```console
customresourcedefinition.apiextensions.k8s.io "airflowclusters.airflow.stackable.tech" replaced
customresourcedefinition.apiextensions.k8s.io "authenticationclasses.authentication.stackable.tech" replaced
customresourcedefinition.apiextensions.k8s.io "s3connections.s3.stackable.tech" replaced
...
```

Install the `25.3` release

```console
helm repo add stackable-stable https://repo.stackable.tech/repository/helm-stable/
helm repo update stackable-stable
helm install --wait airflow-operator stackable-stable/airflow-operator --version 25.3.0
helm install --wait commons-operator stackable-stable/commons-operator --version 25.3.0
helm install --wait druid-operator stackable-stable/druid-operator --version 25.3.0
helm install --wait hbase-operator stackable-stable/hbase-operator --version 25.3.0
helm install --wait hdfs-operator stackable-stable/hdfs-operator --version 25.3.0
helm install --wait hive-operator stackable-stable/hive-operator --version 25.3.0
helm install --wait kafka-operator stackable-stable/kafka-operator --version 25.3.0
helm install --wait listener-operator stackable-stable/listener-operator --version 25.3.0
helm install --wait nifi-operator stackable-stable/nifi-operator --version 25.3.0
helm install --wait opa-operator stackable-stable/opa-operator --version 25.3.0
helm install --wait secret-operator stackable-stable/secret-operator --version 25.3.0
helm install --wait spark-k8s-operator stackable-stable/spark-k8s-operator --version 25.3.0
helm install --wait superset-operator stackable-stable/superset-operator --version 25.3.0
helm install --wait trino-operator stackable-stable/trino-operator --version 25.3.0
helm install --wait zookeeper-operator stackable-stable/zookeeper-operator --version 25.3.0
```

#### Known issues

##### Hive operator

In Hive 4.0.1 with Kerberos enabled, health checks cause excessive error logs:

```
ERROR [Metastore-Handler-Pool: Thread-65] server.TThreadPoolServer: Thrift Error occurred during processing of message.
```

This is because the health check doesn’t complete SASL authentication. The error is ignorable, though it can be hidden with the following configuration:

```yaml
spec:
  metastore:
    config:
      logging:
        containers:
          hive:
            loggers:
              org.apache.thrift.server.TThreadPoolServer:
                level: NONE
```

> **Note:** This will suppress all logging from `TThreadPoolServer`, including log events that might be useful for diagnosing issues.

## Release 24.11

### 24.11.1

Released on 2024-01-20. This patch release fixes two issues that were discovered since the [24.11.0](https://docs.stackable.tech/home/stable/release-notes/index.md) release.

#### Breaking Changes

Distinct ServiceAccounts are now used for the Stacklets so that multiple Stacklets of the same product can be deployed in one namespace. Existing Stacklets will use the newly created ServiceAccounts after restart.

> **Warning:** Manually adapted ServiceAccounts must be updated.

#### Other fixes

-   Secret Operator Helm chart: The secret migration job required for upgrading from SDP 24.3 to 24.7 can now be omitted by setting the Helm value `secretMigrationJob.enabled` to false.

-   The following operators have been fixed to work correctly with OpenID Connect rootPaths with and without trailing slashes:

    -   Nifi Operator

    -   Trino Operator

    -   Druid Operator

    -   Airflow Operator

    -   Superset Operator



#### Upgrade to the 24.11.1 patch release

> **Note:** These instructions apply to upgrades from `24.7.0` and `24.11.0`. In the examples below, we will show an upgrade from `24.11.0`.

##### Using stackablectl

Uninstall the `24.11` release

```console
$ stackablectl release uninstall 24.11

Uninstalled release '24.11'

Use "stackablectl release list" to list available releases.
# ...
```

Afterwards you will need to upgrade the CustomResourceDefinitions (CRDs) installed by the Stackable Platform. The reason for this is that helm will uninstall the operators but not the CRDs. This can be done using `kubectl replace`.

```
kubectl replace -f https://raw.githubusercontent.com/stackabletech/airflow-operator/24.11.1/deploy/helm/airflow-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/commons-operator/24.11.1/deploy/helm/commons-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/druid-operator/24.11.1/deploy/helm/druid-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hbase-operator/24.11.1/deploy/helm/hbase-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hdfs-operator/24.11.1/deploy/helm/hdfs-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hive-operator/24.11.1/deploy/helm/hive-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/kafka-operator/24.11.1/deploy/helm/kafka-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/listener-operator/24.11.1/deploy/helm/listener-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/nifi-operator/24.11.1/deploy/helm/nifi-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/opa-operator/24.11.1/deploy/helm/opa-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/secret-operator/24.11.1/deploy/helm/secret-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/spark-k8s-operator/24.11.1/deploy/helm/spark-k8s-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/superset-operator/24.11.1/deploy/helm/superset-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/trino-operator/24.11.1/deploy/helm/trino-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/zookeeper-operator/24.11.1/deploy/helm/zookeeper-operator/crds/crds.yaml
```

```console
customresourcedefinition.apiextensions.k8s.io "airflowclusters.airflow.stackable.tech" replaced
customresourcedefinition.apiextensions.k8s.io "authenticationclasses.authentication.stackable.tech" replaced
customresourcedefinition.apiextensions.k8s.io "s3connections.s3.stackable.tech" replaced
...
```

Install the `24.11` release

```console
$ stackablectl release install 24.11

Installed release '24.11'

Use "stackablectl operator installed" to list installed operators.
```

##### Using Helm

Use `helm list` to list the currently installed operators.

You can use the following command to uninstall all operators that are part of the `24.11` release:

```console
$ helm uninstall airflow-operator commons-operator druid-operator hbase-operator hdfs-operator hive-operator kafka-operator listener-operator nifi-operator opa-operator secret-operator spark-k8s-operator superset-operator trino-operator zookeeper-operator
release "airflow-operator" uninstalled
release "commons-operator" uninstalled
...
```

Afterward you will need to upgrade the CustomResourceDefinitions (CRDs) installed by the Stackable Platform. The reason for this is that helm will uninstall the operators but not the CRDs. This can be done using `kubectl replace`:

```
kubectl replace -f https://raw.githubusercontent.com/stackabletech/airflow-operator/24.11.1/deploy/helm/airflow-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/commons-operator/24.11.1/deploy/helm/commons-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/druid-operator/24.11.1/deploy/helm/druid-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hbase-operator/24.11.1/deploy/helm/hbase-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hdfs-operator/24.11.1/deploy/helm/hdfs-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hive-operator/24.11.1/deploy/helm/hive-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/kafka-operator/24.11.1/deploy/helm/kafka-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/listener-operator/24.11.1/deploy/helm/listener-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/nifi-operator/24.11.1/deploy/helm/nifi-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/opa-operator/24.11.1/deploy/helm/opa-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/secret-operator/24.11.1/deploy/helm/secret-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/spark-k8s-operator/24.11.1/deploy/helm/spark-k8s-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/superset-operator/24.11.1/deploy/helm/superset-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/trino-operator/24.11.1/deploy/helm/trino-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/zookeeper-operator/24.11.1/deploy/helm/zookeeper-operator/crds/crds.yaml
```

```console
customresourcedefinition.apiextensions.k8s.io "airflowclusters.airflow.stackable.tech" replaced
customresourcedefinition.apiextensions.k8s.io "authenticationclasses.authentication.stackable.tech" replaced
customresourcedefinition.apiextensions.k8s.io "s3connections.s3.stackable.tech" replaced
...
```

Install the `24.11` release

```console
helm repo add stackable-stable https://repo.stackable.tech/repository/helm-stable/
helm repo update stackable-stable
helm install --wait airflow-operator stackable-stable/airflow-operator --version 24.11.1
helm install --wait commons-operator stackable-stable/commons-operator --version 24.11.1
helm install --wait druid-operator stackable-stable/druid-operator --version 24.11.1
helm install --wait hbase-operator stackable-stable/hbase-operator --version 24.11.1
helm install --wait hdfs-operator stackable-stable/hdfs-operator --version 24.11.1
helm install --wait hive-operator stackable-stable/hive-operator --version 24.11.1
helm install --wait kafka-operator stackable-stable/kafka-operator --version 24.11.1
helm install --wait listener-operator stackable-stable/listener-operator --version 24.11.1
helm install --wait nifi-operator stackable-stable/nifi-operator --version 24.11.1
helm install --wait opa-operator stackable-stable/opa-operator --version 24.11.1
helm install --wait secret-operator stackable-stable/secret-operator --version 24.11.1
helm install --wait spark-k8s-operator stackable-stable/spark-k8s-operator --version 24.11.1
helm install --wait superset-operator stackable-stable/superset-operator --version 24.11.1
helm install --wait trino-operator stackable-stable/trino-operator --version 24.11.1
helm install --wait zookeeper-operator stackable-stable/zookeeper-operator --version 24.11.1
```

### 24.11.0

Released on 2024-11-28. Also consult the release notes for the [24.11.1](https://docs.stackable.tech/home/stable/release-notes/index.md) patch release above.

#### New platform features

##### Authentication

In this release we introduced several authentication mechanisms in different products:

-   Apache Airflow: [OIDC support](https://github.com/stackabletech/airflow-operator/issues/337)

-   Apache Kafka: [Kerberos support](https://github.com/stackabletech/kafka-operator/issues/655)

-   Apache NiFi: [OIDC support](https://github.com/stackabletech/nifi-operator/issues/633)


##### Security

-   The Stackable Data Platform now supports provisioning TLS certificates using [cert-manager](https://cert-manager.io/).

-   Support has been added for customizing `sAMAccountName` generation in secret operator.

-   The Stackable Secret Operator now requests permission to read Listeners, which is required to provision secrets for listener volumes with the `listeners.stackable.tech/listener-name` annotation.

-   The RSA key length for generated key pairs can now be customized to 2048, 3072 or 4096 bits. The default is 2048 bits.


##### Listener

-   The Stackable Operator for Kafka now uses the Stackable Listener Operator, allowing connectivity to be customized.

-   Listeners can now be configured to use either IP addresses or fully qualified domain names (FQDNs).


##### Dependencies

Apache HBase: The hadoop-azure module was added to the image and is contained in the classpath. This makes it possible to use the Azure Data Lake Storage Gen2 (ADLS) instead of HDFS. See the [usage guide](https://docs.stackable.tech/home/stable/hbase/usage-guide/adls/index.md) for detailed information.

##### Operations

The Stackable Operator for HDFS now supports upgrading existing HDFS installations. However, this process requires some manual intervention as described in [Upgrading HDFS](https://docs.stackable.tech/home/stable/hdfs/usage-guide/upgrading/index.md).

##### Miscellaneous

-   Apache NiFi: Permit users to configure allowed hosts when NiFi is running behind a proxy. The proxy host check is now disabled by default. See documentation [here](https://docs.stackable.tech/home/stable/nifi/usage_guide/security/index.md).

-   Apache Airflow: Allow custom arbitrary python code in `webserver_config.py`.

-   Apache Superset: Allow custom arbitrary python code in `superset_config.py`.


##### Images

Support the `restricted-v2` SecurityContextConstraint (SCC) in OpenShift. Stackable currently defaults to the `nonroot-v2` SCC but we plan on migrating to the `restricted-v2` SCC in the future.

-   Our Docker images now exclusively make use of numeric user IDs in `USER` statements allowing the use of `securityContext.runAsNonRoot`.

-   The group id of all files relevant to our products is now set to `0`. This allows the images to be run with an arbitrary user as every container user will always belong to the root group (`0`). This is required on OpenShift when migrating to the `restricted-v2` SCC.


#### Platform improvements

##### Vulnerabilities

More than 142 CVEs were fixed in the Stackable product images. This includes 11 critical and 55 high-severity CVEs.

##### Authorization

-   The performance of the [HDFS OPA Authorizer](https://docs.stackable.tech/home/stable/hdfs/usage-guide/security/index.md) has been greatly improved. This can in some cases be a breaking change so please make sure to read the hdfs-utils [release notes](https://github.com/stackabletech/hdfs-utils/releases/tag/v0.4.0) for details.

-   The User Info Fetcher HTTP API has been replaced with a Rego library. Please see [user-info-fetcher API](https://docs.stackable.tech/home/stable/opa/usage-guide/user-info-fetcher/index.md) for more information.


##### Logging

-   Apache NiFi: The default size of ephemeral EmptyDir Volumes used to store log files before aggregation has been increased from 33 MiB to 500 MiB. Additionally the interval in which Logback checks if the maximum log file size has been reached has been reduced from 60 seconds to 5 seconds.

-   Apache NiFi: the create-reporting-task Job (and podOverrides on that Job) can now be disabled.


##### Monitoring

[JMX Exporter](https://github.com/prometheus/jmx_exporter) is a tool which allows us to expose JMX metrics as Prometheus metrics. It is used by the following products: Hadoop, HBase, Hive, Kafka, Spark, Trino and ZooKeeper. In the previous SDP release (24.7) we upgraded JMX Exporter from 0.20 to 1.0.1. Unfortunately version 1.0.1 has a severe performance degradation which has been [fixed upstream](https://github.com/prometheus/jmx_exporter/pull/1009) but is not yet released. This SDP release (24.11) contains a fixed version bringing performance back to normal levels.

##### Listener

The `ListenerClass.spec.serviceAnnotations` are now correctly propagated to created Service objects.

##### Miscellaneous

The size of the operator deployed CRDs was reduced significantly (see: [stackabletech/issues#627](https://github.com/stackabletech/issues/issues/627)).

##### Bug fixes

-   Apache Spark: Ensure Spark applications are submitted only once. Reconciling applications after the corresponding Job objects have been recycled doesn’t lead to the creation of new Job objects. This behavior was triggered by different situations, such as when the operator was restarted.

-   Trino, Spark, HBase, Airflow: The [issues](https://github.com/stackabletech/issues/issues/548) where config and environment variable overrides did not work consistently have now been fixed.

-   The cluster domain (default `cluster.local`) which caused problems in non-default cluster setups can now be configured in all operators. Either set the ENV variable `KUBERNETES_CLUSTER_DOMAIN` or the helm value `kubernetesClusterDomain` during installation as described in [Configuring the Kubernetes cluster domain](https://docs.stackable.tech/home/stable/guides/kubernetes-cluster-domain/index.md).

-   Apache Airflow: In release 24.7 Airflow did not propagate git credentials correctly to the gitsync containers. This has now been corrected and works for both celery- and kubernetes workers.

-   Operators now do not stop reconciling existing clusters if one of the [cluster objects cannot be deserialized](https://github.com/stackabletech/issues/issues/211).

-   Apache HBase: The operator now does not [ignore the `hbaseRootdir` config property at role level](https://github.com/stackabletech/hbase-operator/pull/584).

-   Apache Kafka: The bootstrap Kafka service is now included in [certificate SANs](https://github.com/stackabletech/kafka-operator/pull/741).

-   Trino: Do not print credentials to STDOUT during startup.


#### Platform deprecations

##### Commons

Pod Enrichment is now deprecated, and will be removed in the next release. Once removed, the SDP will no longer set any `enrichment.stackable.tech/` annotations on Pods.

#### Product versions

As with previous SDP releases, many product images have been updated to their latest versions. The LTS version has in many cases also been adjusted in line with our [support policy](https://docs.stackable.tech/home/stable/compliance/policies/index.md).

Refer to the [supported versions](https://docs.stackable.tech/home/stable/operators/supported_versions/index.md) documentation for a complete overview including LTS versions or deprecations.

##### New versions

The following new product versions are now supported:

-   Apache Airflow: [2.9.3 (LTS)](https://github.com/stackabletech/airflow-operator/pull/494), [2.10.2 (experimental)](https://github.com/stackabletech/airflow-operator/pull/512)

-   Apache Druid: [30.0.0 (LTS)](https://github.com/stackabletech/druid-operator/pull/631)

-   Apache Hive: [4.0.0 (experimental)](https://github.com/stackabletech/hive-operator/pull/508)

-   Apache Kafka: [3.8.0](https://github.com/stackabletech/kafka-operator/pull/753/)

-   Apache NiFi: [2.0.0 (experimental)](https://github.com/stackabletech/nifi-operator/pull/702)

-   Open Policy Agent: [0.67.1](https://github.com/stackabletech/opa-operator/pull/616)

-   Trino: [455](https://github.com/stackabletech/trino-operator/pull/638)

-   Apache Spark: [3.5.2 (LTS)](https://github.com/stackabletech/spark-k8s-operator/pull/459)


##### Deprecated versions

The following product versions are deprecated and will be removed in a later release:

-   Apache Airflow: 2.9.2

-   Apache Druid: 26.0.0

-   Open Policy Agent: 0.66.0


##### Removed versions

The following product versions are no longer supported (although images for released product versions remain available [here](https://repo.stackable.tech/#browse/browse:docker:v2%2Fstackable)):

-   Apache Airflow: 2.8.4, 2.8.1, 2.6.3

-   Apache Druid: 28.0.1

-   Apache Kafka: 3.6.2, 3.6.1, 3.4.1

-   Apache NiFi: 2.0.0-M4, 1.25.0, 1.21.0

-   Open Policy Agent: 0.61.0

-   Trino: 442, 414

-   Apache Spark: 3.4.3, 3.4.2

-   Apache Superset: 3.1.3, 3.1.0, 2.1.3

-   Apache ZooKeeper: 3.8.4


#### stackablectl

-   Bump Rust dependencies to fix critical vulnerability in quinn-proto, see [CVE-2024-45311](https://github.com/advisories/GHSA-vr26-jcq5-fjj8) ([https://github.com/stackabletech/stackablectl/pull/318](https://github.com/stackabletech/stackablectl/pull/318)).

-   We now provide additional completions for Nushell and Elvish, support using SOCK5 and HTTP proxies, and have improved the sorting of release versions.


#### Supported Kubernetes versions

This release supports the following Kubernetes versions:

-   `1.31`

-   `1.30`

-   `1.29`


These Kubernetes versions are no longer supported:

-   `1.26`

-   `1.25` as we removed internal forks required to support Kubernetes `1.25` and below. This includes OpenShift `4.12`, which is using Kubernetes `1.25`.


#### Supported OpenShift versions

This release is available in the RedHat Certified Operator Catalog for the following OpenShift versions:

-   `4.16`

-   `4.15`

-   `4.14`


These OpenShift versions are no longer supported:

-   `4.13`

-   `4.12`


#### Breaking changes

Of the changes mentioned above, the following are breaking (or could lead to breaking behaviour), and you will need to adapt your existing CRDs accordingly:

##### Kafka operator

-   Existing Kafka clusters will need to be migrated to using the Listener Operator. Kafka clients will need to re-read settings from the discovery configmap (restart required). Existing Kafka StatefulSets must be deleted manually. This will cause some downtime.

-   Kafka is now only accessible from within the Kubernetes cluster by default.


Breaking changes details

Migrating Kafka clusters to use the Listener Operator is done by deleting the Kafka StatefulSet after the new Stackable Operator for Kafka has been installed, by running the following:

```console
kubectl delete --all-namespaces StatefulSet --selector=app.kubernetes.io/managed-by=kafka.stackable.tech_kafkacluster
```

The operator will then recreate it. Please note that the Kafka cluster will be unavailable during the procedure.

After the upgrade, Kafka clusters will default to only being accessible from inside the Kubernetes cluster.

To make the cluster accessible from the outside, set the following _before deleting the StatefulSet_:

-   `KafkaCluster.spec.brokers.config.bootstrapListenerClass: external-stable`

-   `KafkaCluster.spec.brokers.config.brokerListenerClass: external-unstable`


Please note that this upgrade will randomize the address that users will have to connect to, so any external clients must re-read it from the discovery configuration after the upgrade has been completed. This can be done by restarting the client.

##### Listener operator

All ListenerClasses now default to using Fully Qualified Domain Names (FQDNs). Previously, NodePort ListenerClasses (such as external-unstable) would use the IP addresses.

All Nodes must now have resolvable hostnames, or the NodePort ListenerClasses must be configured with `spec.preferredAddressType: IP`.

Breaking changes details

-   `spec.preferredAddressType`: Defaults to `HostnameConservative`, but can be set to `Hostname` or `IP`.


#### Upgrade from 24.7

##### Using stackablectl

Uninstall the `24.7` release

```console
$ stackablectl release uninstall 24.7

Uninstalled release '24.7'

Use "stackablectl release list" to list available releases.
# ...
```

Afterwards you will need to upgrade the CustomResourceDefinitions (CRDs) installed by the Stackable Platform. The reason for this is that helm will uninstall the operators but not the CRDs. This can be done using `kubectl replace`.

```
kubectl replace -f https://raw.githubusercontent.com/stackabletech/airflow-operator/24.11.0/deploy/helm/airflow-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/commons-operator/24.11.0/deploy/helm/commons-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/druid-operator/24.11.0/deploy/helm/druid-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hbase-operator/24.11.0/deploy/helm/hbase-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hdfs-operator/24.11.0/deploy/helm/hdfs-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hive-operator/24.11.0/deploy/helm/hive-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/kafka-operator/24.11.0/deploy/helm/kafka-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/listener-operator/24.11.0/deploy/helm/listener-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/nifi-operator/24.11.0/deploy/helm/nifi-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/opa-operator/24.11.0/deploy/helm/opa-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/secret-operator/24.11.0/deploy/helm/secret-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/spark-k8s-operator/24.11.0/deploy/helm/spark-k8s-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/superset-operator/24.11.0/deploy/helm/superset-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/trino-operator/24.11.0/deploy/helm/trino-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/zookeeper-operator/24.11.0/deploy/helm/zookeeper-operator/crds/crds.yaml
```

```console
customresourcedefinition.apiextensions.k8s.io "airflowclusters.airflow.stackable.tech" replaced
customresourcedefinition.apiextensions.k8s.io "authenticationclasses.authentication.stackable.tech" replaced
customresourcedefinition.apiextensions.k8s.io "s3connections.s3.stackable.tech" replaced
...
```

Install the `24.11` release

```console
$ stackablectl release install 24.11

Installed release '24.11'

Use "stackablectl operator installed" to list installed operators.
```

##### Using Helm

Use `helm list` to list the currently installed operators.

You can use the following command to uninstall all operators that are part of the `24.7` release:

```console
$ helm uninstall airflow-operator commons-operator druid-operator hbase-operator hdfs-operator hive-operator kafka-operator listener-operator nifi-operator opa-operator secret-operator spark-k8s-operator superset-operator trino-operator zookeeper-operator
release "airflow-operator" uninstalled
release "commons-operator" uninstalled
...
```

Afterward you will need to upgrade the CustomResourceDefinitions (CRDs) installed by the Stackable Platform. The reason for this is that helm will uninstall the operators but not the CRDs. This can be done using `kubectl replace`:

```
kubectl replace -f https://raw.githubusercontent.com/stackabletech/airflow-operator/24.11.0/deploy/helm/airflow-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/commons-operator/24.11.0/deploy/helm/commons-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/druid-operator/24.11.0/deploy/helm/druid-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hbase-operator/24.11.0/deploy/helm/hbase-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hdfs-operator/24.11.0/deploy/helm/hdfs-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hive-operator/24.11.0/deploy/helm/hive-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/kafka-operator/24.11.0/deploy/helm/kafka-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/listener-operator/24.11.0/deploy/helm/listener-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/nifi-operator/24.11.0/deploy/helm/nifi-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/opa-operator/24.11.0/deploy/helm/opa-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/secret-operator/24.11.0/deploy/helm/secret-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/spark-k8s-operator/24.11.0/deploy/helm/spark-k8s-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/superset-operator/24.11.0/deploy/helm/superset-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/trino-operator/24.11.0/deploy/helm/trino-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/zookeeper-operator/24.11.0/deploy/helm/zookeeper-operator/crds/crds.yaml
```

```console
customresourcedefinition.apiextensions.k8s.io "airflowclusters.airflow.stackable.tech" replaced
customresourcedefinition.apiextensions.k8s.io "authenticationclasses.authentication.stackable.tech" replaced
customresourcedefinition.apiextensions.k8s.io "s3connections.s3.stackable.tech" replaced
...
```

Install the `24.11` release

```console
helm repo add stackable-stable https://repo.stackable.tech/repository/helm-stable/
helm repo update stackable-stable
helm install --wait airflow-operator stackable-stable/airflow-operator --version 24.11.0
helm install --wait commons-operator stackable-stable/commons-operator --version 24.11.0
helm install --wait druid-operator stackable-stable/druid-operator --version 24.11.0
helm install --wait hbase-operator stackable-stable/hbase-operator --version 24.11.0
helm install --wait hdfs-operator stackable-stable/hdfs-operator --version 24.11.0
helm install --wait hive-operator stackable-stable/hive-operator --version 24.11.0
helm install --wait kafka-operator stackable-stable/kafka-operator --version 24.11.0
helm install --wait listener-operator stackable-stable/listener-operator --version 24.11.0
helm install --wait nifi-operator stackable-stable/nifi-operator --version 24.11.0
helm install --wait opa-operator stackable-stable/opa-operator --version 24.11.0
helm install --wait secret-operator stackable-stable/secret-operator --version 24.11.0
helm install --wait spark-k8s-operator stackable-stable/spark-k8s-operator --version 24.11.0
helm install --wait superset-operator stackable-stable/superset-operator --version 24.11.0
helm install --wait trino-operator stackable-stable/trino-operator --version 24.11.0
helm install --wait zookeeper-operator stackable-stable/zookeeper-operator --version 24.11.0
```

#### Known issues

-   The Apache NiFi operator currently cannot share an [OIDC AuthenticationClass with other products](https://github.com/stackabletech/nifi-operator/issues/716). This is due to an inconsistent implementation in the NiFi operator.

-   Apache NiFi: In the experimental NiFi version `2.0.0`, the `PrometheusReportingTask` (which was used to activate a Prometheus metrics endpoint) has been removed. NiFi now has its own API to directly access metrics. In contrast to previous versions, the metrics endpoints now requires authentication. This is not supported by the Stackable operator for Apache NiFi in this release.

-   Apache NiFi: In the experimental NiFi version `2.0.0`, some processors have been renamed or have a different class path since NiFi 1.x.x. Flows affected by these changes will need manually updating. See [NiFi 2.0.0 Release Notes](https://cwiki.apache.org/confluence/display/NIFI/Release+Notes#ReleaseNotes-Version2.0.0) for further details.

-   [serviceAccount and roleBinding objects can accidentally get deleted](https://github.com/stackabletech/issues/issues/675): During the release, a bug was reported which affects multiple deployments of the same product sharing a namespace. This is actively being worked on and will appear in a patch release.

-   [fix!: Correctly construct OIDC endpoints](https://github.com/stackabletech/operator-rs/pull/910): During the release, it was discovered that some OIDC endpoint URLs were constructed in a way that was not compatible with some tooling. This has been fixed and will appear in a patch release.


## Release 24.7

### 24.7.0

Released on 2024-07-25.

#### New / extended platform features

##### Vulnerability management

In this release we have worked on significantly reducing the number of vulnerabilities in our product binaries. This will be more manageable going forward as we now build all Java-based binaries from source, which gives us greater flexibility when creating patches. We tackle this task at different levels:

-   bump base images (in this release we are using the UBI9 line of images in place of UBI8)

-   bump product versions to take advantage of product security improvements (see the section below for more details)

-   introduce our own patches (to e.g. bump individual dependencies or make changes to the code)

-   exclude product modules that are not relevant (e.g. build Hive to include only the Metastore and not the Hive server)


> **Note:** In this release we have eliminated 75% of all vulnerabilities that were present in the product binaries that were part of release 24.3.

This work will continue in the next version and the progress made in this release enables us to do more work in the future (workflow improvements, tooling etc.).

##### Build products from source

All Java-based product binaries are now built from source instead of packaging them from the official releases. The status is summarised below:

-   Apache Airflow: official release (Python-based)

-   Apache Druid: built from source from release 24.7

-   Apache HBase: built from source from release 24.3

-   Apache Hadoop HDFS: built from source from release 24.3

-   Apache Hive: built from source from release 24.7

-   Apache Kafka: built from source from release 24.7

-   Apache NiFi: built from source from release 24.7

-   Open Policy Agent: built from source from release 24.7

-   Trino: built from source from release 24.7

-   Apache Spark: built from source from release 24.7

-   Apache Superset: official release (Python-based)

-   Apache ZooKeeper: built from source from release 24.7


##### Multi-platform images

This release is the first multi-platform release of the Stackable Data Platform, supporting AMD64 and ARM64 architectures. Each image has a manifest list which wraps the architecture-specific image. The status is still [experimental](https://docs.stackable.tech/home/stable/concepts/multi-platform-support/index.md), as we work to fine-tune the necessary workflows.

##### Security

Support for OIDC with/without TLS has been added to Apache Druid in this release.

> **Note:** SDP now provides OIDC-support for Druid, Superset and Trino

In this release we provide experimental HBase 2.6.0 support with a new experimental policy based authorizer (with OPA). Check [the documentation on HBase authorization with OPA](https://docs.stackable.tech/home/stable/hbase/usage-guide/security/index.md) but do not rely on its API as it might change in breaking ways during the experimental phase.

> **Important:** In an upcoming release we will enable authentication and encryption by default where possible. To ensure a smooth transition to future releases, we strongly encourage you to enable security features wherever possible in your deployments.

##### Documentation

-   Apache Hive and Trino operators: we have provided non-trivial sample Rego rules for these operators, together with an in-depth explanation and links

-   Apache Hive: there is now a tutorial on how to load and use external database drivers

-   Apache Spark: documentation has been added showing how to provision Spark dependencies

-   Open Policy Agent: N.B. As mentioned in the release 24.3, we will be actively building out the backends supported by the User Info Fetcher. This feature should be therefore be treated as experimental as we continue to extend and consolidate back-end handling and fine-tune the tool in general.


##### Other product features

The following are selected product features provided by new versions available in this release:

-   Apache Airflow: support for modularized DAGs


> **Note:** There is currently a known problem with using git-sync credentials in 24.7. This has been corrected in [this](https://github.com/stackabletech/airflow-operator/pull/489) PR and the fix is available in the nightly build and will be released in the next version.

-   Apache Druid: support for specifying and loading additional extensions

-   Apache HBase: support for exporting snapshots to S3. The HBase image now depends on the Hadoop image and the required AWS JARs are copied from there to the HBase image. See the [documentation](https://docs.stackable.tech/home/stable/hbase/usage-guide/security/index.md) for more information.

-   Apache Hive: we now only supply the Hive Metastore. For most users this is an internal change, but is breaking for users with custom logging configurations

-   Listener operator: allow users to configure the external traffic policy, which is than passed to the created Service

-   Apache NiFi: support specifying the SecretClass that is used to obtain TLS certificates

-   Open Policy Agent: support enabling decision logs, this was an often requested feature and helps implement audit logging for authorization decisions

-   Secret operator: reduce CA default lifetime to one year and log when secrets are created

-   Trino: support for row filters and column masks in Rego rules

-   Apache ZooKeeper: allow the overriding of the ZNode path by setting status.znodePath


##### Bugfixes

-   Apache Druid: move the DB credentials user and password out of the CRD into a secret containing the keys username and password

-   Apache Hive: move the metastore user and password DB credentials out of the CRD into a Secret containing the keys username and password

-   Apache Kafka: remove field/arg controller\_config from kafka\_controller::Ctx struct and create\_controller function

-   Apache NiFi: use config-utils for text-replacement of variables in configs. This fixes escaping problems, especially when special characters are included in the password

-   Secret operator: for OpenShift clusters, the TLS CA Secret is now installed into the Namespace of the operator (typically `stackable-operators`), rather than `default`

-   Apache Spark: CPU resources are now applied correctly (instead of being rounding to the next whole number). This might affect existing jobs, as they may have e.g. only 200m CPU resources requested instead of the 1000m it had thus far, meaning they might slow down significantly

-   Apache Superset: admin credentials are not printed during startup

-   Trino: change the username which triggers graceful shutdown from `admin` to `graceful-shutdown-user` for greater clarity (e.g. in the Trino policies)


#### Product versions

As with previous SDP releases, many product images have been updated to their latest versions. The LTS version has in many cases also been adjusted in line with our [support policy](https://docs.stackable.tech/home/stable/policies).

##### New versions

The following new product versions are now supported:

-   [Apache Airflow: 2.8.4, 2.9.2](https://github.com/stackabletech/airflow-operator/pull/461)

-   [Apache Druid: 30.0.0 (experimental)](https://github.com/stackabletech/druid-operator/pull/583)

-   [Apache Hadoop: 3.4.0 (experimental)](https://github.com/stackabletech/hdfs-operator/pull/545)

-   [Apache HBase: 2.4.18, 2.6.0 (experimental)](https://github.com/stackabletech/hbase-operator/pull/506)

-   [Apache Kafka: 3.6.2, 3.7.1](https://github.com/stackabletech/kafka-operator/pull/723)

-   [Apache NiFi: 1.27.0, 2.0.0-M4 (experimental)](https://github.com/stackabletech/nifi-operator/pull/639)

-   [Open Policy Agent: 0.66.0](https://github.com/stackabletech/opa-operator/pull/594)

-   [Apache Spark: 3.4.3, 3.5.1 (Java 11 to 17)](https://github.com/stackabletech/spark-k8s-operator/pull/426)

-   [Apache Superset: 3.1.3, 4.0.2](https://github.com/stackabletech/superset-operator/pull/509)

-   [Trino: 451](https://github.com/stackabletech/trino-operator/pull/609)


> **Note:** We ship Apache Hadoop 3.4.0 as a preview only and do NOT support upgrading from 3.3.x to 3.4.0 at the moment. Please test version 3.4.0 on fresh installations but do not attempt to upgrade to 3.4.0 if you are currently using 3.3.x.

##### Deprecated versions

The following product versions are deprecated and will be removed in a later release:

-   Apache Airflow: 2.6.3, 2.8.1, 2.8.4

-   Apache Druid: 28.0.1

-   Apache HBase: 2.4.17

-   Apache Kafka: 3.4.1, 3.6.1

-   Apache NiFi: 1.21.0

-   Open Policy Agent: 0.61.0

-   Apache Spark: 3.4.2, 3.4.3

-   Apache Superset: 2.1.3, 3.1.0, 3.1.3

-   Trino: 414, 442

-   Apache ZooKeeper: 3.8.4


N.B. in some cases a newly supported version is also immediately marked as deprecated. This is done to allow an update path from the latest patch of a minor version (e.g. Kafka 2.8.2 -→ 3.4.1).

##### Removed versions

The following product versions are no longer supported (although images for released product versions remain available [here](https://repo.stackable.tech/#browse/browse:docker:v2%2Fstackable)):

-   Apache Airflow: 2.7.2, 2.7.3

-   Apache Druid: 27.0.0

-   Apache Kafka: 3.5.2

-   Apache NiFi: 1.23.2

-   Open Policy Agent: 0.57.0

-   Apache Spark: 3.4.1, 3.5.0

-   Apache Superset: 2.1.1, 3.0.1, 3.0.3

-   Trino: 428

-   Apache ZooKeeper: 3.8.3


#### stackablectl

The following changes have been made to `stackablectl`:

-   a new experimental debug command

-   a pre-built binary for aarch64-unknown-linux-gnu is now available

-   complete error messages are now shown (remedying the truncation of some details in previous releases)

-   use of the latest Go and Rust versions and respective dependencies


#### Supported Kubernetes versions

This release supports the following Kubernetes versions:

-   `1.30`

-   `1.29`

-   `1.28`


These Kubernetes versions are no longer supported:

-   `1.27`


#### Supported OpenShift versions

This release is available in the RedHat Certified Operator Catalog for the following OpenShift versions:

-   `4.15`

-   `4.14`

-   `4.13`

-   `4.12`


These OpenShift versions are no longer supported:

-   `4.11`


#### Breaking changes

Of the changes mentioned above, the following are breaking (or could lead to breaking behaviour), and you will need to adapt your existing CRDs accordingly:

##### Stackable Operator for Apache Druid

-   [move the DB credentials user and password out of the CRD into a secret containing the keys username and password](https://github.com/stackabletech/druid-operator/pull/557)


Breaking changes details

-   `spec.metadataStorageDatabase.user`: This field has been removed.

-   `spec.metadataStorageDatabase.password`: This field has been removed.

-   `spec.metadataStorageDatabase.credentialsSecret`: Name of the secret containing the credentials for the database (i.e. containing `username` and `password` fields).


##### Stackable Operator for Apache Hadoop

YARN, Map-reduce and other dependencies not needed by the HDFS operator have been removed from the 24.7.0 images. If these dependencies are needed - e.g. for `distcp` commands - then please use the older 24.3.0 images which still contain these libraries.

##### Stackable Operator for Apache Hive

-   [move the metastore user and password out of the CRD into a secret containing the keys username and password](https://github.com/stackabletech/hive-operator/pull/452)


Breaking changes details

-   `spec.clusterConfig.database.user`: This field has been removed.

-   `spec.clusterConfig.database.password`: This field has been removed.

-   `spec.clusterConfig.database.credentialsSecret`: Name of the secret containing the credentials for the database (i.e. containing `username` and `password` fields).


-   as mentioned above, [we now only supply the Hive Metastore](https://github.com/stackabletech/hive-operator/pull/447). For most users this is an internal change, but is breaking for users with custom logging configurations


##### Stackable Secret Operator

-   [the TLS CA Secret is now installed into the Namespace of the operator (typically `stackable-operators`), rather than `default`](https://github.com/stackabletech/secret-operator/pull/397)


##### Stackable Operator for Apache Spark

-   [CPU resources are now applied correctly (instead of being rounding to the next whole number)](https://github.com/stackabletech/spark-k8s-operator/pull/408). As mentioned above, this could lead to breaking **behaviour**


##### Stackable Operator for Trino

-   [change the username which triggers graceful shutdown from `admin` to `graceful-shutdown-user` for greater clarity](https://github.com/stackabletech/trino-operator/pull/573) (e.g. in the Trino policies). This is a breaking change because users need to ensure that `graceful-shutdown-user` has the required permissions to initiate a graceful shutdown. The privileges required for graceful shutdowns are granted to the admin user in the OPA rego rules


#### Upgrade from 24.3

##### Using stackablectl

Uninstall the `24.3` release

```console
$ stackablectl release uninstall 24.3

Uninstalled release '24.3'

Use "stackablectl release list" to list available releases.
# ...
```

Afterwards you will need to upgrade the CustomResourceDefinitions (CRDs) installed by the Stackable Platform. The reason for this is that helm will uninstall the operators but not the CRDs. This can be done using `kubectl replace`.

> **Note:** The cluster name for the hello-world operator has been changed in this release so the CRD cannot be patched in-place. For this reason in the snipets below the CRD for this operator will be subject to a `delete` command (plus an `apply` as part of the operator rollout in the new release) instead of a `replace`.

```
kubectl replace -f https://raw.githubusercontent.com/stackabletech/airflow-operator/24.7.0/deploy/helm/airflow-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/commons-operator/24.7.0/deploy/helm/commons-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/druid-operator/24.7.0/deploy/helm/druid-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hbase-operator/24.7.0/deploy/helm/hbase-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hdfs-operator/24.7.0/deploy/helm/hdfs-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hive-operator/24.7.0/deploy/helm/hive-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/kafka-operator/24.7.0/deploy/helm/kafka-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/listener-operator/24.7.0/deploy/helm/listener-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/nifi-operator/24.7.0/deploy/helm/nifi-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/opa-operator/24.7.0/deploy/helm/opa-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/secret-operator/24.7.0/deploy/helm/secret-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/spark-k8s-operator/24.7.0/deploy/helm/spark-k8s-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/superset-operator/24.7.0/deploy/helm/superset-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/trino-operator/24.7.0/deploy/helm/trino-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/zookeeper-operator/24.7.0/deploy/helm/zookeeper-operator/crds/crds.yaml
# N.B. due to change of name
kubectl delete -f https://raw.githubusercontent.com/stackabletech/hello-world-operator/24.3.0/deploy/helm/hello-world-operator/crds/crds.yaml
```

```console
customresourcedefinition.apiextensions.k8s.io "airflowclusters.airflow.stackable.tech" replaced
customresourcedefinition.apiextensions.k8s.io "authenticationclasses.authentication.stackable.tech" replaced
customresourcedefinition.apiextensions.k8s.io "s3connections.s3.stackable.tech" replaced
...
```

If relevant, copy secrets to the operator’s namespace. E.g. for `secret-provisioner-tls-ca`:

```
kubectl get secrets secret-provisioner-tls-ca --output=yaml | \
    sed 's/namespace: .*/namespace: stackable-operators/' | \
    kubectl create --filename=-
```

Install the `24.7` release

```console
$ stackablectl release install 24.7

Installed release '24.7'

Use "stackablectl operator installed" to list installed operators.
```

##### Using Helm

Use `helm list` to list the currently installed operators.

You can use the following command to uninstall all operators that are part of the `24.3` release:

```console
$ helm uninstall airflow-operator commons-operator druid-operator hbase-operator hdfs-operator hello-world-operator hive-operator kafka-operator listener-operator nifi-operator opa-operator secret-operator spark-k8s-operator superset-operator trino-operator zookeeper-operator
release "airflow-operator" uninstalled
release "commons-operator" uninstalled
...
```

Afterward you will need to upgrade the CustomResourceDefinitions (CRDs) installed by the Stackable Platform. The reason for this is that helm will uninstall the operators but not the CRDs. This can be done using `kubectl replace`:

```console
kubectl replace -f https://raw.githubusercontent.com/stackabletech/airflow-operator/24.7.0/deploy/helm/airflow-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/commons-operator/24.7.0/deploy/helm/commons-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/druid-operator/24.7.0/deploy/helm/druid-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hbase-operator/24.7.0/deploy/helm/hbase-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hdfs-operator/24.7.0/deploy/helm/hdfs-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hive-operator/24.7.0/deploy/helm/hive-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/kafka-operator/24.7.0/deploy/helm/kafka-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/listener-operator/24.7.0/deploy/helm/listener-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/nifi-operator/24.7.0/deploy/helm/nifi-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/opa-operator/24.7.0/deploy/helm/opa-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/secret-operator/24.7.0/deploy/helm/secret-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/spark-k8s-operator/24.7.0/deploy/helm/spark-k8s-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/superset-operator/24.7.0/deploy/helm/superset-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/trino-operator/24.7.0/deploy/helm/trino-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/zookeeper-operator/24.7.0/deploy/helm/zookeeper-operator/crds/crds.yaml
# N.B. due to change of name
kubectl delete -f https://raw.githubusercontent.com/stackabletech/hello-world-operator/24.3.0/deploy/helm/hello-world-operator/crds/crds.yaml
```

If relevant, copy secrets to the operator’s namespace. E.g. for `secret-provisioner-tls-ca`:

```
kubectl get secrets secret-provisioner-tls-ca --output=yaml | \
    sed 's/namespace: .*/namespace: stackable-operators/' | \
    kubectl create --filename=-
```

Install the `24.7` release

```console
helm repo add stackable-stable https://repo.stackable.tech/repository/helm-stable/
helm repo update stackable-stable
helm install --wait airflow-operator stackable-stable/airflow-operator --version 24.7.0
helm install --wait commons-operator stackable-stable/commons-operator --version 24.7.0
helm install --wait druid-operator stackable-stable/druid-operator --version 24.7.0
helm install --wait hbase-operator stackable-stable/hbase-operator --version 24.7.0
helm install --wait hdfs-operator stackable-stable/hdfs-operator --version 24.7.0
helm install --wait hive-operator stackable-stable/hive-operator --version 24.7.0
helm install --wait kafka-operator stackable-stable/kafka-operator --version 24.7.0
helm install --wait listener-operator stackable-stable/listener-operator --version 24.7.0
helm install --wait hello-world-operator stackable-stable/hello-world-operator --version 24.7.0
helm install --wait nifi-operator stackable-stable/nifi-operator --version 24.7.0
helm install --wait opa-operator stackable-stable/opa-operator --version 24.7.0
helm install --wait secret-operator stackable-stable/secret-operator --version 24.7.0
helm install --wait spark-k8s-operator stackable-stable/spark-k8s-operator --version 24.7.0
helm install --wait superset-operator stackable-stable/superset-operator --version 24.7.0
helm install --wait trino-operator stackable-stable/trino-operator --version 24.7.0
helm install --wait zookeeper-operator stackable-stable/zookeeper-operator --version 24.7.0
```

##### Known upgrade issues

In the case of the breaking changes detailed above it will be necessary to update the custom resources and re-apply them.

Copy any secrets from the default namespace to that used by the operator, as shown above.

Please note that Java-based products that use the JMX exporter for Prometheus are now built with version [1.0.1](https://github.com/prometheus/jmx_exporter/releases/tag/1.0.1), which has breaking changes relevant for any dashboards displaying JVM metrics.

Apache Nifi

To upgrade from 1.27 to the 2.x series, the following config overrides are necessary in the new cluster’s manifest:

```
spec:
  image:
    productVersion: 2.0.0-M4
  nodes:
    configOverrides:
      nifi.properties:
        nifi.flow.configuration.file: /stackable/data/database/flow.json.gz
```

> **Important:** Do not override this property for the 1.27 cluster version.

This is necessary because the 2.x versions do not support the XML format for flow definitions anymore. Support for the JSON format has been addded in version 1.16 and both formats have been maintained up to (excluding) version 2.0. The next SDP release 24.11 will automatically take care of this step for you.

## Release 24.3

### 24.3.0

Released on 2024-03-27.

#### New / extended platform features

##### Support for many new product versions

Almost all product images have been updated to their latest versions. Some notable examples are Apache Airflow 2.8.1, Trino 442 and Apache Spark 3.5.1. In addition, we started building some product binaries from source instead of packaging them from the official releases. This enables greater control over the features and the security aspects of the products. Currently, Apache Hadoop and Apache HBase are built from source and others will follow in coming releases.

##### Security

We put a special emphasis on security in this release. For this purpose we addressed the following topics: \* Authorization \* Authentication with Kerberos \* OpenID Connect integration \* Vulnerability management

Starting with this release, user **authorization** is consistent across all products. The Open Policy Agent (OPA) has been a core component of the platform since the beginning and in this release we enhanced its capability with the inclusion of a new component called `user-info-fetcher`. It allows for authorization policies to be built on many attributes like organizational group membership, resource assignment and much more. The first major identity provider supported by the `user-info-fetcher` is Keycloak but others will follow. For more information, refer to the [User Info Fetcher Usage Guide](https://docs.stackable.tech/home/stable/opa/usage-guide/user-info-fetcher/index.md).

A lot of effort was spent on enabling policy based authorization (with OPA) within HDFS. This was in important milestone in the platform evolution and is a unique feature that has long been missed by HDFS users and administrators. It requires a Kerberos-enabled cluster as well as the [HDFS extension](https://github.com/stackabletech/hdfs-utils) which includes an OPA authorizer and group mapper. This is already bundled in Stackable image of HDFS and can be used by following the [documentation](https://docs.stackable.tech/home/stable/hdfs/usage-guide/security/index.md). More details are available in the [pull request](https://github.com/stackabletech/hdfs-operator/pull/474).

Kerberos is the most widely used authentication protocol in the enterprise world. We added support for it in Apache Hive and Apache HBase. We also added examples for running Apache Spark applications in a Kerberos enabled environment.

OpenID Connect is the de-facto authorization standard on the Web, and it’s making its way into enterprise environments. Our platform now supports it for Apache Superset ([documentation](https://docs.stackable.tech/home/stable/superset/usage-guide/security/index.md)) and Trino ([documentation](https://docs.stackable.tech/home/stable/trino/usage-guide/security/index.md)), others will follow.

A core component of SDP is the Secret Operator. In this release, the secret operator will automatically rotate certificates it generates. The certificate lifetime is also jittered to avoid all pods restarting around the same time.

This is also the first release we’re publishing SBOMs (Software Bill of Materials) in the [CycloneDX](https://cyclonedx.org/) format for. We publish these for both our operators and our product images. The work on this was [partially funded](https://stackable.tech/en/empowering-rust-projects/) by the [Sovereign Tech Fund](https://www.sovereigntechfund.de/). These SBOMS are published to our OCI registry as signed in-toto attestations and we have written a [guide](https://docs.stackable.tech/home/stable/guides/viewing-and-verifying-sboms/index.md) on how you can use it. To make it easier to use we have written a [SBOM browser](https://sboms.stackable.tech) which allows you to download the raw CycloneDX JSON files as well.

> **Important:** In an upcoming release we will enable authentication and encryption by default where possible. To ensure a smooth transition to future releases, we strongly encourage you to enable security features wherever possible in your deployments.

##### Storage

HDFS deployments now support _rack awareness_. This is another unique feature that brings the SDP platform closer to feature parity with bare metal HDFS deployments. Of course, the exact meaning of _rack_ is different in Kubernetes environments, but the effect is the same: DataNodes are brought closer to the data they are reading and writing thus improving performance and reliability. A new [topology provider](https://github.com/stackabletech/hdfs-topology-provider) is bundled with the HDFS image that maps Kubernetes labels to a cluster topology.

##### Documentation

We are constantly working on improving the platform documentation and custom resource definitions are a significant part of that. The CRD documentation is now generated automatically and can be found at [https://crds.stackable.tech](https://crds.stackable.tech).

##### Command line tools

The `stackablectl` command line tool has been overhauled and can now list endpoints provided by the listener operator. Also operator installation is parallelized, which considerably speeds up the process of setting up SDP on fresh Kubernetes clusters.

##### Custom labels for Helm charts

In the past, Helm users could not assign custom labels to stacklets. This is now possible and it enables better component management with third party tools.

##### Bugfixes

-   Apache Airflow Operator: Using git-sync with the KubernetesExecutor is now possible.

-   Apache Hadoop Operator:

    -   Kerberos principals are now included in the discovery ConfigMap.

    -   Environment variables can now be overridden with the role group’s `envOverrides` property.


-   Apache Spark Operator:

    -   Applications can now be provisioned dynamically without having to fiddle with classpath settings.

    -   RBAC permissions have been updated to allow the deletion of ConfigMaps when cleaning up applications.


-   Trino Operator: Add HDFS configuration files to the `hive.config.resources` property when connecting to a HDFS cluster.


##### Product features

The following are selected product features provided by new versions available in this release:

-   Apache Airflow: Introducing Airflow Object Storage and Listener hooks for Datasets plus various bug fixes.

-   Apache Druid: SQL compliance & engine enhancements, ingestion improvements, concurrent data handling.

-   Apache Kafka: Bug fixes.

-   Apache NiFi:

    -   Improvements and bugfixes.

    -   Over 270 issues fixed since version 1.23.2.

    -   Adds new components for Slack and Zendesk integration among others.


-   Open Policy Agent:

    -   Performance improvements, bugfixes and security fixes for third-party libraries.

    -   Tooling to help prepare existing policies for the upcoming OPA 1.0 release, which will include a new version of the Rego language.


-   Apache Spark:

    -   3.5.0 (SDP ships with 3.5.1) added first class support for distributed training and inference support, and enhancement of compatibility for Structured streaming, Spark SQL improvements.

    -   Spark Connect is not yet supported in this release.


-   Apache Superset:

    -   Latest patch release for the Superset 2.x lineage.

    -   Apache Superset 3.1 includes various smaller new features/optimizations e.g. waterfall chart visualization, ECharts bubble chart, improved data set selectors, automatically format SQL queries, and country map visualization improvements.


-   Trino:

    -   Lots of improvements and optimization since release 428.

    -   Most notably we would like to highlight support for access control with the Open Policy Agent that we ourselves contributed in release 438 (#19532).

    -   Also, starting from release 440, there is now row filtering and column masking in Open Policy Agent.


-   Apache ZooKeeper: Security and bug fixes.


##### Support for the ARM architecture

During the development of this release, we started introducing support for the arm64 architecture. Currently support is experimental, and we only provide arm64 images for the previous release (23.11). For more information on how to use the ARM images, refer to the [documentation](https://docs.stackable.tech/home/stable/concepts/artifact-registries/container-images/index.md).

#### Product versions

##### New versions

The following new product versions are now supported:

-   [Apache Airflow: 2.7.3, 2.8.1](https://github.com/stackabletech/airflow-operator/pull/387)

-   [Apache Druid: 28.0.1](https://github.com/stackabletech/druid-operator/pull/518)

-   [Apache Kafka: 3.5.2, 3.6.1](https://github.com/stackabletech/kafka-operator/pull/664)

-   [Apache NiFi: 1.25.0](https://github.com/stackabletech/nifi-operator/pull/573)

-   [Open Policy Agent: 0.61.0](https://github.com/stackabletech/opa-operator/pull/518)

-   [Apache Spark: 3.4.2](https://github.com/stackabletech/spark-k8s-operator/pull/357)

-   [Apache Spark: 3.5.1](https://github.com/stackabletech/spark-k8s-operator/pull/373)

-   [Apache Superset: 2.1.3, 3.0.3, 3.1.0](https://github.com/stackabletech/superset-operator/pull/457)

-   [Trino: 442](https://github.com/stackabletech/trino-operator/pull/557)

-   [Apache ZooKeeper: 3.8.4](https://github.com/stackabletech/zookeeper-operator/pull/783)

-   [Apache ZooKeeper: 3.9.2](https://github.com/stackabletech/zookeeper-operator/pull/788)


##### Deprecated versions

The following product versions are deprecated and will be removed in a later release:

-   Apache Airflow: 2.7.2, 2.7.3

-   Apache Druid: 27.0.0

-   Apache Kafka: 3.5.1, 3.5.2, 3.6.2

-   Apache NiFi: 1.23.2

-   Apache Spark: 3.4.1, 3.5.0

-   Apache Superset: 2.1.1, 3.0.1. 3.0.3

-   Trino: 428

-   Apache ZooKeeper: 3.8.3

-   Open Policy Agent: 0.57.0


N.B. in some cases a newly supported version is also immediately marked as deprecated. This is done to allow an update path from the latest patch of a minor version (e.g. Kafka 2.8.2 -→ 3.4.1).

##### Removed versions

The following product versions are no longer supported (although images for released product versions remain available [here](https://repo.stackable.tech/#browse/browse:docker:v2%2Fstackable)):

-   Apache Airflow: 2.6.1, 2.6.3

-   Apache Druid: 27.0.0

-   Apache Hadoop: 3.2.2, 3.2.4

-   Apache HBase: 2.4.12

-   Apache Kafka: 2.8.1, 2.8.2, 3.4.1

-   Open Policy Agent: 0.51.0

-   Apache Spark: 3.4.0

-   Apache Superset: 2.1.0

-   Apache ZooKeeper: 3.8.1


#### stackablectl

A project called [stackablectl](https://github.com/stackabletech/stackablectl) has been started. It is a web-based management tool that allows users to interact with the Stackable data platform. The repository also contains the `stackablectl` command line tool, which has been refactored for performance and stability.

#### Supported Kubernetes versions

This release supports the following Kubernetes versions:

-   `1.29`

-   `1.28`

-   `1.27`


These Kubernetes versions are no longer supported:

-   `1.26`

-   `1.25`


#### Supported OpenShift versions

This release is available in the RedHat Certified Operator Catalog for the following OpenShift versions:

-   `4.15`

-   `4.14`

-   `4.13`

-   `4.12`

-   `4.11`


#### Breaking changes

You will need to adapt your existing CRDs due to the following breaking changes detailed below.

##### Stackable Operator for Apache Airflow

-   [Fixed various issues in the CRD structure. `clusterConfig.credentialsSecret` is now mandatory](https://github.com/stackabletech/airflow-operator/pull/353)


Breaking changes details

The following fields used to be optional but are now mandatory: \* `spec.clusterConfig.credentialsSecret`: Name of the secret containing the credentials for the database. \* `spec.clusterConfig.exposeConfig`: Set to `true` to export the `AIRFLOW_WEBSERVER_EXPOSE__CONFIG` environment variable. \* `spec.clusterConfig.loadExamples`: Set to `true` to load example DAGs into the Airflow cluster.

-   [Removed legacy node selector on roleGroups](https://github.com/stackabletech/airflow-operator/pull/366)


Breaking changes details

Assigning role groups to node selector was deprecated in 23.11 and has been removed in this release.

To assign roles and role groups to nodes, use the `config.affinity.nodeAffinity` property as described in the [documentation](https://docs.stackable.tech/home/stable/contributor/adr/ADR026-affinities/index.md).

##### Stackable Operator for Apache HBase

-   [Removed legacy node selector on roleGroups](https://github.com/stackabletech/hbase-operator/pull/438)


Breaking changes details

Assigning role groups to node selector was deprecated in SDP 23.11 and has been removed in this release.

To assign roles and role groups to nodes, use the `config.affinity.nodeAffinity` property as described in the [documentation](https://docs.stackable.tech/home/stable/contributor/adr/ADR026-affinities/index.md).

##### Stackable Operator for Apache Hadoop HDFS

-   [Support for exposing HDFS clusters to clients outside of Kubernetes](https://github.com/stackabletech/hdfs-operator/pull/450) `.spec.clusterConfig.listenerClass` has been split to `.spec.nameNodes.config.listenerClass` and `.spec.dataNodes.config.listenerClass`, migration will be required when using `external-unstable`.


Breaking changes details

This requires a change from e.g.

```yaml
apiVersion: hdfs.stackable.tech/v1alpha1
kind: HdfsCluster
metadata:
  name: hdfs
spec:
  clusterConfig:
    listenerClass: external-unstable (1)
    ...
```

to:

```yaml
apiVersion: hdfs.stackable.tech/v1alpha1
kind: HdfsCluster
metadata:
  name: hdfs
spec:
  clusterConfig:
    ...
  nameNodes:
    config:
      listenerClass: external-unstable (2)
      ...
    ...
  dataNodes:
    config:
      listenerClass: external-unstable (3)
      ...
  journalNodes:
    config:
      ...
```

(1) Remove the cluster-wide listenerClass
(2) Add the `external-unstable` listenerClass to the `nameNodes` role. You can set these at the role-group level too.
(3) Add the `external-unstable` listenerClass to the `dataNodes` role. You can set these at the role-group level too.

It should be noted that this change is not necessary if you are using the default `spec.clusterConfig.listenerClass: cluster-internal`.

> **Important:** Unfortunately, it is not possible to patch existing HDFS stacklets in place. It will be necessary to delete and recreate the HDFS stacklet. No data will be lost during this process.

#### Open Policy Agent Operator

-   [Remove legacy `nodeSelector` on rolegroups](https://github.com/stackabletech/opa-operator/pull/433)


Breaking changes details

Assigning role groups to node selector was deprecated in SDP 23.11 and has been removed in this release.

To assign roles and role groups to nodes, use the `config.affinity.nodeAffinity` property as described in the [documentation](https://docs.stackable.tech/home/stable/contributor/adr/ADR026-affinities/index.md).

##### Secret operator

-   [`autoTLS` certificate authorities will now be rotated regularly](https://github.com/stackabletech/secret-operator/pull/350)


This changes the format of the CA secrets. Old secrets will be migrated automatically, but manual intervention will be required to downgrade back to 23.11.x.

##### Stackable Operator for Apache Spark

-   [Removed version field. Several attributes have been made to mandatory](https://github.com/stackabletech/spark-k8s-operator/pull/319)


Breaking changes details

The `spec.version` field has been removed.

The `spec.mode` field is now required and must be set to `cluster`.

The `spec.mainClass` field is now required and must point to a location on ths file system or S3 where the main class is located.

-   [Remove usage of `userClassPathFirst` properties](https://github.com/stackabletech/spark-k8s-operator/pull/355)


Breaking changes details

This is an experimental feature that was introduced to support logging in XML format. The side effect of this removal is that the vector agent cannot aggregate output from the `spark-submit` containers. On the other hand, it enables dynamic provisioning of java packages (such as Delta Lake) with Stackable stock images, which we consider more important.

##### Stackable Operator for Apache Superset

-   [Fixed various issues in the CRD structure. `clusterConfig.credentialsSecret` is now mandatory](https://github.com/stackabletech/superset-operator/pull/429)


The configuration for the Superset authentication, operations and listener class is specified within the `spec.clusterConfig` field. This field used to be optional but it is now required.

#### Upgrade from 23.11

##### Using stackablectl

Uninstall the `23.11` release

```console
$ stackablectl release uninstall 23.11
[INFO ] Uninstalling release 23.11
[INFO ] Uninstalling airflow operator
[INFO ] Uninstalling commons operator
# ...
```

Afterwards you will need to upgrade the CustomResourceDefinitions (CRDs) installed by the Stackable Platform. The reason for this is that helm will uninstall the operators but not the CRDs. This can be done using `kubectl replace`:

```
kubectl replace -f https://raw.githubusercontent.com/stackabletech/airflow-operator/24.3.0/deploy/helm/airflow-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/commons-operator/24.3.0/deploy/helm/commons-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/druid-operator/24.3.0/deploy/helm/druid-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hbase-operator/24.3.0/deploy/helm/hbase-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hdfs-operator/24.3.0/deploy/helm/hdfs-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hello-world-operator/24.3.0/deploy/helm/hello-world-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hive-operator/24.3.0/deploy/helm/hive-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/kafka-operator/24.3.0/deploy/helm/kafka-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/listener-operator/24.3.0/deploy/helm/listener-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/nifi-operator/24.3.0/deploy/helm/nifi-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/opa-operator/24.3.0/deploy/helm/opa-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/secret-operator/24.3.0/deploy/helm/secret-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/spark-k8s-operator/24.3.0/deploy/helm/spark-k8s-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/superset-operator/24.3.0/deploy/helm/superset-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/trino-operator/24.3.0/deploy/helm/trino-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/zookeeper-operator/24.3.0/deploy/helm/zookeeper-operator/crds/crds.yaml
```

```console
customresourcedefinition.apiextensions.k8s.io "airflowclusters.airflow.stackable.tech" replaced
customresourcedefinition.apiextensions.k8s.io "authenticationclasses.authentication.stackable.tech" replaced
customresourcedefinition.apiextensions.k8s.io "s3connections.s3.stackable.tech" replaced
...
```

Install the `24.3` release

```console
$ stackablectl release install 24.3
[INFO ] Installing release 23.11
[INFO ] Installing airflow operator in version 24.3.0
[INFO ] Installing commons operator in version 24.3.0
[INFO ] Installing druid operator in version 24.3.0
[INFO ] Installing hbase operator in version 24.3.0
[INFO ] Installing hdfs operator in version 24.3.0
[INFO ] Installing hive operator in version 24.3.0
[INFO ] Installing kafka operator in version 24.3.0
[INFO ] Installing listener operator in version 24.3.0
[INFO ] Installing hello-world operator in version 24.3.0
[INFO ] Installing nifi operator in version 24.3.0
[INFO ] Installing opa operator in version 24.3.0
[INFO ] Installing secret operator in version 24.3.0
[INFO ] Installing spark-k8s operator in version 24.3.0
[INFO ] Installing superset operator in version 24.3.0
[INFO ] Installing trino operator in version 24.3.0
[INFO ] Installing zookeeper operator in version 24.3.0
```

##### Using Helm

Use `helm list` to list the currently installed operators.

You can use the following command to uninstall all operators that are part of the `23.11` release:

```console
$ helm uninstall airflow-operator commons-operator druid-operator hbase-operator hdfs-operator hive-operator kafka-operator listener-operator nifi-operator opa-operator secret-operator spark-k8s-operator superset-operator trino-operator zookeeper-operator
release "airflow-operator" uninstalled
release "commons-operator" uninstalled
# ...
```

Afterward you will need to upgrade the CustomResourceDefinitions (CRDs) installed by the Stackable Platform. The reason for this is that helm will uninstall the operators but not the CRDs. This can be done using `kubectl replace`:

```console
kubectl replace -f https://raw.githubusercontent.com/stackabletech/airflow-operator/24.3.0/deploy/helm/airflow-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/commons-operator/24.3.0/deploy/helm/commons-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/druid-operator/24.3.0/deploy/helm/druid-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hbase-operator/24.3.0/deploy/helm/hbase-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hdfs-operator/24.3.0/deploy/helm/hdfs-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hello-world-operator/24.3.0/deploy/helm/hello-world-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hive-operator/24.3.0/deploy/helm/hive-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/kafka-operator/24.3.0/deploy/helm/kafka-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/listener-operator/24.3.0/deploy/helm/listener-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/nifi-operator/24.3.0/deploy/helm/nifi-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/opa-operator/24.3.0/deploy/helm/opa-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/secret-operator/24.3.0/deploy/helm/secret-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/spark-k8s-operator/24.3.0/deploy/helm/spark-k8s-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/superset-operator/24.3.0/deploy/helm/superset-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/trino-operator/24.3.0/deploy/helm/trino-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/zookeeper-operator/24.3.0/deploy/helm/zookeeper-operator/crds/crds.yaml
```

Install the `24.3` release

```console
helm repo add stackable-stable https://repo.stackable.tech/repository/helm-stable/
helm repo update stackable-stable
helm install --wait airflow-operator stackable-stable/airflow-operator --version 24.3.0
helm install --wait commons-operator stackable-stable/commons-operator --version 24.3.0
helm install --wait druid-operator stackable-stable/druid-operator --version 24.3.0
helm install --wait hbase-operator stackable-stable/hbase-operator --version 24.3.0
helm install --wait hdfs-operator stackable-stable/hdfs-operator --version 24.3.0
helm install --wait hive-operator stackable-stable/hive-operator --version 24.3.0
helm install --wait kafka-operator stackable-stable/kafka-operator --version 24.3.0
helm install --wait listener-operator stackable-stable/listener-operator --version 24.3.0
helm install --wait hello-world-operator stackable-stable/hello-world-operator --version 24.3.0
helm install --wait nifi-operator stackable-stable/nifi-operator --version 24.3.0
helm install --wait opa-operator stackable-stable/opa-operator --version 24.3.0
helm install --wait secret-operator stackable-stable/secret-operator --version 24.3.0
helm install --wait spark-k8s-operator stackable-stable/spark-k8s-operator --version 24.3.0
helm install --wait superset-operator stackable-stable/superset-operator --version 24.3.0
helm install --wait trino-operator stackable-stable/trino-operator --version 24.3.0
helm install --wait zookeeper-operator stackable-stable/zookeeper-operator --version 24.3.0
```

##### Known upgrade issues

In the case of the breaking changes detailed above it will be necessary to update the custom resources and re-apply them.

Additionally, please note the following:

###### All operators

If you used node selectors to assign Pods to nodes, this will not work anymore. Use the `config.affinity.nodeAffinity` property instead and follow the instructions in the [documentation](https://docs.stackable.tech/home/stable/contributor/adr/ADR026-affinities/index.md).

## Release 23.11

This release introduces two further elements of platform stability - pod disruption budgets and graceful shutdown specifications - as well as a new management tool and updated product version support. Any known issues related to this release are listed in the [Known issues](https://docs.stackable.tech/home/stable/release-notes/index.md) section below.

### 23.11.0

Released 2023-11-30.

#### New / extended platform features

The following new major platform features were added:

##### PodDisruptionBudgets

Kubernetes has mechanisms to ensure minimal planned downtime. Our product operators deploy so-called PodDisruptionBudget (PDB) resources alongside the products. For every role that you specify (e.g. HDFS namenodes or Trino workers) a PDB is created. This will determine the extent to which roles for a given application may be inactive at any given time. See [the documentation](https://docs.stackable.tech/home/stable/concepts/operations/pod_disruptions/index.md) for more details.

##### Graceful shutdown

Graceful shutdown refers to the managed, controlled shutdown of service instances in the manner intended by the software authors. Typically, an instance will receive a signal indicating the intent for the server to shut down, and it will initiate a controlled shutdown. Our operators configure a sensible amount of time Pods are granted to properly shut down without disrupting the availability of the product. See [the documentation](https://docs.stackable.tech/home/stable/concepts/operations/graceful_shutdown/index.md) for more details.

##### Signed SDP product images

As of this release all Stackable product images are signed (the signing of operator images was delivered in SDP 23.7). Please see this [tutorial](https://docs.stackable.tech/home/stable/guides/enabling-verification-of-image-signatures/index.md) for more information.

##### Airflow KubernetesExecutor

Airflow clusters can now be configured to use Kubernetes executors, whereby pods are spun up for job tasks and terminated when complete, thus offering an alternative way to use resources without the need for job queuing.

##### Overridable Java security settings

For JVM-based products (i.e. Druid, HBase, HDFS, Hive, Kafka, NiFi, Spark, Trino and ZooKeeper) it is now possible to provide custom security settings that override the default values. This allows the user to control things such as DNS lookup caches.

##### Listener operator

The listener-operator was introduced in release 23.1 and the associated ServiceType field in 23.4. In this release we introduce configurable ListenerClass _presets_ that map to the service types appropriate for different environments. This is discussed in more detail in the [documentation](https://docs.stackable.tech/home/stable/listener-operator/listenerclass/index.md).

##### Openshift certification

All Stackable operators in the 23.11 release have been certified for Openshift versions 4.11-4.13 and can be installed directly from the OperatorHub UI: ![OperatorHub in Openshift portal](https://docs.stackable.tech/home/stable/_images/openshift_operatorhub.png)

##### Product features

Additionally, there are some other individual product features that are noteworthy:

-   [HBase: support for Hadoop native compression](https://github.com/stackabletech/docker-images/pull/494)

-   [HBase: add operator tools to product image](https://github.com/stackabletech/docker-images/pull/497)

-   [HDFS: support for FUSE](https://github.com/stackabletech/docker-images/pull/400)

-   [Hive: update postgresql driver to support SCRAM authentication](https://github.com/stackabletech/docker-images/pull/505)

-   [Spark: all product images contain pyspark](https://github.com/stackabletech/docker-images/pull/436)

-   [Trino: support for the new OPA authorizer](https://github.com/stackabletech/trino-operator/issues/491)

-   [Vector: upgrade to 0.33.0](https://github.com/stackabletech/issues/issues/444)


#### Product Versions

##### New Versions

The following new product versions are now supported:

-   [Airflow: 2.6.3, 2.7.2](https://github.com/stackabletech/airflow-operator/pull/334)

-   [Druid: 27.0.0](https://github.com/stackabletech/druid-operator/pull/480)

-   [HBase: 2.4.17](https://github.com/stackabletech/hbase-operator/pull/403)

-   [HDFS: 3.2.4, 3.3.6](https://github.com/stackabletech/hdfs-operator/pull/409)

-   [Kafka: 2.8.2, 3.4.1, 3.5.1](https://github.com/stackabletech/kafka-operator/pull/627)

-   [NiFi: 1.23.2](https://github.com/stackabletech/nifi-operator/pull/513)

-   [OpenPolicyAgent: 0.57.0](https://github.com/stackabletech/opa-operator/pull/482)

-   [Spark: 3.4.1, 3.5.0](https://github.com/stackabletech/spark-k8s-operator/pull/291)

-   [Superset: 2.1.1, 3.0.1](https://github.com/stackabletech/superset-operator/pull/415)

-   [Trino: 428](https://github.com/stackabletech/trino-operator/pull/491)

-   [ZooKeeper: 3.8.3](https://github.com/stackabletech/zookeeper-operator/pull/732)


##### Deprecated Versions

The following product versions are deprecated and will be removed in a later release:

-   Airflow: 2.6.1

-   HBase: 2.4.12

-   HDFS: 3.2.4, 3.3.4

-   Kafka: 2.8.2, 3.4.0

-   OpenPolicyAgent: 0.51.0

-   Spark: 3.4.0

-   Superset: 2.1.0

-   ZooKeeper: 3.8.1


N.B. in some cases a newly supported version is also immediately marked as deprecated. This is done to allow an update path from the latest patch of a minor version (e.g. Kafka 2.8.2 -→ 3.4.1).

##### Removed Versions

The following product versions are no longer supported (although images for released product versions remain available [here](https://repo.stackable.tech/#browse/browse:docker:v2%2Fstackable)):

-   Airflow: 2.2.3, 2.2.4, 2.2.5, 2.4.1

-   Druid: 0.23.0, 24.0.0

-   HBase: 2.4.6, 2.4.8, 2.4.9, 2.4.11

-   HDFS: 3.3.1, 3.3.3

-   Hive: 2.3.9

-   Kafka: 2.7.1, 3.1.0, 3.2.0, 3.3.1

-   NiFi: 1.15.x, 1.16.x, 1.18.0, 1.20.0

-   Opa: 0.27.1, 0.28.0, 0.37.2, 0.41.0, 0.45.0

-   Spark: 3.2.1, 3.3.0

-   Superset: 1.3.2, 1.4.1, 1.4.2, 1.5.1, 1.5.3, 2.0.1

-   Trino: 377, 387, 395, 396, 403

-   ZooKeeper: 3.5.8, 3.6.3, 3.7.0, 3.8.0


#### stackablectl

The following demo has been added to `stackablectl`:

##### Signal processing demo

This demonstrates the ingestion of streamed data into a Timescale time-series database, augmented by a moving window of anomaly detection measurements that are plotted alongside the raw data in Grafana.

This link lists the [available demos](https://docs.stackable.tech/home/stable/demos/index.md).

#### Supported Kubernetes versions

This release supports the following Kubernetes versions:

-   `1.28`

-   `1.27`

-   `1.26`


These Kubernetes versions are no longer supported:

-   `1.25`

-   `1.24`


#### Supported OpenShift versions

This release supports the following OpenShift versions:

-   `4.13`

-   `4.12`

-   `4.11`


#### Breaking changes

You will need to adapt your existing CRDs due to the following breaking changes detailed below.

> **Note:** For all operators: the field `spec.image.stackableVersion` is no longer needed when the operator and product stackable versions match e.g. both are `23.11`. If this field has been _previously_ set this will **not** happen: in such cases `spec.image.stackableVersion` should be set explicitly, either to a release version or to `null`.

##### Stackable Operator for Apache Airflow

-   [Removed AirflowDB](https://github.com/stackabletech/airflow-operator/pull/322): `.spec.clusterConfig.databaseInitialization` was removed from the CRD. This allowed configuring logging for the database initialization job, which does not exist anymore. Instead, database initialization is done by the scheduler pod, which has its own logging configuration. This was necessary to remove the `AirflowDB` Custom Resource, which caused problems when upgrading or reinstalling Airflow clusters. Additionally, the `AirflowDB` custom resource is not used anymore. Those CRs should be deleted.

-   [Implement KubernetesExecutor](https://github.com/stackabletech/airflow-operator/pull/311): As an alternative to the CeleryExecutor we now also support the KubernetesExecutor, whereby pods are spun up for job tasks and are terminated afterwards. This removes the need for a Redis job queue and offers an alternative approach to resource management.

-   [Rename service port name](https://github.com/stackabletech/airflow-operator/pull/316): The service port name has been renamed from airflow to http for consistency reasons. This change requires that the statefulset be removed before upgrading. There might also be some e.g. Ingresses that rely on the port name that will need to be updated.

-   [AuthenticationClass references](https://github.com/stackabletech/airflow-operator/pull/303): `spec.clusterConfig.authenticationConfig` has been consolidated to `spec.clusterConfig.authentication` which takes a vector of AuthenticationClass references.


These consolidated changes would require a change from e.g.

Breaking changes details

```yaml
apiVersion: airflow.stackable.tech/v1alpha1
kind: AirflowCluster
metadata:
  name: airflow
spec:
  image:
    productVersion: "2.6.1"
    stackableVersion: "23.7" (1)
  clusterConfig:
    executor: CeleryExecutor (2)
    ...
    databaseInitialization: (3)
      logging:
        enableVectorAgent: false
        containers:
          ...
    authenticationConfig:  (4)
      authenticationClass: server-tls
      userRegistrationRole: Admin
  webservers:
    ...
  workers:  (5)
    roleGroups:
      default:
        replicas: 1
    ...
```

to:

```yaml
apiVersion: airflow.stackable.tech/v1alpha1
kind: AirflowCluster
metadata:
  name: airflow
spec:
  image:
    productVersion: "2.6.1"
  clusterConfig:
    authentication:  (4)
      - authenticationClass: server-tls
        userRegistrationRole: Admin
  webservers:
    roleGroups:
      default:
        replicas: 1
  celeryExecutors:  (5)
    roleGroups:
      default:
        replicas: 1
    ...
```

(1) this field is no longer needed if the product and operator image versions match
(2) field removed
(3) section removed
(4) `authenticationConfig` replaced with a list of authentication classes
(5) workers replaced with either `celeryExecutors` or `kubernetesExecutors`

> **Note:** it will be necessary to remove the stateful sets before updating the Airflow resource due to the change to the name of container port. Any existing AirflowDB jobs should be deleted as well. This will allow a database update to be followed through where necessary.

##### Stackable Operator for Apache HDFS

[Removed field autoFormatFs](https://github.com/stackabletech/hdfs-operator/pull/422): This field was not used.

Breaking changes details

This requires a change from e.g.

```yaml
apiVersion: hdfs.stackable.tech/v1alpha1
kind: HdfsCluster
metadata:
  name: hdfs
spec:
  image:
    productVersion: "3.3.4"
    stackableVersion: "23.7" (1)
  clusterConfig:
    zookeeperConfigMapName: hdfs-zk
    autoFormatFs: False (2)
    ...
```

to:

```yaml
apiVersion: hdfs.stackable.tech/v1alpha1
kind: HdfsCluster
metadata:
  name: hdfs
spec:
  image:
    productVersion: "3.3.4"
  clusterConfig:
    zookeeperConfigMapName: hdfs-zk
    ...
```

(1) this field is no longer needed if the product and operator image versions match.
(2) field removed.

##### Stackable Operator for Apache Kafka

[Certificate conversion](https://github.com/stackabletech/kafka-operator/pull/621): The secret-operator now handles certificate conversion. This allows for the removal of the prepare init container but means that you can’t configure the log level for this container anymore. You will need to remove the field `spec.brokers.config.logging.container.prepare` in case it is specified.

Breaking changes details

This requires a change from e.g.

```yaml
apiVersion: kafka.stackable.tech/v1alpha1
kind: KafkaCluster
metadata:
  name: kafka
spec:
  image:
    productVersion: "3.4.0"
    stackableVersion: "23.7" (1)
  clusterConfig:
    ...
  brokers:
    config:
      logging:
        containers:
          prepare: (2)
            console:
              level: INFO
        ...
```

to:

```yaml
apiVersion: kafka.stackable.tech/v1alpha1
kind: KafkaCluster
metadata:
  name: kafka
spec:
  image:
    productVersion: "3.4.0"
  clusterConfig:
    ...
  brokers:
    config:
      logging:
        ...
```

(1) this field is no longer needed if the product and operator image versions match.
(2) section removed for `prepare` container.

> **Note:** for details about how Kafka uses a PVC to persist a reference to its ZNode, and how this may be relevant to upgrade scenarios, please read the documentation [here](https://docs.stackable.tech/home/stable/kafka/usage-guide/operations/znode-id/index.md).

##### Stackable Operator for Apache NiFi

-   [AuthenticationClass references](https://github.com/stackabletech/nifi-operator/pull/498): Consolidated authentication config to a list of AuthenticationClasses.

-   [Remove credential generation](https://github.com/stackabletech/nifi-operator/pull/498): Removed crd support for the auto generation of admin credentials.

-   [Remove redundant authentication field](https://github.com/stackabletech/nifi-operator/pull/498): Removed crd support for the `nifi.security.allow.anonymous.authentication` property that was never used.


Breaking changes details

This requires a change from e.g.

```yaml
---
apiVersion: nifi.stackable.tech/v1alpha1
kind: NifiCluster
metadata:
  name: test-nifi
spec:
  image:
    productVersion: "1.21.0"
    stackableVersion: "23.7" (1)
  clusterConfig:
    zookeeperConfigMapName: test-zk
    authentication: (2)
      allowAnonymousAccess: False  (3)
      method:
        singleUser:
          adminCredentialsSecret: nifi-admin-credentials-simple
          autoGenerate: False  (4)
    sensitiveProperties:
      keySecret: nifi-sensitive-property-key
  nodes:
    roleGroups:
      default:
        replicas: 1
```

to:

```yaml
---
apiVersion: nifi.stackable.tech/v1alpha1
kind: NifiCluster
metadata:
  name: test-nifi
spec:
  image:
    productVersion: "1.23.2"
  clusterConfig:
    zookeeperConfigMapName: test-zk
    authentication: (2)
      - authenticationClass: nifi-users  (5)
    sensitiveProperties:
      keySecret: nifi-sensitive-property-key
  nodes:
    roleGroups:
      default:
        replicas: 1
---
apiVersion: authentication.stackable.tech/v1alpha1
kind: AuthenticationClass
metadata:
  name: nifi-users  (5)
spec:
  provider:
    static:
      userCredentialsSecret:
        name: nifi-admin-credentials
---
apiVersion: v1
kind: Secret
metadata:
  name: nifi-admin-credentials
stringData:
  admin: supersecretpassword
```

(1) this field is no longer needed if the product and operator image versions match.
(2) this section has been changed to take a list of authentication classes.
(3) functionality has been removed.
(4) functionality has been removed.
(5) the authentication class referenced by the NiFi cluster.

##### Stackable Operator for Apache Spark

-   [Image specification](https://github.com/stackabletech/spark-k8s-operator/pull/275): Use product image selection instead of version.

-   [Configuration structure](https://github.com/stackabletech/spark-k8s-operator/pull/277): Refactored application roles to use CommonConfiguration structures from the operator framework.


Breaking changes details

This requires a change from e.g.

```yaml
apiVersion: spark.stackable.tech/v1alpha1
kind: SparkApplication
metadata:
  name: spark-examples
spec:
  version: "1.0"
  sparkImage: "docker.stackable.tech/stackable/spark-k8s:3.4.0-stackable23.7" (1)
  mode: cluster
  mainClass: org.apache.spark.examples.SparkALS
  mainApplicationFile: "local:///stackable/spark/examples/jars/spark-examples.jar"
  job: (2)
    logging:
      enableVectorAgent: False
  driver: (2)
    logging:
      enableVectorAgent: False
  executor: (2)
    instances: 1
    logging:
      enableVectorAgent: False
```

to:

```yaml
apiVersion: spark.stackable.tech/v1alpha1
kind: SparkApplication
metadata:
  name: spark-examples-2
spec:
  version: "1.0"
  sparkImage: (1)
    productVersion: "3.5.0"
  mode: cluster
  mainClass: org.apache.spark.examples.SparkALS
  mainApplicationFile: "local:///stackable/spark/examples/jars/spark-examples.jar"
  job:
    config: (2)
      logging:
        enableVectorAgent: False
  driver:
    config: (2)
      logging:
        enableVectorAgent: False
  executor:
    replicas: 1
    config: (2)
      logging:
        enableVectorAgent: False
```

(1) this field has been changed to be consistent with product image selection, documented [here](https://docs.stackable.tech/home/stable/concepts/product-image-selection/index.md).
(2) this section has been changed to be consistent with common configuration definitions used for other operators.

##### Stackable Operator for Apache Superset

-   [Remove SupersetDB](https://github.com/stackabletech/superset-operator/pull/396): `.spec.clusterConfig.loadExamplesOnInit` was removed from the CRD. Already loaded examples in Superset will not be removed by this change. Additionally, the `SupersetDB` custom resource is not used anymore. Those CRs should be deleted. Loading examples is still supported, the process is now described in the [documentation](https://docs.stackable.tech/home/stable/superset/getting_started/first_steps).

-   [Rename service port name](https://github.com/stackabletech/superset-operator/pull/394): The service port name has been renamed from superset to http for consistency reasons. This change requires that the statefulset be removed before upgrading. There might also be some e.g. Ingresses that rely on the port name that will need to be updated.


Breaking changes details

This requires a change from e.g.

```yaml
apiVersion: superset.stackable.tech/v1alpha1
kind: SupersetCluster
metadata:
  name: superset
spec:
  image:
    productVersion: "2.1.0"
    stackableVersion: "23.7" (1)
  clusterConfig:
    credentialsSecret: superset-credentials
    loadExamplesOnInit: false (2)
  nodes:
    roleGroups:
      default:
        replicas: 1
    ...
```

to:

```yaml
apiVersion: superset.stackable.tech/v1alpha1
kind: SupersetCluster
metadata:
  name: superset
spec:
  image:
    productVersion: "2.1.0"
  clusterConfig:
    credentialsSecret: superset-credentials
  nodes:
    roleGroups:
      default:
        replicas: 1
    ...
```

(1) this field is no longer needed if the product and operator image versions match.
(2) this field has been removed.

> **Note:** it will be necessary to remove the stateful sets before updating the Superset resource due to the change to the name of container port.

##### Stackable Operator for Trino

[New OPA Authorizer](https://github.com/stackabletech/trino-operator/pull/491) Version 428 uses the [new OPA authorizer](https://github.com/bloomberg/trino/tree/add-open-policy-agent) which requires changes to existing rego rules.

Breaking changes details

This requires a change from e.g.

```yaml
apiVersion: trino.stackable.tech/v1alpha1
kind: TrinoCluster
metadata:
  name: trino
spec:
  image:
    productVersion: "414"
  clusterConfig:
    ...
```

to:

```yaml
---
apiVersion: trino.stackable.tech/v1alpha1
kind: TrinoCluster
metadata:
  name: trino
spec:
  image:
    productVersion: "428"
  clusterConfig:
    ...
---
```

To adapt the rego rules to work with the new authorizer visit the documentation [here](https://docs.stackable.tech/home/stable/trino/usage-guide/security/index.md). For example, you can upgrade to the last version of Open Policy Agent and enter the relevant syntax in a ConfigMap like this:

```yaml
---
apiVersion: opa.stackable.tech/v1alpha1
kind: OpaCluster
metadata:
  name: opa
spec:
  image:
    productVersion: "0.57.0"
    stackableVersion: 23.11
  servers:
    roleGroups:
      default: {}
---
apiVersion: v1
kind: ConfigMap
metadata:
  name: simple-trino-opa-bundle
  labels:
    opa.stackable.tech/bundle: "trino"
data:
  trino.rego: |
    package trino

    import future.keywords.in

    default allow = false

    allow {
        is_admin
    }
    extended[i] {
        some i
        input.action.filterResources[i]
        is_admin
    }

    allow {
        input.action.operation in ["ExecuteQuery", "AccessCatalog"]
        is_bob
    }
    extended[i] {
        input.action.operation in ["FilterCatalogs"]
        some i
        input.action.filterResources[i]
        is_bob
    }

    is_admin() {
      input.context.identity.user == "admin"
    }

    is_bob() {
      input.context.identity.user == "bob"
    }
```

#### Upgrade from 23.7

##### Using stackablectl

To uninstall the `23.7` release run

```console
$ stackablectl release uninstall 23.7
[INFO ] Uninstalling release 23.7
[INFO ] Uninstalling airflow operator
[INFO ] Uninstalling commons operator
# ...
```

Afterwards you will need to upgrade the CustomResourceDefinitions (CRDs) installed by the Stackable Platform. The reason for this is that helm will uninstall the operators but not the CRDs. This can be done using `kubectl replace`:

```
kubectl replace -f https://raw.githubusercontent.com/stackabletech/airflow-operator/23.11.0/deploy/helm/airflow-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/commons-operator/23.11.0/deploy/helm/commons-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/druid-operator/23.11.0/deploy/helm/druid-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hbase-operator/23.11.0/deploy/helm/hbase-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hdfs-operator/23.11.0/deploy/helm/hdfs-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hello-world-operator/23.11.0/deploy/helm/hello-world-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hive-operator/23.11.0/deploy/helm/hive-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/kafka-operator/23.11.0/deploy/helm/kafka-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/listener-operator/23.11.0/deploy/helm/listener-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/nifi-operator/23.11.0/deploy/helm/nifi-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/opa-operator/23.11.0/deploy/helm/opa-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/secret-operator/23.11.0/deploy/helm/secret-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/spark-k8s-operator/23.11.0/deploy/helm/spark-k8s-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/superset-operator/23.11.0/deploy/helm/superset-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/trino-operator/23.11.0/deploy/helm/trino-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/zookeeper-operator/23.11.0/deploy/helm/zookeeper-operator/crds/crds.yaml
```

```console
customresourcedefinition.apiextensions.k8s.io "airflowclusters.airflow.stackable.tech" replaced
customresourcedefinition.apiextensions.k8s.io "authenticationclasses.authentication.stackable.tech" replaced
customresourcedefinition.apiextensions.k8s.io "s3connections.s3.stackable.tech" replaced
...
```

To install the `23.11` release run

```console
$ stackablectl release install 23.11
[INFO ] Installing release 23.11
[INFO ] Installing airflow operator in version 23.11.0
[INFO ] Installing commons operator in version 23.11.0
[INFO ] Installing druid operator in version 23.11.0
[INFO ] Installing hbase operator in version 23.11.0
[INFO ] Installing hdfs operator in version 23.11.0
[INFO ] Installing hive operator in version 23.11.0
[INFO ] Installing kafka operator in version 23.11.0
[INFO ] Installing listener operator in version 23.11.0
[INFO ] Installing hello-world operator in version 23.11.0
[INFO ] Installing nifi operator in version 23.11.0
[INFO ] Installing opa operator in version 23.11.0
[INFO ] Installing secret operator in version 23.11.0
[INFO ] Installing spark-k8s operator in version 23.11.0
[INFO ] Installing superset operator in version 23.11.0
[INFO ] Installing trino operator in version 23.11.0
[INFO ] Installing zookeeper operator in version 23.11.0
```

##### Using helm

Use `helm list` to list the currently installed operators.

You can use the following command to uninstall all operators that are part of the `23.7` release:

```console
$ helm uninstall airflow-operator commons-operator druid-operator hbase-operator hdfs-operator hive-operator kafka-operator listener-operator nifi-operator opa-operator secret-operator spark-k8s-operator superset-operator trino-operator zookeeper-operator
release "airflow-operator" uninstalled
release "commons-operator" uninstalled
# ...
```

Afterwards you will need to upgrade the CustomResourceDefinitions (CRDs) installed by the Stackable Platform. The reason for this is that helm will uninstall the operators but not the CRDs. This can be done using `kubectl replace`:

```console
kubectl replace -f https://raw.githubusercontent.com/stackabletech/airflow-operator/23.11.0/deploy/helm/airflow-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/commons-operator/23.11.0/deploy/helm/commons-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/druid-operator/23.11.0/deploy/helm/druid-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hbase-operator/23.11.0/deploy/helm/hbase-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hdfs-operator/23.11.0/deploy/helm/hdfs-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hello-world-operator/23.11.0/deploy/helm/hello-world-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hive-operator/23.11.0/deploy/helm/hive-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/kafka-operator/23.11.0/deploy/helm/kafka-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/listener-operator/23.11.0/deploy/helm/listener-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/nifi-operator/23.11.0/deploy/helm/nifi-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/opa-operator/23.11.0/deploy/helm/opa-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/secret-operator/23.11.0/deploy/helm/secret-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/spark-k8s-operator/23.11.0/deploy/helm/spark-k8s-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/superset-operator/23.11.0/deploy/helm/superset-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/trino-operator/23.11.0/deploy/helm/trino-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/zookeeper-operator/23.11.0/deploy/helm/zookeeper-operator/crds/crds.yaml
```

To install the `23.11` release run

```console
helm repo add stackable-stable https://repo.stackable.tech/repository/helm-stable/
helm repo update stackable-stable
helm install --wait airflow-operator stackable-stable/airflow-operator --version 23.11.0
helm install --wait commons-operator stackable-stable/commons-operator --version 23.11.0
helm install --wait druid-operator stackable-stable/druid-operator --version 23.11.0
helm install --wait hbase-operator stackable-stable/hbase-operator --version 23.11.0
helm install --wait hdfs-operator stackable-stable/hdfs-operator --version 23.11.0
helm install --wait hive-operator stackable-stable/hive-operator --version 23.11.0
helm install --wait kafka-operator stackable-stable/kafka-operator --version 23.11.0
helm install --wait listener-operator stackable-stable/listener-operator --version 23.11.0
helm install --wait hello-world-operator stackable-stable/hello-world-operator --version 23.11.0
helm install --wait nifi-operator stackable-stable/nifi-operator --version 23.11.0
helm install --wait opa-operator stackable-stable/opa-operator --version 23.11.0
helm install --wait secret-operator stackable-stable/secret-operator --version 23.11.0
helm install --wait spark-k8s-operator stackable-stable/spark-k8s-operator --version 23.11.0
helm install --wait superset-operator stackable-stable/superset-operator --version 23.11.0
helm install --wait trino-operator stackable-stable/trino-operator --version 23.11.0
helm install --wait zookeeper-operator stackable-stable/zookeeper-operator --version 23.11.0
```

##### Known upgrade issues

In the case of the breaking changes detailed above it will be necessary to update the custom resources and re-apply them. Additionally, please note the following:

###### All operators

If the default PVC size has been changed, then the StatefulSet must be deleted: it is not possible to change the PVC in the StatefulSet specification.

#### Known issues

[Spark-k8s: missing RBAC permission](https://github.com/stackabletech/spark-k8s-operator/pull/313). This has been fixed in the nightly build of the operator.

## Release 23.7

This release introduces the specification of resource quotas and pod overrides and updates the product versions supported by SDP.

### 23.7.0

Released on 2023-07-25.

#### New / extended platform features

The following new major platform features were added:

##### Resource Quotas

Explicit resources are now applied to all containers, for both operators and products. This allows running the Stackable Data Platform on Kubernetes clusters with a ResourceQuota or LimitRange set. Where these are not specified directly, defaults will be used. See [this issue](https://github.com/stackabletech/issues/issues/368) for more information.

##### Pod Overrides

It is now possible to add custom settings which specify elements of a pod template (Service, StatefulSet etc.) on roles or rolegroups, which the operator then merges with the objects it writes before actually applying them. This provides the user with a possibility for specifying any property that can be set on a regular Kubernetes Pod, but which is not directly exposed via the Stackable custom resource definition. Have a look at [the documentation](https://docs.stackable.tech/home/stable/concepts/overrides/index.md) for more details.

For example, with HDFS:

```
    roleGroups:
      default:
        replicas: 1
        podOverrides:
          spec:
            containers:
              - name: journalnode
                resources:
                  requests:
                    cpu: 110m
                  limits:
                    cpu: 410m
```

##### Openshift certification

OLM bundles - a pre-requisite for the Openshift certification process - have been created for each operator. All 15 SDP operators in release 23.4.1 are now Openshift-certified and deployable directly from within an Openshift cluster.

##### Signed SDP operator images

As of this release all Stackable operator images are signed (this feature will be added to product images in a subsequent release). More information about this, including how to verify the image signatures, can be found in this [guide](https://docs.stackable.tech/home/stable/guides/enabling-verification-of-image-signatures/index.md).

##### New Versions

The following new product versions are now supported:

-   [Airflow: 2.6.1](https://github.com/stackabletech/airflow-operator/pull/284)

-   [Druid: 26.0.0](https://github.com/stackabletech/druid-operator/pull/442)

-   [Kafka: 3.4.0](https://github.com/stackabletech/kafka-operator/pull/591)

-   [Nifi: 1.20.0, 1.21.0](https://github.com/stackabletech/nifi-operator/pull/464)

-   [Opa: 0.51](https://github.com/stackabletech/opa-operator/pull/451)

-   [Spark: 3.4.0](https://github.com/stackabletech/spark-k8s-operator/pull/243)

-   [Superset: 1.4.2, 1.5.3, 2.0.1, 2.1.0](https://github.com/stackabletech/superset-operator/pull/362)

-   [Trino: 414](https://github.com/stackabletech/trino-operator/pull/423)

-   [ZooKeeper: 3.8.1](https://github.com/stackabletech/zookeeper-operator/pull/689)


##### Deprecated Versions

The following product versions are deprecated and will be removed in a later release:

-   Airflow: 2.2.3, 2.2.4, 2.2.5, 2.4.1

-   Druid: 0.23.0, 24.0.0

-   HBase: 2.4.6, 2.4.8, 2.4.9, 2.4.11

-   HDFS: 3.2.2, 3.3.1, 3.3.3

-   Hive: 2.3.9

-   Kafka: 2.7.1, 2.8.1, 3.1.0, 3.2.0, 3.3.1

-   Nifi: 1.15.0, 1.15.1, 1.15.2, 1.15.3, 1.16.0, 1.16.1, 1.16.2, 1.16.3, 1.18.0

-   Opa: 0.27.1, 0.28.0, 0.37.2, 0.41.0, 0.45.0

-   Spark: 3.2.1, 3.3.0

-   Superset: 1.3.2, 1.4.1, 1.5.1

-   Trino: 377, 387, 395, 396, 403

-   Zookeeper: 3.5.8, 3.6.3, 3.7.0, 3.8.0


##### Removed Versions

No product versions have been removed.

##### Product features

Additionally, there are some individual product features that are noteworthy:

-   [HDFS: support for enabling secure mode with Kerberos](https://github.com/stackabletech/hdfs-operator/issues/334)

-   [Spark-k8s: support for using custom certificates when accessing S3 with TLS](https://github.com/stackabletech/spark-k8s-operator/issues/247)

-   [Trino: support for arbitrary connectors using the generic connector for e.g. access to PostgreSQL](https://github.com/stackabletech/trino-operator/issues/436)

-   [ZooKeeper: expose ZOOKEEPER\_CLIENT\_PORT in discovery CM](https://github.com/stackabletech/zookeeper-operator/issues/334)


#### stackablectl

There are no new demos in this platform release.

#### Supported Kubernetes versions

This release supports the following Kubernetes versions:

-   `1.26`

-   `1.25`

-   `1.24`


This Kubernetes version is no longer supported:

-   `1.23`


#### Supported OpenShift versions

This release supports the following OpenShift versions:

-   `4.11`

-   `4.10`


#### Breaking changes

The re-structuring of configuration definitions in certain operators will require you to adapt your existing CRDs as shown below.

##### Stackable Operator for Apache Airflow

[Consolidated remaining top level configuration to clusterConfig](https://github.com/stackabletech/airflow-operator/issues/271)

CRDs should be changed from e.g.

```
spec:
  ...
  executor: CeleryExecutor
  loadExamples: true
  exposeConfig: false
  credentialsSecret: test-airflow-credentials
  ...
```

to:

```
spec:
  ...
  clusterConfig:
    executor: CeleryExecutor
    loadExamples: true
    exposeConfig: false
    credentialsSecret: test-airflow-credentials
    ...
```

##### Stackable Operator for Apache Superset

[Moved all top level config options to clusterConfig. Authentication is now provided via an array of AuthenticationClasses and additional properties](https://github.com/stackabletech/superset-operator/issues/379)

CRDs should be changed from e.g.

```
spec:
  ...
  credentialsSecret: superset-credentials
  loadExamplesOnInit: false
  vectorAggregatorConfigMapName: vector-aggregator-discovery
  ...
```

to:

```
spec:
  ...
  clusterConfig:
    credentialsSecret: superset-credentials
    loadExamplesOnInit: false
    vectorAggregatorConfigMapName: vector-aggregator-discovery
    ...
```

##### Stackable Operator for Trino

[Reworked authentication mechanism](https://github.com/stackabletech/trino-operator/issues/434): The `clusterConfig.authentication` now requires a list of AuthenticationClass references instead of the MultiUser and LDAP separation.

CRDs should be changed from e.g.

```
spec:
  ...
  clusterConfig:
    authentication:
      method:
        multiUser:
          userCredentialsSecret:
            name: trino-users
  ...
```

referencing a Secret with bcrypt-ed data:

```
---
apiVersion: v1
kind: Secret
metadata:
  name: trino-users
type: kubernetes.io/opaque
stringData:
  # admin:admin
  admin: $2y$10$89xReovvDLacVzRGpjOyAOONnayOgDAyIS2nW9bs5DJT98q17Dy5i
  # alice:alice
  alice: $2y$10$HcCa4k9v2DRrD/g7e5vEz.Bk.1xg00YTEHOZjPX7oK3KqMSt2xT8W
  # bob:bob
  bob: $2y$10$xVRXtYZnYuQu66SmruijPO8WHFM/UK5QPHTr.Nzf4JMcZSqt3W.2.
```

to:

```
spec:
  ...
  clusterConfig:
    authentication:
      - authenticationClass: trino-users-auth
    ...
```

referencing an AuthenticationClass (which references a Secret with plain data):

```
---
apiVersion: authentication.stackable.tech/v1alpha1
kind: AuthenticationClass
metadata:
    name: trino-users-auth
spec:
  provider:
    static:
      userCredentialsSecret:
        name: trino-users
---
apiVersion: v1
kind: Secret
metadata:
  name: trino-users
type: kubernetes.io/opaque
stringData:
  admin: admin
  alice: alice
  bob: bob
```

#### Upgrade from 23.4

##### Using stackablectl

To uninstall the `23.4` release run

```console
$ stackablectl release uninstall 23.4
[INFO ] Uninstalling release 23.4
[INFO ] Uninstalling airflow operator
[INFO ] Uninstalling commons operator
# ...
```

Afterwards you will need to upgrade the CustomResourceDefinitions (CRDs) installed by the Stackable Platform. The reason for this is that helm will uninstall the operators but not the CRDs. This can be done using `kubectl replace`:

```
kubectl replace -f https://raw.githubusercontent.com/stackabletech/airflow-operator/23.7.0/deploy/helm/airflow-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/commons-operator/23.7.0/deploy/helm/commons-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/druid-operator/23.7.0/deploy/helm/druid-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hbase-operator/23.7.0/deploy/helm/hbase-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hdfs-operator/23.7.0/deploy/helm/hdfs-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hive-operator/23.7.0/deploy/helm/hive-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/kafka-operator/23.7.0/deploy/helm/kafka-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/listener-operator/23.7.0/deploy/helm/listener-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/nifi-operator/23.7.0/deploy/helm/nifi-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/opa-operator/23.7.0/deploy/helm/opa-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/secret-operator/23.7.0/deploy/helm/secret-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/spark-k8s-operator/23.7.0/deploy/helm/spark-k8s-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/superset-operator/23.7.0/deploy/helm/superset-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/trino-operator/23.7.0/deploy/helm/trino-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/zookeeper-operator/23.7.0/deploy/helm/zookeeper-operator/crds/crds.yaml
```

```console
customresourcedefinition.apiextensions.k8s.io "airflowclusters.airflow.stackable.tech" replaced
customresourcedefinition.apiextensions.k8s.io "airflowdbs.airflow.stackable.tech" replaced
customresourcedefinition.apiextensions.k8s.io "authenticationclasses.authentication.stackable.tech" replaced
customresourcedefinition.apiextensions.k8s.io "s3connections.s3.stackable.tech" replaced
...
```

To install the `23.7` release run

```console
$ stackablectl release install 23.7
[INFO ] Installing release 23.7
[INFO ] Installing airflow operator in version 23.7.0
[INFO ] Installing commons operator in version 23.7.0
[INFO ] Installing druid operator in version 23.7.0
[INFO ] Installing hbase operator in version 23.7.0
[INFO ] Installing hdfs operator in version 23.7.0
[INFO ] Installing hive operator in version 23.7.0
[INFO ] Installing kafka operator in version 23.7.0
[INFO ] Installing listener operator in version 23.7.0
[INFO ] Installing nifi operator in version 23.7.0
[INFO ] Installing opa operator in version 23.7.0
[INFO ] Installing secret operator in version 23.7.0
[INFO ] Installing spark-k8s operator in version 23.7.0
[INFO ] Installing superset operator in version 23.7.0
[INFO ] Installing trino operator in version 23.7.0
[INFO ] Installing zookeeper operator in version 23.7.0
```

##### Using helm

Use `helm list` to list the currently installed operators. You can use the following command to uninstall all operators that are part of the `23.4` release:

```console
$ helm uninstall airflow-operator commons-operator druid-operator hbase-operator hdfs-operator hive-operator kafka-operator listener-operator nifi-operator opa-operator secret-operator spark-k8s-operator superset-operator trino-operator zookeeper-operator
release "airflow-operator" uninstalled
release "commons-operator" uninstalled
# ...
```

Afterwards you will need to upgrade the CustomResourceDefinitions (CRDs) installed by the Stackable Platform. The reason for this is that helm will uninstall the operators but not the CRDs. This can be done using `kubectl replace`:

```console
kubectl replace -f https://raw.githubusercontent.com/stackabletech/airflow-operator/23.7.0/deploy/helm/airflow-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/commons-operator/23.7.0/deploy/helm/commons-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/druid-operator/23.7.0/deploy/helm/druid-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hbase-operator/23.7.0/deploy/helm/hbase-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hdfs-operator/23.7.0/deploy/helm/hdfs-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hive-operator/23.7.0/deploy/helm/hive-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/kafka-operator/23.7.0/deploy/helm/kafka-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/listener-operator/23.7.0/deploy/helm/listener-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/nifi-operator/23.7.0/deploy/helm/nifi-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/opa-operator/23.7.0/deploy/helm/opa-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/secret-operator/23.7.0/deploy/helm/secret-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/spark-k8s-operator/23.7.0/deploy/helm/spark-k8s-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/superset-operator/23.7.0/deploy/helm/superset-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/trino-operator/23.7.0/deploy/helm/trino-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/zookeeper-operator/23.7.0/deploy/helm/zookeeper-operator/crds/crds.yaml
```

To install the `23.7` release run

```console
helm repo add stackable-stable https://repo.stackable.tech/repository/helm-stable/
helm repo update stackable-stable
helm install --wait airflow-operator stackable-stable/airflow-operator --version 23.7.0
helm install --wait commons-operator stackable-stable/commons-operator --version 23.7.0
helm install --wait druid-operator stackable-stable/druid-operator --version 23.7.0
helm install --wait hbase-operator stackable-stable/hbase-operator --version 23.7.0
helm install --wait hdfs-operator stackable-stable/hdfs-operator --version 23.7.0
helm install --wait hive-operator stackable-stable/hive-operator --version 23.7.0
helm install --wait kafka-operator stackable-stable/kafka-operator --version 23.7.0
helm install --wait listener-operator stackable-stable/listener-operator --version 23.7.0
helm install --wait nifi-operator stackable-stable/nifi-operator --version 23.7.0
helm install --wait opa-operator stackable-stable/opa-operator --version 23.7.0
helm install --wait secret-operator stackable-stable/secret-operator --version 23.7.0
helm install --wait spark-k8s-operator stackable-stable/spark-k8s-operator --version 23.7.0
helm install --wait superset-operator stackable-stable/superset-operator --version 23.7.0
helm install --wait trino-operator stackable-stable/trino-operator --version 23.7.0
helm install --wait zookeeper-operator stackable-stable/zookeeper-operator --version 23.7.0
```

##### Known upgrade issues

In the case of the breaking changes detailed above it will be necessary to update the custom resources for Airflow, Superset and Trino clusters and re-apply them.

Additionally, please note the following:

###### All operators

If the default PVC size has been changed, then the StatefulSet must be deleted: it is not possible to change the PVC in the StatefulSet specification. The error message is similar to: ``StatefulSet.apps "trino-worker-default" is invalid: spec: Forbidden: updates to `StatefulSet`` spec for fields other than 'replicas', 'template', 'updateStrategy', \[…​\]\`

###### ZooKeeper operator

The ZooKeeper operator in this release expects a product image with the same version. An existing ZooKeeper cluster resource should be deleted and re-applied with the corresponding `stackableVersion` e.g.:

```yaml
spec:
  image:
    productVersion: 3.8.0
    stackableVersion: "23.7"
```

## Release 23.4

The focus in this platform release is on the support of default/custom affinities and the status field, as well as the rollout of log aggregation across the remaining operators. Additionally, all operators have been updated and tested for compatibility with OpenShift clusters (versions 4.10 and 4.11). Several operators from the 23.1 platform release were already certified against OpenShift.

### 23.4.1

Released 2023-05-17. This is a bugfix/patch-level release that fixes the following issues:

-   Fix missing custom resource defaults that are required for a release update. See [here](https://github.com/stackabletech/issues/issues/388).

-   Specify the security context to run as a member of the root group (this has been implemented for the following Stackable operators: Apache HBase, Apache HDFS, Apache ZooKeeper and Apache Spark on Kubernetes). This is required by Openshift clusters so that the product can be run with a random UID. This is a [requirement](https://airflow.apache.org/docs/docker-stack/entrypoint.html#allowing-arbitrary-user-to-run-the-container) for at least Airflow, but is Openshift policy as described [here](https://docs.openshift.com/container-platform/4.11/openshift_images/create-images.html#images-create-guide-openshift_create-images) and [here](https://developers.redhat.com/blog/2020/10/26/adapting-docker-and-kubernetes-containers-to-run-on-red-hat-openshift-container-platform).

-   Automatically migrate the name used for the bundle-builder container for OPA daemonsets. See [here](https://github.com/stackabletech/opa-operator/issues/444).

-   Automatically shorten the registration socket path used in listener-operator for Microk8s compatibility, migrated during upgrade. See [here](https://github.com/stackabletech/listener-operator/issues/76).


### 23.4.0

Released on 2023-04-19. This was the first release in the 23.4 release line. It is recommended to install [\[Release 23.4.1\]](https://docs.stackable.tech/home/stable/release-notes/index.md) instead, as it contains relevant bugfixes.

#### New / extended platform features

The following new major platform features were added:

##### Cluster Operation

The first part of [Cluster operations](https://docs.stackable.tech/home/stable/concepts/operations/cluster_operations/index.md) was rolled out in every applicable Stackable Operator. This supports pausing the cluster reconciliation and stopping the cluster completely. Pausing reconciliation will not apply any changes to the Kubernetes resources (e.g. when changing the custom resource). Stopping the cluster will set all replicas of StatefulSets, Deployments or DaemonSets to zero and therefore result in the deletion of all Pods belonging to that cluster (not the PVCs).

##### Status Field

Operators of the Stackable Data Platform create, manage and delete Kubernetes resources: in order to easily query the health state of the products - and react accordingly - Stackable Operators use several predefined condition types to capture different aspects of a product’s availability. See this [ADR](https://docs.stackable.tech/home/stable/release-notes/index.md) for more information.

##### Default / Custom Affinities

In Kubernetes there are different ways to influence how Pods are assigned to Nodes. In some cases it makes sense to co-locate certain services that communicate a lot with each other, such as HBase regionservers with HDFS datanodes. In other cases it makes sense to distribute the Pods among as many Nodes as possible. There may also be additional requirements e.g. placing important services - such as HDFS namenodes - in different racks, datacenter rooms or even datacenters. This release implements default affinities that should suffice for many scenarios out-of-the box, while also allowing for custom affinity rules at a role and/or role-group level. See this [ADR](https://docs.stackable.tech/home/stable/contributor/adr/ADR026-affinities/index.md) for more information.

##### Log Aggregation

The logging framework (added to the platform in Release 23.1) offers a consistent custom resource configuration and a separate, persisted sink (defaulting to OpenSearch). This has now been rolled out across all products. See this [ADR](https://docs.stackable.tech/home/stable/release-notes/index.md) and this [concepts page](https://docs.stackable.tech/home/stable/concepts/observability/logging/index.md) for more information.

##### Service Type

The Service type can now be specified in all products. This currently differentiates between the internal ClusterIP and the external NodePort and is forward compatible with the [ListenerClass](https://docs.stackable.tech/home/stable/listener-operator/listenerclass/index.md) for the automatic exposure of Services via the Listener Operator. This change is not backwards compatible with older platform releases. For security reasons, the default is set to the cluster-internal (ClusterIP) ListenerClass. A cluster can be exposed outside of Kubernetes by setting clusterConfig.listenerClass to external-unstable (NodePort) or external-stable (LoadBalancer).

##### New Versions

No new product versions are supported in this platform release.

##### Deprecated Versions

No product versions have been deprecated in this platform release.

##### Product features

Additionally, there are some individual product features that are noteworthy:

-   [Apache Airflow: load DAGs per git-sync](https://github.com/stackabletech/airflow-operator/issues/177)

-   [Apache HDFS: Rework HDFS TLS / Auth structs](https://github.com/stackabletech/hdfs-operator/issues/289)

-   [Trino: Rework HDFS TLS / Auth structs](https://github.com/stackabletech/trino-operator/issues/395)

-   [Secret operator: support running the Secret operator in unprivileged mode](https://github.com/stackabletech/secret-operator/pull/252)

-   [Secret operator: allow configuring CSI docker images](https://github.com/stackabletech/secret-operator/pull/235)

-   [Secret operator: Kerberos keytab provisioning](https://github.com/stackabletech/secret-operator/issues/4)


#### stackablectl

The following have been added to `stackablectl`:

##### Trino-iceberg demo

This is a condensed form of the [data-lakehouse-iceberg-trino-spark](https://docs.stackable.tech/home/stable/demos/data-lakehouse-iceberg-trino-spark/index.md) demo focusing on using the lakehouse to store and modify data. It demonstrates how to integrate Trino and Iceberg and should run on a local workstation.

##### Jupyterhub/Spark demo

This demo showcases the integration between Jupyter and Apache Hadoop deployed on the Stackable Data Platform (SDP) Kubernetes cluster. This demo can be installed on most cloud managed Kubernetes clusters as well as on premise or on a reasonably provisioned laptop.

The [quickstart guide](https://docs.stackable.tech/management/stable/stackablectl/quickstart/index.md) shows how to get started with `stackablectl`. This link lists the [available demos](https://docs.stackable.tech/home/stable/demos/index.md).

#### Supported Kubernetes versions

This release supports the following Kubernetes versions:

-   `1.26`

-   `1.25`

-   `1.24`

-   `1.23` (it is planned to discontinue support for this version in the next release)


#### Supported OpenShift versions

This release supports the following OpenShift versions:

-   `4.11`

-   `4.10`


#### Breaking changes

You will need to adapt your existing CRDs due to the following breaking changes detailed below.

##### All Stackable Operators

As mentioned above, specifying the service type is a breaking change for all operators. The default value is set to the `cluster-internal` `ListenerClass`: if the cluster requires external access outside of Kubernetes then set `clusterConfig.listenerClass` to `external-unstable` or `external-stable`:

```
spec:
  image:
    productVersion: "396"
    stackableVersion: "23.4.1"
  clusterConfig:
    listenerClass: external-unstable
```

This is an example for Trino, but the pattern is the same across all operators.

##### Stackable Operator for Apache Airflow

Existing Airflow clusters need to be deleted and recreated. Airflow metadata held in the database and DAGs saved on disk are not affected.

This is required because the UID of the Airflow user has [changed](https://github.com/stackabletech/airflow-operator/pull/219) to be in line with the rest of the platform.

##### Stackable Operator for Apache HBase

[Consolidated top level configuration to clusterConfig](https://github.com/stackabletech/hbase-operator/issues/329)

CRDs should be changed from e.g.

```
spec:
  ...
  hdfsConfigMapName: simple-hdfs
  zookeeperConfigMapName: simple-znode
```

to:

```
spec:
  ...
  clusterConfig:
    hdfsConfigMapName: simple-hdfs
    zookeeperConfigMapName: simple-znode
```

##### Stackable Operator for Apache Hadoop

[Consolidated top level configuration to clusterConfig](https://github.com/stackabletech/hdfs-operator/issues/289)

CRDs should be changed from e.g.

```
spec:
  ...
  zookeeperConfigMapName: simple-hdfs-znode
  dfsReplication: 3
  vectorAggregatorConfigMapName: vector-aggregator-discovery
```

to:

```
spec:
  ...
  clusterConfig:
    zookeeperConfigMapName: simple-hdfs-znode
    dfsReplication: 1
    vectorAggregatorConfigMapName: vector-aggregator-discovery
```

##### Stackable Operator for Apache Nifi

[Consolidated top level configuration to clusterConfig](https://github.com/stackabletech/nifi-operator/pull/417)

CRDs should be changed from e.g.

```
spec:
  ...
  zookeeperConfigMapName: simple-nifi-znode
```

to:

```
spec:
  ...
  clusterConfig:
    zookeeperConfigMapName: simple-nifi-znode
```

##### Stackable Operator for Apache Spark-k8s

Support has been dropped for the use of the `spec.{driver,executor}.nodeSelector` field. Use `spec.{driver,executor}.affinity.nodeSelector` instead - this is part of [Deploy default and support custom affinities in our operators](https://github.com/stackabletech/issues/issues/323)

CRDs should be changed from e.g.

```
spec:
  ...
  driver:
    nodeSelector:
```

to:

```
spec:
  ...
  driver:
    affinity:
```

##### Stackable Operator for Apache Trino

[Consolidated top level configuration to clusterConfig](https://github.com/stackabletech/trino-operator/issues/395)

CRDs should be changed from e.g.

```
spec:
  ...
  opa:
    configMapName: simple-opa
    package: trino
  authentication:
    method:
      multiUser:
        userCredentialsSecret:
          name: simple-trino-users-secret
  catalogLabelSelector:
    matchLabels:
      trino: simple-trino
  vectorAggregatorConfigMapName: vector-aggregator-discovery
```

to:

```
spec:
  ...
  clusterConfig:
    authentication:
      method:
        multiUser:
          userCredentialsSecret:
            name: simple-trino-users-secret
    authorization:
      opa:
        configMapName: simple-opa
        package: trino
    catalogLabelSelector:
      matchLabels:
        trino: simple-trino
    vectorAggregatorConfigMapName: vector-aggregator-discovery
```

#### Upgrade from 23.1

##### Using stackablectl

You can list the available releases as follows

```console
$ stackablectl release list

RELEASE            RELEASE DATE   DESCRIPTION
23.4               2023-04-25     Fifth release focusing on affinities and product status
23.1               2023-01-27     Fourth release focusing on image selection and logging
22.11              2022-11-08     Third release focusing on resource management
22.09              2022-09-09     Second release focusing on security and OpenShift support
22.06              2022-06-30     First official release of the Stackable Data Platform
```

To uninstall the `23.1` release run

```console
$ stackablectl release uninstall 23.1
[INFO ] Uninstalling release 23.1
[INFO ] Uninstalling airflow operator
[INFO ] Uninstalling commons operator
# ...
```

Afterwards you will need to upgrade the CustomResourceDefinitions (CRDs) installed by the Stackable Platform. The reason for this is that helm will uninstall the operators but not the CRDs. This can be done using `kubectl replace`:

```
kubectl replace -f https://raw.githubusercontent.com/stackabletech/airflow-operator/23.4.1/deploy/helm/airflow-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/commons-operator/23.4.1/deploy/helm/commons-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/druid-operator/23.4.1/deploy/helm/druid-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hbase-operator/23.4.1/deploy/helm/hbase-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hdfs-operator/23.4.1/deploy/helm/hdfs-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hive-operator/23.4.1/deploy/helm/hive-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/kafka-operator/23.4.1/deploy/helm/kafka-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/listener-operator/23.4.1/deploy/helm/listener-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/nifi-operator/23.4.1/deploy/helm/nifi-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/opa-operator/23.4.1/deploy/helm/opa-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/secret-operator/23.4.1/deploy/helm/secret-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/spark-k8s-operator/23.4.1/deploy/helm/spark-k8s-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/superset-operator/23.4.1/deploy/helm/superset-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/trino-operator/23.4.1/deploy/helm/trino-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/zookeeper-operator/23.4.1/deploy/helm/zookeeper-operator/crds/crds.yaml
```

```console
customresourcedefinition.apiextensions.k8s.io "airflowclusters.airflow.stackable.tech" replaced
customresourcedefinition.apiextensions.k8s.io "airflowdbs.airflow.stackable.tech" replaced
customresourcedefinition.apiextensions.k8s.io "authenticationclasses.authentication.stackable.tech" replaced
customresourcedefinition.apiextensions.k8s.io "s3connections.s3.stackable.tech" replaced
...
```

To install the `23.4` release run

```console
$ stackablectl release install 23.4
[INFO ] Installing release 23.4
[INFO ] Installing airflow operator in version 23.4.1
[INFO ] Installing commons operator in version 23.4.1
[INFO ] Installing druid operator in version 23.4.1
[INFO ] Installing hbase operator in version 23.4.1
[INFO ] Installing hdfs operator in version 23.4.1
[INFO ] Installing hive operator in version 23.4.1
[INFO ] Installing kafka operator in version 23.4.1
[INFO ] Installing listener operator in version 23.4.1
[INFO ] Installing nifi operator in version 23.4.1
[INFO ] Installing opa operator in version 23.4.1
[INFO ] Installing secret operator in version 23.4.1
[INFO ] Installing spark-k8s operator in version 23.4.1
[INFO ] Installing superset operator in version 23.4.1
[INFO ] Installing trino operator in version 23.4.1
[INFO ] Installing zookeeper operator in version 23.4.1
```

#### Using helm

Use `helm list` to list the currently installed operators.

You can use the following command to uninstall all operators that are part of the `23.1` release:

```console
$ helm uninstall airflow-operator commons-operator druid-operator hbase-operator hdfs-operator hive-operator kafka-operator listener-operator nifi-operator opa-operator secret-operator spark-k8s-operator superset-operator trino-operator zookeeper-operator
release "airflow-operator" uninstalled
release "commons-operator" uninstalled
# ...
```

Afterwards you will need to upgrade the CustomResourceDefinitions (CRDs) installed by the Stackable Platform. The reason for this is that helm will uninstall the operators but not the CRDs. This can be done using `kubectl replace`:

```console
kubectl replace -f https://raw.githubusercontent.com/stackabletech/airflow-operator/23.4.1/deploy/helm/airflow-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/commons-operator/23.4.1/deploy/helm/commons-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/druid-operator/23.4.1/deploy/helm/druid-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hbase-operator/23.4.1/deploy/helm/hbase-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hdfs-operator/23.4.1/deploy/helm/hdfs-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/hive-operator/23.4.1/deploy/helm/hive-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/kafka-operator/23.4.1/deploy/helm/kafka-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/listener-operator/23.4.1/deploy/helm/listener-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/nifi-operator/23.4.1/deploy/helm/nifi-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/opa-operator/23.4.1/deploy/helm/opa-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/secret-operator/23.4.1/deploy/helm/secret-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/spark-k8s-operator/23.4.1/deploy/helm/spark-k8s-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/superset-operator/23.4.1/deploy/helm/superset-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/trino-operator/23.4.1/deploy/helm/trino-operator/crds/crds.yaml
kubectl replace -f https://raw.githubusercontent.com/stackabletech/zookeeper-operator/23.4.1/deploy/helm/zookeeper-operator/crds/crds.yaml
```

To install the `23.4` release run

```console
helm repo add stackable-stable https://repo.stackable.tech/repository/helm-stable/
helm repo update stackable-stable
helm install --wait airflow-operator stackable-stable/airflow-operator --version 23.4.1
helm install --wait commons-operator stackable-stable/commons-operator --version 23.4.1
helm install --wait druid-operator stackable-stable/druid-operator --version 23.4.1
helm install --wait hbase-operator stackable-stable/hbase-operator --version 23.4.1
helm install --wait hdfs-operator stackable-stable/hdfs-operator --version 23.4.1
helm install --wait hive-operator stackable-stable/hive-operator --version 23.4.1
helm install --wait kafka-operator stackable-stable/kafka-operator --version 23.4.1
helm install --wait listener-operator stackable-stable/listener-operator --version 23.4.1
helm install --wait nifi-operator stackable-stable/nifi-operator --version 23.4.1
helm install --wait opa-operator stackable-stable/opa-operator --version 23.4.1
helm install --wait secret-operator stackable-stable/secret-operator --version 23.4.1
helm install --wait spark-k8s-operator stackable-stable/spark-k8s-operator --version 23.4.1
helm install --wait superset-operator stackable-stable/superset-operator --version 23.4.1
helm install --wait trino-operator stackable-stable/trino-operator --version 23.4.1
helm install --wait zookeeper-operator stackable-stable/zookeeper-operator --version 23.4.1
```

## Release 23.1

### 23.1.0

Released on 2023-01-26. This release marks a major change in the way operator and product images are versioned. Up until now, operators were versioned independently of each other and a platform release was a loosely coupled set of operator versions. This had major disadvantages both technical and organisational.

On the technical side, a multi-dimensional matrix of versions had to be tested, documentation cross-references had to be maintained and coordinating a platform release was extremely difficult.

Organizationally the biggest challenge was communication and coordination within the teams as well as to and with users. As a result, starting with this release, all operator and product images are versioned in lock-step. This platform release is marked `23.1` and all included components are tagged with `23.1.0`. Eventual patch versions of the components that might follow and will be tagged with `23.1.1`, `23.1.2` and so on.

The focus in this platform release is on the support of offline (or on-premise) product images and the partial rollout of logging support.

#### New platform features

The following new major platform features were added:

##### Product image selection

Product image selection has been expanded to cover different scenarios:

-   Stackable-provided product images, defined with the repository, the product version and the stackable tag

-   As above, but without the stackable tag (whereby the most recent tagged image will be taken)

-   The product version and a full repository path (this allows fully-customized product images)


These options are described in more detail [in this ADR](https://docs.stackable.tech/home/stable/contributor/adr/ADR023-product-image-selection/index.md) and on [this concepts page](https://docs.stackable.tech/home/stable/concepts/product-image-selection/index.md).

**N.B.** this is a breaking change across all operators as `spec.version` has been replaced by `spec.image`.

##### Logging Aggregation

Component activity within the platform is logged in a way that makes it difficult to find, persist and consolidate this information. Log configuration is also a challenge. To address these two issues a logging framework has been added to the platform, offering a consistent custom resource configuration and a separate, persisted sink (the current implementation support OpenSearch). This is discussed in more detail [in this ADR](https://docs.stackable.tech/home/stable/contributor/adr/ADR025-logging_architecture/index.md) and [on this concepts page](https://docs.stackable.tech/home/stable/concepts/observability/logging/index.md).

In this release this has been added to the following components:

-   [Apache HBase](https://github.com/stackabletech/hbase-operator/pull/294)

-   [Apache Hadoop](https://github.com/stackabletech/hdfs-operator/pull/290)

-   [Apache Zookeeper](https://github.com/stackabletech/zookeeper-operator/pull/588)


Support for other products will be added in future releases.

##### New Versions

The following new product version is now supported:

-   [Trino 403](https://github.com/stackabletech/trino-operator/pull/358)


##### Deprecated Versions

The following product version is no longer supported:

-   [Druid 0.22.1](https://github.com/stackabletech/druid-operator/pull/339)


##### Product features

Additionally, there are some individual product features that are noteworthy

-   [The Druid segment cache size is configurable](https://github.com/stackabletech/druid-operator/pull/342)

-   [Druid support for TLS encryption and authentication](https://github.com/stackabletech/druid-operator/pull/333)

-   [HDFS support for multiple storage directories](https://github.com/stackabletech/hdfs-operator/pull/296)

-   [Support for Spark History Server](https://github.com/stackabletech/spark-k8s-operator/pull/187)

-   [Trino support for Google Sheets connector](https://github.com/stackabletech/trino-operator/pull/337)

-   [Trino support for Black Hole connector](https://github.com/stackabletech/trino-operator/pull/347)


#### stackablectl

The following have been added to `stackablectl`:

##### Logging demo

This illustrates how to set up logging for Zookeeper and browse the results in an Open Search dashboard. This has been implemented for HBase, Hadoop and Zookeeper and will eventually be available for all Stackable operators.

##### LDAP stack and tutorial

LDAP support has now been added to multiple products. An explanation of the overall approach is given [here](https://docs.stackable.tech/home/stable/concepts/authentication/index.md) but in order to make the configuration steps a little clearer a [tutorial](https://docs.stackable.tech/home/stable/tutorials/authentication_with_openldap/index.md) has been added that uses a dedicated Stackable [stack](https://docs.stackable.tech/management/stable/stackablectl/commands/stack/index.md) for OpenLDAP and shows its usage.

The [quickstart guide](https://docs.stackable.tech/management/stable/stackablectl/quickstart/index.md) shows how to get started with `stackablectl`. This link lists the [available demos](https://docs.stackable.tech/home/stable/demos/index.md).

#### Supported Kubernetes versions

This release supports the following Kubernetes versions:

-   `1.25`

-   `1.24`

-   `1.23`

-   `1.22`


#### Breaking changes

This release brings with it several breaking changes needed to future-proof the platform. You will need to adapt your existing CRDs due to the following breaking changes:

##### All Stackable Operators

As mentioned above, product image selection is a breaking for all operators. Previously the product image was declared using `spec.version`:

```
spec:
  version: 396-stackable23.1
```

(example for Trino)

This must now be replaced with `spec.image`:

```
spec:
  image:
    productVersion: 396
    stackableVersion: 23.1
```

This is the same pattern across operators. so for Hive the change would look like this. From:

```
spec:
  version: 3.1.3-stackable23.1
```

to

```
spec:
  image:
    productVersion: 3.1.3
    stackableVersion: 23.1
```

##### Stackable Operator for Apache Druid

-   [Tools image replaced with Druid image](https://github.com/stackabletech/druid-operator/pull/358) This means a stackable version >= 23.1 has to be used for the product image.

-   [Reworked top level configuration to support TLS changes](https://github.com/stackabletech/druid-operator/pull/333) Deep storage, Ingestion spec, discovery config maps, authentication etc. are now subfields of spec.clusterConfig instead of being top level under spec. Change the resource from e.g.:


```
  zookeeperConfigMapName: simple-druid-znode
  metadataStorageDatabase:
    dbType: derby
    connString: jdbc:derby://localhost:1527/var/druid/metadata.db;create=true
    host: localhost
    port: 1527
  deepStorage:
    hdfs:
      configMapName: simple-hdfs
      directory: /data
```

to

```
  clusterConfig:
    deepStorage:
      hdfs:
        configMapName: simple-hdfs
        directory: /data
    metadataStorageDatabase:
      dbType: derby
      connString: jdbc:derby://localhost:1527/var/druid/metadata.db;create=true
      host: localhost
      port: 1527
    tls: null
    zookeeperConfigMapName: simple-druid-znode
```

##### Stackable Operator for Apache Hadoop

[Enable Log Aggregation for HDFS](https://github.com/stackabletech/hdfs-operator/issues/290)

As part of the change mentioned above we also did some code cleanup that allowed us to remove arbitrary hard-coded values from the operator. This change affects the directory structure the operator creates inside of the `PersistentVolumes` used for permanent storage.

The old folder naming was:

-   DataNode → `data`

-   JournalNode → `journal`

-   NameNode → `name`


which has now been adopted to match the actual rolename:

-   DataNode → `datanode`

-   JournalNode → `journalnode`

-   NameNode → `namenode`


Unfortunately, this means that for cluster that where initially rolled out with an older operator version, a one-time migration step becomes necessary to rename these directories.

You can either do this manually by attaching the PVs to a pod and performing the rename (cluster needs to be stopped for this) or use the script provided below.

> **Warning:** Please be aware that if this script runs after the cluster was already restarted with the newer operator version it will delete any data that was written to the empty post-upgrade HDFS that was stood up by the new operator.

```bash
#!/usr/bin/env bash

if [ $# -ne 1 ] ; then
     echo "Usage: $0 CLUSTER_NAME"
     exit 1
else
    HDFS_CLUSTER_NAME=$1
fi

kubectl get pvc -l app.kubernetes.io/name=hdfs -l app.kubernetes.io/instance="$HDFS_CLUSTER_NAME"
for pvc in $(kubectl get pvc -l app.kubernetes.io/name=hdfs -l app.kubernetes.io/instance="$HDFS_CLUSTER_NAME" -l app.kubernetes.io/component=journalnode -o name | sed -e 's#persistentvolumeclaim/##'); do
kubectl apply -f - << EOF
apiVersion: batch/v1
kind: Job
metadata:
  name: migrate-journalnode-${pvc}
spec:
  template:
    spec:
      containers:
        - name: migrate
          image: docker.stackable.tech/stackable/hadoop:3.3.4-stackable23.1.0
          command: ["bash", "-c", "ls -la /stackable/data && if [ -d /stackable/data/journal ]; then echo Removing might existing target dir && rm -rf /stackable/data/journalnode && echo Renaming folder && mv /stackable/data/journal /stackable/data/journalnode; else echo Nothing to do; fi"]
          volumeMounts:
            - name: data
              mountPath: /stackable/data
      volumes:
        - name: data
          persistentVolumeClaim:
            claimName: ${pvc}
      restartPolicy: Never
  backoffLimit: 1
EOF
done
for pvc in $(kubectl get pvc -l app.kubernetes.io/name=hdfs -l app.kubernetes.io/instance="$HDFS_CLUSTER_NAME" -l app.kubernetes.io/component=namenode -o name | sed -e 's#persistentvolumeclaim/##'); do
kubectl apply -f - << EOF
apiVersion: batch/v1
kind: Job
metadata:
  name: migrate-namenode-${pvc}
spec:
  template:
    spec:
      containers:
        - name: migrate
          image: docker.stackable.tech/stackable/hadoop:3.3.4-stackable23.1.0
          command: ["bash", "-c", "ls -la /stackable/data && if [ -d /stackable/data/name ]; then echo Removing might existing target dir && rm -rf /stackable/data/namenode && echo Renaming folder && mv /stackable/data/name /stackable/data/namenode; else echo Nothing to do; fi"]
          volumeMounts:
            - name: data
              mountPath: /stackable/data
      volumes:
        - name: data
          persistentVolumeClaim:
            claimName: ${pvc}
      restartPolicy: Never
  backoffLimit: 1
EOF
done
for pvc in $(kubectl get pvc -l app.kubernetes.io/name=hdfs -l app.kubernetes.io/instance="$HDFS_CLUSTER_NAME" -l app.kubernetes.io/component=datanode -o name | sed -e 's#persistentvolumeclaim/##'); do
kubectl apply -f - << EOF
apiVersion: batch/v1
kind: Job
metadata:
  name: migrate-datanode-${pvc}
spec:
  template:
    spec:
      containers:
        - name: migrate
          image: docker.stackable.tech/stackable/hadoop:3.3.4-stackable23.1.0
          command: ["bash", "-c", "ls -la /stackable/data/data && if [ -d /stackable/data/data/data ]; then echo Removing might existing target dir && rm -rf /stackable/data/data/datanode && echo Renaming folder && mv /stackable/data/data/data /stackable/data/data/datanode; else echo Nothing to do; fi"]
          volumeMounts:
            - name: data
              mountPath: /stackable/data/data
      volumes:
        - name: data
          persistentVolumeClaim:
            claimName: ${pvc}
      restartPolicy: Never
  backoffLimit: 1
EOF
done
```

The migration process for this now becomes:

-   Stop HDFS cluster by either removing the HdfsCluster definition object or scaling all roles to 0 replicas

-   Uninstall Stackable Operator for Apache Hadoop

-   Run migration script

-   Install newer version of Stackable Operator for Apache Hadoop


##### Stackable Operator for Apache Hive

-   [Moved database specification from role/role-group level to top-level clusterConfig](https://github.com/stackabletech/hive-operator/pull/292)

-   [Moved s3, serviceType and hdfs discovery to top-level clusterConfig](https://github.com/stackabletech/hive-operator/pull/292)


These two changes mean that resources previously defined like this:

```
  s3:
    reference: minio
  metastore:
    roleGroups:
      default:
        replicas: 1
        config:
          database:
            connString: jdbc:postgresql://hive-postgresql:5432/hive
            user: hive
            password: hive
            dbType: postgres
```

will now be defined like this:

```
  clusterConfig:
    database:
      connString: jdbc:postgresql://hive-postgresql:5432/hive
      user: hive
      password: hive
      dbType: postgres
    s3:
      reference: minio
  metastore:
    roleGroups:
      default:
        replicas: 1
```

##### Stackable Operator for Apache Kafka

-   [Remove the tools image and add kcat to the product image](https://github.com/stackabletech/kafka-operator/pull/527): This means a stackable version >= 23.1 has to be used for the product image.

-   [Consolidate TLS encryption and authentication](https://github.com/stackabletech/kafka-operator/pull/532)


```
spec:
  ...
  zookeeperConfigMapName: simple-kafka-znode
  config:
    authentication:
      - authenticationClass: kafka-client-auth-tls
    tls:
      secretClass: tls
    clientAuthentication:
      authenticationClass: kafka-client-auth-tls
    internalTls:
      secretClass: kafka-internal-tls
```

Changes to:

```
spec:
  ...
  clusterConfig:
    authentication:
      - authenticationClass: kafka-client-auth-tls
    tls:
      internalSecretClass: kafka-internal-tls
      serverSecretClass: tls
    zookeeperConfigMapName: simple-kafka-znode
```

##### Stackable Operator for Apache Nifi

[Removed tools image](https://github.com/stackabletech/nifi-operator/pull/397): This means a stackable version >= 23.1 has to be used for the product image.

#### Stackable Operator for Trino

-   [Removed tools image](https://github.com/stackabletech/trino-operator/pull/357): This means a stackable version >= 23.1 has to be used for the product image.

-   [Use user and password Secret keys for LDAP bind credentials Secrets, instead of env var names](https://github.com/stackabletech/trino-operator/pull/362)


This changes the secret definition from:

```
stringData:
  LDAP_USER: cn=admin,dc=example,dc=org
  LDAP_PASSWORD: admin
```

to:

```
stringData:
  user: cn=admin,dc=example,dc=org
  password: admin
```

##### Stackable Operator for Apache Zookeeper

[Consolidate config](https://github.com/stackabletech/zookeeper-operator/pull/612): Similar to the Kafka example above, the configuration settings are consolidated under `.spec` i.e. from:

```
  config:
    tls:
      secretClass: tls
    clientAuthentication:
      authenticationClass: zk-client-tls
    quorumTlsSecretClass: tls
```

to:

```
  clusterConfig:
    authentication:
      - authenticationClass: zk-client-tls
    tls:
      serverSecretClass: tls
      quorumSecretClass: tls
```

#### Upgrade from 22.11

##### Using stackablectl

You can list the available releases as follows

```console
$ stackablectl release list
RELEASE            RELEASE DATE   DESCRIPTION
23.1               2023-01-27     Fourth release focusing on image selection and logging
22.11              2022-11-08     Third release focusing on resource management
22.09              2022-09-09     Second release focusing on security and OpenShift support
22.06              2022-06-30     First official release of the Stackable Data Platform
```

To uninstall the `22.11` release run

```console
$ stackablectl release uninstall 22.11
[INFO ] Uninstalling release 22.11
[INFO ] Uninstalling airflow operator
[INFO ] Uninstalling commons operator
# ...
```

Afterwards you will need to update the CustomResourceDefinitions (CRDs) installed by the Stackable Platform. The reason for this is that helm will uninstall the operators but not the CRDs.

```console
$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/airflow-operator/23.1.0/deploy/helm/airflow-operator/crds/crds.yaml
$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/commons-operator/23.1.0/deploy/helm/commons-operator/crds/crds.yaml
$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/druid-operator/23.1.0/deploy/helm/druid-operator/crds/crds.yaml
$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/hbase-operator/23.1.0/deploy/helm/hbase-operator/crds/crds.yaml
$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/hdfs-operator/23.1.0/deploy/helm/hdfs-operator/crds/crds.yaml
$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/hive-operator/23.1.0/deploy/helm/hive-operator/crds/crds.yaml
$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/kafka-operator/23.1.0/deploy/helm/kafka-operator/crds/crds.yaml
$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/nifi-operator/23.1.0/deploy/helm/nifi-operator/crds/crds.yaml
$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/opa-operator/23.1.0/deploy/helm/opa-operator/crds/crds.yaml
$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/secret-operator/23.1.0/deploy/helm/secret-operator/crds/crds.yaml
$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/spark-k8s-operator/23.1.0/deploy/helm/spark-k8s-operator/crds/crds.yaml
$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/superset-operator/23.1.0/deploy/helm/superset-operator/crds/crds.yaml
$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/trino-operator/23.1.0/deploy/helm/trino-operator/crds/crds.yaml
$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/zookeeper-operator/23.1.0/deploy/helm/zookeeper-operator/crds/crds.yaml
```

To install the `23.1` release run

```console
$ stackablectl release install 23.1
[INFO ] Installing release 23.1
[INFO ] Installing airflow operator in version 23.1.0
[INFO ] Installing commons operator in version 23.1.0
[INFO ] Installing druid operator in version 23.1.0
[INFO ] Installing hbase operator in version 23.1.0
[INFO ] Installing hdfs operator in version 23.1.0
[INFO ] Installing hive operator in version 23.1.0
[INFO ] Installing kafka operator in version 23.1.0
[INFO ] Installing listener operator in version 23.1.0
[INFO ] Installing nifi operator in version 23.1.0
[INFO ] Installing opa operator in version 23.1.0
[INFO ] Installing secret operator in version 23.1.0
[INFO ] Installing spark-k8s operator in version 23.1.0
[INFO ] Installing superset operator in version 23.1.0
[INFO ] Installing trino operator in version 23.1.0
[INFO ] Installing zookeeper operator in version 23.1.0
# ...
```

##### Using helm

Use `helm list` to list the currently installed operators. You can use the following command to uninstall all operators that are part of the release 22.11:

```console
$ helm uninstall airflow-operator commons-operator druid-operator hbase-operator hdfs-operator hive-operator kafka-operator nifi-operator opa-operator secret-operator spark-k8s-operator superset-operator trino-operator zookeeper-operator
release "airflow-operator" uninstalled
release "commons-operator" uninstalled
# ...
```

Afterwards you will need to update the CustomResourceDefinitions (CRDs) installed by the Stackable Platform. This is because helm will uninstall the operators but not the CRDs.

```console
$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/airflow-operator/23.1.0/deploy/helm/airflow-operator/crds/crds.yaml
$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/commons-operator/23.1.0/deploy/helm/commons-operator/crds/crds.yaml
$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/druid-operator/23.1.0/deploy/helm/druid-operator/crds/crds.yaml
$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/hbase-operator/23.1.0/deploy/helm/hbase-operator/crds/crds.yaml
$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/hdfs-operator/23.1.0/deploy/helm/hdfs-operator/crds/crds.yaml
$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/hive-operator/23.1.0/deploy/helm/hive-operator/crds/crds.yaml
$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/kafka-operator/23.1.0/deploy/helm/kafka-operator/crds/crds.yaml
$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/nifi-operator/23.1.0/deploy/helm/nifi-operator/crds/crds.yaml
$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/opa-operator/23.1.0/deploy/helm/opa-operator/crds/crds.yaml
$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/secret-operator/23.1.0/deploy/helm/secret-operator/crds/crds.yaml
$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/spark-k8s-operator/23.1.0/deploy/helm/spark-k8s-operator/crds/crds.yaml
$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/superset-operator/23.1.0/deploy/helm/superset-operator/crds/crds.yaml
$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/trino-operator/23.1.0/deploy/helm/trino-operator/crds/crds.yaml
$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/zookeeper-operator/23.1.0/deploy/helm/zookeeper-operator/crds/crds.yaml
```

To install the release 23.1 run

```console
$ helm repo add stackable-stable https://repo.stackable.tech/repository/helm-stable/
$ helm repo update stackable-stable
$ helm install --wait airflow-operator stackable-stable/airflow-operator --version 23.1.0
$ helm install --wait commons-operator stackable-stable/commons-operator --version 23.1.0
$ helm install --wait druid-operator stackable-stable/druid-operator --version 23.1.0
$ helm install --wait hbase-operator stackable-stable/hbase-operator --version 23.1.0
$ helm install --wait hdfs-operator stackable-stable/hdfs-operator --version 23.1.0
$ helm install --wait hive-operator stackable-stable/hive-operator --version 23.1.0
$ helm install --wait kafka-operator stackable-stable/kafka-operator --version 23.1.0
$ helm install --wait listener-operator stackable-stable/listener-operator --version 23.1.0
$ helm install --wait nifi-operator stackable-stable/nifi-operator --version 23.1.0
$ helm install --wait opa-operator stackable-stable/opa-operator --version 23.1.0
$ helm install --wait secret-operator stackable-stable/secret-operator --version 23.1.0
$ helm install --wait spark-k8s-operator stackable-stable/spark-k8s-operator --version 23.1.0
$ helm install --wait superset-operator stackable-stable/superset-operator --version 23.1.0
$ helm install --wait trino-operator stackable-stable/trino-operator --version 23.1.0
$ helm install --wait zookeeper-operator stackable-stable/zookeeper-operator --version 23.1.0
```

## Release 22.11

### 22.11.0

Released on 2022-11-09. This is the third release of the Stackable Data Platform, which this time focuses on resource management.

#### New platform features

The following new major platform features were added:

##### CPU and memory limits configurable

The operators now [request](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/) resources from Kubernetes for the products and required CPU and memory can now also be configured for all products. If your product instances are less performant after the update, the new defaults might be set too low and we recommend to [set custom requests](https://docs.stackable.tech/home/stable/kafka/usage-guide/storage-resources/index.md) for your cluster.

-   [OpenPolicyAgent](https://github.com/stackabletech/opa-operator/pull/347)

-   [Apache ZooKeeper](https://github.com/stackabletech/zookeeper-operator/pull/563)

-   [Apache Kafka](https://github.com/stackabletech/kafka-operator/pull/485)

-   [Apache HBase](https://github.com/stackabletech/hbase-operator/pull/245)

-   [Apache Hive](https://github.com/stackabletech/hive-operator/pull/242)

-   [Apache NiFi](https://github.com/stackabletech/nifi-operator/pull/353)

-   [Apache Druid](https://github.com/stackabletech/druid-operator/pull/298)

-   [Apache Airflow](https://github.com/stackabletech/airflow-operator/pull/167)

-   [Apache Superset](https://github.com/stackabletech/superset-operator/pull/273)


##### Orphaned Resources

The operators now properly clean up after scaling down products. This means for example deleting StatefulSets that were left over after scaling down.

-   [Apache ZooKeeper](https://github.com/stackabletech/zookeeper-operator/pull/569)

-   [Apache HBase](https://github.com/stackabletech/hbase-operator/pull/215)

-   [Apache Hadoop HDFS](https://github.com/stackabletech/hdfs-operator/pull/249)

-   [Apache Hive](https://github.com/stackabletech/hive-operator/pull/254)

-   [Apache Druid](https://github.com/stackabletech/druid-operator/pull/310)

-   [Trino](https://github.com/stackabletech/trino-operator/pull/310)

-   [Apache Airflow](https://github.com/stackabletech/airflow-operator/pull/174)


##### New Versions

New product versions are supported.

-   [Apache Kafka 3.3.1](https://github.com/stackabletech/kafka-operator/pull/492)

-   [Apache Hadoop HDFS 3.3.4](https://github.com/stackabletech/hdfs-operator/pull/250)

-   [Apache NiFi 1.18.0](https://github.com/stackabletech/nifi-operator/pull/360)

-   [Apache Druid 24.0.0](https://github.com/stackabletech/druid-operator/pull/317)

-   [Apache Airflow 2.4.1](https://github.com/stackabletech/airflow-operator/pull/179)


##### Product features

Additionally there are some individual product features that are noteworthy

-   [HBase: Phoenix support](https://github.com/stackabletech/kafka-operator/pull/221)

-   [Hive: Support HDFS connection](https://github.com/stackabletech/hive-operator/pull/264)

-   [NiFi: Support for in-place upgrades](https://github.com/stackabletech/nifi-operator/pull/323)

-   [NiFi: repository sizes are now adjusted based on declared PVC sizes](https://github.com/stackabletech/nifi-operator/pull/371)

-   [Trino: Support for LDAP authentication](https://github.com/stackabletech/trino-operator/pull/306)

-   The github repositories contain new and improved READMEs.


#### Supported Kubernetes versions

This release supports the following Kubernetes versions:

-   `1.25` (new)

-   `1.24`

-   `1.23`

-   `1.22`


#### Upgrade from 22.09

##### Using stackablectl

You can list the available releases as follows

```console
$ stackablectl release list
RELEASE            RELEASE DATE   DESCRIPTION
22.11              2022-11-08     Third release focusing on resource management
22.09              2022-09-09     Second release focusing on security and OpenShift support
22.06              2022-06-30     First official release of the Stackable Data Platform
```

To uninstall the `22.09` release run

```console
$ stackablectl release uninstall 22.09
[INFO ] Uninstalling release 22.09
[INFO ] Uninstalling airflow operator
[INFO ] Uninstalling commons operator
# ...
```

Afterwards you will need to update the CustomResourceDefinitions (CRDs) installed by the Stackable Platform. The reason for this is that helm will uninstall the operators but not the CRDs.

```console
$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/airflow-operator/0.6.0/deploy/helm/airflow-operator/crds/crds.yaml
$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/commons-operator/0.4.0/deploy/helm/commons-operator/crds/crds.yaml
$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/druid-operator/0.8.0/deploy/helm/druid-operator/crds/crds.yaml
$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/hbase-operator/0.5.0/deploy/helm/hbase-operator/crds/crds.yaml
$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/hdfs-operator/0.6.0/deploy/helm/hdfs-operator/crds/crds.yaml
$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/hive-operator/0.8.0/deploy/helm/hive-operator/crds/crds.yaml
$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/kafka-operator/0.8.0/deploy/helm/kafka-operator/crds/crds.yaml
$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/nifi-operator/0.8.0/deploy/helm/nifi-operator/crds/crds.yaml
$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/opa-operator/0.11.0/deploy/helm/opa-operator/crds/crds.yaml
$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/secret-operator/0.6.0/deploy/helm/secret-operator/crds/crds.yaml
$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/spark-k8s-operator/0.6.0/deploy/helm/spark-k8s-operator/crds/crds.yaml
$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/superset-operator/0.7.0/deploy/helm/superset-operator/crds/crds.yaml
$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/trino-operator/0.8.0/deploy/helm/trino-operator/crds/crds.yaml
$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/zookeeper-operator/0.12.0/deploy/helm/zookeeper-operator/crds/crds.yaml
```

To install the `22.11` release run

```console
$ stackablectl release install 22.11
[INFO ] Installing release 22.11
[INFO ] Installing airflow operator in version 0.6.0
[INFO ] Installing commons operator in version 0.4.0
[INFO ] Installing druid operator in version 0.8.0
[INFO ] Installing hbase operator in version 0.5.0
[INFO ] Installing hdfs operator in version 0.6.0
[INFO ] Installing hive operator in version 0.8.0
[INFO ] Installing kafka operator in version 0.8.0
[INFO ] Installing nifi operator in version 0.8.0
[INFO ] Installing opa operator in version 0.11.0
[INFO ] Installing secret operator in version 0.6.0
[INFO ] Installing spark-k8s operator in version 0.6.0
[INFO ] Installing superset operator in version 0.7.0
[INFO ] Installing trino operator in version 0.7.0
[INFO ] Installing zookeeper operator in version 0.12.0
# ...
```

##### Using helm

Use `helm list` to list the currently installed operators. You can use the following command to uninstall all of the operators that are part of the release 22.09:

```console
$ helm uninstall airflow-operator commons-operator druid-operator hbase-operator hdfs-operator hive-operator kafka-operator nifi-operator opa-operator secret-operator spark-k8s-operator superset-operator trino-operator zookeeper-operator
release "airflow-operator" uninstalled
release "commons-operator" uninstalled
# ...
```

Afterwards you will need to update the CustomResourceDefinitions (CRDs) installed by the Stackable Platform. This is because helm will uninstall the operators but not the CRDs.

```console
$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/airflow-operator/0.6.0/deploy/helm/airflow-operator/crds/crds.yaml
$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/commons-operator/0.4.0/deploy/helm/commons-operator/crds/crds.yaml
$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/druid-operator/0.8.0/deploy/helm/druid-operator/crds/crds.yaml
$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/hbase-operator/0.5.0/deploy/helm/hbase-operator/crds/crds.yaml
$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/hdfs-operator/0.6.0/deploy/helm/hdfs-operator/crds/crds.yaml
$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/hive-operator/0.8.0/deploy/helm/hive-operator/crds/crds.yaml
$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/kafka-operator/0.8.0/deploy/helm/kafka-operator/crds/crds.yaml
$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/nifi-operator/0.8.0/deploy/helm/nifi-operator/crds/crds.yaml
$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/opa-operator/0.11.0/deploy/helm/opa-operator/crds/crds.yaml
$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/secret-operator/0.6.0/deploy/helm/secret-operator/crds/crds.yaml
$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/spark-k8s-operator/0.6.0/deploy/helm/spark-k8s-operator/crds/crds.yaml
$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/superset-operator/0.7.0/deploy/helm/superset-operator/crds/crds.yaml
$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/trino-operator/0.8.0/deploy/helm/trino-operator/crds/crds.yaml
$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/zookeeper-operator/0.12.0/deploy/helm/zookeeper-operator/crds/crds.yaml
```

To install the release 22.11 run

```console
$ helm repo add stackable-stable https://repo.stackable.tech/repository/helm-stable/
$ helm repo update stackable-stable
$ helm install --wait airflow-operator stackable-stable/airflow-operator --version 0.6.0
$ helm install --wait commons-operator stackable-stable/commons-operator --version 0.4.0
$ helm install --wait druid-operator stackable-stable/druid-operator --version 0.8.0
$ helm install --wait hbase-operator stackable-stable/hbase-operator --version 0.5.0
$ helm install --wait hdfs-operator stackable-stable/hdfs-operator --version 0.6.0
$ helm install --wait hive-operator stackable-stable/hive-operator --version 0.8.0
$ helm install --wait kafka-operator stackable-stable/kafka-operator --version 0.8.0
$ helm install --wait nifi-operator stackable-stable/nifi-operator --version 0.8.0
$ helm install --wait opa-operator stackable-stable/opa-operator --version 0.11.0
$ helm install --wait secret-operator stackable-stable/secret-operator --version 0.6.0
$ helm install --wait spark-k8s-operator stackable-stable/spark-k8s-operator --version 0.6.0
$ helm install --wait superset-operator stackable-stable/superset-operator --version 0.7.0
$ helm install --wait trino-operator stackable-stable/trino-operator --version 0.7.0
$ helm install --wait zookeeper-operator stackable-stable/zookeeper-operator --version 0.12.0
```

#### Breaking changes

You will need to adapt your existing CRDs due to the following breaking changes:

##### Stackable Operator for Apache Spark

The configuration of pod resource requests has been changed to be consistent with other operators that are part of the Stackable Data Platform ([#174](https://github.com/stackabletech/spark-k8s-operator/pull/147)).

In the previous version, these were configured like this:

```
  driver:
    cores: 1
    coreLimit: "1200m"
    memory: "512m"`
```

From now on, Pod resources can be configured in two different ways. The first and recommended way is to add a resources section for each role as the following examples shows:

```
  driver:
    resources:
      cpu:
        min: "1"
        max: "1500m"
      memory:
        limit: "1Gi"
```

The second method is to use the `sparkConf` section and and set them individually as spark properties:

```
  sparkConf:
    spark.kubernetes.submission.waitAppCompletion: "false"
    spark.kubernetes.driver.pod.name: "resources-sparkconf-driver"
    spark.kubernetes.executor.podNamePrefix: "resources-sparkconf"
    spark.kubernetes.driver.request.cores: "2"
    spark.kubernetes.driver.limit.cores: "3"
```

When both methods are used, the settings in the `sparkConf` section override the `resources` configuration.

Note that none of the settings above have any influence over the parallelism used by Spark itself. The only supported way to affect this is as follows:

```
  sparkConf:
    spark.driver.cores: "3"
    spark.executor.cores: "3"
```

## Release 22.9

This is the second release of the Stackable Data Platform. It contains lots of new features and bugfixes. The main features focus on OpenShift support and security.

### 22.9.0

#### New platform features

The following new major platform features were added:

##### OpenShift compatibility

We have made continued progress towards OpenShift compability, and the following operators can now be previewed on OpenShift. Further improvements are expected in future releases, but no stability or compatibility guarantees are currently made for OpenShift clusters.

-   [Apache Airflow](https://github.com/stackabletech/airflow-operator/pull/127)

-   [Apache HBase](https://github.com/stackabletech/hbase-operator/pull/232)

-   [Apache HDFS](https://github.com/stackabletech/hdfs-operator/pull/225)

-   [Apache Spark on K8s](https://github.com/stackabletech/spark-k8s-operator/pull/126)


##### Support for internal and external TLS

The following operators support operating the products at a maximal level of transport security by using TLS certificates to secure internal and external communication:

-   [Trino](https://github.com/stackabletech/trino-operator/pull/244)

-   [Apache Kafka](https://github.com/stackabletech/kafka-operator/pull/442)

-   [Apache ZooKeeper](https://github.com/stackabletech/zookeeper-operator/pull/479)


##### LDAP authentication

Use a central LDAP server to manage all of your user identities in a single place. The following operators added support for LDAP authentication:

-   [Apache Airflow](https://github.com/stackabletech/airflow-operator/pull/133)

-   [Apache NiFi](https://github.com/stackabletech/nifi-operator/pull/303)

-   [Apache Superset](https://github.com/stackabletech/superset-operator/pull/180)


#### stackablectl

`stackablectl` now supports deploying ready-to-use demos, which give an end-to-end demonstration of the usage of the Stackable Data Platform. The [quickstart guide](https://docs.stackable.tech/management/stable/stackablectl/quickstart/index.md) shows how to get started with `stackablectl`. Here you can see the [available demos](https://docs.stackable.tech/home/stable/demos/index.md).

#### Supported Kubernetes versions

This release supports the following Kubernetes versions:

-   `1.24`

-   `1.23`

-   `1.22`


Support for `1.21` was dropped.

#### Upgrade from 22.06

##### Using stackablectl

You can list the available releases as follows

```console
$ stackablectl release list
RELEASE            RELEASE DATE   DESCRIPTION
22.11              2022-11-08     Third release candidate of 22.11
22.09              2022-09-09     Second release focusing on security and OpenShift support
22.06              2022-06-30     First official release of the Stackable Data Platform
```

To uninstall the `22.06` release run

```console
$ stackablectl release uninstall 22.06
[INFO ] Uninstalling release 22.06
[INFO ] Uninstalling airflow operator
[INFO ] Uninstalling commons operator
# ...
```

Afterwards you will need to update the CustomResourceDefinitions (CRDs) installed by the Stackable Platform. The reason is, that helm will uninstall the operators but not the CRDs.

```console
$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/airflow-operator/0.5.0/deploy/helm/airflow-operator/crds/crds.yaml
$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/commons-operator/0.3.0/deploy/helm/commons-operator/crds/crds.yaml
$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/druid-operator/0.7.0/deploy/helm/druid-operator/crds/crds.yaml
$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/hbase-operator/0.4.0/deploy/helm/hbase-operator/crds/crds.yaml
$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/hdfs-operator/0.5.0/deploy/helm/hdfs-operator/crds/crds.yaml
$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/hive-operator/0.7.0/deploy/helm/hive-operator/crds/crds.yaml
$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/kafka-operator/0.7.0/deploy/helm/kafka-operator/crds/crds.yaml
$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/nifi-operator/0.7.0/deploy/helm/nifi-operator/crds/crds.yaml
$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/opa-operator/0.10.0/deploy/helm/opa-operator/crds/crds.yaml
$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/secret-operator/0.5.0/deploy/helm/secret-operator/crds/crds.yaml
$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/spark-k8s-operator/0.5.0/deploy/helm/spark-k8s-operator/crds/crds.yaml
$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/superset-operator/0.6.0/deploy/helm/superset-operator/crds/crds.yaml
$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/trino-operator/0.6.0/deploy/helm/trino-operator/crds/crds.yaml
$ kubectl apply -f https://raw.githubusercontent.com/stackabletech/zookeeper-operator/0.11.0/deploy/helm/zookeeper-operator/crds/crds.yaml
```

To install the `22.09` release run

```console
$ stackablectl release install 22.09
[INFO ] Installing release 22.09
[INFO ] Installing airflow operator in version 0.5.0
[INFO ] Installing commons operator in version 0.3.0
[INFO ] Installing druid operator in version 0.7.0
[INFO ] Installing hbase operator in version 0.4.0
[INFO ] Installing hdfs operator in version 0.5.0
[INFO ] Installing hive operator in version 0.7.0
[INFO ] Installing kafka operator in version 0.7.0
[INFO ] Installing nifi operator in version 0.7.0
[INFO ] Installing opa operator in version 0.10.0
[INFO ] Installing secret operator in version 0.5.0
[INFO ] Installing spark-k8s operator in version 0.5.0
[INFO ] Installing superset operator in version 0.6.0
[INFO ] Installing trino operator in version 0.6.0
[INFO ] Installing zookeeper operator in version 0.11.0
# ...
```

##### Using helm

Use `helm list` to list the currently installed operators. You can use the following command to uninstall all of the operators that are part of the release 22.06:

```console
$ helm uninstall airflow-operator commons-operator druid-operator hbase-operator hdfs-operator hive-operator kafka-operator nifi-operator opa-operator secret-operator spark-k8s-operator superset-operator trino-operator zookeeper-operator
release "airflow-operator" uninstalled
release "commons-operator" uninstalled
# ...
```

Afterwards you will need to update the CustomResourceDefinitions (CRDs) installed by the Stackable Platform. The reason is, that helm will uninstall the operators but not the CRDs.

```console
$ kubectl apply \
  -f https://raw.githubusercontent.com/stackabletech/airflow-operator/0.5.0/deploy/helm/airflow-operator/crds/crds.yaml \
  -f https://raw.githubusercontent.com/stackabletech/commons-operator/0.3.0/deploy/helm/commons-operator/crds/crds.yaml \
  -f https://raw.githubusercontent.com/stackabletech/druid-operator/0.7.0/deploy/helm/druid-operator/crds/crds.yaml \
  -f https://raw.githubusercontent.com/stackabletech/hbase-operator/0.4.0/deploy/helm/hbase-operator/crds/crds.yaml \
  -f https://raw.githubusercontent.com/stackabletech/hdfs-operator/0.5.0/deploy/helm/hdfs-operator/crds/crds.yaml \
  -f https://raw.githubusercontent.com/stackabletech/hive-operator/0.7.0/deploy/helm/hive-operator/crds/crds.yaml \
  -f https://raw.githubusercontent.com/stackabletech/kafka-operator/0.7.0/deploy/helm/kafka-operator/crds/crds.yaml \
  -f https://raw.githubusercontent.com/stackabletech/nifi-operator/0.7.0/deploy/helm/nifi-operator/crds/crds.yaml \
  -f https://raw.githubusercontent.com/stackabletech/opa-operator/0.10.0/deploy/helm/opa-operator/crds/crds.yaml \
  -f https://raw.githubusercontent.com/stackabletech/secret-operator/0.5.0/deploy/helm/secret-operator/crds/crds.yaml \
  -f https://raw.githubusercontent.com/stackabletech/spark-k8s-operator/0.5.0/deploy/helm/spark-k8s-operator/crds/crds.yaml \
  -f https://raw.githubusercontent.com/stackabletech/superset-operator/0.6.0/deploy/helm/superset-operator/crds/crds.yaml \
  -f https://raw.githubusercontent.com/stackabletech/trino-operator/0.6.0/deploy/helm/trino-operator/crds/crds.yaml \
  -f https://raw.githubusercontent.com/stackabletech/zookeeper-operator/0.11.0/deploy/helm/zookeeper-operator/crds/crds.yaml
```

To install the release 22.09 run

```console
$ helm repo add stackable-stable https://repo.stackable.tech/repository/helm-stable/
$ helm repo update stackable-stable
$ helm install --wait airflow-operator stackable-stable/airflow-operator --version 0.5.0
$ helm install --wait commons-operator stackable-stable/commons-operator --version 0.3.0
$ helm install --wait druid-operator stackable-stable/druid-operator --version 0.7.0
$ helm install --wait hbase-operator stackable-stable/hbase-operator --version 0.4.0
$ helm install --wait hdfs-operator stackable-stable/hdfs-operator --version 0.5.0
$ helm install --wait hive-operator stackable-stable/hive-operator --version 0.7.0
$ helm install --wait kafka-operator stackable-stable/kafka-operator --version 0.7.0
$ helm install --wait nifi-operator stackable-stable/nifi-operator --version 0.7.0
$ helm install --wait opa-operator stackable-stable/opa-operator --version 0.10.0
$ helm install --wait secret-operator stackable-stable/secret-operator --version 0.5.0
$ helm install --wait spark-k8s-operator stackable-stable/spark-k8s-operator --version 0.5.0
$ helm install --wait superset-operator stackable-stable/superset-operator --version 0.6.0
$ helm install --wait trino-operator stackable-stable/trino-operator --version 0.6.0
$ helm install --wait zookeeper-operator stackable-stable/zookeeper-operator --version 0.11.0
```

#### Breaking changes

You will need to adapt your existing CRDs to the following breaking changes:

##### druid-operator

HDFS deep storage is now configurable via the HDFS discovery config map instead of a url to a HDFS name node ([#262](https://github.com/stackabletech/druid-operator/pull/262)). Instead of

```yaml
  deepStorage:
    hdfs:
      storageDirectory: hdfs://druid-hdfs-namenode-default-0:8020/data
```

use

```yaml
  deepStorage:
    hdfs:
      configMapName: druid-hdfs
      directory: /druid
```

##### kafka-operator

Add TLS encryption and authentication support for internal and client communications. This is breaking for clients because the cluster is secured per default, which results in a client port change ([#442](https://github.com/stackabletech/kafka-operator/pull/442)). If you don’t want to use TLS to secure your Kafka cluster you can restore the old behavior by using the `tls` attribute as follows:

```yaml
apiVersion: kafka.stackable.tech/v1alpha1
kind: KafkaCluster
# ...
spec:
  config:
    tls: null
  # ...
```

##### trino-operator

TrinoCatalogs now have their own CRD object and get referenced by the TrinoCluster ([#263](https://github.com/stackabletech/trino-operator/pull/263)). Instead of

```yaml
apiVersion: trino.stackable.tech/v1alpha1
kind: TrinoCluster
# ...
spec:
  hiveConfigMapName: hive
  s3:
    inline:
      host: minio
      port: 9000
      accessStyle: Path
      credentials:
        secretClass: s3-credentials
  # ...
```

use

```yaml
apiVersion: trino.stackable.tech/v1alpha1
kind: TrinoCluster
# ...
spec:
  catalogLabelSelector:
    trino: trino
  # ...
---
apiVersion: trino.stackable.tech/v1alpha1
kind: TrinoCatalog
metadata:
  name: hive
  labels:
    trino: trino
spec:
  connector:
    hive:
      metastore:
        configMap: hive
      s3:
        inline:
          host: minio
          port: 9000
          accessStyle: Path
          credentials:
              secretClass: s3-credentials
```

## Release 22.6

This is our first release of the Stackable Data Platform, bringing Kubernetes operators for 12 products as well as [stackablectl](https://docs.stackable.tech/home/stable/release-notes/index.md), the commandline tool to easily install data products in Kubernetes Operators spin up production ready product applications. Also, there are some common features across all operators, such as monitoring, service discovery and configuration overrides. Find the [Platform features](https://docs.stackable.tech/home/stable/release-notes/index.md), [stackablectl features](https://docs.stackable.tech/home/stable/release-notes/index.md) and [Operators](https://docs.stackable.tech/home/stable/release-notes/index.md) below.

Please report any issues you find in the specific operator repositories or in our dedicated github.com/stackabletech/issues/\[issues\] repository. You may also join us in our [Slack](https://slack.stackable.tech) community or [contact us via our homepage](https://stackable.tech).

While we are very proud of this release it is our first one and we’ll add new features and fix bugs all the time and will have regular releases from now on.

### 22.6.0

#### Platform features

##### Easily install production ready data applications

Using a familiar declarative approach, users can easily install data applications such as Apache Kafka or Trino across multiple cloud Kubernetes providers or on their own data centers. The installation process is fully automated while also providing the flexibility for the user to tune relevant aspects of each application.

##### Monitoring

All products have monitoring with prometheus enabled. [Learn more](https://docs.stackable.tech/home/stable/operators/monitoring/index.md)

##### Service discovery

Products on the Stackable platform use service discovery to easily interconnect with each other. [Learn more](https://docs.stackable.tech/home/stable/concepts/service-discovery/index.md)

##### Configuration overrides

All operators support configuration overrides, these are documented in the specific operator documentation pages.

##### Common S3 configuration

Many products support connecting to S3 to load and/or store data. There is a common resource for S3 connections and buckets across all operators that can be reused. [Learn more](https://docs.stackable.tech/home/stable/concepts/s3/index.md)

##### Roles and role groups

To support hybrid hardware clusters, the Stackable platform uses the concept of role groups. Services and applications can be configured to maximize hardware efficiency.

##### Standardized

Learn once reuse everywhere. We use the same conventions in all our operators. Configure your LDAP or S3 connections once and reuse them everywhere. All our operators reuse the same CRD structure as well.

#### stackablectl

[stackablectl](https://docs.stackable.tech/management/stable/stackablectl/index.md) is used to install and interact with the operators, either individually or with multiple at once.

#### Operators

This is the list of all operators in this current release, with their versions for this release.

****Products****

-   [Stackable Operator for Apache Airflow](https://docs.stackable.tech/home/stable/airflow/index.md) (0.4.0)

    -   Load DAGs from ConfigMaps or PersistentVolumeClaims


-   [Stackable Operator for Apache Druid](https://docs.stackable.tech/home/stable/druid/index.md) (0.6.0)

    -   S3 and HDFS as deep storage options

    -   ingestion from S3 buckets

    -   authorization using OPA


-   [Stackable Operator for Apache HBase](https://docs.stackable.tech/home/stable/hbase/index.md) (0.3.0)

-   [Stackable Operator for Apache HDFS](https://docs.stackable.tech/home/stable/hdfs/index.md) (0.4.0)

-   [Stackable Operator for Apache Hive](https://docs.stackable.tech/home/stable/hive/index.md) (0.6.0)

    -   Hive Metastore can index S3


-   [Stackable Operator for Apache Kafka](https://docs.stackable.tech/home/stable/kafka/index.md) (0.6.0)

    -   Seamless integration with NiFi and Druid

    -   Supports OPA authorization


-   [Stackable Operator for Apache NiFi](https://docs.stackable.tech/home/stable/nifi/index.md) (0.6.0)

-   [Stackable Operator for Apache Spark](https://docs.stackable.tech/home/stable/spark-k8s/index.md) (0.3.0)

-   [Stackable Operator for Apache Superset](https://docs.stackable.tech/home/stable/superset/index.md) (0.5.0)

    -   connects to Druid as a backend

    -   Supports LDAP authentication


-   [Stackable Operator for Trino](https://docs.stackable.tech/home/stable/trino/index.md) (0.4.0)

    -   Supports OPA and file-based authorization

    -   Connects to the Hive Metastore

    -   Query data from S3

    -   TLS support


-   [Stackable Operator for Apache ZooKeeper](https://docs.stackable.tech/home/stable/zookeeper/index.md) (0.10.0)

    -   Supports creating ZNodes with CRDs



Read up on the [supported versions](https://docs.stackable.tech/home/stable/operators/supported_versions/index.md) for each of these products.

****Supporting operators****

-   [Stackable Operator for OPA (OpenPolicyAgent)](https://docs.stackable.tech/home/stable/opa/index.md) (0.9.0)

    -   Create RegoRules in ConfigMaps


-   [Stackable Commons Operator](https://docs.stackable.tech/home/stable/commons-operator/index.md) (0.2.0)

-   [Stackable Secret Operator](https://docs.stackable.tech/home/stable/secret-operator/index.md) (0.5.0)


#### Supported Kubernetes versions

This release supports the following Kubernetes versions:

-   `1.23`

-   `1.22`

-   `1.21`
