You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
clickhouse: expose new backup.endpointCA field from cozystack values schema #18
Upstream cozystack adds a new nested field to the ClickHouse app's values schema: backup.endpointCA ({name, key}), which points the clickhouse-backup sidecar at a Secret holding a PEM CA bundle so it can verify an S3 endpoint whose certificate is signed by a private CA (Cozystack's in-cluster SeaweedFS being the motivating case).
Because this provider hand-maintains a Terraform schema plus an expand/flatten pair per Kind — with no codegen from values.schema.json — the new field is not surfaced until it is added here. Per the upstream trigger map in docs/agents/contributing.md, "add, remove or rename a field in an app's values.schema.json" reaches the schema, the model, and the expand/flatten pair.
Scope for clickhouse:
add endpoint_ca (or the naming this provider prefers) as a nested block under backup, with name and key attributes;
key defaults to ca.crt upstream — note the provider restates defaults on Optional+Computed attributes and therefore sends its own default, so a stale or missing default silently wins over the API's;
extend the expand/flatten pair and the hand-vendored field-name copies in the tests.
Filing as an issue rather than a PR because the right moment is presumably alongside the next api/apps/v1alpha1 pin bump, which is a maintainer call rather than mine.
The field isn't upstream yet — backup.endpointCA is added by cozystack/cozystack#3385, which is still open, so it's not in any released api-module tag (checked through v1.6.1) nor on main. I'll pick this up with the next api pin bump once that PR merges and ships in a release.
Checked this against the pinned API: endpointCA exists on PostgreSQL in v1.6.3, but not on ClickHouse. The chart-side field this issue refers to has not reached a released api module yet, so there is nothing to model until it does.
Activity
lexfrei commentedon Aug 7, 2026
The field isn't upstream yet —
backup.endpointCAis added by cozystack/cozystack#3385, which is still open, so it's not in any released api-module tag (checked through v1.6.1) nor onmain. I'll pick this up with the next api pin bump once that PR merges and ships in a release.feat(clickhouse): let the backup sidecar trust a private S3 CA, unblo…
lexfrei commentedon Sep 21, 2026
Checked this against the pinned API:
endpointCAexists on PostgreSQL in v1.6.3, but not on ClickHouse. The chart-side field this issue refers to has not reached a released api module yet, so there is nothing to model until it does.