Skip to content
Back to skills

Zeabur Identity Cluster Tests

ASecurity

Run Zeabur Identity's Kubernetes integration and end-to-end tests on a disposable k3s cluster, and debug kube-apiserver's authentication configuration. Use when changing anything in zeabur-identity-k8s, the server's background tasks, manifests, kube-config output or the container image.

  • 6 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 18, 2026
devopsdockerkubernetesapi

Works with

  • api

Security analysis

A100/100

Scanned November 18, 2026

npx -y skills add zeabur-oss/identity --skill zeabur-identity-cluster-tests --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Zeabur Identity Cluster Tests?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Zeabur Identity Cluster Tests
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/zeabur-oss-zeabur-identity-cluster-tests/badge)](https://www.skillsdirectory.com/skills/zeabur-oss-zeabur-identity-cluster-tests)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: zeabur-identity-cluster-tests
description: Run Zeabur Identity's Kubernetes integration and end-to-end tests on a disposable k3s cluster, and debug kube-apiserver's authentication configuration. Use when changing anything in zeabur-identity-k8s, the server's background tasks, manifests, kube-config output or the container image.
---

# Cluster tests

Set up the disposable cluster and run the tests as `CONTRIBUTING.md` ("Disposable k3d cluster")
says, on a Linux machine or VM, never on a cluster you use. kube-apiserver re-reads
`<dir>/authn/authn.yaml` about once a minute, so the e2e test takes 1–3 minutes. After a change to
upstream sign-in, also run `./scripts/keycloak-e2e.sh`.

## What to check when something fails
- **Tokens never accepted** (whoami times out): read the apiserver log —
  `docker logs k3d-zeabur-identity-server-0 2>&1 | grep -iE "authentication config|oidc"`. Config
  validation errors (for example CEL type errors; JSON claims are untyped, use `dyn(...)` for
  comprehensions) make the reload skip the file permanently until it changes. A healthy reload
  logs `reloaded authentication config`.
- **`kube-config` waits, then fails on the internal certificate**: read
  `kubectl -n <namespace> describe certificate zeabur-identity-internal-ca zeabur-identity-internal-tls`.
  A cert-manager webhook error right after `k3d-up.sh` passes on retry.
- **Probe CEL quickly**: write a candidate config with a dummy issuer into the mounted
  directory, wait ~70 s, and read the log; a health error about the dummy issuer means the
  config itself validated. Restore the empty config afterwards.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in devops →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.