0.11.0
Bugs
- Add
tools/releasing/preflight.sh, which checks everything a release needs beforerelease.shdoes anything irreversible: the tools, the signing key and whether it is in the publishedKEYSfile,ghauthentication, the dist URLs, that the version agrees betweenChart.yamland the changelog and that its tag is free, that no abandoned candidate is sitting indist/dev, and that the tree is clean with the generated chart files in sync.release.shruns it as its first step, before asking about the signing key, and takes the resolved key from it rather than detecting one itself. It reports every problem rather than stopping at the first, and is explicit about the three things it cannot check from a developer machine. - Let
tools/releasing/release.shrun when the tree already carries the release version. It committed the version bump with a plaingit commit, which exits non-zero with nothing staged, and the script runs underset -e– so a release cut the documented way, withChart.yamlalready updated and the kustomize image tags already set by the same function, died at “nothing to commit, working tree clean” before tagging or building anything. Both release commits allow an empty diff now, which also keeps the regeneration--amendpointed at the script’s own commit rather than at whatevermasterhappened to be. - Build genuinely multi-architecture images, again. The previous fix declared
ARG TARGETARCH=amd64in each Dockerfile, and giving a predefined platform argument a default makes BuildKit use that default instead of the target’s architecture – soTARGETARCHreadamd64even when building forlinux/arm64, the builder stage ran once, and the amd64 binary was copied into the arm64 manifest. The publish workflow’s own ELF check caught it on the first run that was ever able to start. The argument is declared with no default now, and the shell falls back to the native architecture for a plaindocker build, which was also producing amd64 binaries on an arm64 host.
Features
- Release the
skywalking-swckHelm chart from this repository. One chart installs the operator and, behind a values flag, the custom metrics adapter. The CRDs, the operator’s ClusterRole and the admission webhook configurations it ships are generated from the operator sources bymake chart-manifests, and CI fails on any drift.
Bugs
- Stop reconciling a
UIwhosekindis no longer supported. Narrowing the CRD enum tohorizononly rejects new resources – schema validation runs on admission, never on read – so aUIstored askind: boosterby an earlier operator survives the upgrade and still reconciles. With the templates now unconditionally Horizon’s, reconciling one rewrote a running Booster Deployment into a shape its image cannot serve and took the UI down on the first pass after upgrade. Such a resource is now left untouched, with aUnsupportedKindevent saying what to do. - Stop applying an
OAPServerDeployment when theStorageit names cannot be read. Every lookup error was logged and ignored, and the Deployment was applied anyway – withoutSW_STORAGE, targets, credentials or TLS volumes – so aStoragebriefly deleted and recreated replaced a working OAP with one that never becomes ready. The reconcile now leaves the running Deployment alone, emits aStorageUnresolvedevent and requeues. - Keep the storage TLS volume when an
OAPServerConfigmounts static files. The overlay assigned over the pod’s volume and mount lists, andApplyOverlayis an RFC 7386 merge patch under which an array replaces rather than merges – so the certificate volume disappeared andSW_STORAGE_BANYANDB_SSL_TRUST_CA_PATHpointed at nothing. The lists are merged by name now, and the mount is reconciled on every pass rather than skipped whenever the file content is unchanged, which had left it lost for good after any re-render. - Roll the OAP when its credential
Secretis rotated. Environment variables taken from a Secret are resolved once, when the container starts, so moving credentials tosecretKeyRefmeant a rotation went unnoticed until something restarted the pod. The controller now watches Secrets and carries the referenced Secret’sresourceVersionin a pod-template annotation – an opaque token, not a digest of the credential. - Create certificate signing requests through
certificates.k8s.io/v1. Thev1beta1API this used was removed in Kubernetes 1.22, so internal Elasticsearch TLS could not obtain a certificate on any cluster newer than that and the workload waited on a Secret nothing produced. The wait loop is also bounded now, and sleeps – it used to spin onGetwith no delay and no limit. - Require
SW_STORAGEto carry a value. The mandatory-storage check accepted an entry namedSW_STORAGEwith nothing behind it, which reaches the OAP as an empty selector and produces exactly the never-ready state the check exists to prevent. - Require a published GitHub release before publishing convenience binaries. Both the publish workflow and
release-passed.shtested only whethergh release viewsucceeded, and that resolves drafts – so a dispatch against a draft could put official version-tagged images on GHCR before the vote, andrelease-passed.shmistook a draft for a finished release and never published it. Both now requireisDraft: falseand a publication time; the workflow rejects prereleases too. - Stop truncating rendered manifests at the first
#. Every manifest was cut line-by-line at its first hash with no awareness of YAML quoting, so any value containing one – a password, an AI prompt, a URL fragment – was severed mid-string and the resulting manifest no longer parsed. Only whole-line comments are dropped now. This became reachable for user-supplied values withspec.env. - Deep-copy the new
envandenvFromfields.zz_generated.deepcopy.gohad not been regenerated, so those slices were shared with the objects controller-runtime’s cache hands out. - Render an
OAPServerwhoseStoragecannot be read yet.spec.storage.nameis now mandatory, but the operator fills in the resolvedStorageonly once it can read it, and the deployment template reached through the nil – so anOAPServerapplied before itsStoragefailed to render at all rather than waiting for it. - Reference the Elasticsearch credentials from the
Storagecontroller too. TheOAPServerside stopped copying them out of the Secret; theStoragecontroller still did, putting the password into the resource and the Elasticsearch StatefulSet it renders. - Document BanyanDB storage: the endpoint format and its gRPC port, cluster targets, authentication, persistence, and the flags BanyanDB 0.11 renamed. See
docs/en/setup/banyandb.md. - Pass BanyanDB credentials from a
Storage’ssecurity.user.secretName, as the Elasticsearch path already did. - Raise the OAP startup probe budget from 110 seconds to 10 minutes. SkyWalking 11 has no embedded storage, so every start installs a schema into BanyanDB or Elasticsearch – work that overran the old probe on a cold cluster, and being killed mid-schema turned a slow first boot into a crash loop.
- Wire BanyanDB storage. The operator could only configure Elasticsearch, so an
OAPServeron BanyanDB had to carry the storage environment by hand – and the variable it needed changed name between SkyWalking 9.x and 11.x. AStorageoftype: banyandbnow yieldsSW_STORAGE=banyandbandSW_STORAGE_BANYANDB_TARGETS. Without this, SWCK cannot deploy a working OAP at all across the supported range: SkyWalking removed H2 permanently in 10.2.0, so there is no fallback and an OAPServer with no storage never becomes ready. - Stop deriving the Horizon admin and Zipkin URLs. The OAP admin host arrived in 11.x, and on 10.x port 17128 is the AI-pipeline URI-recognition server, so a derived
oap.adminUrlpointed Horizon at a live endpoint that was the wrong service; theOAPServerthis operator deploys exposes no Zipkin port at all. Both are now emitted only whenspec.OAPServerAdminAddress/spec.OAPServerZipkinAddressare set, matching whatskywalking-helmdoes. - Fix the default image for
kind: horizonUIs. It wasapache/skywalking-horizon-ui:<version>, a Docker Hub repository that does not exist – Horizon releases shareapache/skywalking-uiwith the legacy Booster UI and are told apart by ahorizon-tag prefix. Sincehorizonis the default kind, everyUIcreated without an explicit image could never pull. Covered by a unit test; the samples and docs carried the same wrong name. - Build genuinely multi-architecture images.
operator/Dockerfile,adapter/Dockerfileandbuild/images/Dockerfile.releasehardcodedGOARCH=amd64and-linux-amd64while the publish workflow advertisedlinux/arm64, soapache/skywalking-swck:0.10.0shipped an arm64 manifest holding x86-64 binaries and an arm64 node gotexec format error. The release now builds a binary per architecture, and the publish workflow pulls every advertised platform back and checks the ELF machine type before the release completes. - Ship the
eventexporteradmission webhook in the chart, and drop the duplicatemeventexporter.kb.ioentry that the API server rejects. Both come out of generating the webhook configurations from the operator sources rather than hand-copying them.
Chores
- Seed the e2e login from a
SecretthroughUI.spec.envFrom, so the newenvFromsurface is exercised against a real cluster rather than only unit-tested: if it did not reach the container there would be no user andoap-ui-agent’s login would fail. - Split the e2e suite by configuration path. Almost every case now runs the Horizon UI on
HORIZON_*environment variables with no ConfigMap at all, andoap-ui-agentproves they arrive by logging in and reading the OAP hosts back through the BFF. Exactly one case,oap-ui-agent-oapserverconfig-oapserverdynamicconfig, takes the override path: theUIcarries a wholehorizon.yamlinspec.configwhile itsOAPServerConfigoverlays a static file on the OAP. - Configure the Horizon UI with environment variables instead of a generated file. Horizon’s image bakes a fully tokenised
horizon.yaml, so every setting it has is reachable asHORIZON_*– but the operator mounted its own file over that one, which replaced every token and left the container with noenv:at all, so no variable could reach any setting.UI.spec.envandUI.spec.envFromnow carry them, the operator sets only what it derives, and the ConfigMap is mounted only whenspec.configsupplies a whole file. A setting added in a future Horizon release works without an SWCK release. - Add
envFromtoOAPServerandSatellite, which are configured entirely through environment variables and previously had no way to take one from a Secret. - Reference storage credentials instead of copying them. The operator read the
Storage’s user secret and wrote the username and password in as literal env values, so they appeared in both theOAPServerand its Deployment for anyone with read access. They are nowsecretKeyRefs resolved by the kubelet. This also needed a template fix: the OAP deployment rendered onlyname/valueand silently droppedvalueFrom, so a secret reference could not have worked at all. - Wire BanyanDB TLS.
security.tlswithsecurity.tlsSecretNamemounts the CA at/skywalking/bydb-tlsand setsSW_STORAGE_BANYANDB_SSL_TRUST_CA_PATH. Previouslytls: trueon abanyandbStoragewas accepted, wired no TLS, and mounted the Elasticsearch keystore secretskywalking-storage, leaving the OAP pod waiting on a secret nothing creates;tlsSecretNameis now required for that combination. - Add
UI.spec.templatesMode, emitted asHORIZON_TEMPLATES_MODE. Left unset it follows the admin address:livereads OAP’s template store over the OAP admin host, so it is chosen only whenspec.OAPServerAdminAddressis set, andreadonly– which renders the templates bundled in the image – otherwise. Defaulting toliveregardless would leave every UI probing127.0.0.1:17128, failing Horizon’sui-managementpreflight and blocking every layer-driven page, Traces most visibly. OAP 10.x needsreadonlyin any case: it manages templates over legacy query-port GraphQL and Horizon speaks only OAP 11’s REST protocol. - Stop maintaining a copy of Horizon’s configuration schema. The config the operator used to generate restated Horizon’s own defaults, and the copy had drifted:
viewerwas granted 6 of the 12 permissions Horizon gives that role, and the admin landing route was/admin/cluster, which Horizon has no route for – signing in as admin landed on “No route matches”. It also carriedaudit.file,setupandalarms, keys Horizon 1.0.0’s schema does not have and whose presence stops the BFF booting at all. - Refuse an
OAPServerthat has no storage. SkyWalking removed the embedded H2 permanently in 10.2.0, so no version this operator supports has one and there is nothing to fall back to: anOAPServerwith nowhere to write starts, dials a BanyanDB on127.0.0.1:17912and never becomes ready. The webhook now says so at admission instead. SettingSW_STORAGEdirectly inspec.configstill counts as having chosen a storage. Breaking: anOAPServerwith neitherspec.storage.namenorSW_STORAGEis rejected – it could never have worked. - Publish the operator image, the metrics adapter image and the Helm chart from the release publish workflow, triggered by publishing a GitHub release, instead of pushing tags by hand. Pushes to master keep publishing SHA-tagged snapshots to GHCR.
- Add
tools/releasing/release.shandtools/releasing/release-passed.sh, automating the release either side of the vote. - Ship the Helm chart tarball as a signed, voted artifact on dist.apache.org, alongside the source and binary tarballs.
- Support OAP 10.4.0 and later, with 11.0.0 recommended, matching
skywalking-helm. AnOAPServerbelow that is admitted with a warning rather than rejected. - Deploy only the Horizon UI.
spec.kindon theUIresource now acceptshorizonalone –apache/skywalkingremoved the legacy Booster UI in 11.0.0 and no longer builds an image for it. Breaking: aUIwithkind: boosteris rejected, with a message saying what to use instead. - Default
OAPServerConfigandOAPServerDynamicConfigto version11.0.0, was9.5.0. These match anOAPServerby exact version string, so a config that omitsversionpreviously only attached to an OAP explicitly pinned at 9.5.0. Behaviour change: setspec.versionexplicitly if you run an older OAP. - Verify the Horizon UI over its own API rather than a GraphQL proxy it does not have: every UI case asserts the auth backend at the public
/api/auth/health, andoap-ui-agentlogs in with a seeded user and calls an RBAC-protected route. Document that Horizon ships with no users, so a UI refuses every login until one is seeded throughHORIZON_AUTH_LOCAL_USERS. - Move the e2e suite to the current SkyWalking stack: OAP 11.0.0, Horizon UI 1.0.0 and BanyanDB 0.11.0, which have to move together because OAP 11.0.0 accepts BanyanDB server API 0.11 only and Horizon 1.0.0’s admin host is an OAP 11 addition. The UI cases previously deployed the legacy Booster UI, which
apache/skywalkingno longer builds an image for. - Pin every image the e2e suite deploys in
test/e2e/env, substituted withenvsubst, replacingapache/skywalking-banyandb:latestand centralising nine images that were spread across fifteen manifests. - Install the operator with the Helm chart in ten of the twelve e2e cases, and add a case that tests the chart’s own lifecycle: installing the packaged tarball, CRDs, webhook CA injection, agent injection, HPA metrics, upgrade in both directions, and uninstall without taking the CRDs with it.
test/e2e/oap-ui-agentstays on kustomize so that install path remains covered. - Split
hack/by purpose: developer and build tooling moved totools/, test tooling totest/tools/. - Restructure the documentation into
docs/en/{concepts-and-designs,setup,examples,guides,changes}, following the layout ofapache/skywalking, and move the changelog fromCHANGES.mdintodocs/en/changes/. - Bump go.opentelemetry.io/otel to v1.44.0 to fix CVE-2026-41178.
- Bump golang.org/x/net to v0.55.0, golang.org/x/crypto to v0.53.0 and golang.org/x/sys to v0.46.0.
- Bump software.sslmate.com/src/go-pkcs12, github.com/sirupsen/logrus, github.com/go-logr/logr, google.golang.org/grpc, golang.org/x/text and the Kubernetes dependencies.
- Bump the actions-deps group across the repository.