Skip to content

Latest commit

 

History

History
46 lines (38 loc) · 2.23 KB

README.md

File metadata and controls

46 lines (38 loc) · 2.23 KB

Kubernetes deployment

The bundled apache/dubbo-admin:0.7.0 image predates the session-secret fix. Until a fixed official image is published, build this branch and make its image available to your cluster. From the repository root, deploy it with:

DUBBO_ADMIN_IMAGE=<fixed-image:tag> ./release/kubernetes/dubbo-system/deploy.sh

The script requires an explicit image built from the fixed source, renders it into the Deployment before applying anything, and rejects the known old 0.7.0 tag and latest. It cannot verify the contents of a supplied image; the operator must provide a fixed build. It then creates the dubbo-system namespace if needed, generates a random session-secret in the dubbo-admin-auth Kubernetes Secret on first install, and applies the manifests. It keeps the existing Secret on later runs, so the signing key remains stable across upgrades. An existing Secret without session-secret, or with a value shorter than 32 bytes, stops deployment.

This command requires kubectl access to create the namespace, Secret, and manifest resources, plus openssl for the initial key generation. An image reference pinned by @sha256:<digest> is also accepted. Do not apply these manifests directly with kubectl apply -f: that bypasses the image check and uses the old image.

When publishing the fix, update the manifest and script to use a release built from the fixed source by default. Merely injecting a Secret into the old image does not change its cookie-signing behavior.