Skip to content

test: add openshift e2e smoke test#202

Merged
GrigoryPervakov merged 1 commit into
mainfrom
okd-test
Jun 10, 2026
Merged

test: add openshift e2e smoke test#202
GrigoryPervakov merged 1 commit into
mainfrom
okd-test

Conversation

@GrigoryPervakov

@GrigoryPervakov GrigoryPervakov commented May 27, 2026

Copy link
Copy Markdown
Member

Why

Need to verify OpenShift compatibility

What

Add a special OpenShift e2e test against the pre-provided OKD cluster.
ClickHouse images have data dirs created with user 101, but OpenShift randomizes UID of the service, so now the operator mounts an emptyDir to match the data dir owner

@GrigoryPervakov GrigoryPervakov force-pushed the okd-test branch 14 times, most recently from 446f552 to dab3ace Compare May 29, 2026 17:57
@GrigoryPervakov GrigoryPervakov force-pushed the okd-test branch 5 times, most recently from 51b9924 to d777275 Compare June 9, 2026 15:34
@GrigoryPervakov GrigoryPervakov force-pushed the okd-test branch 3 times, most recently from 8d17859 to da91f1f Compare June 10, 2026 16:47
Adds an OpenShift compatibility smoke test driven from a self-hosted
runner that hosts a long-lived OKD single-node cluster. The test
subscribes to the fast-v0 channel of the operator's OLM catalog, waits
for the CSV to succeed, then drives a Keeper + ClickHouse deployment
in a dedicated test namespace.

Operator-side: keeper and clickhouse now mount an emptyDir at the data
path when neither DataVolumeClaimSpec nor a user-supplied mount covers
it. Lets the default install work under OpenShift's arbitrary-uid SCC
+ readOnlyRootFilesystem.

Workflows:
- openshift-compatibility.yaml: runs after the main-branch artifact
  publish workflow finishes, plus workflow_dispatch for manual reruns
  against any branch.
- openshift-runner-rebuild.yaml: weekly cron destroys + reinstalls the
  long-lived cluster so kubelet certs and OS state stay fresh.

Runner image + cleanup/rebuild scripts live in a separate repo
(github.com/ClickHouse/clickhouse-operator-olm-runner).
@GrigoryPervakov GrigoryPervakov marked this pull request as ready for review June 10, 2026 20:45
@GrigoryPervakov GrigoryPervakov merged commit 2e19eb5 into main Jun 10, 2026
21 checks passed
@GrigoryPervakov GrigoryPervakov deleted the okd-test branch June 10, 2026 20:47
@mintlify

mintlify Bot commented Jun 10, 2026

Copy link
Copy Markdown

Docs PR opened: ClickHouse/mintlify-docs-dev#173

Synced upstream clickhouse-operator docs, adding a new monitoring guide and updating configuration, introduction, overview, and API reference pages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant